Browse Source

处理图片

ops-management-platform-frontend-dev
wbc 1 week ago
parent
commit
20e2f9edca
  1. 1
      src/views/IO/workOrder/orderAudit/detailDrawer.vue
  2. 4
      src/views/IO/workOrder/orderHandle/data.ts
  3. 1
      src/views/IO/workOrder/orderHandle/detailDrawer.vue
  4. 22
      src/views/IO/workOrder/orderHandle/index.vue
  5. 1
      src/views/IO/workOrder/orderSearch/detailDrawer.vue
  6. 1
      src/views/IO/workOrder/orderSend/detailDrawer.vue

1
src/views/IO/workOrder/orderAudit/detailDrawer.vue

@ -349,6 +349,7 @@
fileLists1.value.push({ fileLists1.value.push({
url: i.url, url: i.url,
name: i.name, name: i.name,
ossId: i.ossId,
status: 'done', status: 'done',
}); });
}); });

4
src/views/IO/workOrder/orderHandle/data.ts

@ -68,9 +68,9 @@ export const formSchemas: FormSchema[] = [
{ {
field: 'faultLocation', field: 'faultLocation',
label: '故障地点', label: '故障地点',
component: 'Select', component: 'Input',
componentProps: { componentProps: {
options: [], placeholder: '输入编号',
}, },
}, },
]; ];

1
src/views/IO/workOrder/orderHandle/detailDrawer.vue

@ -356,6 +356,7 @@
fileLists1.value.push({ fileLists1.value.push({
url: i.url, url: i.url,
name: i.name, name: i.name,
ossId: i.ossId,
status: 'done', status: 'done',
}); });
}); });

22
src/views/IO/workOrder/orderHandle/index.vue

@ -117,19 +117,19 @@
projectOptions.value = res; projectOptions.value = res;
formSchemas[0].componentProps.options = projectOptions.value; formSchemas[0].componentProps.options = projectOptions.value;
}; };
const faultLocationOptions = ref([]); // const faultLocationOptions = ref([]);
const getFaultLocationOptions = async () => { // const getFaultLocationOptions = async () => {
const res = await queryPointNames(); // const res = await queryPointNames();
faultLocationOptions.value = res; // faultLocationOptions.value = res;
faultLocationOptions.value.forEach((i: any) => { // faultLocationOptions.value.forEach((i: any) => {
i.value = i.pointName; // i.value = i.pointName;
i.label = i.pointName; // i.label = i.pointName;
}); // });
formSchemas[2].componentProps.options = faultLocationOptions.value; // formSchemas[2].componentProps.options = faultLocationOptions.value;
}; // };
const getOptions = () => { const getOptions = () => {
getProjectOptions(); getProjectOptions();
getFaultLocationOptions(); // getFaultLocationOptions();
}; };
getOptions(); getOptions();
onActivated(() => { onActivated(() => {

1
src/views/IO/workOrder/orderSearch/detailDrawer.vue

@ -349,6 +349,7 @@
fileLists1.value.push({ fileLists1.value.push({
url: i.url, url: i.url,
name: i.name, name: i.name,
ossId: i.ossId,
status: 'done', status: 'done',
}); });
}); });

1
src/views/IO/workOrder/orderSend/detailDrawer.vue

@ -349,6 +349,7 @@
fileLists1.value.push({ fileLists1.value.push({
url: i.url, url: i.url,
name: i.name, name: i.name,
ossId: i.ossId,
status: 'done', status: 'done',
}); });
}); });

Loading…
Cancel
Save