经营主体修复

This commit is contained in:
aixianling
2022-02-23 16:37:58 +08:00
parent 01a10159ff
commit 86eaa9178e
2 changed files with 4 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ export default {
return {} return {}
}, },
created() { created() {
this.dict.load("portalUserStatus") this.dict.load("enterpriseType", "enterpriseStatus", "enterpriseAuditStatus")
} }
} }
</script> </script>

View File

@@ -6,11 +6,11 @@
<template #content> <template #content>
<ai-search-bar> <ai-search-bar>
<template #left> <template #left>
<ai-select v-model="search.status" :selectList="dict.getDict('status')" placeholder="审批状态" <ai-select v-model="search.status" :selectList="dict.getDict('enterpriseStatus')" placeholder="审批状态"
@change="page.current=1,getTableData()"/> @change="page.current=1,getTableData()"/>
</template> </template>
<template #right> <template #right>
<el-input size="small" placeholder="搜索姓名、手机号" v-model="search.name" clearable <el-input size="small" placeholder="搜索企业名称、法人姓名、登录账号" v-model="search.enterpriseName" clearable
@change="page.current=1,getTableData()"/> @change="page.current=1,getTableData()"/>
</template> </template>
</ai-search-bar> </ai-search-bar>
@@ -47,7 +47,7 @@ export default {
tableData: [], tableData: [],
colConfigs: [ colConfigs: [
{label: "企业名称", prop: "enterpriseName"}, {label: "企业名称", prop: "enterpriseName"},
{label: "企业类型", prop: "enterpriseType"}, {label: "企业类型", prop: "enterpriseType", dict: "enterpriseType"},
{label: "所属地区", prop: "areaName"}, {label: "所属地区", prop: "areaName"},
{label: "法人姓名", prop: "legalPersonName"}, {label: "法人姓名", prop: "legalPersonName"},
{label: "联系方式", prop: "phone"}, {label: "联系方式", prop: "phone"},
@@ -73,7 +73,6 @@ export default {
} }
}, },
created() { created() {
this.dict.load("enterpriseName")
this.getTableData() this.getTableData()
this.search.areaId = this.user.info.areaId this.search.areaId = this.user.info.areaId
} }