|
@@ -619,22 +619,23 @@ export default {
|
|
|
requirementInfo.referredClientType = requirementInfo.referredClientType.join()
|
|
|
}
|
|
|
requirementInfo.status = this.statusValue
|
|
|
- if (e === 1) {
|
|
|
- const res = await updateRequirementStatus(requirementInfo)
|
|
|
- if (res.code === 200) {
|
|
|
- this.dialogStatusVisible = false
|
|
|
- this.getRequirementById()
|
|
|
- this.$refs.timeLine1.taskGetWorkFlow()
|
|
|
- this.$message({ message: '修改成功', type: 'success', duration: 1000, offset: 150 })
|
|
|
- }
|
|
|
- } else {
|
|
|
- const res = await updateRequirement(requirementInfo)
|
|
|
- if (res.code === 200) {
|
|
|
- this.dialogStatusVisible = false
|
|
|
- this.getRequirementById()
|
|
|
- this.$message({ message: '修改成功', type: 'success', duration: 1000, offset: 150 })
|
|
|
- }
|
|
|
+ // if (e === 1) {
|
|
|
+ // const res = await updateRequirementStatus(requirementInfo)
|
|
|
+ // if (res.code === 200) {
|
|
|
+ // this.dialogStatusVisible = false
|
|
|
+ // this.getRequirementById()
|
|
|
+ // this.$refs.timeLine1.taskGetWorkFlow()
|
|
|
+ // this.$message({ message: '修改成功', type: 'success', duration: 1000, offset: 150 })
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ const res = await updateRequirement(requirementInfo)
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.dialogStatusVisible = false
|
|
|
+ this.getRequirementById()
|
|
|
+ this.$refs.timeLine1.taskGetWorkFlow()
|
|
|
+ this.$message({ message: '修改成功', type: 'success', duration: 1000, offset: 150 })
|
|
|
}
|
|
|
+ // }
|
|
|
this.getRequirementById()
|
|
|
},
|
|
|
async getBelongProject() { // 获取所属项目列表
|