核对一波字典
This commit is contained in:
@@ -27,7 +27,7 @@ export default {
|
||||
return {}
|
||||
},
|
||||
created() {
|
||||
this.dict.load("enterpriseName")
|
||||
this.dict.load("enterpriseType","enterpriseStatus")
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -6,9 +6,10 @@
|
||||
<template #content>
|
||||
<ai-search-bar>
|
||||
<template #left>
|
||||
<ai-select v-model="search.status" :selectList="dict.getDict('status')" placeholder="企业类型"
|
||||
<ai-select v-model="search.enterpriseType" :selectList="dict.getDict('enterpriseType')" placeholder="企业类型"
|
||||
@change="page.current=1,getTableData()"/>
|
||||
<ai-select v-model="search.status" :selectList="dict.getDict('status')" placeholder="认证状态"
|
||||
<ai-select v-model="search.portalUserStatus" :selectList="dict.getDict('enterpriseStatus')"
|
||||
placeholder="认证状态"
|
||||
@change="page.current=1,getTableData()"/>
|
||||
</template>
|
||||
<template #right>
|
||||
@@ -49,7 +50,7 @@ export default {
|
||||
tableData: [],
|
||||
colConfigs: [
|
||||
{label: "企业名称", prop: "enterpriseName"},
|
||||
{label: "企业类型", prop: "enterpriseType"},
|
||||
{label: "企业类型", prop: "enterpriseType", dict: "enterpriseType"},
|
||||
{label: "所属地区", prop: "areaName"},
|
||||
{label: "法人姓名", prop: "legalPersonName"},
|
||||
{label: "联系方式", prop: "phone"},
|
||||
@@ -75,7 +76,6 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.dict.load("enterpriseName")
|
||||
this.getTableData()
|
||||
this.search.areaId = this.user.info.areaId
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user