-
+ :scroll-y="{ enabled: true, rSize: 30, height: '100%', oSize: 20, gt: 30, }">
@@ -359,23 +359,6 @@ const clearHandle = () => {
width: 100%;
}
-:deep(.vxe-header--row th) {
- border-color: #00a5ff;
- // background-color: #e6edf9;
- font-size: 14px;
-}
-
-:deep(.vxe-body--row td) {
- border-color: #00a5ff;
-}
-
-:deep(.vxe-table--row-hover) {
- background-color: #00a5ff;
-}
-
-:deep(.vxe-table--current-row) {
- background-color: #00a5ff;
-}
:deep(.el-table-header-cell) {
cursor: move;
@@ -383,20 +366,16 @@ const clearHandle = () => {
}
// 表格边框
-:deep(.vxe-table--render-default.border--full .vxe-body--column) {
- background-image: linear-gradient(#96B8D9, #96B8D9), linear-gradient(#96B8D9, #96B8D9) !important;
-}
+// :deep(.vxe-table--render-default.border--full .vxe-body--column) {
+// background-image: linear-gradient(#ccc, #ccc), linear-gradient(#ccc, #ccc) !important;
+// }
-// 表头边框
-:deep(.vxe-table--render-default.border--full .vxe-header--column) {
- background-image: linear-gradient(#e6edf9, #e6edf9), linear-gradient(#e6edf9, #e6edf9) !important;
-}
+// // 表头边框
+// :deep(.vxe-table--render-default.border--full .vxe-header--column) {
+// background-image: linear-gradient(#ccc, #ccc), linear-gradient(#ccc, #ccc) !important;
+// }
.select-table-dropdown {
padding: 8px;
}
-
-:deep(.el-table .el-table__cell) {
- padding: 0;
-}
\ No newline at end of file
diff --git a/src/hooks/index.ts b/src/hooks/index.ts
index cb4a2c5..dca08c0 100644
--- a/src/hooks/index.ts
+++ b/src/hooks/index.ts
@@ -1 +1,4 @@
-export * from './lisData/dictData';
\ No newline at end of file
+export * from './lisData/dictData';
+export * from './useSysParam'
+export * from './messageBox'
+export * from './useCommonDict'
\ No newline at end of file
diff --git a/src/hooks/useCommonDict.ts b/src/hooks/useCommonDict.ts
new file mode 100644
index 0000000..3c61df2
--- /dev/null
+++ b/src/hooks/useCommonDict.ts
@@ -0,0 +1,102 @@
+import { queryLisProject, queryUserInfo, currentDateTime, getBloodBreed, queryIllDiagnoseList } from '@/api/common'
+import dayjs from 'dayjs'
+// 员工下拉类型
+type option = {
+ label: string
+ value: string
+}
+// 血液品种下拉类型
+type BreedOption = {
+ label: string
+ value: string
+ unit: string
+}
+
+// 检验项目表格初始行结构
+type LisProjectRow = {
+ bill_no: string
+ item_name: string
+ item_result: string
+ item_unit: string
+ test_date: string
+ sid: string | number
+}
+
+
+
+export function useCommonDict() {
+
+ const getServerTime = async () => {
+ const res = await currentDateTime()
+ return res.data
+ }
+
+ // 员工下拉列表
+ const userList = ref
([])
+ const getUserData = async () => {
+ const res = await queryUserInfo()
+ userList.value = res.rows.map(item => ({
+ label: item.nickName,
+ value: item.userName
+ }))
+ }
+
+ // 血液品种下拉
+ const bloodBreed = ref([])
+ const getBloodList = async () => {
+ const res = await getBloodBreed()
+ bloodBreed.value = res.data.map(item => ({
+ label: item.breed_name,
+ value: item.breed_code,
+ unit: item.unit
+ }))
+ }
+
+ // 检验项目LIS项目
+ const lisProject = ref([])
+ const getLisProject = async () => {
+ const res = await queryLisProject({ need: 'Y' })
+ lisProject.value = res.data.map(item => ({
+ bill_no: '',
+ item_name: item.pro_name,
+ item_result: '',
+ item_unit: item.unit,
+ test_date: dayjs().format('YYYY-MM-DD HH:mm:ss'),
+ sid: item.sid
+ }))
+ return lisProject.value
+ }
+
+ // 单病种列表
+ const diaList = ref([])
+ const getDiaList = async () => {
+ const res = await queryIllDiagnoseList({ pageSize: 9999, pageNum: 1 })
+ diaList.value = res.rows.map(item => ({
+ label: item.dia_Name,
+ value: item.dia_Code
+ }))
+ }
+
+ // 一次性加载
+ const loadAllDict = async () => {
+ await Promise.all([
+ getUserData(),
+ getBloodList(),
+ getLisProject(),
+ getDiaList()
+ ])
+ }
+
+ return {
+ getServerTime,
+ userList,
+ getUserData,
+ bloodBreed,
+ getBloodList,
+ loadAllDict,
+ lisProject,
+ getLisProject,
+ diaList,
+ getDiaList
+ }
+}
\ No newline at end of file
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 0f3b2f4..cb7f076 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -25,8 +25,9 @@ const { initAllParams } = useSysParam()
// ========== 在这里统一维护【所有需要全局获取的参数 key】 ==========
const GLOBAL_PARAM_KEYS = [
- 'YBZFXMTSXX', // YBZFXMTSXX
+ 'YBZFXMTSXX', // 输血报销
'HZBQGY', // 患者病情概要是否必填
+ 'SQDSFKRLXGXX',//输血申请时是否可从HIS系统中调出患者信息,是否可以录入修改患者血型?以"/"分隔,"/"前指可以调出患者信息时是否可以修改患者血型(Y可以修改N不可以修改),"/"后指不可以调出患者信息时是否可以录入全部和只能录入"未知"患者血型(Y可以录入全部N只能录入"未知")
]
const settingsStore = useSettingsStore()
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 98887ba..089fa84 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -81,6 +81,7 @@ export function comDict(...args: string[]): Promise {
const dictList = resp.data.map((p: any) => ({
label: p.wordbook_name,
value: p.wordbook_code,
+ remark: p.remark,
}));
res.value[dictType] = dictList;
diff --git a/src/utils/request.ts b/src/utils/request.ts
index f91934b..da7b25e 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -131,6 +131,8 @@ service.interceptors.response.use((res: any) => {
duration: 0,
})
return Promise.resolve(res.data)
+ } else if (code === 2) {
+ return Promise.resolve(res.data)
} else if (code === 3) {
ElMessage({
message: msg,
diff --git a/src/views/doctor/application/component/reviewComments.vue b/src/views/doctor/application/component/reviewComments.vue
new file mode 100644
index 0000000..995b80b
--- /dev/null
+++ b/src/views/doctor/application/component/reviewComments.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ indicationForm.checkDateText }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+ 取消
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/doctor/application/index.vue b/src/views/doctor/application/index.vue
index e58a790..0dff064 100644
--- a/src/views/doctor/application/index.vue
+++ b/src/views/doctor/application/index.vue
@@ -9,13 +9,13 @@