账号隐藏禁用按钮

This commit is contained in:
熊丽君
2021-10-13 16:33:35 +08:00
parent 68fca07951
commit 7b4192c9af
3 changed files with 4 additions and 5 deletions

View File

@ -50,7 +50,7 @@
<el-button @click="handlePage(scope.row.id)" type="text" size="small" <el-button @click="handlePage(scope.row.id)" type="text" size="small"
>查看</el-button >查看</el-button
> >
<el-button <!-- <el-button
@click="handleStatus(scope.row.id, 0)" @click="handleStatus(scope.row.id, 0)"
type="text" type="text"
size="small" size="small"
@ -63,7 +63,7 @@
size="small" size="small"
v-else v-else
>启用</el-button >启用</el-button
> > -->
<el-button <el-button
v-if="scope.row.status!=2" v-if="scope.row.status!=2"
@click="handleStatus(scope.row.id, 2)" @click="handleStatus(scope.row.id, 2)"

View File

@ -428,6 +428,8 @@ export default {
this.getType(true, data); this.getType(true, data);
} else if (data.addressType == 3) { } else if (data.addressType == 3) {
this.getCity(true, data); this.getCity(true, data);
}else if(data.addressType == 4){
this.ruleForm = data
} }
}); });
} }

View File

@ -297,9 +297,6 @@ export default {
if (id) { if (id) {
this.editPage = true; this.editPage = true;
getPolicyInfo({ policyId: id }).then(({ data }) => { getPolicyInfo({ policyId: id }).then(({ data }) => {
// if(!data.ids.length){
// data.ids=['1']
// }
this.ruleForm = data; this.ruleForm = data;
if(data.method==1){ if(data.method==1){
this.editPage = true; this.editPage = true;