新增计划默认查询条件C,D,

zhangtao
laozt 1 year ago
parent 8ac88bbd82
commit 1fc414da08

@ -45,7 +45,7 @@
placeholder="请输入安全风险等级" placeholder="请输入安全风险等级"
> >
<el-option <el-option
v-for="item in dict.type.dict_risk_level" v-for="item in options"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
@ -209,10 +209,19 @@ export default {
components: { firmDialog, executive }, components: { firmDialog, executive },
data() { data() {
return { return {
options: [
{
value: "C",
label: "C",
},
{
value: "D",
label: "D",
},
],
activeTab: 0, activeTab: 0,
dictzh: dictzh, dictzh: dictzh,
dialogVisible: false, dialogVisible: false,
options: [],
// //
loading: true, loading: true,
// //
@ -242,7 +251,7 @@ export default {
updateId: null, updateId: null,
userId: null, userId: null,
deptId: null, deptId: null,
isPoint: 2, isPoint: null,
}, },
// //
form: {}, form: {},
@ -288,6 +297,7 @@ export default {
this.queryPlanEnterpriseParams.district = userInfo.permissionCode; this.queryPlanEnterpriseParams.district = userInfo.permissionCode;
this.queryPlanEnterpriseParams.lawHierarchy = userInfo.userName; this.queryPlanEnterpriseParams.lawHierarchy = userInfo.userName;
} }
this.queryParams.riskLevel = "C,D";
this.getList(); this.getList();
this.getPlanEnterpriseList(); this.getPlanEnterpriseList();
}, },

@ -43,7 +43,7 @@
placeholder="请输入安全风险等级" placeholder="请输入安全风险等级"
> >
<el-option <el-option
v-for="item in dict.type.dict_risk_level" v-for="item in options"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
@ -237,6 +237,24 @@ export default {
], ],
data() { data() {
return { return {
options: [
{
value: "A",
label: "A",
},
{
value: "B",
label: "B",
},
{
value: "C",
label: "C",
},
{
value: "D",
label: "D",
},
],
dictzh: dictzh, dictzh: dictzh,
// //
loading: true, loading: true,

Loading…
Cancel
Save