添加审批条件
This commit is contained in:
parent
8a59c9416b
commit
9c697ef8af
|
@ -6,32 +6,21 @@ import { getWeekMonthQuarterYear } from '/@/utils';
|
|||
import {JVxeTypes, JVxeColumn, JVxeTableInstance} from '/@/components/jeecg/JVxeTable/types'
|
||||
//列表数据
|
||||
export const columns: BasicColumn[] = [
|
||||
{
|
||||
title: '联系电话',
|
||||
align: "center",
|
||||
dataIndex: 'tel'
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
align: "center",
|
||||
dataIndex: 'status',
|
||||
},
|
||||
{
|
||||
title: '审核备注',
|
||||
align: "center",
|
||||
dataIndex: 'content',
|
||||
defaultHidden: true,
|
||||
},
|
||||
{
|
||||
title: '机构是否入驻',
|
||||
align: "center",
|
||||
dataIndex: 'izEntry'
|
||||
},
|
||||
{
|
||||
title: '咨询人姓名',
|
||||
align: "center",
|
||||
dataIndex: 'name'
|
||||
},
|
||||
{
|
||||
title: '联系电话',
|
||||
align: "center",
|
||||
dataIndex: 'tel'
|
||||
},
|
||||
// {
|
||||
// title: '机构是否入驻',
|
||||
// align: "center",
|
||||
// dataIndex: 'izEntry'
|
||||
// },
|
||||
{
|
||||
title: '性别',
|
||||
align: "center",
|
||||
|
@ -149,6 +138,17 @@ export const columns: BasicColumn[] = [
|
|||
dataIndex: 'contactRelationship',
|
||||
defaultHidden: true,
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
align: "center",
|
||||
dataIndex: 'status_dictText',
|
||||
},
|
||||
{
|
||||
title: '审核备注',
|
||||
align: "center",
|
||||
dataIndex: 'content',
|
||||
defaultHidden: true,
|
||||
},
|
||||
{
|
||||
title: '户口性质',
|
||||
align: "center",
|
||||
|
|
|
@ -179,7 +179,7 @@ import JInput from "/@/components/Form/src/jeecg/components/JInput.vue";
|
|||
{
|
||||
label: '审批',
|
||||
onClick: handleEdit.bind(null, record),
|
||||
ifShow: record.status == '0' || record.status == null
|
||||
ifShow: record.status == '1'
|
||||
},
|
||||
{
|
||||
label: '详情',
|
||||
|
|
|
@ -4,6 +4,20 @@
|
|||
<template #detail>
|
||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="NuEmployeesAdvisoryInfoForm">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<SectionDivider :title="'入驻审批'" />
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="审批" v-bind="validateInfos.status" id="OrgApplyInfoForm-status" name="status">
|
||||
<j-dict-select-tag type="radio" v-model:value="formData.status" dictCode="org_apply_status" placeholder="请选择审批结果"
|
||||
allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="审核备注" v-bind="validateInfos.content" id="OrgApplyInfoForm-content" name="content">
|
||||
<a-input v-model:value="formData.content" placeholder="请输入审核备注" allow-clear></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<SectionDivider :title="'基本信息'" />
|
||||
</a-col>
|
||||
|
@ -181,6 +195,7 @@
|
|||
import { saveOrUpdate } from '../NuEmployeesAdvisoryInfo.api';
|
||||
import { Form } from 'ant-design-vue';
|
||||
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
|
||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||
const props = defineProps({
|
||||
formDisabled: { type: Boolean, default: false },
|
||||
formData: { type: Object, default: () => ({})},
|
||||
|
|
|
@ -188,7 +188,7 @@ function getTableAction(record) {
|
|||
label: '审批',
|
||||
onClick: handleEdit.bind(null, record),
|
||||
auth: 'orgapplyinfo:nu_org_apply_info:edit',
|
||||
disabled: record.status == '0' || record.status == '2'
|
||||
ifShow: record.status == '1'
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue