This commit is contained in:
曹辉 2023-01-11 10:30:52 +08:00
parent 8d96312c82
commit ca1adb157d

View File

@ -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();
}
}
},
},