Browse Source

客服

master
马远东 1 year ago
parent
commit
3fdf409f71
  1. 47
      src/views/aftersales/aftersalesWorkOrder.vue
  2. 1
      src/views/aftersales/aftersalesWorkOrderAdd.vue
  3. 3
      src/views/aftersales/aftersalesWorkOrdermodify.vue

47
src/views/aftersales/aftersalesWorkOrder.vue

@ -2395,50 +2395,56 @@ const tabChenge = val => {
console.log('全部');
} else if (val == 1) {
//
if (UserPermissions.value == '职能客服') {
data.workOrderStatus = 40;
details.query.workOrderStatus = 40;
} else {
if (UserPermissions.value == '仓库客服') {
data.workOrderStatus = 20;
details.query.workOrderStatus = 20;
Tableheaderswitching(columnList);
empty();
ProcessingPartyFun(data);
} else {
data.workOrderStatus = 40;
details.query.workOrderStatus = 40;
Tableheaderswitching(columnList);
empty();
IndexTable(data);
}
ProcessingPartyState.value = false; //
ArbitrationStatus.value = true; //
Tableheaderswitching(columnList);
empty();
IndexTable(data);
} else if (val == 2) {
if (UserPermissions.value == '职能客服') {
data.workOrderStatus = 50;
details.query.workOrderStatus = 50;
} else {
if (UserPermissions.value == '仓库客服') {
data.workOrderStatus = 30;
details.query.workOrderStatus = 30;
Tableheaderswitching(columnList);
empty();
ProcessingPartyFun(data);
} else {
data.workOrderStatus = 50;
details.query.workOrderStatus = 50;
Tableheaderswitching(columnList);
empty();
IndexTable(data);
}
//
ProcessingPartyState.value = false; //
ArbitrationStatus.value = false; //
Tableheaderswitching(columnList);
empty();
IndexTable(data);
} else if (val == 3) {
console.log(UserPermissions.value, '当前身份');
if (UserPermissions.value == '客服经理') {
if (UserPermissions.value == '仓库客服') {
data.workOrderStatus = 10;
details.query.workOrderStatus = 10;
ArbitrationStatus.value = true; //
Tableheaderswitching(columnList);
empty();
IndexTable(data);
ProcessingPartyFun(data); //
} else {
console.log('待处理');
ProcessingPartyState.value = true; //
details.query.workOrderStatus = '';
data.workOrderStatus = 30;
details.query.workOrderStatus = 30;
ArbitrationStatus.value = true; //
Tableheaderswitching(columnList);
empty();
ProcessingPartyFun(data);
IndexTable(data);
}
} else if (val == 4) {
ProcessingPartyState.value = false; //
@ -2508,7 +2514,6 @@ const ProcessingPartyFun = val => {
details.loadingObj.list = true; //
let data = {
...val,
workOrderStatus: 10,
};
console.log(val, 'val接收的参数');
columnList[2].checkarr = []; //

1
src/views/aftersales/aftersalesWorkOrderAdd.vue

@ -1343,6 +1343,7 @@ const ViewPackageDetails = val => {
text-align: right;
:deep(.el-input){
margin-left: 10px;
text-align: right;
}
}
}

3
src/views/aftersales/aftersalesWorkOrdermodify.vue

@ -345,9 +345,8 @@
<span class="title">占比:</span>
<el-input
v-model="item.responsibilityRatio"
placeholder="请输入占比"
placeholder="占比"
:disabled="RouterState == 'Kfend'"
clearable
:rows="2"
@input="ProportionInput"
/>

Loading…
Cancel
Save