commit
This commit is contained in:
@@ -596,7 +596,7 @@
|
|||||||
useLevel: '',
|
useLevel: '',
|
||||||
isRelate: '',
|
isRelate: '',
|
||||||
esStandRelations: '',
|
esStandRelations: '',
|
||||||
area: '',
|
area: [],
|
||||||
tsJson: '',
|
tsJson: '',
|
||||||
tsJsonName: '',
|
tsJsonName: '',
|
||||||
rqbJson: '',
|
rqbJson: '',
|
||||||
@@ -838,6 +838,8 @@
|
|||||||
url = 'esRevisePlan/es-revise-plan/addPlan'
|
url = 'esRevisePlan/es-revise-plan/addPlan'
|
||||||
tips = '添加'
|
tips = '添加'
|
||||||
}
|
}
|
||||||
|
let arr = JSON.parse(JSON.stringify(this.addForm))
|
||||||
|
arr.area = arr.area.join(',')
|
||||||
this.$http.post(url, this.addForm, {
|
this.$http.post(url, this.addForm, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -939,6 +941,16 @@
|
|||||||
this.DrawerType = 'edit'
|
this.DrawerType = 'edit'
|
||||||
this.addDrawer = true
|
this.addDrawer = true
|
||||||
this.addForm = {
|
this.addForm = {
|
||||||
|
esMatingRelations: command[0].esMatingRelations,
|
||||||
|
technologic: command[0].technologic,
|
||||||
|
useLevel: command[0].useLevel,
|
||||||
|
isRelate: command[0].isRelate,
|
||||||
|
esStandRelations: command[0].esStandRelations,
|
||||||
|
area: command[0].area,
|
||||||
|
tsJson: command[0].tsJson,
|
||||||
|
tsJsonName: command[0].tsJsonName,
|
||||||
|
rqbJson: command[0].rqbJson,
|
||||||
|
rqbName: command[0].rqbName,
|
||||||
unitName:command[0].unitName,
|
unitName:command[0].unitName,
|
||||||
id: command[0].id,
|
id: command[0].id,
|
||||||
unit: command[0].unit, // 单位
|
unit: command[0].unit, // 单位
|
||||||
@@ -954,6 +966,9 @@
|
|||||||
drafterName: command[0].drafterName, // 起草人
|
drafterName: command[0].drafterName, // 起草人
|
||||||
drafter: command[0].drafter,
|
drafter: command[0].drafter,
|
||||||
}
|
}
|
||||||
|
if (typeof (this.addForm.area) === 'string') {
|
||||||
|
this.addForm.area = command[0].area.split(',')
|
||||||
|
}
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.$confirm('您是否确认删除选中数据?', '提示', {
|
this.$confirm('您是否确认删除选中数据?', '提示', {
|
||||||
@@ -983,6 +998,9 @@
|
|||||||
this.DrawerType = 'see'
|
this.DrawerType = 'see'
|
||||||
this.addDrawer = true
|
this.addDrawer = true
|
||||||
this.addForm = command[0]
|
this.addForm = command[0]
|
||||||
|
if (typeof (this.addForm.area) === 'string') {
|
||||||
|
this.addForm.area = command[0].area.split(',')
|
||||||
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1008,7 +1026,6 @@
|
|||||||
this.QCDWList = res.data.QCDW // 起草单位
|
this.QCDWList = res.data.QCDW // 起草单位
|
||||||
this.standSystemOptions = res.data.TXLBBUSS // 体系结构
|
this.standSystemOptions = res.data.TXLBBUSS // 体系结构
|
||||||
this.BZList = res.data.ENERGYTYPES
|
this.BZList = res.data.ENERGYTYPES
|
||||||
console.log(this.BZList);
|
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user