提交 cc7c47ff 编写于 作者: 钟一霄's avatar 钟一霄

权限管理:新增权限

上级 2732d8d7
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
@onSubmit="search" @onSubmit="search"
@onReset="reset"></SearchCondForm> --> @onReset="reset"></SearchCondForm> -->
<!-- <Button type="primary" class="ivu-ml-8" @click="add"><Icon type="md-add"/>新增</Button> --> <Button type="primary" class="ivu-ml-8" @click="add"><Icon type="md-add"/>新增</Button>
<!-- 数据table --> <!-- 数据table -->
<CTable <CTable
...@@ -196,6 +196,8 @@ export default { ...@@ -196,6 +196,8 @@ export default {
// 新增 // 新增
add(){ add(){
this.editModalshow = true this.editModalshow = true
this.formItem.find(a => a.id == 'card').disabled = false
this.formItem.find(a => a.id == 'name').disabled = false
this.$refs.ceditmodal.modalInit('add', this.defaultFormData) this.$refs.ceditmodal.modalInit('add', this.defaultFormData)
}, },
// 编辑 // 编辑
...@@ -203,6 +205,8 @@ export default { ...@@ -203,6 +205,8 @@ export default {
// console.log('编辑行', row) // console.log('编辑行', row)
this.editModalshow = true this.editModalshow = true
this.editModalLoading = true this.editModalLoading = true
this.formItem.find(a => a.id == 'card').disabled = true
this.formItem.find(a => a.id == 'name').disabled = true
let obj = cloneDeep(row) let obj = cloneDeep(row)
if (obj.place_id) { if (obj.place_id) {
obj.place_id = obj.place_id.split(',') obj.place_id = obj.place_id.split(',')
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或