|
|
|
@ -176,12 +176,26 @@
|
|
|
|
|
> |
|
|
|
|
<!-- 处理结果确定和完结确定 --> |
|
|
|
|
<el-button |
|
|
|
|
v-if="TabPermissions == '2' || TabPermissions == '6'" |
|
|
|
|
v-if="TabPermissions == '2'" |
|
|
|
|
@click="DetermineStorage(slotProps.scope)" |
|
|
|
|
>确定</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
<el-button |
|
|
|
|
v-if="TabPermissions == '6' && !AppealStatusT" |
|
|
|
|
@click="appeal" |
|
|
|
|
>申诉</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
<el-button |
|
|
|
|
v-if="AppealStatusT" |
|
|
|
|
@click="DetermineStorage(slotProps.scope)" |
|
|
|
|
>取消</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- AppealStatusT申诉列表状态 --> |
|
|
|
|
<el-button v-if="AppealStatusT" @click="Appealeditor">编辑</el-button> |
|
|
|
|
<!-- <el-button v-if="AppealStatusT" @click="Appealeditor">编辑</el-button> --> |
|
|
|
|
<!-- <el-button @click="ViewEvent(slotProps.scope)">编辑</el-button> --> |
|
|
|
|
<!-- <el-button @click="reply(slotProps.scope)">回复</el-button> --> |
|
|
|
|
<!-- <el-button @click="ViewDelete(slotProps.scope)">删除</el-button> --> |
|
|
|
@ -954,7 +968,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
assignment: false, //工单指派 |
|
|
|
|
applyArbitration: false, //申请仲裁 |
|
|
|
|
batchFinish: false, //批量完结 |
|
|
|
|
appeal: UserPermissions.value == '仓库客服', //申诉 |
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
}; |
|
|
|
|
case 5: //仲裁中 |
|
|
|
|
return { |
|
|
|
@ -972,7 +986,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
assignment: false, //工单指派 |
|
|
|
|
applyArbitration: false, //申请仲裁 |
|
|
|
|
batchFinish: false, //批量完结 |
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
appeal: true, //申诉 |
|
|
|
|
}; |
|
|
|
|
case 7: //超时未处理 |
|
|
|
|
return { |
|
|
|
@ -1498,7 +1512,10 @@ const Appealbutton = () => {
|
|
|
|
|
.join(','), //实际责任人名称 |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
if(AppealAttachment.value.length){ |
|
|
|
|
data.imagePath = AppealAttachment.value[0].response.data.link; //申诉图片 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
console.log(data, '处理好的值'); |
|
|
|
|
|
|
|
|
|
$_appealSubmit(data).then(res => { |
|
|
|
@ -1855,19 +1872,20 @@ const appealFn = val => {
|
|
|
|
|
$_listAppeal(data).then(res => { |
|
|
|
|
details.loadingObj.list = false; //开启动画加载 |
|
|
|
|
console.log(res, '申诉列表返回值'); |
|
|
|
|
|
|
|
|
|
if(res.data.data.records.length){ |
|
|
|
|
if (res.data.data.records) { |
|
|
|
|
details.data = res.data.data.records; |
|
|
|
|
}else{ |
|
|
|
|
details.data = [{}]; |
|
|
|
|
details.data=[{}] |
|
|
|
|
} |
|
|
|
|
page.value.total = res.data.data.total; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 申诉列表 |
|
|
|
|
const AppealTab = val => { |
|
|
|
|
|
|
|
|
|
if (val == 0) { |
|
|
|
|
AppealStatusT.value = false; //申诉列表关闭 |
|
|
|
|
Tableheaderswitching(columnList); //切换表头 |
|
|
|
|