This commit is contained in:
yangjun 2025-10-15 16:37:09 +08:00
commit adb5adf201
4 changed files with 56 additions and 38 deletions

View File

@ -2,7 +2,7 @@
VITE_USE_MOCK = false VITE_USE_MOCK = false
# 发布路径 # 发布路径
VITE_PUBLIC_PATH = /biz103 VITE_PUBLIC_PATH = /biz104
# 是否启用gzip或brotli压缩 # 是否启用gzip或brotli压缩
# 选项值: gzip | brotli | none # 选项值: gzip | brotli | none
@ -13,11 +13,11 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
#后台接口父地址(必填) #后台接口父地址(必填)
VITE_GLOB_API_URL=/nursingunit103 VITE_GLOB_API_URL=/nursingunit104
#后台接口全路径地址(必填) #后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=https://www.focusnu.com/nursingunit103 # VITE_GLOB_DOMAIN_URL=https://www.focusnu.com/nursingunit101
# VITE_GLOB_DOMAIN_URL=http://115.175.20.152/nursingunit104 VITE_GLOB_DOMAIN_URL=http://115.175.20.152/nursingunit104
# 接口父路径前缀 # 接口父路径前缀
VITE_GLOB_API_URL_PREFIX= VITE_GLOB_API_URL_PREFIX=

View File

@ -7,33 +7,33 @@ import { getWeekMonthQuarterYear } from '/@/utils';
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
{ {
title: '姓名', title: '姓名',
align: "center", align: 'center',
dataIndex: 'name' dataIndex: 'name',
}, },
{ {
title: '性别', title: '性别',
align: "center", align: 'center',
dataIndex: 'sex' dataIndex: 'sex',
}, },
{ {
title: '年龄', title: '年龄',
align: "center", align: 'center',
dataIndex: 'dateOfBirth' dataIndex: 'dateOfBirth',
}, },
{ {
title: '联系电话', title: '联系电话',
align: "center", align: 'center',
dataIndex: 'tel' dataIndex: 'tel',
}, },
{ {
title: '申请日期', title: '申请日期',
align: "center", align: 'center',
dataIndex: 'createTime' dataIndex: 'createTime',
}, },
{ {
title: '审核状态', title: '审核状态',
align: "center", align: 'center',
dataIndex: 'status' dataIndex: 'status',
}, },
// { // {
// title: '审核备注', // title: '审核备注',
@ -46,33 +46,33 @@ export const columns: BasicColumn[] = [
export const columns1: BasicColumn[] = [ export const columns1: BasicColumn[] = [
{ {
title: '姓名', title: '姓名',
align: "center", align: 'center',
dataIndex: 'name' dataIndex: 'name',
}, },
{ {
title: '性别', title: '性别',
align: "center", align: 'center',
dataIndex: 'sex' dataIndex: 'sex',
}, },
{ {
title: '年龄', title: '年龄',
align: "center", align: 'center',
dataIndex: 'dateOfBirth' dataIndex: 'dateOfBirth',
}, },
{ {
title: '联系电话', title: '联系电话',
align: "center", align: 'center',
dataIndex: 'tel' dataIndex: 'tel',
}, },
{ {
title: '申请日期', title: '申请日期',
align: "center", align: 'center',
dataIndex: 'createTime' dataIndex: 'createTime',
}, },
{ {
title: '邀请状态', title: '邀请状态',
align: "center", align: 'center',
dataIndex: 'status' dataIndex: 'status',
}, },
// { // {
// title: '审核备注', // title: '审核备注',
@ -83,12 +83,12 @@ export const columns1: BasicColumn[] = [
// 高级查询数据 // 高级查询数据
export const superQuerySchema = { export const superQuerySchema = {
name: {title: '姓名',order: 0,view: 'text', type: 'string',}, name: { title: '姓名', order: 0, view: 'text', type: 'string' },
sex: {title: '性别',order: 1,view: 'radio', type: 'string',dictCode: '',}, sex: { title: '性别', order: 1, view: 'radio', type: 'string', dictCode: '' },
tel: {title: '联系电话',order: 4,view: 'text', type: 'string',}, tel: { title: '联系电话', order: 4, view: 'text', type: 'string' },
createTime: {title: '申请日期',order: 27,view: 'datetime', type: 'string',}, createTime: { title: '申请日期', order: 27, view: 'datetime', type: 'string' },
status: {title: '申请状态 0历史 1申请中 2通过 3驳回',order: 28,view: 'text', type: 'string',}, status: { title: '申请状态 0历史 1申请中 2通过 3驳回', order: 28, view: 'text', type: 'string' },
auditContent: {title: '审核备注',order: 29,view: 'text', type: 'string',}, auditContent: { title: '审核备注', order: 29, view: 'text', type: 'string' },
}; };
export const applyObj = { export const applyObj = {
@ -131,5 +131,7 @@ export const applyObj = {
status: '申请状态 1申请中 2通过 3驳回', status: '申请状态 1申请中 2通过 3驳回',
auditContent: '审核备注', auditContent: '审核备注',
izHistory: '是否历史数据', izHistory: '是否历史数据',
applyType: '申请类型 0被邀请 1主动申请 2信息变更' applyType: '申请类型 0被邀请 1主动申请 2信息变更',
startTime: '有效开始日期',
endTime: '有效结束日期',
}; };

View File

@ -348,6 +348,8 @@ const formData = reactive<Record<string, any>>({
status: '', status: '',
auditContent: '', auditContent: '',
applyType: '', applyType: '',
startTime:'',
endTime:'',
}); });
const statusVal = ref('') const statusVal = ref('')
const { createMessage } = useMessage(); const { createMessage } = useMessage();

View File

@ -121,6 +121,10 @@ const filteredTableData = computed(() => {
&& item.d1 !== 'updateBy' && item.d1 !== 'updateBy'
&& item.d1 !== 'updateTime' && item.d1 !== 'updateTime'
&& item.d1 !== 'modifyStatus' && item.d1 !== 'modifyStatus'
&& item.d1 !== 'openingBank'
&& item.d1 !== 'bankCard'
&& item.d1 !== 'startTime'
&& item.d1 !== 'endTime'
); );
}); });
@ -182,6 +186,8 @@ const fieldMap = {
qualification: 'qualification', qualification: 'qualification',
noCrimeCertificate: 'noCrimeCertificate', noCrimeCertificate: 'noCrimeCertificate',
regional: 'regional', regional: 'regional',
startTime: 'startTime',
endTime: 'endTime',
}; };
async function show(record) { async function show(record) {
@ -219,6 +225,14 @@ async function submitForm() {
} }
return Promise.reject(errorFields); return Promise.reject(errorFields);
} }
console.log("🌊 ~ submitForm ~ formData:", formData)
if (formData.startTime) {
formData.startTime = formData.startTime.replace(/-/g, '.');
}
if (formData.endTime) {
formData.endTime = formData.endTime.replace(/-/g, '.');
}
auditSubmit(formData) auditSubmit(formData)
.then((res) => { .then((res) => {
emit('ok'); emit('ok');