|
@@ -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) {
|