Browse Source

客服

master
马远东 1 year ago
parent
commit
bf19cfca38
  1. 22
      src/views/aftersales/aftersalesWorkOrderInfo.vue

22
src/views/aftersales/aftersalesWorkOrderInfo.vue

@ -682,13 +682,13 @@ const onLoad = () => {
$_getInfo({ id: $route.query.id }).then(res => {
console.log(res, '回显返回值参数');
endFrom.value = res.data.data;
endFrom.value.result = [];
endFrom.value.processor = [];
endFrom.value.packageImage = [];
Indexform.value = res.data.data;
Indexform.value.result = [];
Indexform.value.processor = [];
Indexform.value.packageImage = [];
//
res.data.data.decreaseImageVOList.forEach(res => {
endFrom.value['packageImage'].push({
Indexform.value['packageImage'].push({
name: res.imageName,
url: res.imagePath,
});
@ -727,15 +727,15 @@ const onLoad = () => {
res.data.data.processorVOList.forEach(item => {
if (item.typesOf == 2) {
//
endFrom.value.processor.push(item.businessId);
Indexform.value.processor.push(item.businessId);
}
});
console.log(endFrom.value.processor, ' endFrom.value.processor');
console.log(Indexform.value.processor, ' Indexform.value.processor');
getDictionaryBiz('pc_work_order').then(res => {
//
console.log(res, '环节字典');
endFrom.value.workOrderType = res.data.data.find(
res => res.dictKey == endFrom.value.workOrderType
Indexform.value.workOrderType = res.data.data.find(
res => res.dictKey == Indexform.value.workOrderType
).dictValue; //
});
@ -745,7 +745,7 @@ const onLoad = () => {
// ProcessingResults.value = res.data.data;
TransportlossList.value = res.data.data;
console.log(TransportlossList.value, '处理好的发现环节');
// endFrom.discoveryNode
// Indexform.discoveryNode
});
getDictionaryBiz('result_handling').then(res => {
console.log(res, '发现环节');
@ -773,7 +773,7 @@ const onLoad = () => {
// name: item.resultTypeName,
// text: '',
// });
// endFrom.value.result.push(item.resultType);
// Indexform.value.result.push(item.resultType);
// });
});
};

Loading…
Cancel
Save