+
+
@@ -84,7 +85,7 @@
try {
const res = await getMedicalRecordApi({ id: medicalRecordsId });
userId.value = res?.userId;
- getEnvInfo().VITE_PLATFORM !== 'QH' && checkHaveReport(res?.userId, res?.user?.familyRelation_dictText);
+ // getEnvInfo().VITE_PLATFORM !== 'QH' && checkHaveReport(res?.userId, res?.user?.familyRelation_dictText);
idCard.value = res?.user?.idCard;
await setBasicInfoFieldsValue({
...res?.user,
diff --git a/src/views/consult/staff/staffForDoctor/staffForDoctor.data.ts b/src/views/consult/staff/staffForDoctor/staffForDoctor.data.ts
index 293ef40..8c47af2 100644
--- a/src/views/consult/staff/staffForDoctor/staffForDoctor.data.ts
+++ b/src/views/consult/staff/staffForDoctor/staffForDoctor.data.ts
@@ -407,16 +407,16 @@ export const personalFileForm: FormSchema[] = [
component: 'Input',
// slot: 'desire',
},
- {
- label: '体检报告',
- field: 'yymc',
- component: 'Input',
- slot: 'record',
- ifShow: getEnvInfo().VITE_PLATFORM !== 'QH',
- // ifShow: ({ values }) => {
- // return !!values.idCard;
- // },
- },
+ // {
+ // label: '体检报告',
+ // field: 'yymc',
+ // component: 'Input',
+ // slot: 'record',
+ // ifShow: getEnvInfo().VITE_PLATFORM !== 'QH',
+ // // ifShow: ({ values }) => {
+ // // return !!values.idCard;
+ // // },
+ // },
{
label: 'idCard隐藏字段',
field: 'idCard',
diff --git a/src/views/emergency/bigScreenOther/currencyOther.api.ts b/src/views/emergency/bigScreenOther/currencyOther.api.ts
index 74f360c..4f60072 100644
--- a/src/views/emergency/bigScreenOther/currencyOther.api.ts
+++ b/src/views/emergency/bigScreenOther/currencyOther.api.ts
@@ -14,6 +14,11 @@ enum Api {
status = '/health-emergency/emergency/fakerData/getFakerDataEnable',
changeStatus = '/health-emergency/emergency/fakerData/fakerDataEnable',
xjCountFakerData = '/health-emergency/emergency/fakerData/createXjMedicalCountFakerData',
+ editValue = '/health-emergency/emergency/LargeScreenNew/editValue',
+ editData = '/health-emergency/emergency/LargeScreenNew/editData',
+ editMedicalValue = '/health-emergency/emergency/LargeScreenNew/editMedicalValue',
+ listNew = '/health-emergency/emergency/LargeScreenNew/dataDetail',
+ listMedical = '/health-emergency/emergency/LargeScreenNew/medicalDataDetail',
}
export const listApi = (params: any) => defHttp.post({ url: Api.list, params }, { joinParamsToUrl: true, isTransformResponse: false });
// export const saveApi = (params: any) => defHttp.post({ url: Api.save.split(',')[params['module'] - 9], params });
@@ -25,3 +30,10 @@ export const statusApi = (params: any, id: string) => defHttp.post({ url: Api.st
export const changeStatusApi = (params: any) => defHttp.post({ url: Api.changeStatus, params });
export const xjCountFakerDataApi = (params: any, id: string) => defHttp.post({ url: Api.xjCountFakerData + '?centerId=' + id, params });
+
+export const editValueApi = (params: any, id: string) => defHttp.post({ url: Api.editValue + '?centerId=' + id, params });
+export const editDataApi = (params: any, id: string) => defHttp.post({ url: Api.editData + '?centerId=' + id, params });
+export const editMedicalValueApi = (params: any, id: string) => defHttp.post({ url: Api.editMedicalValue + '?centerId=' + id, params });
+
+export const listNewApi = (params: any) => defHttp.get({ url: Api.listNew, params });
+export const listMedicalApi = (params: any) => defHttp.get({ url: Api.listMedical, params });
diff --git a/src/views/emergency/bigScreenOther/currencyOther.data.ts b/src/views/emergency/bigScreenOther/currencyOther.data.ts
index 9f12078..5821544 100644
--- a/src/views/emergency/bigScreenOther/currencyOther.data.ts
+++ b/src/views/emergency/bigScreenOther/currencyOther.data.ts
@@ -6,7 +6,7 @@ const serviceColumns: BasicColumn[] = [
dataIndex: 'latestCall',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -14,7 +14,7 @@ const serviceColumns: BasicColumn[] = [
dataIndex: 'latestAcceptCall',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -22,7 +22,7 @@ const serviceColumns: BasicColumn[] = [
dataIndex: 'illNum',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -30,29 +30,29 @@ const serviceColumns: BasicColumn[] = [
dataIndex: 'emergencyNum',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
+ },
+ },
+ {
+ title: '累计受理',
+ dataIndex: 'totalAccept',
+ rewriting: true,
+ rewroteCell: {
+ type: 'input',
+ },
+ },
+ {
+ title: '累计处置',
+ dataIndex: 'totalDisposal',
+ rewriting: true,
+ rewroteCell: {
+ type: 'input',
},
},
// {
- // title: '累计受理',
- // dataIndex: 'totalAccept',
- // rewriting: true,
- // rewroteCell: {
- // type: 'inputNumber',
- // },
+ // title: '状态',
+ // dataIndex: 'status',
// },
- // {
- // title: '累计处置',
- // dataIndex: 'totalDisposal',
- // rewriting: true,
- // rewroteCell: {
- // type: 'inputNumber',
- // },
- // },
- {
- title: '状态',
- dataIndex: 'status',
- },
];
const archiveColumns: BasicColumn[] = [
{
@@ -60,7 +60,7 @@ const archiveColumns: BasicColumn[] = [
dataIndex: 'hospitalCount',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -68,13 +68,9 @@ const archiveColumns: BasicColumn[] = [
dataIndex: 'emergencyCount',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
- {
- title: '状态',
- dataIndex: 'status',
- },
];
const bigColumns: BasicColumn[] = [
{
@@ -90,13 +86,17 @@ const bigColumns: BasicColumn[] = [
dataIndex: 'count',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
title: '删除',
dataIndex: 'del',
},
+ {
+ title: '状态',
+ dataIndex: 'status',
+ },
];
const healthColumns: BasicColumn[] = [
{
@@ -104,7 +104,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'weightLossCountDay',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -112,7 +112,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'weightLossCountMonth',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -120,7 +120,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'weightLossAbnormalCountDay',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -128,7 +128,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'weightLossAbnormalCountMonth',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -136,7 +136,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodSugarCountDay',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -144,7 +144,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodSugarCountMonth',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -152,7 +152,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodSugarAbnormalCountDay',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -160,7 +160,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodSugarAbnormalCountMonth',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -168,7 +168,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodPressureCountDay',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -176,7 +176,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodPressureCountMonth',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -184,7 +184,7 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodPressureAbnormalCountDay',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -192,13 +192,13 @@ const healthColumns: BasicColumn[] = [
dataIndex: 'bloodPressureAbnormalCountMonth',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
- {
- title: '状态',
- dataIndex: 'status',
- },
+ // {
+ // title: '状态',
+ // dataIndex: 'status',
+ // },
];
const hmedicalColumns: BasicColumn[] = [
@@ -207,7 +207,7 @@ const hmedicalColumns: BasicColumn[] = [
dataIndex: 'totalCount',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -215,7 +215,7 @@ const hmedicalColumns: BasicColumn[] = [
dataIndex: 'cardiovaAbCount',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -223,7 +223,7 @@ const hmedicalColumns: BasicColumn[] = [
dataIndex: 'cerebrovAbCount',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
},
},
{
@@ -231,12 +231,35 @@ const hmedicalColumns: BasicColumn[] = [
dataIndex: 'cctaAbCount',
rewriting: true,
rewroteCell: {
- type: 'inputNumber',
+ type: 'input',
+ },
+ },
+ // {
+ // title: '状态',
+ // dataIndex: 'status',
+ // },
+];
+export const columns: Array
= [serviceColumns, archiveColumns, bigColumns, healthColumns, hmedicalColumns];
+
+export const columns32: BasicColumn[] = [
+ {
+ title: '体检机构',
+ dataIndex: 'name',
+ rewriting: true,
+ rewroteCell: {
+ type: 'input',
},
},
{
- title: '状态',
- dataIndex: 'status',
+ title: '人数',
+ dataIndex: 'count',
+ rewriting: true,
+ rewroteCell: {
+ type: 'input',
+ },
+ },
+ {
+ title: '删除',
+ dataIndex: 'del',
},
];
-export const columns: Array = [serviceColumns, archiveColumns, bigColumns, healthColumns, hmedicalColumns];
diff --git a/src/views/emergency/bigScreenOther/currencyOther.hook.ts b/src/views/emergency/bigScreenOther/currencyOther.hook.ts
new file mode 100644
index 0000000..07eb9f7
--- /dev/null
+++ b/src/views/emergency/bigScreenOther/currencyOther.hook.ts
@@ -0,0 +1,166 @@
+const dataSource = [
+ {
+ name: 'latestCall',
+ count: 'gross',
+ latestCallStatus: false,
+ },
+ {
+ name: 'latestAcceptCall',
+ count: 'alerdyreceive',
+ latestAcceptCallStatus: false,
+ },
+ {
+ name: 'illNum',
+ count: 'jqqz',
+ illNumStatus: false,
+ },
+ {
+ name: 'emergencyNum',
+ count: 'dbjy',
+ emergencyNumStatus: false,
+ },
+ {
+ name: 'totalAccept',
+ count: 'totaldeal',
+ totalAcceptStatus: false,
+ },
+ {
+ name: 'totalDisposal',
+ count: 'totalacceptance',
+ totalDisposalStatus: false,
+ },
+ {
+ name: 'hospitalCount',
+ count: 'oneTwenty',
+ hospitalCountStatus: false,
+ },
+ {
+ name: 'emergencyCount',
+ count: 'hospital',
+ emergencyCountStatus: false,
+ },
+ {
+ name: 'weightLossCountDay',
+ count: 'weightLossCountDay',
+ weightLossCountDayStatus: false,
+ },
+ {
+ name: 'weightLossCountMonth',
+ count: 'weightLossCountMonth',
+ weightLossCountMonthStatus: false,
+ },
+ {
+ name: 'weightLossAbnormalCountDay',
+ count: 'weightLossAbnormalCountDay',
+ weightLossAbnormalCountDayStatus: false,
+ },
+ {
+ name: 'weightLossAbnormalCountMonth',
+ count: 'weightLossAbnormalCountMonth',
+ weightLossAbnormalCountMonthStatus: false,
+ },
+ {
+ name: 'bloodSugarCountDay',
+ count: 'bloodSugarCountDay',
+ bloodSugarCountDayStatus: false,
+ },
+ {
+ name: 'bloodSugarCountMonth',
+ count: 'bloodSugarCountMonth',
+ bloodSugarCountMonthStatus: false,
+ },
+ {
+ name: 'bloodSugarAbnormalCountDay',
+ count: 'bloodSugarAbnormalCountDay',
+ bloodSugarAbnormalCountDayStatus: false,
+ },
+ {
+ name: 'bloodSugarAbnormalCountMonth',
+ count: 'bloodSugarAbnormalCountMonth',
+ bloodSugarAbnormalCountMonthStatus: false,
+ },
+ {
+ name: 'bloodPressureCountDay',
+ count: 'bloodPressureCountDay',
+ bloodPressureCountDayStatus: false,
+ },
+ {
+ name: 'bloodPressureCountMonth',
+ count: 'bloodPressureCountMonth',
+ bloodPressureCountMonthStatus: false,
+ },
+ {
+ name: 'bloodPressureAbnormalCountDay',
+ count: 'bloodPressureAbnormalCountDay',
+ bloodPressureAbnormalCountDayStatus: false,
+ },
+ {
+ name: 'bloodPressureAbnormalCountMonth',
+ count: 'bloodPressureAbnormalCountMonth',
+ bloodPressureAbnormalCountMonthStatus: false,
+ },
+ {
+ name: 'totalCount',
+ count: 'totalCount',
+ totalCountStatus: false,
+ },
+ {
+ name: 'cardiovaAbCount',
+ count: 'cardiovaAbCount',
+ cardiovaAbCountStatus: false,
+ },
+ {
+ name: 'cerebrovAbCount',
+ count: 'cerebrovAbCount',
+ cerebrovAbCountStatus: false,
+ },
+ {
+ name: 'cctaAbCount',
+ count: 'cctaAbCount',
+ cctaAbCountStatus: false,
+ },
+ {
+ name: 'name',
+ count: 'name',
+ nameStatus: false,
+ },
+ {
+ name: 'count',
+ count: 'count',
+ countStatus: false,
+ },
+];
+
+export const dJson = {
+ latestCall: false,
+ latestAcceptCall: false,
+ illNum: false,
+ emergencyNum: false,
+ totalAccept: false,
+ totalDisposal: false,
+ hospitalCount: false,
+ emergencyCount: false,
+ weightLossCountDay: false,
+ weightLossCountMonth: false,
+ weightLossAbnormalCountDay: false,
+ weightLossAbnormalCountMonth: false,
+ bloodSugarCountDay: false,
+ bloodSugarCountMonth: false,
+ bloodSugarAbnormalCountDay: false,
+ bloodSugarAbnormalCountMonth: false,
+ bloodPressureCountDay: false,
+ bloodPressureCountMonth: false,
+ bloodPressureAbnormalCountDay: false,
+ bloodPressureAbnormalCountMonth: false,
+ totalCount: false,
+ cardiovaAbCount: false,
+ cerebrovAbCount: false,
+ cctaAbCount: false,
+ name: false,
+ count: false,
+};
+
+export function getCount(name: string) {
+ console.log(dataSource, dJson);
+ return dataSource.find((item) => item.name === name)?.count;
+}
diff --git a/src/views/emergency/bigScreenOther/currencyOther.vue b/src/views/emergency/bigScreenOther/currencyOther.vue
index 11ed9c0..037b38d 100644
--- a/src/views/emergency/bigScreenOther/currencyOther.vue
+++ b/src/views/emergency/bigScreenOther/currencyOther.vue
@@ -33,28 +33,18 @@
{{ isCalculate ? `保存` : `录入` }}
取消
添加
-
- 状态:
-
-