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