|
@@ -78,8 +78,8 @@
|
|
<el-table-column label="企业别称" align="center" prop="anotherName" />
|
|
<el-table-column label="企业别称" align="center" prop="anotherName" />
|
|
<el-table-column label="联系人" align="center" prop="contact" />
|
|
<el-table-column label="联系人" align="center" prop="contact" />
|
|
<el-table-column label="联系电话" align="center" prop="phone" />
|
|
<el-table-column label="联系电话" align="center" prop="phone" />
|
|
- <el-table-column label="地址" align="center" prop="" />
|
|
|
|
- <el-table-column label="审核状态" align="center" prop="" />
|
|
|
|
|
|
+ <el-table-column label="地址" align="center" prop="address" />
|
|
|
|
+ <!-- <el-table-column label="审核状态" align="center" prop="" /> -->
|
|
<el-table-column label="会员类型" align="center" prop="" />
|
|
<el-table-column label="会员类型" align="center" prop="" />
|
|
<el-table-column label="会员到期时间" align="center" prop="" />
|
|
<el-table-column label="会员到期时间" align="center" prop="" />
|
|
<el-table-column label="职位发布类型" align="center" prop="pubJobTypePerm">
|
|
<el-table-column label="职位发布类型" align="center" prop="pubJobTypePerm">
|
|
@@ -123,6 +123,7 @@ import EnterpriseForm from './EnterpriseForm.vue'
|
|
import PositionTypeForm from './positionTypeForm.vue'
|
|
import PositionTypeForm from './positionTypeForm.vue'
|
|
import { IndustryApi, IndustryVO } from '@/api/menduner/system/industry'
|
|
import { IndustryApi, IndustryVO } from '@/api/menduner/system/industry'
|
|
import { handleTree } from '@/utils/tree'
|
|
import { handleTree } from '@/utils/tree'
|
|
|
|
+import { dealDictObjData } from '@/utils/transform/position'
|
|
|
|
|
|
/** 门墩儿-企业信息 列表 */
|
|
/** 门墩儿-企业信息 列表 */
|
|
defineOptions({ name: 'Enterprise' })
|
|
defineOptions({ name: 'Enterprise' })
|
|
@@ -161,7 +162,13 @@ const getList = async () => {
|
|
loading.value = true
|
|
loading.value = true
|
|
try {
|
|
try {
|
|
const data = await EnterpriseApi.getEnterprisePage(queryParams)
|
|
const data = await EnterpriseApi.getEnterprisePage(queryParams)
|
|
- list.value = data.list
|
|
|
|
|
|
+ list.value = data.list.map((row: any) => {
|
|
|
|
+ if (row.addressList?.length) {
|
|
|
|
+ const { areaName } = dealDictObjData({}, {areaId: row.addressList[0].areaId})
|
|
|
|
+ row.address = areaName + row.addressList[0].address || ''
|
|
|
|
+ }
|
|
|
|
+ return row
|
|
|
|
+ })
|
|
total.value = data.total
|
|
total.value = data.total
|
|
} finally {
|
|
} finally {
|
|
loading.value = false
|
|
loading.value = false
|