|
|
@ -57,11 +57,15 @@
|
|
|
|
ref="executive"
|
|
|
|
ref="executive"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="执法层级" prop="lawHierarchy">
|
|
|
|
<el-form-item
|
|
|
|
|
|
|
|
label="执法层级"
|
|
|
|
|
|
|
|
prop="lawHierarchy"
|
|
|
|
|
|
|
|
>
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="queryParams.lawHierarchy"
|
|
|
|
v-model="queryParams.lawHierarchy"
|
|
|
|
placeholder="请选择执法层级"
|
|
|
|
placeholder="请选择执法层级"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
|
|
|
|
|
:disabled="islawHierarchy"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="item in dict.type.dict_law_hierarchy"
|
|
|
|
v-for="item in dict.type.dict_law_hierarchy"
|
|
|
@ -207,6 +211,7 @@ export default {
|
|
|
|
dicts: ["dict_law_hierarchy"],
|
|
|
|
dicts: ["dict_law_hierarchy"],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
islawHierarchy: false,
|
|
|
|
lawHierarchys: [
|
|
|
|
lawHierarchys: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
value: "1",
|
|
|
|
value: "1",
|
|
|
@ -470,12 +475,18 @@ export default {
|
|
|
|
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
|
|
|
|
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
|
|
|
|
if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") {
|
|
|
|
if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") {
|
|
|
|
this.queryParams.district = userInfo.permissionCode;
|
|
|
|
this.queryParams.district = userInfo.permissionCode;
|
|
|
|
|
|
|
|
this.queryParams.lawHierarchy = userInfo.userName;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (userInfo.lawLevel == "镇级") {
|
|
|
|
|
|
|
|
this.islawHierarchy = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.queryParams.plannedYear = this.$moment(new Date()).format("yyyy");
|
|
|
|
this.queryParams.plannedYear = this.$moment(new Date()).format("yyyy");
|
|
|
|
if (this.$route.query.lawHierarchy) {
|
|
|
|
if (this.$route.query.lawHierarchy) {
|
|
|
|
// console.log(this.$route.query.lawHierarchy);
|
|
|
|
// console.log(this.$route.query.lawHierarchy);
|
|
|
|
this.queryParams.lawHierarchy = this.$route.query.lawHierarchy;
|
|
|
|
this.queryParams.lawHierarchy = this.$route.query.lawHierarchy;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 初始化
|
|
|
|
// 初始化
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|