diff --git a/public/resource/img/redict_background.jpg b/public/resource/img/redict_background.jpg new file mode 100644 index 0000000..4399fc7 Binary files /dev/null and b/public/resource/img/redict_background.jpg differ diff --git a/src/views/biz/NuBizAdvisoryInfo/pc/components/NuBizAdvisoryInfoForm.vue b/src/views/biz/NuBizAdvisoryInfo/pc/components/NuBizAdvisoryInfoForm.vue index 78ed709..8ac1c5e 100644 --- a/src/views/biz/NuBizAdvisoryInfo/pc/components/NuBizAdvisoryInfoForm.vue +++ b/src/views/biz/NuBizAdvisoryInfo/pc/components/NuBizAdvisoryInfoForm.vue @@ -24,6 +24,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -66,6 +100,12 @@ advisoryType: '', status: '', content: '', + oldManName: '', + oldManAge: '', + medicalInsuranceType: '', + oldManSex: '', + reimbType: '', + nuId: '', }); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 5 } }); diff --git a/src/views/biz/nuBaseInfo/NuBaseInfo.api.ts b/src/views/biz/nuBaseInfo/NuBaseInfo.api.ts new file mode 100644 index 0000000..75cf870 --- /dev/null +++ b/src/views/biz/nuBaseInfo/NuBaseInfo.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/nuBaseInfo/nuBaseInfo/list', + save='/nuBaseInfo/nuBaseInfo/add', + edit='/nuBaseInfo/nuBaseInfo/edit', + deleteOne = '/nuBaseInfo/nuBaseInfo/delete', + deleteBatch = '/nuBaseInfo/nuBaseInfo/deleteBatch', + importExcel = '/nuBaseInfo/nuBaseInfo/importExcel', + exportXls = '/nuBaseInfo/nuBaseInfo/exportXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/biz/nuBaseInfo/NuBaseInfo.data.ts b/src/views/biz/nuBaseInfo/NuBaseInfo.data.ts new file mode 100644 index 0000000..43f1605 --- /dev/null +++ b/src/views/biz/nuBaseInfo/NuBaseInfo.data.ts @@ -0,0 +1,30 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +import { getWeekMonthQuarterYear } from '/@/utils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '护理单元名称', + align: "center", + dataIndex: 'nuName' + }, + { + title: '区域标签', + align: "center", + dataIndex: 'areaFlag_dictText' + }, + { + title: '使用状态', + align: "center", + dataIndex: 'status_dictText' + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + nuName: {title: '护理单元名称',order: 0,view: 'text', type: 'string',}, + areaFlag: {title: '区域标签',order: 1,view: 'list', type: 'string',dictCode: 'nu_type',}, + status: {title: '使用状态',order: 2,view: 'list', type: 'string',dictCode: 'nu_status',}, +}; diff --git a/src/views/biz/nuBaseInfo/NuBaseInfoList.vue b/src/views/biz/nuBaseInfo/NuBaseInfoList.vue new file mode 100644 index 0000000..9e767d8 --- /dev/null +++ b/src/views/biz/nuBaseInfo/NuBaseInfoList.vue @@ -0,0 +1,262 @@ + + + + + + + + + 护理单元名称 + + + + + + 区域标签 + + + + + + 使用状态 + + + + + + + 查询 + 重置 + + + + + + + + + + + 新增 + 导出 + 导入 + + + + + + 删除 + + + + 批量操作 + + + + + + + + + + + + + + + + + + + diff --git a/src/views/biz/nuBaseInfo/components/NuBaseInfoForm.vue b/src/views/biz/nuBaseInfo/components/NuBaseInfoForm.vue new file mode 100644 index 0000000..ec896fb --- /dev/null +++ b/src/views/biz/nuBaseInfo/components/NuBaseInfoForm.vue @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/biz/nuBaseInfo/components/NuBaseInfoModal.vue b/src/views/biz/nuBaseInfo/components/NuBaseInfoModal.vue new file mode 100644 index 0000000..9833fd6 --- /dev/null +++ b/src/views/biz/nuBaseInfo/components/NuBaseInfoModal.vue @@ -0,0 +1,77 @@ + + + + + + + + + + diff --git a/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfo.api.ts b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfo.api.ts new file mode 100644 index 0000000..2e3bf89 --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfo.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/nuBizCustomerInfo/nuBizCustomerInfo/list', + save='/nuBizCustomerInfo/nuBizCustomerInfo/add', + edit='/nuBizCustomerInfo/nuBizCustomerInfo/edit', + deleteOne = '/nuBizCustomerInfo/nuBizCustomerInfo/delete', + deleteBatch = '/nuBizCustomerInfo/nuBizCustomerInfo/deleteBatch', + importExcel = '/nuBizCustomerInfo/nuBizCustomerInfo/importExcel', + exportXls = '/nuBizCustomerInfo/nuBizCustomerInfo/exportXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfo.data.ts b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfo.data.ts new file mode 100644 index 0000000..468e7d7 --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfo.data.ts @@ -0,0 +1,168 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +import { getWeekMonthQuarterYear } from '/@/utils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '护理单元', + align: "center", + dataIndex: 'nuId_dictText' + }, + { + title: '姓名', + align: "center", + dataIndex: 'customerName' + }, + { + title: '性别', + align: "center", + dataIndex: 'customerSex' + }, + { + title: '年龄', + align: "center", + dataIndex: 'customerAge_dictText' + }, + { + title: '身份证号码', + align: "center", + dataIndex: 'idCard' + }, + { + title: '出生日期', + align: "center", + dataIndex: 'dateOfBirth' + }, + { + title: '民族', + align: "center", + dataIndex: 'national' + }, + { + title: '自理程度', + align: "center", + dataIndex: 'selfCareType' + }, + { + title: '头像', + align: "center", + dataIndex: 'avatarPath', + customRender: render.renderImage, + }, + { + title: '医保类型', + align: "center", + dataIndex: 'medicalType_dictText' + }, + { + title: '医保卡号', + align: "center", + dataIndex: 'medicalCard' + }, + { + title: '文化程度', + align: "center", + dataIndex: 'educationLevel_dictText' + }, + { + title: '婚姻状况', + align: "center", + dataIndex: 'maritalStatus' + }, + { + title: '宗教信仰', + align: "center", + dataIndex: 'religiousBeliefs' + }, + { + title: '身份证正面', + align: "center", + dataIndex: 'frontIdCard', + customRender: render.renderImage, + }, + { + title: '身份证反面', + align: "center", + dataIndex: 'negativeIdCard', + customRender: render.renderImage, + }, + { + title: '户口本本人页', + align: "center", + dataIndex: 'accountBookHimself', + customRender: render.renderImage, + }, + { + title: '医保卡正面', + align: "center", + dataIndex: 'frontMedical', + customRender: render.renderImage, + }, + { + title: '医保卡反面', + align: "center", + dataIndex: 'negaticeMedical', + customRender: render.renderImage, + }, + { + title: '备注', + align: "center", + dataIndex: 'content' + }, + { + title: '当前状态', + align: "center", + dataIndex: 'currentState_dictText' + }, + { + title: '监护人', + align: "center", + dataIndex: 'guardian' + }, + { + title: '关系', + align: "center", + dataIndex: 'relationship' + }, + { + title: '联系电话', + align: "center", + dataIndex: 'contactNumber' + }, + { + title: '家庭住址', + align: "center", + dataIndex: 'homeAddress' + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + nuId: {title: '护理单元',order: 0,view: 'list', type: 'string',dictCode: '',}, + customerName: {title: '姓名',order: 1,view: 'text', type: 'string',}, + customerSex: {title: '性别',order: 2,view: 'text', type: 'string',}, + customerAge: {title: '年龄',order: 3,view: 'list', type: 'string',dictCode: '',}, + idCard: {title: '身份证号码',order: 4,view: 'text', type: 'string',}, + dateOfBirth: {title: '出生日期',order: 5,view: 'text', type: 'string',}, + national: {title: '民族',order: 6,view: 'text', type: 'string',}, + selfCareType: {title: '自理程度',order: 7,view: 'text', type: 'string',}, + avatarPath: {title: '头像',order: 8,view: 'image', type: 'string',}, + medicalType: {title: '医保类型',order: 9,view: 'list', type: 'string',dictCode: 'medical_insurance_type',}, + medicalCard: {title: '医保卡号',order: 10,view: 'text', type: 'string',}, + educationLevel: {title: '文化程度',order: 11,view: 'list', type: 'string',dictCode: '',}, + maritalStatus: {title: '婚姻状况',order: 12,view: 'text', type: 'string',}, + religiousBeliefs: {title: '宗教信仰',order: 13,view: 'text', type: 'string',}, + frontIdCard: {title: '身份证正面',order: 14,view: 'image', type: 'string',}, + negativeIdCard: {title: '身份证反面',order: 15,view: 'image', type: 'string',}, + accountBookHimself: {title: '户口本本人页',order: 16,view: 'image', type: 'string',}, + frontMedical: {title: '医保卡正面',order: 17,view: 'image', type: 'string',}, + negaticeMedical: {title: '医保卡反面',order: 18,view: 'image', type: 'string',}, + content: {title: '备注',order: 19,view: 'textarea', type: 'string',}, + currentState: {title: '当前状态',order: 20,view: 'list', type: 'string',dictCode: '',}, + guardian: {title: '监护人',order: 21,view: 'text', type: 'string',}, + relationship: {title: '关系',order: 22,view: 'text', type: 'string',}, + contactNumber: {title: '联系电话',order: 23,view: 'text', type: 'string',}, + homeAddress: {title: '家庭住址',order: 24,view: 'text', type: 'string',}, +}; diff --git a/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList copy.vue b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList copy.vue new file mode 100644 index 0000000..6652404 --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList copy.vue @@ -0,0 +1,240 @@ + + + + + + + + + 姓名 + + + + + + 联系电话 + + + + + + + 查询 + 重置 + + + + + + + + + + + 新增 + 导出 + 导入 + + + + + + + + + + + + + + + + diff --git a/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList.vue b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList.vue new file mode 100644 index 0000000..60eb892 --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList.vue @@ -0,0 +1,323 @@ + + + + + + + + + 姓名 + + + + + + 联系电话 + + + + + + + 查询 + 重置 + + + + + + + + + + + {{item.customerName}} / + {{item.customerSex_dictText?item.customerSex_dictText:'无'}} / + {{item.currentState_dictText}} + {{item.currentState_dictText}} + {{item.currentState_dictText}} + {{item.currentState_dictText}} + + + + + + + + 编辑 + + + 更换护理单元 + + + 外出 + + + 返回 + + + 退住 + + + + + + + + + + + + + + 护理单元:{{item.nuId_dictText }} + 报销类型:{{item.reimbType_dictText }} + 医保类型:{{item.medicalType_dictText }} + 联系电话:{{item.contactNumber }} + + + + + + + + + + + + + + + + + + diff --git a/src/views/biz/nuBizCustomerInfo/components/CheckNuListForm.vue b/src/views/biz/nuBizCustomerInfo/components/CheckNuListForm.vue new file mode 100644 index 0000000..a890d59 --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/components/CheckNuListForm.vue @@ -0,0 +1,67 @@ + + + + + {{nuId == item.id?'已选择':'选择'}} + + + + + + + + diff --git a/src/views/biz/nuBizCustomerInfo/components/CheckNuListModal.vue b/src/views/biz/nuBizCustomerInfo/components/CheckNuListModal.vue new file mode 100644 index 0000000..ee435e1 --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/components/CheckNuListModal.vue @@ -0,0 +1,77 @@ + + + + + + + + + + diff --git a/src/views/biz/nuBizCustomerInfo/components/NuBizCustomerInfoForm.vue b/src/views/biz/nuBizCustomerInfo/components/NuBizCustomerInfoForm.vue new file mode 100644 index 0000000..bd635fe --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/components/NuBizCustomerInfoForm.vue @@ -0,0 +1,338 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/biz/nuBizCustomerInfo/components/NuBizCustomerInfoModal.vue b/src/views/biz/nuBizCustomerInfo/components/NuBizCustomerInfoModal.vue new file mode 100644 index 0000000..0392681 --- /dev/null +++ b/src/views/biz/nuBizCustomerInfo/components/NuBizCustomerInfoModal.vue @@ -0,0 +1,77 @@ + + + + + + + + + +
护理单元:{{item.nuId_dictText }}
报销类型:{{item.reimbType_dictText }}
医保类型:{{item.medicalType_dictText }}
联系电话:{{item.contactNumber }}