Selaa lähdekoodia

委外附件及申请人等

lipenghui 2 viikkoa sitten
vanhempi
commit
93f4843a17
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      src/views/pms/maintain/IotMaintain.vue

+ 9 - 0
src/views/pms/maintain/IotMaintain.vue

@@ -726,6 +726,15 @@ onMounted(async () => {
     deviceLabel.value = iotMaintain.deviceName
     formData.value = iotMaintain
     formData.value.status = undefined
+    if (formData.value.type === 'out') {
+      await IotMaintainApi.getApplyUsers("").then((res) => {
+        applyPeoPle.value = res
+      })
+      await IotMaintainApi.getProjectUsers("").then((res) => {
+        debugger
+        projectManager.value = res
+      })
+    }
   } else {
     formData.value.type = 'in'
     formType.value = 'create'