|
@@ -156,16 +156,16 @@ export default {
|
|
userNames: localStorage.getItem('realname'),
|
|
userNames: localStorage.getItem('realname'),
|
|
id: '',
|
|
id: '',
|
|
name: '',
|
|
name: '',
|
|
- dataChange: {},
|
|
|
|
|
|
+ dataChange: {
|
|
|
|
+ cr: 0
|
|
|
|
+ },
|
|
DetailsOfProposal: '',
|
|
DetailsOfProposal: '',
|
|
- lateStatus: '',
|
|
|
|
- configInfo: '',
|
|
|
|
- dependentComponents: '',
|
|
|
|
|
|
+ lateStatus: 1,
|
|
bizIdCode: '',
|
|
bizIdCode: '',
|
|
projectIdCode: '',
|
|
projectIdCode: '',
|
|
ids: [],
|
|
ids: [],
|
|
- configIn: '',
|
|
|
|
- dependent: '',
|
|
|
|
|
|
+ configIn: 2,
|
|
|
|
+ dependent: 2,
|
|
clien: '',
|
|
clien: '',
|
|
cr: ''
|
|
cr: ''
|
|
}
|
|
}
|
|
@@ -190,6 +190,8 @@ export default {
|
|
getRouterData() {
|
|
getRouterData() {
|
|
console.log(this.clienData, '提测客户端')
|
|
console.log(this.clienData, '提测客户端')
|
|
this.dataChange = this.clienData
|
|
this.dataChange = this.clienData
|
|
|
|
+ this.dataChange.cr = 0
|
|
|
|
+ this.dataChange.configIn = 2
|
|
if (this.dataChange.id) {
|
|
if (this.dataChange.id) {
|
|
if (this.dataChange.lateStatus === 1) {
|
|
if (this.dataChange.lateStatus === 1) {
|
|
this.lateStatusBtn1 = 'success'
|
|
this.lateStatusBtn1 = 'success'
|
|
@@ -280,6 +282,8 @@ export default {
|
|
this.$refs['dataChange'].validate((valid) => {
|
|
this.$refs['dataChange'].validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
this.dataChange = ele
|
|
this.dataChange = ele
|
|
|
|
+ this.dataChange.configInfo ? '' : this.dataChange.configInfo = ''
|
|
|
|
+ this.dataChange.dependentComponents ? '' : this.dataChange.dependentComponents = ''
|
|
typeof (this.DetailsOfProposal) === 'string' ? this.dataChange.joinTest = this.DetailsOfProposal : ''
|
|
typeof (this.DetailsOfProposal) === 'string' ? this.dataChange.joinTest = this.DetailsOfProposal : ''
|
|
this.dataChange.bizId = Number(localStorage.getItem('bizId'))
|
|
this.dataChange.bizId = Number(localStorage.getItem('bizId'))
|
|
this.dataChange.taskIds = this.ids
|
|
this.dataChange.taskIds = this.ids
|
|
@@ -356,7 +360,6 @@ export default {
|
|
this.dataChange.cr = 1
|
|
this.dataChange.cr = 1
|
|
this.showCodeReview = true
|
|
this.showCodeReview = true
|
|
} else {
|
|
} else {
|
|
- this.$set(this.dataChange, 'dependentComponents', '')
|
|
|
|
this.CodeReview = 'info'
|
|
this.CodeReview = 'info'
|
|
this.CodeReview1 = 'danger'
|
|
this.CodeReview1 = 'danger'
|
|
this.dataChange.cr = 0
|
|
this.dataChange.cr = 0
|