|
|
@@ -1071,14 +1071,7 @@ export default {
|
|
|
this.gstimhour = [this.user.timeType.allday]
|
|
|
this.gstimday = [1]
|
|
|
this.getSapServiceList()
|
|
|
-
|
|
|
this.timess();
|
|
|
-
|
|
|
- if(this.showMmeiLaiDe) {
|
|
|
- this.getPmUserList()
|
|
|
- this.setDisabledPermission()
|
|
|
- }
|
|
|
-
|
|
|
setTimeout(() => {
|
|
|
console.log(this.addForm)
|
|
|
}, 5000)
|
|
|
@@ -1232,11 +1225,7 @@ export default {
|
|
|
triggerEvent(obj) {
|
|
|
console.log(obj, '触发事件')
|
|
|
this.curProjectId = obj.curProjectId
|
|
|
- if(!this.showMmeiLaiDe) {
|
|
|
- this.getProjectList()
|
|
|
- } else {
|
|
|
- this.getProjectListTwo()
|
|
|
- }
|
|
|
+ this.getProjectList()
|
|
|
if(!obj.taskVue) {
|
|
|
this.getStageList(obj.integrationTaskNingwai)
|
|
|
}
|
|
|
@@ -1286,12 +1275,14 @@ export default {
|
|
|
this.getTaskFileList(obj.num,obj.id)
|
|
|
const { integrationTaskNingwai = {} } = obj
|
|
|
if(integrationTaskNingwai.groupId) {
|
|
|
+ this.addForm.groupId = integrationTaskNingwai.groupId
|
|
|
this.getTaskGrouping(obj.curProjectId)
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
this.getTaskDetail(obj.id);
|
|
|
}, 200)
|
|
|
}
|
|
|
+ console.log('groupId========', this.addForm.groupId);
|
|
|
this.getrelation();
|
|
|
},
|
|
|
// 代办任务创建事件
|
|
|
@@ -1301,9 +1292,6 @@ export default {
|
|
|
this.addForm.stagesId = ''
|
|
|
this.getTaskGrouping()
|
|
|
this.getrelation();
|
|
|
- if(this.showMmeiLaiDe) {
|
|
|
- this.getProjectManager()
|
|
|
- }
|
|
|
} else if(num == 2) {
|
|
|
this.addForm.stagesId = ''
|
|
|
this.getTaskList()
|
|
|
@@ -2220,7 +2208,7 @@ export default {
|
|
|
|
|
|
//获取选择关联列表
|
|
|
this.http.post('/task/getTaskOnlyList',{
|
|
|
- projectId: this.curProjectId?this.curProjectId:this.addForm.projectId
|
|
|
+ projectId: this.curProjectId?this.curProjectId:this.addForm.projectId, groupId: this.addForm.groupId
|
|
|
},
|
|
|
res => {
|
|
|
if (res.code == "ok") {
|