|
@@ -156,10 +156,8 @@ export default {
|
|
|
computed: {
|
|
|
...mapGetters(['bizId'])
|
|
|
},
|
|
|
- created() {
|
|
|
- this.get_taskSelect()
|
|
|
- },
|
|
|
mounted() {
|
|
|
+ this.get_taskSelect()
|
|
|
this.bugDataGet()
|
|
|
},
|
|
|
methods: {
|
|
@@ -244,7 +242,7 @@ export default {
|
|
|
item.id === Number(this.requireId[7]) ? ss = item : ''
|
|
|
})
|
|
|
this.dialogFormVisible = true
|
|
|
- var that = this
|
|
|
+ const that = this
|
|
|
setTimeout(function() {
|
|
|
that.task_form = {}
|
|
|
that.ascription_demand = true
|
|
@@ -254,13 +252,14 @@ export default {
|
|
|
that.$set(that.task_form, 'followVersion', 2)
|
|
|
that.$set(that.task_form, 'requireId', ss.id)
|
|
|
that.$set(that.task_form, 'projectId', '')
|
|
|
- that.$set(that.task_form, 'bizId', this.bizId)
|
|
|
+ that.$set(that.task_form, 'bizId', that.bizId)
|
|
|
that.task_form.followVersion === 2 ? that.show_Client = false : ''
|
|
|
if (data) {
|
|
|
that.$set(that.task_form, 'requireId', data.requirementId)
|
|
|
that.$set(that.task_form, 'name', data.name)
|
|
|
that.$set(that.task_form, 'priority', data.priority)
|
|
|
}
|
|
|
+ console.log(that.task_form)
|
|
|
}, 300)
|
|
|
})
|
|
|
break
|