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 @@
摄像头:{{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 @@ + +