zhuliu 1 rok temu
rodzic
commit
e046956e00

+ 1 - 1
src/views/patentMining/components/dialog/addAndEditProject.vue

@@ -649,10 +649,10 @@ export default {
 
     //打开弹窗
     async open(form) {
+      this.personnelList.data = []
       if (form && form.id) {
         this.form = JSON.parse(JSON.stringify(form))
         // 负责人
-        this.personnelList.data = []
         if (this.form.headId) {
           this.personnelList.queryParams.id = this.form.headId
           await this.getPermissionPersonnel(1)

+ 2 - 1
src/views/patentMining/components/dialog/createTask.vue

@@ -66,6 +66,7 @@ export default {
   methods: {
     //打开弹窗
     async open(data) {
+      this.personnelList.data = []
       if (data.type == 6 || data.type == 5 || data.type == 1 || data.type == 7) {
         if (data.type == 6) {
           this.title = '编辑文件分配任务'
@@ -78,7 +79,7 @@ export default {
         }
         this.form = JSON.parse(JSON.stringify(data))
         // 负责人
-        this.personnelList.data = []
+        
         if (this.form.handler) {
           this.form.headId = this.form.handler
           this.personnelList.queryParams.id = this.form.handler