zhangtao
laozt 1 year ago
parent e13e2a8884
commit d7e8b2cfd4

@ -102,7 +102,7 @@ export const constantRoutes = [
}, },
{ {
path: "/user", path: "/user",
component: Layout, component: newyjLayout,
hidden: true, hidden: true,
redirect: "noredirect", redirect: "noredirect",
children: [ children: [

@ -51,7 +51,11 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="行政区划" prop="district"> <el-form-item label="行政区划" prop="district">
<executive @change="onChange" @quhuadizhi="quhuadizhi" ref="executive" /> <executive
@change="onChange"
@quhuadizhi="quhuadizhi"
ref="executive"
/>
</el-form-item> </el-form-item>
<el-form-item label="执法层级" prop="lawHierarchy"> <el-form-item label="执法层级" prop="lawHierarchy">
<el-select <el-select
@ -314,7 +318,7 @@ export default {
methods: { methods: {
// //
onChange(e) { onChange(e) {
console.log(1,e); console.log(1, e);
this.queryParams.district = e; this.queryParams.district = e;
}, },
multipleChange(e) { multipleChange(e) {
@ -468,6 +472,10 @@ export default {
this.queryParams.district = userInfo.permissionCode; this.queryParams.district = userInfo.permissionCode;
} }
this.queryParams.plannedYear = this.$moment(new Date()).format("yyyy"); this.queryParams.plannedYear = this.$moment(new Date()).format("yyyy");
if (this.$route.query.lawHierarchy) {
// console.log(this.$route.query.lawHierarchy);
this.queryParams.lawHierarchy = this.$route.query.lawHierarchy;
}
// //
this.getList(); this.getList();
}, },

Loading…
Cancel
Save