瀏覽代碼

修改勘察设计事业部项目流转报错

余思翰 2 月之前
父節點
當前提交
87ca993bc6
共有 1 個文件被更改,包括 12 次插入5 次删除
  1. 12
    5
      oa-ui/src/views/flowable/form/projectProcess/addproject.vue

+ 12
- 5
oa-ui/src/views/flowable/form/projectProcess/addproject.vue 查看文件

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-03-18 11:00:04
4
- * @LastEditors: wrh
5
- * @LastEditTime: 2025-02-10 17:36:01
4
+ * @LastEditors: Please set LastEditors
5
+ * @LastEditTime: 2025-03-10 17:19:05
6 6
 -->
7 7
 <template>
8 8
   <div class="project-wrapper">
@@ -289,9 +289,16 @@ export default {
289 289
         this.formTotal = 1
290 290
         this.getProjectInfo(this.taskForm.formId)
291 291
         // this.getProjectWorkList();
292
-      } else {
293
-        this.addForm.projectRegistrant = this.userId;
294
-        this.registrantUser = this.name;
292
+      }
293
+      else {
294
+        let kcDatas = await listProject({ projectId: this.taskForm.formId, undertakingDept: 113 });
295
+        if (kcDatas.rows.length > 0) {
296
+          this.formTotal = 1
297
+          this.getProjectInfo(this.taskForm.formId)
298
+        } else {
299
+          this.addForm.projectRegistrant = this.userId;
300
+          this.registrantUser = this.name;
301
+        }
295 302
       }
296 303
     },
297 304
     async getDeptLeader(val) {

Loading…
取消
儲存