Merge remote-tracking branch 'origin/master'

This commit is contained in:
18500206848
2024-04-19 15:05:59 +08:00
3 changed files with 27 additions and 16 deletions

View File

@@ -82,4 +82,4 @@ export default {
</script> </script>
<style> <style>
</style> </style>

View File

@@ -58,7 +58,7 @@ const area = {
id = item.parentId; id = item.parentId;
res.unshift(item); res.unshift(item);
item = state.dic[id]; item = state.dic[id];
} }
return res return res
} }
} }

View File

@@ -32,8 +32,8 @@
</el-button> </el-button>
</template> </template>
<template slot="menu" slot-scope="{row}"> <template slot="menu" slot-scope="{row}">
<el-button type="text" @click="rowUpdate(row)">编辑</el-button> <el-button type="text" size="small" @click="rowUpdate(row)">编辑</el-button>
<el-button type="text" @click="rowDel(row)">删除</el-button> <el-button type="text" size="small" @click="rowDel(row)">删除</el-button>
</template> </template>
<template slot="isEnabled" slot-scope="{ row }"> <template slot="isEnabled" slot-scope="{ row }">
<el-switch <el-switch
@@ -128,11 +128,14 @@ const curdOptions = {
editBtn: false, editBtn: false,
delBtn: false, delBtn: false,
height: "auto", height: "auto",
viewBtn: true,
border: true, border: true,
searchMenuSpan: 48, searchMenuSpan: 48,
selection: true, selection: true,
index: true, index: true,
indexLabel: "序号", indexLabel: "序号",
dialogType: "drawer",
align: 'center',
column: [{ column: [{
label: '机构名称', label: '机构名称',
prop: 'companyName', prop: 'companyName',
@@ -141,17 +144,14 @@ const curdOptions = {
label: '企业名称', label: '企业名称',
prop: 'comname', prop: 'comname',
search: true, search: true,
}, {
label: '统一信用代码',
prop: 'companyId',
hide: true,
}, { }, {
label: '绑定用户', label: '绑定用户',
prop: 'realName', prop: 'realName',
// search: true,
}, },
// {
// label: '邀请码',
// prop: 'inviteCode',
// search: true,
// },
{ {
label: '手机号', label: '手机号',
prop: 'phone', prop: 'phone',
@@ -162,10 +162,10 @@ const curdOptions = {
search: true, search: true,
formatter: (_, value, label) => value formatter: (_, value, label) => value
}, },
// { {
// label: '备注', label: '驳回原因',
// prop: 'remarks', prop: 'reviewMsg',
// }, },
{ {
label: '启用状态', label: '启用状态',
prop: 'isEnabled', prop: 'isEnabled',
@@ -178,7 +178,18 @@ const curdOptions = {
type: 'select', type: 'select',
dicData: recruitStatus, dicData: recruitStatus,
display: false, display: false,
}] },
{
label: '创建时间',
prop: 'createTime',
hide: true,
},
{
label: '创建用户',
prop: 'createUser',
hide: true,
}
]
} }
const page = { const page = {
pageSize: 10, pageSize: 10,