Переглянути джерело

调整任务看板的默认执行人的问题

Lijy 2 роки тому
батько
коміт
08a0569c17

+ 4 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/project/projectInside.vue

@@ -116,6 +116,7 @@
                             <i class="el-icon-arrow-left" ref="box"></i>
                         </div>
                     </div>
+                    
                     <!-- 增加侧边栏的点击效果 -->
                     
                     <el-main style="background:#f7f7f7;padding:0px;">
@@ -1386,6 +1387,7 @@ import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
                 if(this.addForm.taskType == 1){
                     this.timelabel = true
                     if(!this.addForm.executorListFront[0].executorId) {
+                        console.log(this.currentProject)
                         this.addForm.executorListFront[0].executorId = this.currentProject.inchargerId
                     }
                 }else{
@@ -2714,6 +2716,7 @@ import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
                 path = path.substring(0,path.lastIndexOf('/'))+'/'+this.curProjectId;
                 this.$router.push(path);
                 this.getTaskGroups();
+                this.getDetail()
                 this.$refs.fileCenter.refreshPage();
                 this.$refs.projectInfo.refreshPage();
                 this.$refs.summary.refreshPage();
@@ -2987,6 +2990,7 @@ import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
                 },
                 res => {
                     if (res.code == "ok") {
+                        console.log('触发更新试一下')
                         this.currentProject = res.data;
                         this.getjurisdictionIds(this.currentProject)
                         this.joinMembList = this.currentProject.participationList;