diff --git a/src/views/admin/allMaterialInfo/NuBizAllMaterialInfo.data.ts b/src/views/admin/allMaterialInfo/NuBizAllMaterialInfo.data.ts index a6530fd..6ce388e 100644 --- a/src/views/admin/allMaterialInfo/NuBizAllMaterialInfo.data.ts +++ b/src/views/admin/allMaterialInfo/NuBizAllMaterialInfo.data.ts @@ -5,6 +5,16 @@ import { render } from '/@/utils/common/renderUtils'; import { getWeekMonthQuarterYear } from '/@/utils'; //列表数据 export const columns: BasicColumn[] = [ + { + title: '机构编码', + align: "center", + dataIndex: 'orgCode' + }, + { + title: '机构名称', + align: "center", + dataIndex: 'departName' + }, { title: '物料名称', align: "center", @@ -23,12 +33,14 @@ export const columns: BasicColumn[] = [ { title: '销售单价', align: "center", - dataIndex: 'salesUnitPrice' + dataIndex: 'salesUnitPrice', + defaultHidden: true }, { title: '销售单位', align: "center", - dataIndex: 'salesUnit' + dataIndex: 'salesUnit', + defaultHidden: true }, ]; diff --git a/src/views/admin/allMaterialInfo/NuBizAllMaterialInfoList.vue b/src/views/admin/allMaterialInfo/NuBizAllMaterialInfoList.vue index ed7fac4..592045c 100644 --- a/src/views/admin/allMaterialInfo/NuBizAllMaterialInfoList.vue +++ b/src/views/admin/allMaterialInfo/NuBizAllMaterialInfoList.vue @@ -4,41 +4,43 @@
+ + + + + + + + + + + + + + + + 查询 + 重置 + + +
- + - - @@ -47,16 +49,12 @@ import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { useListPage } from '/@/hooks/system/useListPage'; import { columns, superQuerySchema } from './NuBizAllMaterialInfo.data'; - import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './NuBizAllMaterialInfo.api'; - import { downloadFile } from '/@/utils/common/renderUtils'; - import NuBizAllMaterialInfoModal from './components/NuBizAllMaterialInfoModal.vue' - import { useUserStore } from '/@/store/modules/user'; + import { list } from './NuBizAllMaterialInfo.api'; +import JInput from "/@/components/Form/src/jeecg/components/JInput.vue"; +import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue'; const formRef = ref(); const queryParam = reactive({}); - const toggleSearchStatus = ref(false); - const registerModal = ref(); - const userStore = useUserStore(); //注册table数据 const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ tableProps: { @@ -65,6 +63,8 @@ columns, canResize:false, useSearchForm: false, + showActionColumn: false, + showIndexColumn: true, actionColumn: { width: 120, fixed: 'right', @@ -73,15 +73,6 @@ return Object.assign(params, queryParam); }, }, - exportConfig: { - name: "物料信息汇总", - url: getExportUrl, - params: queryParam, - }, - importConfig: { - url: getImportUrl, - success: handleSuccess - }, }); const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext; const labelCol = reactive({ @@ -94,97 +85,8 @@ xs: 24, sm: 20, }); - - // 高级查询配置 - const superQueryConfig = reactive(superQuerySchema); - - /** - * 高级查询事件 - */ - function handleSuperQuery(params) { - Object.keys(params).map((k) => { - queryParam[k] = params[k]; - }); - searchQuery(); - } - - /** - * 新增事件 - */ - function handleAdd() { - registerModal.value.disableSubmit = false; - registerModal.value.add(); - } - - /** - * 编辑事件 - */ - function handleEdit(record: Recordable) { - registerModal.value.disableSubmit = false; - registerModal.value.edit(record); - } - /** - * 详情 - */ - function handleDetail(record: Recordable) { - registerModal.value.disableSubmit = true; - registerModal.value.edit(record); - } - /** - * 删除事件 - */ - async function handleDelete(record) { - await deleteOne({ id: record.id }, handleSuccess); - } - - /** - * 批量删除事件 - */ - async function batchHandleDelete() { - await batchDelete({ ids: selectedRowKeys.value }, handleSuccess); - } - - /** - * 成功回调 - */ - function handleSuccess() { - (selectedRowKeys.value = []) && reload(); - } - - /** - * 操作栏 - */ - function getTableAction(record) { - return [ - { - label: '编辑', - onClick: handleEdit.bind(null, record), - auth: 'allMaterialInfo:nu_biz_all_material_info:edit' - }, - ]; - } - - /** - * 下拉操作栏 - */ - function getDropDownAction(record) { - return [ - { - label: '详情', - onClick: handleDetail.bind(null, record), - }, { - label: '删除', - popConfirm: { - title: '是否确认删除', - confirm: handleDelete.bind(null, record), - placement: 'topLeft', - }, - auth: 'allMaterialInfo:nu_biz_all_material_info:delete' - } - ] - } /** * 查询 diff --git a/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue b/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue index acfb90d..191aa02 100644 --- a/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue +++ b/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue @@ -84,7 +84,7 @@ canResize:false, useSearchForm: false, actionColumn: { - width: 120, + width: 80, fixed: 'right', }, beforeFetch: async (params) => { @@ -168,10 +168,10 @@ label: '详情', onClick: handleDetail.bind(null, record), }, - { - label: '物料', - onClick: handleWlEdit.bind(null, record), - }, + // { + // label: '物料', + // onClick: handleWlEdit.bind(null, record), + // }, ]; } diff --git a/src/views/admin/orgInfo/OrgApplyInfo.api.ts b/src/views/admin/orgInfo/OrgApplyInfo.api.ts index 3d43e8c..1b37bef 100644 --- a/src/views/admin/orgInfo/OrgApplyInfo.api.ts +++ b/src/views/admin/orgInfo/OrgApplyInfo.api.ts @@ -5,6 +5,7 @@ const { createConfirm } = useMessage(); enum Api { list = '/admin/orgapplyinfo/orgApplyInfo/list', + departList = '/sys/sysDepart/list', save='/admin/orgapplyinfo/orgApplyInfo/add', edit='/admin/orgapplyinfo/orgApplyInfo/edit', editCg='/admin/orgapplyinfo/orgApplyInfo/editCg', @@ -32,6 +33,7 @@ export const getImportUrl = Api.importExcel; * @param params */ export const list = (params) => defHttp.get({ url: Api.list, params }); +export const departList = (params) => defHttp.get({ url: Api.departList, params }); /** * 获取机构详细信息(包含sys_depart信息) diff --git a/src/views/admin/orgInfo/OrgList.vue b/src/views/admin/orgInfo/OrgList.vue new file mode 100644 index 0000000..5f5bf85 --- /dev/null +++ b/src/views/admin/orgInfo/OrgList.vue @@ -0,0 +1,244 @@ + + + + + diff --git a/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue b/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue index b8d47a9..71564a8 100644 --- a/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue +++ b/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue @@ -11,7 +11,7 @@ - +

