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

Loading…
Cancel
Save