Commit 134c5f72 by 史敦盼

添加archiBelongId

1 parent 4c15bbd7
Showing with 7 additions and 3 deletions
......@@ -857,6 +857,7 @@ export default {
selectGraphShape: '',
tabType: '元模型图元',
scopeApplicationOptions: [],
rowData: {}
}
},
mounted() {
......@@ -972,6 +973,7 @@ export default {
this.getDicyTable()
},
editItem(row) {
this.rowData = row
//编辑
this.ruleForm.let1 = row.elementName
this.ruleForm.let2 = row.archiLevelId
......@@ -1282,7 +1284,7 @@ export default {
const requestParams =
this.is_add_edit == 'add'
? params
: { ...params, elementId: this.elementId, version: this.version }
: { ...params, elementId: this.elementId, version: this.version, archiBelongId: this.rowData.archiBelongId }
if (this.is_add_edit == 'add') {
add_jia_gou_yuan_su(requestParams).then((res) => {
if (res.code == 200) {
......@@ -1360,7 +1362,7 @@ export default {
const requestParams =
this.is_add_edit == 'add'
? params
: { ...params, elementId: this.elementId, version: this.version }
: { ...params, elementId: this.elementId, version: this.version, archiBelongId: this.rowData.archiBelongId }
if (this.is_add_edit == 'add') {
add_jia_gou_yuan_su(requestParams).then((res) => {
if (res.code == 200) {
......@@ -1616,7 +1618,8 @@ export default {
elementId: row.elementId,
state: 0,
version: row.version,
elementName: row.elementName
elementName: row.elementName,
archiBelongId: row.archiBelongId
}
edit_jia_gou_yuan_su(params).then((res) => {
if (res.code == 200) {
......@@ -1655,6 +1658,7 @@ export default {
state: 1,
version: row.version,
elementName: row.elementName,
archiBelongId: row.archiBelongId
}
edit_jia_gou_yuan_su(params).then((res) => {
if (res.code == 200) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!