|
|
@ -703,10 +703,10 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 总部客服经理权限 --> |
|
|
|
<el-dialog |
|
|
|
<el-dialog |
|
|
|
v-model="CustomerServicea" |
|
|
|
v-model="CustomerServicea" |
|
|
|
title="客服指派" |
|
|
|
title="客服默认指派" |
|
|
|
width="50%" |
|
|
|
width="50%" |
|
|
|
class="el_Customer" |
|
|
|
class="el_Customer" |
|
|
|
> |
|
|
|
> |
|
|
@ -726,7 +726,7 @@ |
|
|
|
<template #default="slotProps"> |
|
|
|
<template #default="slotProps"> |
|
|
|
<template v-if="slotProps.scope.column.label === '操作'"> |
|
|
|
<template v-if="slotProps.scope.column.label === '操作'"> |
|
|
|
<div class="ElBtnClass"> |
|
|
|
<div class="ElBtnClass"> |
|
|
|
<el-button @click="view(slotProps.scope)">解绑</el-button> |
|
|
|
<el-button @click="Unbindassignment(slotProps.scope)">解绑</el-button> |
|
|
|
<el-button @click="view(slotProps.scope)">设为默认</el-button> |
|
|
|
<el-button @click="view(slotProps.scope)">设为默认</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -754,7 +754,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="仓库选择"> |
|
|
|
<!-- <el-form-item label="仓库选择"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="BatchFrom.businessDepartment" |
|
|
|
v-model="BatchFrom.businessDepartment" |
|
|
|
multiple |
|
|
|
multiple |
|
|
@ -770,7 +770,7 @@ |
|
|
|
:value="item.value" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<template #footer> |
|
|
|
<template #footer> |
|
|
|
<span class="dialog-footer"> |
|
|
|
<span class="dialog-footer"> |
|
|
@ -830,6 +830,7 @@ import { |
|
|
|
$_updateArbitrateStatu, |
|
|
|
$_updateArbitrateStatu, |
|
|
|
$_exportAftersalesWorkOrder, |
|
|
|
$_exportAftersalesWorkOrder, |
|
|
|
$_aftersalesCustomerMall, |
|
|
|
$_aftersalesCustomerMall, |
|
|
|
|
|
|
|
$_aftersalesCustomerMallremove, |
|
|
|
} from '@/api/aftersales/aftersalesWorkOrder'; |
|
|
|
} from '@/api/aftersales/aftersalesWorkOrder'; |
|
|
|
import { getToken } from '@/utils/auth'; |
|
|
|
import { getToken } from '@/utils/auth'; |
|
|
|
import NProgress from 'nprogress'; |
|
|
|
import NProgress from 'nprogress'; |
|
|
@ -1375,7 +1376,6 @@ const TransportLossNode = ref([ |
|
|
|
const Statusprocessing = val => { |
|
|
|
const Statusprocessing = val => { |
|
|
|
console.log(columnList[10], '22212as'); |
|
|
|
console.log(columnList[10], '22212as'); |
|
|
|
val.forEach(item => { |
|
|
|
val.forEach(item => { |
|
|
|
console.log(item, 'item'); |
|
|
|
|
|
|
|
// 对为null的数据进行处理 |
|
|
|
// 对为null的数据进行处理 |
|
|
|
// for (const property in item) { |
|
|
|
// for (const property in item) { |
|
|
|
// if (item[property] == null) { |
|
|
|
// if (item[property] == null) { |
|
|
@ -1384,7 +1384,6 @@ const Statusprocessing = val => { |
|
|
|
// } |
|
|
|
// } |
|
|
|
// 对状态进行处理 |
|
|
|
// 对状态进行处理 |
|
|
|
if (item.workOrderType == 1) { |
|
|
|
if (item.workOrderType == 1) { |
|
|
|
console.log(columnList,'columnList'); |
|
|
|
|
|
|
|
item.workOrderTypeNameS = columnList[2].checkarr[0].label; //货损 |
|
|
|
item.workOrderTypeNameS = columnList[2].checkarr[0].label; //货损 |
|
|
|
} else if (item.workOrderType == 2) { |
|
|
|
} else if (item.workOrderType == 2) { |
|
|
|
item.workOrderTypeNameS = columnList[2].checkarr[1].label; //少货 |
|
|
|
item.workOrderTypeNameS = columnList[2].checkarr[1].label; //少货 |
|
|
@ -3863,6 +3862,21 @@ const defaultAssignments=()=>{ |
|
|
|
CustomerLoad.value=false;//关闭加载 |
|
|
|
CustomerLoad.value=false;//关闭加载 |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 解绑客服默认指派 |
|
|
|
|
|
|
|
const Unbindassignment=(val)=>{ |
|
|
|
|
|
|
|
console.log(val,'解绑指派'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let data=[ |
|
|
|
|
|
|
|
val.row.id |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
console.log(data,'处理好的参数'); |
|
|
|
|
|
|
|
$_aftersalesCustomerMallremove({ |
|
|
|
|
|
|
|
ids:data.join(',') |
|
|
|
|
|
|
|
}).then(res=>{ |
|
|
|
|
|
|
|
console.log(res,'解绑成功'); |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
<style scoped lang="scss"> |
|
|
|