소스 검색

委外附件及申请人等

lipenghui 2 주 전
부모
커밋
93f4843a17
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  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'