diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c057414..7d36d8c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,9 +68,6 @@ importers: pinia: specifier: 2.1.7 version: 2.1.7(typescript@5.9.3)(vue@3.5.23(typescript@5.9.3)) - pinia-plugin-persistedstate: - specifier: ^4.0.0 - version: 4.7.1(pinia@2.1.7(typescript@5.9.3)(vue@3.5.23(typescript@5.9.3))) pinyin-pro: specifier: ^3.26.0 version: 3.27.0 @@ -1139,9 +1136,6 @@ packages: resolution: {integrity: sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==} engines: {node: '>=0.10.0'} - defu@6.1.4: - resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} - delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -2134,20 +2128,6 @@ packages: resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} engines: {node: '>=12'} - pinia-plugin-persistedstate@4.7.1: - resolution: {integrity: sha512-WHOqh2esDlR3eAaknPbqXrkkj0D24h8shrDPqysgCFR6ghqP/fpFfJmMPJp0gETHsvrh9YNNg6dQfo2OEtDnIQ==} - peerDependencies: - '@nuxt/kit': '>=3.0.0' - '@pinia/nuxt': '>=0.10.0' - pinia: '>=3.0.0' - peerDependenciesMeta: - '@nuxt/kit': - optional: true - '@pinia/nuxt': - optional: true - pinia: - optional: true - pinia@2.1.7: resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==} peerDependencies: @@ -3780,8 +3760,6 @@ snapshots: is-descriptor: 1.0.3 isobject: 3.0.1 - defu@6.1.4: {} - delayed-stream@1.0.0: {} delegate@3.2.0: {} @@ -4907,12 +4885,6 @@ snapshots: picomatch@4.0.2: {} - pinia-plugin-persistedstate@4.7.1(pinia@2.1.7(typescript@5.9.3)(vue@3.5.23(typescript@5.9.3))): - dependencies: - defu: 6.1.4 - optionalDependencies: - pinia: 2.1.7(typescript@5.9.3)(vue@3.5.23(typescript@5.9.3)) - pinia@2.1.7(typescript@5.9.3)(vue@3.5.23(typescript@5.9.3)): dependencies: '@vue/devtools-api': 6.6.4 diff --git a/src/api/liswork/xtwh/ComOpt.ts b/src/api/liswork/xtwh/ComOpt.ts index 14ece01..5624cfb 100644 --- a/src/api/liswork/xtwh/ComOpt.ts +++ b/src/api/liswork/xtwh/ComOpt.ts @@ -106,68 +106,4 @@ export function querySjcs(data?: Object) { method: 'get', params: data }); -} -// 查询检验项目排序 -export function getitemsort(data?: Object) { - return request({ - url: '/xminfo/getitemsort', - method: 'get', - params: data - }); -} -// 保存检验项目排序 -export function saveitemsort(data?: Object) { - return request({ - url: '/xminfo/saveitemsort', - method: 'post', - data - }); -} -// 查询检验项目通道号 -export function getitemtdh(data?: Object) { - return request({ - url: '/xminfo/getitemtdh', - method: 'get', - params: data - }); -} -// 保存检验项目通道号 -export function saveitemtdh(data?: Object) { - return request({ - url: '/xminfo/saveitemtdh', - method: 'post', - data - }); -} -// 删除检验项目通道号 -export function delitemtdh(data?: Object) { - return request({ - url: '/xminfo/delitemtdh', - method: 'get', - params: data - }); -} -// 获取仪器参数 -export function querydouble(data?: Object) { - return request({ - url: '/xminfo/querydouble', - method: 'get', - params: data - }); -} -// 保存仪器参数 -export function savedouble(data?: Object) { - return request({ - url: '/xminfo/savedouble', - method: 'post', - data - }); -} -// 获取参数默认模板 -export function querymbmc(data?: Object) { - return request({ - url: '/xminfo/querymbmc', - method: 'get', - params: data - }); } \ No newline at end of file diff --git a/src/api/liswork/xtwh/reportdictApi.ts b/src/api/liswork/xtwh/reportdictApi.ts new file mode 100644 index 0000000..9bb1f7f --- /dev/null +++ b/src/api/liswork/xtwh/reportdictApi.ts @@ -0,0 +1,54 @@ +//参数设置字典 +// @ts-ignore +import request from '@/utils/request' + +// 查询字典列表 +export function listreportdict(params:any) { + return request({ + url: '/reportdict/list', + method: 'get', + params + }) +} + +// 查询字典详细 +export function getreportdict(id:number) { + return request({ + url: `/reportdict/${id}`, + method: 'get' + }) +} + +// 新增字典 +export function addreportdict(params:any) { + return request({ + url: '/reportdict', + method: 'post', + data:params + }) +} + +// 修改字典 +export function updatereportdict(params:any) { + return request({ + url: '/reportdict', + method: 'put', + data:params + }) +} + +// 删除字典 +export function delreportdict(id:any) { + return request({ + url: `/reportdict/${id}`, + method: 'delete' + }) + +} +// 自动加载 +export function autoload() { + return request({ + url: '/reportdict/autoload', + method: 'get' + }) +} diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 834f5b1..2109434 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -124,7 +124,7 @@ aside { //main-container全局样式 .app-container { padding: 10px 10px 0 10px; - height: calc(100vh - 5.25rem); + min-height: calc(100vh - 5.25rem); } .components-container { @@ -133,7 +133,7 @@ aside { } .pagination-container { - margin-top: 10px; + margin-top: 30px; } .text-center { diff --git a/src/components/DictTag/index.vue b/src/components/DictTag/index.vue index bcbd948..7d0888c 100644 --- a/src/components/DictTag/index.vue +++ b/src/components/DictTag/index.vue @@ -4,10 +4,18 @@ diff --git a/src/views/liswork/xtwh/comopt/components/sysParameter/index.vue b/src/views/liswork/xtwh/comopt/components/sysParameter/index.vue index b0faa43..5c19ce5 100644 --- a/src/views/liswork/xtwh/comopt/components/sysParameter/index.vue +++ b/src/views/liswork/xtwh/comopt/components/sysParameter/index.vue @@ -1,169 +1,159 @@ \ No newline at end of file diff --git a/src/views/liswork/xtwh/reportItem/index.vue b/src/views/liswork/xtwh/reportItem/index.vue index dcaca6a..b8d01a1 100644 --- a/src/views/liswork/xtwh/reportItem/index.vue +++ b/src/views/liswork/xtwh/reportItem/index.vue @@ -1,18 +1,16 @@ - + diff --git a/src/views/liswork/xtwh/reportdict/index.vue b/src/views/liswork/xtwh/reportdict/index.vue index 2a7c850..871f2db 100644 --- a/src/views/liswork/xtwh/reportdict/index.vue +++ b/src/views/liswork/xtwh/reportdict/index.vue @@ -1,11 +1,493 @@ - + \ No newline at end of file +/* 2. 减小单元格内边距(配合行高优化) */ +:deep(.report-table .el-table__cell) { + padding: 2px 4px !important; + height: 30px !important; /* 单元格高度与行高一致 */ + line-height: 1.2 !important; /* 文字行高适配矮行 */ + vertical-align: middle !important; /* 强制垂直居中 */ +} + +/* 3. 类别单元格适配矮行高 */ +.report-type-cell { + width: 100%; + height: 100%; + min-height: 26px; /* 适配30px行高,略小一点 */ + display: flex; + align-items: center; + justify-content: center; + padding: 0; + font-size: 12px; +} + +/* 可选:优化操作列按钮大小,适配矮行 */ +:deep(.report-table .el-button--link) { + padding: 0 4px !important; + font-size: 12px !important; +} +.disabled-input-gray :deep(.el-input__inner){ + background-color: #e9e9e9 !important; /* 灰色底色(可根据需求调整色值) */ + color: #666 !important; /* 文字颜色加深,提升可读性 */ + cursor: not-allowed !important; /* 鼠标悬浮显示禁止图标 */ +} + \ No newline at end of file diff --git a/src/views/liswork/xtwh/reportsetting/index.vue b/src/views/liswork/xtwh/reportsetting/index.vue index f733ea1..7da3942 100644 --- a/src/views/liswork/xtwh/reportsetting/index.vue +++ b/src/views/liswork/xtwh/reportsetting/index.vue @@ -1,59 +1,52 @@ diff --git a/src/views/liswork/xtwh/xmFeeInstr/index.vue b/src/views/liswork/xtwh/xmFeeInstr/index.vue index 6b4cbf3..e53cb18 100644 --- a/src/views/liswork/xtwh/xmFeeInstr/index.vue +++ b/src/views/liswork/xtwh/xmFeeInstr/index.vue @@ -1,34 +1,31 @@ - @@ -36,97 +33,88 @@ diff --git a/src/views/liswork/xtwh/xmReqItemVs/index.vue b/src/views/liswork/xtwh/xmReqItemVsApi/index.vue similarity index 100% rename from src/views/liswork/xtwh/xmReqItemVs/index.vue rename to src/views/liswork/xtwh/xmReqItemVsApi/index.vue diff --git a/src/views/regional/circulation/bbcx/index.vue b/src/views/regional/circulation/bbcx/index.vue index ba30d9b..63c5dae 100644 --- a/src/views/regional/circulation/bbcx/index.vue +++ b/src/views/regional/circulation/bbcx/index.vue @@ -71,20 +71,20 @@ -
- - - - - -
+ + + + + + +
diff --git a/src/views/regional/circulation/bbqs/index.vue b/src/views/regional/circulation/bbqs/index.vue index 23eeb61..bd00b88 100644 --- a/src/views/regional/circulation/bbqs/index.vue +++ b/src/views/regional/circulation/bbqs/index.vue @@ -60,20 +60,20 @@ 标本拒签 标本退回
-
- - - - - -
+ + + + + + +
@@ -113,7 +113,7 @@ const columns: any = ref([ ]) const tableConfig = ref({ border: true, // 边框 - height: '100%', // 高度 + height: '68vh', // 高度 highlightCurrentRow: true, // 高亮当前行 // fit: true, // 列宽自适应 }) diff --git a/src/views/regional/circulation/bbth/index.vue b/src/views/regional/circulation/bbth/index.vue index 7de86a5..6e3eb9c 100644 --- a/src/views/regional/circulation/bbth/index.vue +++ b/src/views/regional/circulation/bbth/index.vue @@ -60,20 +60,18 @@ 申请作废 -
- - - - - -
+ + + + + @@ -111,7 +109,7 @@ const columns: any = ref([ ]) const tableConfig = ref({ border: true, // 边框 - height: '100%', // 高度 + height: '68vh', // 高度 highlightCurrentRow: true, // 高亮当前行 // fit: true, // 列宽自适应 }) diff --git a/src/views/regional/circulation/sjdj/index.vue b/src/views/regional/circulation/sjdj/index.vue index 42a4c59..d619661 100644 --- a/src/views/regional/circulation/sjdj/index.vue +++ b/src/views/regional/circulation/sjdj/index.vue @@ -69,20 +69,20 @@ 取消送检 -
- - - - - -
+ + + + + + + @@ -121,7 +121,7 @@ const columns: any = ref([ ]) const tableConfig = ref({ border: true, // 边框 - height: '100%', // 高度 + height: '70vh', // 高度 highlightCurrentRow: true, // 高亮当前行 // fit: true, // 列宽自适应 }) diff --git a/src/views/regional/statistics/bbtj/index.vue b/src/views/regional/statistics/bbtj/index.vue index b272ab9..66619c8 100644 --- a/src/views/regional/statistics/bbtj/index.vue +++ b/src/views/regional/statistics/bbtj/index.vue @@ -35,12 +35,10 @@ 撤销退回 申请作废 --> -
- + - -
+ @@ -72,7 +70,7 @@ const columns: any = ref([ ]) const tableConfig = ref({ border: true, // 边框 - height: '100%', // 高度 + height: '75vh', // 高度 highlightCurrentRow: true, // 高亮当前行 summary: true, summaryField: ['sl'],//计算列总和 @@ -158,8 +156,6 @@ const formatDict = (v: string, arr: Array) => {