提交 80e5df1a authored 作者: leon's avatar leon

fix 枚举 临调订单

上级 e968026d
......@@ -34,7 +34,9 @@ const getDistributorId = ({ colProps }) => {
componentProps: {
labelInValue: true,
api: DistributorApi.all,
params: {},
params: {
status: UserStatusValEnum.PASSED,
},
resultField: 'records',
labelField: 'name',
valueField: 'id',
......
......@@ -348,7 +348,7 @@ export const schema = {
},
{
field: 'createTime',
label: 'CreateTime',
label: '创建时间',
defaultValue: undefined,
form: {
colProps,
......@@ -359,13 +359,13 @@ export const schema = {
showTime: false,
},
component: 'RangePicker',
rules: [{ required: true, message: '请输入CreateTime!' }],
rules: [{ required: true, message: '请输入创建时间!' }],
},
table: {},
},
{
field: 'updateTime',
label: 'UpdateTime',
label: '更新时间',
defaultValue: undefined,
form: {
colProps,
......@@ -376,7 +376,7 @@ export const schema = {
showTime: false,
},
component: 'RangePicker',
rules: [{ required: true, message: '请输入UpdateTime!' }],
rules: [{ required: true, message: '请输入更新时间!' }],
},
table: {},
},
......@@ -401,9 +401,9 @@ const queryFields = [
'receiveName',
'receivePhone',
'status',
'type',
// 'type',
'remark',
'deleteStatus',
// 'deleteStatus',
// 'editorId',
'editorName',
'createTime',
......@@ -427,9 +427,9 @@ const editFields = [
'receivePhone',
'address',
'status',
'type',
// 'type',
'remark',
'deleteStatus',
// 'deleteStatus',
];
const tableFields = [
'id',
......@@ -450,9 +450,9 @@ const tableFields = [
'receivePhone',
'address',
'status',
'type',
// 'type',
'remark',
'deleteStatus',
// 'deleteStatus',
'editorId',
'editorName',
'createTime',
......@@ -477,9 +477,9 @@ const descriptionFields = [
'receivePhone',
'address',
'status',
'type',
// 'type',
'remark',
'deleteStatus',
// 'deleteStatus',
'editorId',
'editorName',
'createTime',
......
......@@ -5,9 +5,7 @@
* @Author: xiongwei
* @Date: 2022-06-28 11:50:00
*/
console.log('a');
import { getDistributorId, getHospitalId } from '/@/commonSchemaProperty';
console.log('getDistributorId', getDistributorId);
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
import { usePermission } from '/@/hooks/web/usePermission';
......
......@@ -117,6 +117,7 @@
import componentSetting from '/@/settings/componentSetting';
import ReceiverDrawer from './drawer.vue';
import { columns, searchFormSchema } from './schema';
import { StatusValEnum } from './enum';
import {
isShowHandleEdit,
isShowHandlePassed,
......@@ -124,7 +125,6 @@
isShowHandleReject,
isShowHandleDelete,
getVerifyParams,
StatusValEnum,
StatusColorEnum,
StatusEnum,
} from './schema';
......
......@@ -96,6 +96,7 @@
</div>
</template>
<script lang="ts" setup name="AUTH_SYSTEM_USER">
import { StatusValEnum } from './enum';
import {
isShowHandleEdit,
isShowHandlePassed,
......@@ -103,7 +104,6 @@
isShowHandleReject,
isShowHandleDelete,
getVerifyParams,
StatusValEnum,
StatusColorEnum,
StatusEnum,
BatchVerifyParams,
......
......@@ -12,7 +12,7 @@ import * as RoleApi from '/@/api/system/roleApi';
import { getDistributorId } from '/@/commonSchemaProperty';
import { usePermission } from '/@/hooks/web/usePermission';
import { phoneRule } from '/@/commonSchemaProperty/formRules';
import { StatusValEnum } from '/@/views/system/user/enum';
import { StatusValEnum } from './enum';
const { hasPermission } = usePermission();
export interface BatchVerifyParams {
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论