|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<el-dialog :visible.sync="visible" |
|
|
<el-dialog :visible.sync="visible" |
|
|
:title="'修改定制功能'" |
|
|
:title="diaTitle" |
|
|
:close-on-click-modal="false" |
|
|
:close-on-click-modal="false" |
|
|
:before-close="handleClose" |
|
|
:before-close="handleClose" |
|
|
:close-on-press-escape="false" |
|
|
:close-on-press-escape="false" |
|
@ -161,6 +161,7 @@ export default { |
|
|
data () { |
|
|
data () { |
|
|
return { |
|
|
return { |
|
|
visible: false, |
|
|
visible: false, |
|
|
|
|
|
diaTitle: '修改定制功能', |
|
|
type: '', // 操作类型A/U |
|
|
type: '', // 操作类型A/U |
|
|
functionId: '', // 父组件传来功能id |
|
|
functionId: '', // 父组件传来功能id |
|
|
dataForm: { |
|
|
dataForm: { |
|
@ -238,6 +239,7 @@ export default { |
|
|
this.visible = true |
|
|
this.visible = true |
|
|
this.functionId = functionId |
|
|
this.functionId = functionId |
|
|
if (type === 'A') { |
|
|
if (type === 'A') { |
|
|
|
|
|
this.diaTitle = '新增定制功能' |
|
|
this.dataForm = { |
|
|
this.dataForm = { |
|
|
functionId: '', |
|
|
functionId: '', |
|
|
functionName: '', |
|
|
functionName: '', |
|
@ -253,6 +255,7 @@ export default { |
|
|
this.domainNameList = [''] |
|
|
this.domainNameList = [''] |
|
|
this.isApply = 0 |
|
|
this.isApply = 0 |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
this.diaTitle = '修改定制功能' |
|
|
this.loadFormData() |
|
|
this.loadFormData() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|