25799
This commit is contained in:
@@ -73,7 +73,9 @@
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
params: Object
|
||||
params: Object,
|
||||
areaId: String,
|
||||
areaName: String
|
||||
},
|
||||
|
||||
data () {
|
||||
@@ -100,8 +102,8 @@
|
||||
},
|
||||
|
||||
created () {
|
||||
this.form.areaId = this.user.info.areaId
|
||||
this.form.areaName = this.user.info.areaName
|
||||
this.form.areaId = this.areaId
|
||||
this.form.areaName = this.areaName
|
||||
this.disabledLevel = this.user.info.areaList.length - 1
|
||||
if (this.params && this.params.id) {
|
||||
this.id = this.params.id
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<template slot-scope="{ row }">
|
||||
<div class="table-options">
|
||||
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
||||
<el-button type="text" @click="toAdd(row.id)">编辑</el-button>
|
||||
<el-button type="text" @click="toAdd(row.id)" :disabled="row.status === '1' || row.status === '2'">编辑</el-button>
|
||||
<el-button type="text" @click="remove(row.id)">删除</el-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user