|
@@ -949,8 +949,8 @@ export default {
|
|
|
if(!obj.taskVue) {
|
|
|
this.getStageList(obj.integrationTaskNingwai)
|
|
|
}
|
|
|
- this.getUsers(); // 获取名单数据
|
|
|
if(obj.create) {
|
|
|
+ this.getUsers(); // 获取名单数据
|
|
|
this.mileageCup = false
|
|
|
this.addFormVisible = true;
|
|
|
this.curProjectId = obj.stage.projectId;
|
|
@@ -1198,6 +1198,8 @@ export default {
|
|
|
// //删除中间传值的变量数组
|
|
|
delete this.addForm.executorList;
|
|
|
|
|
|
+ //人员处理
|
|
|
+ this.users = res.data.userList;
|
|
|
// 触发类型切换事件
|
|
|
this.selchg()
|
|
|
} else {
|
|
@@ -1527,6 +1529,7 @@ export default {
|
|
|
delete this.addForm.subTaskList;
|
|
|
delete this.addForm.refTaskList;
|
|
|
delete this.addForm.progress;
|
|
|
+ delete this.addForm.userList;
|
|
|
//去掉没有执行人的.(因为要有计划工时,执行人可以暂不设置)
|
|
|
// this.addForm.executorListFront = this.addForm.executorListFront.filter(exe=>exe.executorId);
|
|
|
if(this.addForm.executorListFront.serviceId){
|
|
@@ -1809,7 +1812,7 @@ export default {
|
|
|
this.isEditFile = true;
|
|
|
this.title = this.$t('editingtasks');
|
|
|
this.getTaskDetail(row.taskId);
|
|
|
- this.getUsers();
|
|
|
+ // this.getUsers();
|
|
|
this.gain(row,1);
|
|
|
this.getRelationTaskList(1, row.taskId)
|
|
|
this.getTaskFileList(1,row.taskId)
|
|
@@ -2105,7 +2108,7 @@ export default {
|
|
|
|
|
|
this.getTaskDetail(row.id);
|
|
|
this.getTaskProgressList(row.id); // 获取任务进展列表
|
|
|
- this.getUsers(); // 获取名单数据
|
|
|
+ // this.getUsers(); // 获取名单数据
|
|
|
this.gain(row); // 获取评论列表
|
|
|
this.getDailyList(row.id) // 获取来自日报
|
|
|
this.getRelationTaskList(1, row.id)
|