Commit 59e49e23 by lichengming

修改了授权资质管理添加

parent 4ac199dc
......@@ -221,6 +221,8 @@ export default {
_getById: async function(id) {
const result = await meterManage.getById(id)
console.log('编辑结果')
console.log(result)
if (result) {
this.$refs.editModal._open(result)
}
......
......@@ -206,6 +206,22 @@ export default {
break
}
},
_iconClick(res, data) {
switch (res) {
case '编辑':
// this._editModal(true, data.id)
break
case '删除':
// this._deleteById(data.id)
console.log('点击了删除按钮')
console.log(data)
this.getPage.records.splice(data, 1)
break
case '操作日志':
// this._record(data.id)
break
}
},
_backData(data) {
this.formObj.code = data.code
this.formObj.basis = data.name
......@@ -247,6 +263,7 @@ export default {
} else {
this.formObj = formObj
this.id = formObj.id
console.log(this.formObj)
this.modalTitle = '编辑判定依据'
}
this.showModal = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment