|
@@ -739,7 +739,8 @@ export default {
|
|
|
title_name: '', // 里程碑title
|
|
|
formLabelWidth1: '60px',
|
|
|
project_Milepost: [],
|
|
|
- get_Milepost_data: {} // 点击原点数据
|
|
|
+ get_Milepost_data: {}, // 点击原点数据
|
|
|
+ condition: ''
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -818,6 +819,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
click_name(e) {
|
|
|
+ this.condition = ''
|
|
|
+ this.condition = e
|
|
|
// 需求下任务
|
|
|
taskList({
|
|
|
requireId: e,
|
|
@@ -907,7 +910,6 @@ export default {
|
|
|
this.dialogFormVisible = false
|
|
|
})
|
|
|
} else if (this.title_name === '编辑里程碑') {
|
|
|
- console.log(milestone, 'ds')
|
|
|
mileStoneUpdate({ milestone, user }).then(res => {
|
|
|
this.$message({
|
|
|
message: res.msg,
|
|
@@ -1038,22 +1040,23 @@ export default {
|
|
|
},
|
|
|
get_allTask() {
|
|
|
// 获取全部任务
|
|
|
+ this.condition = Number(this.projectId[1])
|
|
|
taskList({
|
|
|
projectId: Number(this.projectId[1]),
|
|
|
curIndex: this.curIndex,
|
|
|
pageSize: this.pageSize
|
|
|
}).then(res => {
|
|
|
this.all_task = res.data
|
|
|
- console.log(this.all_task, 'cdscsds')
|
|
|
this.total = res.total
|
|
|
this.$refs.all_tasks.style.color = '#409EFF'
|
|
|
this.$refs.all_tasks_1.style.color = '#000'
|
|
|
this.$refs.all_tasks_2.style.color = '#000'
|
|
|
})
|
|
|
},
|
|
|
- NoOwnership() {
|
|
|
+ NoOwnership() { // 无归属需求任务
|
|
|
+ this.condition = Number(this.projectId[1])
|
|
|
taskList({
|
|
|
- taskId: Number(this.projectId[1]),
|
|
|
+ projectId: Number(this.projectId[1]),
|
|
|
noRequire: true,
|
|
|
curIndex: this.curIndex,
|
|
|
pageSize: this.pageSize
|
|
@@ -1067,6 +1070,7 @@ export default {
|
|
|
},
|
|
|
AttributionDemand() {
|
|
|
// 归属需求任务
|
|
|
+ this.condition = Number(this.projectId[1])
|
|
|
this.loading = true
|
|
|
requirementQueryRequirementInfoList({ belongingProject: Number(this.projectId[1]) }).then(res => {
|
|
|
this.tableData = res.data.list
|
|
@@ -1086,11 +1090,11 @@ export default {
|
|
|
},
|
|
|
handleSizeChange(size) { // 分页
|
|
|
this.pageSize = size
|
|
|
- this.get_list()
|
|
|
+ this.click_name(this.condition)
|
|
|
},
|
|
|
handleCurrentChange(curIndex) { // 分页
|
|
|
this.curIndex = curIndex
|
|
|
- this.get_list()
|
|
|
+ this.click_name(this.condition)
|
|
|
}
|
|
|
}
|
|
|
}
|