查询条件

zhangtao
laozt 1 year ago
parent c7841e2765
commit 143b2710f6

@ -88,7 +88,7 @@ export default {
console.log(index);
this.activeTab = index;
if (index == 2) {
this.$refs.tabs.getList();
this.$refs.tabs.reList();
}
},
//

@ -228,7 +228,7 @@ export default {
lawLevel: null,
lawHierarchy: null,
plannedMonth: null,
status: 1,
status: 0,
checkStatus: null,
checkId: null,
checkAgeing: null,
@ -243,6 +243,7 @@ export default {
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") {
this.queryParams.district = userInfo.permissionCode;
this.queryPlanEnterpriseParams.district = userInfo.permissionCode;
}
this.getList();
this.getPlanEnterpriseList();

@ -228,7 +228,7 @@ export default {
lawLevel: null,
lawHierarchy: null,
plannedMonth: null,
status: 1,
status: 0,
checkStatus: null,
checkId: null,
checkAgeing: null,
@ -240,6 +240,11 @@ export default {
};
},
created() {
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") {
this.queryParams.district = userInfo.permissionCode;
this.queryPlanEnterpriseParams.district = userInfo.permissionCode;
}
this.getList();
this.getPlanEnterpriseList();
},
@ -265,8 +270,15 @@ export default {
},
// 稿
handleAddDrafts(row) {
// console.log("1", row);
this.resetPlanEnterprise();
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
// console.log(userInfo.lawSort);
this.formPlanEnterprise.lawSort = userInfo.lawSort;
this.formPlanEnterprise.lawAreas = userInfo.lawAreas;
this.formPlanEnterprise.lawLevel = userInfo.lawLevel;
this.formPlanEnterprise.lawHierarchy = userInfo.userName;
this.formPlanEnterprise.plannedYear = this.$moment(new Date()).format(
"yyyy"
);
@ -331,7 +343,9 @@ export default {
},
//
quhuadizhi(district) {
this.option = district;
// console.log(">>>>>>>>");
// console.log(district);
// console.log(">>>>>>>>");
},
//
componendDistrict(district) {

@ -142,7 +142,11 @@ export default {
};
},
created() {
this.getList();
this.$nextTick(() => {
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
this.queryParams.district = userInfo.permissionCode;
this.getList();
});
},
methods: {
//
@ -175,6 +179,13 @@ export default {
});
});
},
reList() {
this.$nextTick(() => {
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
this.queryParams.district = userInfo.permissionCode;
this.getList();
});
},
/** 查询计划企业列表 */
getList() {
this.loading = true;

Loading…
Cancel
Save