Commit 134c5f72 by 史敦盼

添加archiBelongId

1 parent 4c15bbd7
Showing with 7 additions and 3 deletions
...@@ -857,6 +857,7 @@ export default { ...@@ -857,6 +857,7 @@ export default {
selectGraphShape: '', selectGraphShape: '',
tabType: '元模型图元', tabType: '元模型图元',
scopeApplicationOptions: [], scopeApplicationOptions: [],
rowData: {}
} }
}, },
mounted() { mounted() {
...@@ -972,6 +973,7 @@ export default { ...@@ -972,6 +973,7 @@ export default {
this.getDicyTable() this.getDicyTable()
}, },
editItem(row) { editItem(row) {
this.rowData = row
//编辑 //编辑
this.ruleForm.let1 = row.elementName this.ruleForm.let1 = row.elementName
this.ruleForm.let2 = row.archiLevelId this.ruleForm.let2 = row.archiLevelId
...@@ -1282,7 +1284,7 @@ export default { ...@@ -1282,7 +1284,7 @@ export default {
const requestParams = const requestParams =
this.is_add_edit == 'add' this.is_add_edit == 'add'
? params ? 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') { if (this.is_add_edit == 'add') {
add_jia_gou_yuan_su(requestParams).then((res) => { add_jia_gou_yuan_su(requestParams).then((res) => {
if (res.code == 200) { if (res.code == 200) {
...@@ -1360,7 +1362,7 @@ export default { ...@@ -1360,7 +1362,7 @@ export default {
const requestParams = const requestParams =
this.is_add_edit == 'add' this.is_add_edit == 'add'
? params ? 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') { if (this.is_add_edit == 'add') {
add_jia_gou_yuan_su(requestParams).then((res) => { add_jia_gou_yuan_su(requestParams).then((res) => {
if (res.code == 200) { if (res.code == 200) {
...@@ -1616,7 +1618,8 @@ export default { ...@@ -1616,7 +1618,8 @@ export default {
elementId: row.elementId, elementId: row.elementId,
state: 0, state: 0,
version: row.version, version: row.version,
elementName: row.elementName elementName: row.elementName,
archiBelongId: row.archiBelongId
} }
edit_jia_gou_yuan_su(params).then((res) => { edit_jia_gou_yuan_su(params).then((res) => {
if (res.code == 200) { if (res.code == 200) {
...@@ -1655,6 +1658,7 @@ export default { ...@@ -1655,6 +1658,7 @@ export default {
state: 1, state: 1,
version: row.version, version: row.version,
elementName: row.elementName, elementName: row.elementName,
archiBelongId: row.archiBelongId
} }
edit_jia_gou_yuan_su(params).then((res) => { edit_jia_gou_yuan_su(params).then((res) => {
if (res.code == 200) { 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!