修改
This commit is contained in:
parent
8d96312c82
commit
ca1adb157d
@ -125,6 +125,7 @@
|
||||
<el-table-column label="偏远地区" align="center" prop="remoteSigns">
|
||||
<template slot-scope="scope">
|
||||
<el-switch
|
||||
v-hasPermi="['system:area:updateRemoteSigns']"
|
||||
v-model="scope.row.remoteSigns"
|
||||
active-color="#13ce66"
|
||||
inactive-color="#ff4949"
|
||||
@ -311,11 +312,19 @@ export default {
|
||||
// 根据名称筛选部门树
|
||||
areaName(val) {
|
||||
if (val) {
|
||||
selectAreaListquery(val).then((res) => {
|
||||
this.deptOptions = res.data;
|
||||
});
|
||||
if (val == " ") {
|
||||
this.areaName = "";
|
||||
return;
|
||||
} else {
|
||||
selectAreaListquery(val).then((res) => {
|
||||
this.deptOptions = res.data;
|
||||
});
|
||||
}
|
||||
} else {
|
||||
this.selectAreaListin();
|
||||
if (val == "") {
|
||||
} else {
|
||||
this.selectAreaListin();
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user