|
@@ -139,6 +139,7 @@ export default {
|
|
|
this.ascription_demand = false
|
|
|
this.ascription_project = false
|
|
|
this.$set(this.task_form, 'notest', 0)
|
|
|
+ this.$set(this.task_form, 'followVersion', 2)
|
|
|
this.show_Client = false
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs['task_form'].clearValidate()
|
|
@@ -157,10 +158,10 @@ export default {
|
|
|
that.ascription_project = true
|
|
|
that.$set(that.task_form, 'source', 3)
|
|
|
that.$set(that.task_form, 'notest', 0)
|
|
|
- that.$set(that.task_form, 'followVersion', '')
|
|
|
+ that.$set(that.task_form, 'followVersion', 2)
|
|
|
that.$set(that.task_form, 'requireId', res.data[0].id)
|
|
|
that.$set(that.task_form, 'projectId', res.data[0].id)
|
|
|
- that.task_form.followVersion === '' ? that.show_Client = false : ''
|
|
|
+ that.task_form.followVersion === 2 ? that.show_Client = false : ''
|
|
|
}, 300)
|
|
|
})
|
|
|
break
|
|
@@ -208,10 +209,10 @@ export default {
|
|
|
that.ascription_project = false
|
|
|
that.$set(that.task_form, 'source', 2)
|
|
|
that.$set(that.task_form, 'notest', 0)
|
|
|
- that.$set(that.task_form, 'followVersion', '')
|
|
|
+ that.$set(that.task_form, 'followVersion', 2)
|
|
|
that.$set(that.task_form, 'requireId', ss.code)
|
|
|
that.$set(that.task_form, 'projectId', '')
|
|
|
- that.task_form.followVersion === '' ? that.show_Client = false : ''
|
|
|
+ that.task_form.followVersion === 2 ? that.show_Client = false : ''
|
|
|
}, 300)
|
|
|
})
|
|
|
break
|