|
|
|
@ -191,11 +191,20 @@
|
|
|
|
|
<!-- 处理结果确定和处理完毕 --> |
|
|
|
|
<el-button |
|
|
|
|
v-if=" |
|
|
|
|
TabPermissions == '2' && slotProps.scope.row.workOrderStatus != '30' |
|
|
|
|
TabPermissions == '1' |
|
|
|
|
" |
|
|
|
|
@click="DetermineStorage(slotProps.scope)" |
|
|
|
|
>确定</el-button |
|
|
|
|
> |
|
|
|
|
<!-- 仓库客服的缺点 |
|
|
|
|
<el-button |
|
|
|
|
v-if=" |
|
|
|
|
TabPermissions == '1' && slotProps.scope.row.workOrderStatus != '30' |
|
|
|
|
" |
|
|
|
|
@click="DetermineStorage(slotProps.scope)" |
|
|
|
|
>确定</el-button |
|
|
|
|
> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-button |
|
|
|
|
v-if=" |
|
|
|
@ -1266,13 +1275,11 @@ const OnLoad = () => {
|
|
|
|
|
BatchcompletionHeight.value = screenHeight.value * 0.6; |
|
|
|
|
loading.value = true; //开启加载效果 |
|
|
|
|
let data = {}; |
|
|
|
|
console.log(page, 'page'); |
|
|
|
|
data.current = page.value.currentPage; //页码 |
|
|
|
|
data.size = page.value.pageSize; //条数 |
|
|
|
|
console.log(data, '要提交的数据'); |
|
|
|
|
updateDictionary(columnList[2].checkarr, 'pc_work_order'); //异常类型 |
|
|
|
|
updateDictionary(columnList[3].checkarr, 'pc_discovery_node'); //发现环节 |
|
|
|
|
// details.query.workOrderStatus=UserPermissions.value == '仓库客服' ? '1000':details.query.workOrderStatus;//初始化参数 |
|
|
|
|
IndexTable(details.query); |
|
|
|
|
getDeptWarehouse({}).then(res => { |
|
|
|
|
res.data.data.forEach(item => { |
|
|
|
@ -2603,7 +2610,8 @@ const DetermineStorage = val => {
|
|
|
|
|
ID = val.row.id; |
|
|
|
|
data['assignList'].push(ID); |
|
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
|
if (UserPermissions.value == '总部客服经理' && TabPermissions.value == '2') { |
|
|
|
|
if (UserPermissions.value == '总部客服经理' && TabPermissions.value == '1') { |
|
|
|
|
// 完结结果确定 |
|
|
|
|
$_updateManagerConfirmed(data) |
|
|
|
|
.then(res => { |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
@ -2629,6 +2637,7 @@ const DetermineStorage = val => {
|
|
|
|
|
UserPermissions.value == '仓库客服' && |
|
|
|
|
val.row.workOrderStatus != '30' |
|
|
|
|
) { |
|
|
|
|
// 处理结果确定 |
|
|
|
|
console.log(data, '处理好的数据'); |
|
|
|
|
$_updateWorkOrderStatus(data) |
|
|
|
|
.then(res => { |
|
|
|
|