Browse Source

接口修复

master
马远东 10 months ago
parent
commit
a6fdcdd135
  1. 55
      src/views/aftersales/aftersalesWorkOrder.vue

55
src/views/aftersales/aftersalesWorkOrder.vue

@ -88,39 +88,19 @@
<el-icon><Delete /></el-icon></el-button
> -->
<!-- v-if="ButtonPermissions.batchReject" -->
<el-button
type="primary"
@click="BatchReturn"
>批量打回</el-button
>
<el-button type="primary" @click="BatchReturn">批量打回</el-button>
<!-- v-if="ButtonPermissions.assignment" -->
<el-button type="primary" @click="assign"
>工单指派</el-button
>
<el-button type="primary" @click="assign">工单指派</el-button>
<!-- v-if="ButtonPermissions.applyArbitration" -->
<el-button
type="primary"
@click="arbitrate"
>申请仲裁</el-button
>
<el-button type="primary" @click="arbitrate">申请仲裁</el-button>
<!-- v-if="ButtonPermissions.batchFinish" -->
<el-button
type="primary"
@click="Batchcompletion"
>批量完结</el-button
>
<el-button type="primary" @click="Batchcompletion">批量完结</el-button>
<!-- v-if="ButtonPermissions.appeal" -->
<el-button type="primary" @click="appeal"
>申诉</el-button
>
<el-button type="primary" @click="appeal">申诉</el-button>
<!-- v-if="details.query.workOrderStatus == 30" -->
<!-- <el-button type="primary" @click="ProcessingParty"> 处理方信息</el-button> -->
</div>
@ -2432,13 +2412,22 @@ const tabChenge = val => {
empty();
IndexTable(data);
} else if (val == 3) {
console.log('待处理');
ProcessingPartyState.value = true; //
details.query.workOrderStatus = '';
ArbitrationStatus.value = true; //
Tableheaderswitching(columnList);
empty();
ProcessingPartyFun(data);
console.log(JSON.parse(localStorage.getItem('TWMS-userInfo')).content.role_name,'当前身份');
if (JSON.parse(localStorage.getItem('TWMS-userInfo')).content.role_name == '客服经理') {
data.workOrderStatus = 10;
ArbitrationStatus.value = true; //
Tableheaderswitching(columnList);
empty();
IndexTable(data);
} else {
console.log('待处理');
ProcessingPartyState.value = true; //
details.query.workOrderStatus = '';
ArbitrationStatus.value = true; //
Tableheaderswitching(columnList);
empty();
ProcessingPartyFun(data);
}
} else if (val == 4) {
ProcessingPartyState.value = false; //
//
@ -2507,7 +2496,7 @@ const ProcessingPartyFun = val => {
details.loadingObj.list = true; //
let data = {
...val,
workOrderStatus:10,
workOrderStatus: 10,
};
console.log(val, 'val接收的参数');
columnList[2].checkarr = []; //

Loading…
Cancel
Save