摄像头:{{item.sxtList}}

电表:{{item.dbList}}

水表:{{item.sbList}}

diff --git a/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts b/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts index 3c9cacd..88e2a03 100644 --- a/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts +++ b/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts @@ -70,6 +70,46 @@ export const columns: BasicColumn[] = [ }, }, ]; +//列表数据 +export const orgColumns: BasicColumn[] = [ + { + title: '机构编码', + align: 'center', + dataIndex: 'orgCode', + width: 100, + }, + { + title: '机构名称', + align: 'center', + dataIndex: 'departName', + }, + { + title: '机构负责人', + align: 'center', + dataIndex: 'orgLeader', + width: 100, + }, + { + title: '联系电话', + align: 'center', + dataIndex: 'orgLeaderPhone', + width: 120, + }, + { + title: '加盟地址', + align: 'center', + dataIndex: 'comRegisterAddress', + }, + { + title: '加盟日期', + align: 'center', + dataIndex: 'createTime', + width: 150, + customRender: ({ record,text }) => { + return text?text.substring(0,10):'-' + }, + }, +]; //列表数据 export const hisColumns: BasicColumn[] = [ diff --git a/src/views/biz/elderInfo/ElderInfo.api.ts b/src/views/biz/elderInfo/ElderInfo.api.ts new file mode 100644 index 0000000..baae7ac --- /dev/null +++ b/src/views/biz/elderInfo/ElderInfo.api.ts @@ -0,0 +1,18 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from '/@/hooks/web/useMessage'; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/elderInfo/elderInfo/getElderTjList', +} + + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + + + diff --git a/src/views/biz/elderInfo/ElderInfo.data.ts b/src/views/biz/elderInfo/ElderInfo.data.ts new file mode 100644 index 0000000..c5f868c --- /dev/null +++ b/src/views/biz/elderInfo/ElderInfo.data.ts @@ -0,0 +1,309 @@ +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: 'sysOrgCode', + }, + { + title: '机构名称', + align: 'center', + dataIndex: 'departName', + }, + { + title: 'NUID', + align: 'center', + dataIndex: 'nuId', + }, + { + title: '护理单元', + align: 'center', + dataIndex: 'nuName', + }, + { + title: '长者姓名', + align: 'center', + dataIndex: 'name', + }, + { + title: '长者性别', + align: 'center', + dataIndex: 'sex', + }, + { + title: '长者年龄', + align: 'center', + dataIndex: 'age', + }, + { + title: '监护人姓名', + align: 'center', + dataIndex: 'guardianName', + }, + // { + // title: '关系', + // align: 'center', + // dataIndex: 'relationship', + // }, + { + title: '监护人电话', + align: 'center', + dataIndex: 'guardianPhone', + }, + { + title: '入住日期', + align: 'center', + dataIndex: 'checkinTime', + customRender: function ({ text }) { + text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text); + return text; + }, + }, +]; + +export const auditHisColumns: BasicColumn[] = [ + { + title: 'NUID', + align: 'center', + dataIndex: 'nuId', + width: 100, + }, + { + title: '护理单元', + align: 'center', + dataIndex: 'nuId_dictText', + }, + { + title: '长者姓名', + align: 'center', + dataIndex: 'name', + width: 100, + }, + { + title: '长者性别', + align: 'center', + dataIndex: 'sex', + width: 80, + }, + { + title: '长者年龄', + align: 'center', + dataIndex: 'age', + width: 80, + }, + { + title: '监护人姓名', + align: 'center', + dataIndex: 'guardianName', + width: 100, + }, + // { + // title: '关系', + // align: 'center', + // dataIndex: 'relationship', + // }, + { + title: '监护人电话', + align: 'center', + dataIndex: 'guardianPhone', + width: 140, + }, + { + title: '审核类型', + align: 'center', + dataIndex: 'guardianPhone', + customRender: function ({ text }) { + return '变更'; + }, + width: 100, + + }, + { + title: '审核时间', + align: 'center', + dataIndex: 'updateTime', + }, + { + title: '审核结果', + align: 'center', + dataIndex: 'modifyStatus', + customRender: ({ text, record }) => { + console.log(text); + var applyStatus = ''; + if (text == '2') { + applyStatus = '审核通过'; + } else if (text == '3') { + applyStatus = '审核驳回'; + } + return applyStatus; + }, + width: 100, + }, + { + title: '驳回原因', + align: 'center', + dataIndex: 'auditContent', + }, +]; + +export const elderColumns: BasicColumn[] = [ + { + title: '护理单元', + align: 'center', + dataIndex: 'nuId', + }, + { + title: '长者姓名', + align: 'center', + dataIndex: 'name', + }, + { + title: '长者性别', + align: 'center', + dataIndex: 'sex', + }, + { + title: '长者年龄', + align: 'center', + dataIndex: 'age', + }, + // { + // title: '监护人姓名', + // align: 'center', + // dataIndex: 'guardianName', + // }, + // { + // title: '监护人电话', + // align: 'center', + // dataIndex: 'guardianPhone', + // }, + // { + // title: '关系', + // align: 'center', + // dataIndex: 'relationship', + // }, +]; + +export const guaColumns: BasicColumn[] = [ + // { + // title: '护理单元', + // align: 'center', + // dataIndex: 'nuId', + // }, + // { + // title: '性别', + // align: 'center', + // dataIndex: 'sex', + // }, + // { + // title: '年龄', + // align: 'center', + // dataIndex: 'age', + // }, + { + title: '监护人姓名', + align: 'center', + dataIndex: 'guardianName', + }, + // { + // title: '关系', + // align: 'center', + // dataIndex: 'relationship', + // }, + { + title: '监护人电话', + align: 'center', + dataIndex: 'guardianPhone', + }, + { + title: '长者姓名', + align: 'center', + dataIndex: 'name', + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + nuId: { title: '护理单元', order: 0, view: 'text', type: 'string' }, + name: { title: '姓名', order: 1, view: 'text', type: 'string' }, + sex: { title: '性别', order: 2, view: 'text', type: 'string' }, + age: { title: '年龄', order: 3, view: 'text', type: 'string' }, + idCard: { title: '身份证号码', order: 4, view: 'text', type: 'string' }, + dateOfBirth: { title: '出生日期', order: 5, view: 'datetime', type: 'string' }, + national: { title: '民族', order: 6, view: 'text', type: 'string' }, + houseAddress: { title: '户籍所在地', order: 7, view: 'textarea', type: 'string' }, + idCardPositive: { title: '人像面', order: 8, view: 'image', type: 'string' }, + idCardNegative: { title: '国徽面', order: 9, view: 'image', type: 'string' }, + guardianName: { title: '监护人姓名', order: 10, view: 'text', type: 'string' }, + relationship: { title: '关系', order: 11, view: 'text', type: 'string' }, + guardianIdCard: { title: '监护人身份证号', order: 12, view: 'text', type: 'string' }, + guardianPhone: { title: '联系电话', order: 13, view: 'text', type: 'string' }, + guardianHomeAddress: { title: '监护人家庭住址', order: 14, view: 'text', type: 'string' }, + guardianWorkUnit: { title: '监护人工作单位', order: 15, view: 'text', type: 'string' }, + issuingAuthority: { title: '签发机关', order: 16, view: 'text', type: 'string' }, + startTime: { title: '有效开始日期', order: 17, view: 'datetime', type: 'string' }, + endTime: { title: '有效结束日期', order: 18, view: 'datetime', type: 'string' }, +}; + +export const applyObj = { + id: 'id', + nuId: '护理单元', + name: '姓名', + sex: '性别', + age: '年龄', + idCard: '身份证号码', + dateOfBirth: '出生日期', + national: '民族', + houseAddress: '住址', + avatarPath: '头像', + yblxName: '医保类型', + reimbType: '报销类型', + medicalCard: '医保卡号', + educationLevel: '文化程度', + maritalStatus: '婚姻状况', + religiousBeliefs: '宗教信仰', + idCardPositive: '人像面', + idCardNegative: '国徽面', + accountBookHimself: '户口本本人页', + frontMedical: '医保卡正面', + negaticeMedical: '医保卡反面', + content: '备注', + currentState: '当前状态 0咨询 1入住 2留床 3退住', + guardianOpenId: '监护人openId', + guardianName: '监护人姓名', + // relationship: '监护人与老人关系', + guardianIdCard: '监护人身份证号', + guardianPhone: '监护人联系电话', + guardianDateOfBirth: '监护人出生日期', + guardianHomeAddress: '监护人家庭住址', + guardianWorkUnit: '监护人工作单位', + homeAddress: '住址', + delFlag: '是否删除 0未删除 1删除', + createBy: '创建人', + createTime: '创建日期', + updateBy: '更新人', + updateTime: '更新日期', + sysOrgCode: '所属部门', + issuingAuthority: '签发机关', + startTime: '有效开始日期', + endTime: '有效结束日期', + cardIssuing: '发卡日期', + bloodType: '血型', + militaryType: '兵役状况', + guardianModifyStatus: '监护人信息变更状态 1修改申请中 2通过 3驳回', + guardianModifyContent: '监护人信息变更驳回原因', + guardianModifyId: '监护人变更信息对应子表id nu_biz_elder_modify_info.id', + elderModifyStatus: '长者信息变更状态 1修改申请中 2通过 3驳回', + elderModifyContent: '长者信息变更驳回原因', + elderModifyId: '长者变更信息对应子表id nu_biz_elder_modify_info.id', + guardianIdCardPositive: '监护人身份证人像面', + sndjName: '失能等级', + jfztName: '缴费状态', + headPath: '长者头像', + guardianHeadPath: '监护人头像', +}; diff --git a/src/views/biz/elderInfo/ElderInfoList.vue b/src/views/biz/elderInfo/ElderInfoList.vue new file mode 100644 index 0000000..d51bf44 --- /dev/null +++ b/src/views/biz/elderInfo/ElderInfoList.vue @@ -0,0 +1,203 @@ + + + + + diff --git a/src/views/biz/elderInfo/components/ElderInfoForm.vue b/src/views/biz/elderInfo/components/ElderInfoForm.vue new file mode 100644 index 0000000..8895811 --- /dev/null +++ b/src/views/biz/elderInfo/components/ElderInfoForm.vue @@ -0,0 +1,356 @@ + + + + + diff --git a/src/views/biz/elderInfo/components/ElderInfoModal.vue b/src/views/biz/elderInfo/components/ElderInfoModal.vue new file mode 100644 index 0000000..496fedb --- /dev/null +++ b/src/views/biz/elderInfo/components/ElderInfoModal.vue @@ -0,0 +1,75 @@ + + + + + + diff --git a/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.api.ts b/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.api.ts index 4f1fe32..05a2ba8 100644 --- a/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.api.ts +++ b/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.api.ts @@ -5,6 +5,7 @@ const { createConfirm } = useMessage(); enum Api { list = '/admin/nuEmployeesAdvisoryInfo/nuEmployeesAdvisoryInfo/list', + getTjList = '/admin/nuEmployeesAdvisoryInfo/nuEmployeesAdvisoryInfo/getTjList', save='/admin/nuEmployeesAdvisoryInfo/nuEmployeesAdvisoryInfo/add', edit='/admin/nuEmployeesAdvisoryInfo/nuEmployeesAdvisoryInfo/edit', deleteOne = '/admin/nuEmployeesAdvisoryInfo/nuEmployeesAdvisoryInfo/delete', @@ -29,6 +30,7 @@ export const getImportUrl = Api.importExcel; * @param params */ export const list = (params) => defHttp.get({ url: Api.list, params }); +export const getTjList = (params) => defHttp.get({ url: Api.getTjList, params }); /** * 删除单个 diff --git a/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.data.ts b/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.data.ts index 2a81dba..8f3449b 100644 --- a/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.data.ts +++ b/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesAdvisoryInfo.data.ts @@ -122,6 +122,48 @@ export const columns: BasicColumn[] = [ }, ]; +export const columnsTj: BasicColumn[] = [ + { + title: '机构编码', + align: "center", + dataIndex: 'orgCode', + width: 100 + }, + { + title: '机构名称', + align: "center", + dataIndex: 'departName', + }, + { + title: '员工姓名', + align: "center", + dataIndex: 'name', + width: 100 + }, + { + title: '员工性别', + align: "center", + dataIndex: 'sex', + width: 100 + }, + { + title: '联系电话', + align: "center", + dataIndex: 'tel', + width: 120 + }, + { + title: '入驻日期', + align: "center", + dataIndex: 'createTime', + customRender:({text}) =>{ + text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text); + return text; + }, + width: 120 + }, +]; + // 高级查询数据 export const superQuerySchema = { tel: {title: '联系电话',order: 0,view: 'text', type: 'string',}, diff --git a/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesInfoList.vue b/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesInfoList.vue new file mode 100644 index 0000000..e486a7d --- /dev/null +++ b/src/views/biz/nuEmployeesAdvisoryInfo/NuEmployeesInfoList.vue @@ -0,0 +1,220 @@ + + + + +