|
|
|
@ -157,6 +157,8 @@ export default { |
|
|
|
|
title: '', |
|
|
|
|
// 是否显示弹出层 |
|
|
|
|
open: false, |
|
|
|
|
//修改标识 |
|
|
|
|
updateFlag: false, |
|
|
|
|
// 查询参数 |
|
|
|
|
queryParams: { |
|
|
|
|
pageNum: 1, |
|
|
|
@ -230,6 +232,7 @@ export default { |
|
|
|
|
handleAdd() { |
|
|
|
|
this.reset() |
|
|
|
|
this.open = true |
|
|
|
|
this.updateFlag = false |
|
|
|
|
this.title = '添加企业扩展属性,包括大象key等' |
|
|
|
|
}, |
|
|
|
|
/** 修改按钮操作 */ |
|
|
|
@ -237,6 +240,7 @@ export default { |
|
|
|
|
this.reset() |
|
|
|
|
this.form = row |
|
|
|
|
this.open = true |
|
|
|
|
this.updateFlag = true |
|
|
|
|
this.title = '修改企业扩展属性,包括大象key等' |
|
|
|
|
// const companyid = row.companyid |
|
|
|
|
// const key = row.key |
|
|
|
@ -251,7 +255,7 @@ export default { |
|
|
|
|
this.$refs['form'].validate(valid => { |
|
|
|
|
this.form.companyid = this.companyId |
|
|
|
|
if (valid) { |
|
|
|
|
if (this.form.key != null) { |
|
|
|
|
if (this.updateFlag) { |
|
|
|
|
updateProp(this.form).then(response => { |
|
|
|
|
this.$modal.msgSuccess('修改成功') |
|
|
|
|
this.open = false |
|
|
|
|