-
{{ item.zdmc }}
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+
+ 导入
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
- 搜索
- 重置
+
+
+
+
+
-
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导入
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+
+ 是否覆盖已经存在的字典数据
+
+
仅允许导入xls、xlsx格式文件。
+
下载模板
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/mzcx/blood/index.vue b/src/views/mzcx/blood/index.vue
new file mode 100644
index 0000000..9ea1a1a
--- /dev/null
+++ b/src/views/mzcx/blood/index.vue
@@ -0,0 +1,646 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sflbdh }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sflbmc }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sflbjc }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.txmlb }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.yblx }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sampletips }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ getOptionLabel(reportRuleOptions, scope.row.bglqdh) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.printcnt }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.lisgroup1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.lisgroup2 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.bkcolor }}
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mzcx/category/index.vue b/src/views/mzcx/category/index.vue
new file mode 100644
index 0000000..6b9156d
--- /dev/null
+++ b/src/views/mzcx/category/index.vue
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/mzcx/charge/index.vue b/src/views/mzcx/charge/index.vue
new file mode 100644
index 0000000..1416c30
--- /dev/null
+++ b/src/views/mzcx/charge/index.vue
@@ -0,0 +1,722 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sfxmdh }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sfxmmc }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.bz }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.dj }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.spec }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formatDict(scope.row.dept, 'DP') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.yblx }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.bgts }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.zjf }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ getOptionLabel(reportRuleOptions, scope.row.bglqdh) }}
+
+
+
+
+
+
+
+
+ {{ scope.row.sflbmc }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.lisgroup1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.lisgroup2 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.indication }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.affect }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.attention }}
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mzcx/cydj/components/printtest.vue b/src/views/mzcx/cydj/components/printtest.vue
index e2eff64..ec370ef 100644
--- a/src/views/mzcx/cydj/components/printtest.vue
+++ b/src/views/mzcx/cydj/components/printtest.vue
@@ -1,37 +1,34 @@
-
-
+
+
-
+
就诊卡号/病历号/磁卡号:
-
+
{{item.label}}
+ :disabled="item.disabled">{{ item.label }}
- 申请获取期限:
+
+ 申请获取期限:
+
{{item.label}}
+ :disabled="item.disabled">{{ item.label }}
-
-
+
+
@@ -47,112 +44,78 @@
- 查询
+ 查询
- 打印
+ 打印
- 单打条码
+ 单打条码
- 单打回单
+ 单打回单
- 取消采样
+ 取消采样
-
+
打印条码
-
+
-
-
+
+
-
+
{{ parseTime(scope.row.sqsj, '{y}-{m}-{d} {h}:{i}:{s}') }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
{{ parseTime(scope.row.brsr, '{y}-{m}-{d}') }}
-
-
-
-
-
-
+
+
+
+
+
+
{{ parseTime(scope.row.cysj, '{y}-{m}-{d} {h}:{i}:{s}') }}
@@ -178,8 +141,8 @@
@@ -512,21 +450,31 @@ const getContrastTextColor = (bgColor) => {
.app-container {
display: flex;
flex-direction: column;
- height: 90vh; /* 容器高度等于窗口高度 */
+ height: 90vh;
+ /* 容器高度等于窗口高度 */
overflow: hidden;
}
+
.compact-form {
- height: 75px; /* 固定高度 */
+ height: 75px;
+ /* 固定高度 */
}
+
.mb8 {
- height: 30px; /* 固定高度 */
+ height: 30px;
+ /* 固定高度 */
}
-.table-summary{
- height: 10px; /* 固定高度 */
+
+.table-summary {
+ height: 10px;
+ /* 固定高度 */
}
+
.table-container {
- flex: 1; /* 占满剩余高度 */
- overflow: hidden; /* 避免表格超出容器 */
+ flex: 1;
+ /* 占满剩余高度 */
+ overflow: hidden;
+ /* 避免表格超出容器 */
}
.compact-form .el-form-item {
@@ -537,22 +485,32 @@ const getContrastTextColor = (bgColor) => {
.compact-form .el-form-item__label {
padding-bottom: 0px;
}
+
::v-deep .my-table .el-table__row td {
- padding: 1px 0; /* 减小行高 */
+ padding: 1px 0;
+ /* 减小行高 */
}
+
::v-deep .my-table .el-table__header-wrapper th {
- padding: 6px 0; /* 表头内边距 */
- background-color: #b3d8ff !important; /* 表头背景色(保留之前的设置) */
- color: #333; /* 文字颜色加深,提升可读性 */
- font-weight: 500; /* 文字加粗 */
+ padding: 6px 0;
+ /* 表头内边距 */
+ background-color: #b3d8ff !important;
+ /* 表头背景色(保留之前的设置) */
+ color: #333;
+ /* 文字颜色加深,提升可读性 */
+ font-weight: 500;
+ /* 文字加粗 */
}
+
::v-deep .my-table .el-table__cell {
- padding: 0 2px; /* 减小列间距 */
+ padding: 0 2px;
+ /* 减小列间距 */
}
/* 可选:调整表格整体样式 */
::v-deep .my-table {
- font-size: 13px; /* 适当减小字体 */
+ font-size: 13px;
+ /* 适当减小字体 */
}
::v-deep .my-table .el-table__cell,
@@ -560,17 +518,25 @@ const getContrastTextColor = (bgColor) => {
border-width: 1px;
border-color: #ebeef5;
}
+
.card-content {
- max-height: 450px; /* 设置最大高度 */
- overflow-y: auto; /* 超出高度时显示垂直滚动条 */
- padding: 5px; /* 保持与卡片默认一致的内边距 */
+ max-height: 450px;
+ /* 设置最大高度 */
+ overflow-y: auto;
+ /* 超出高度时显示垂直滚动条 */
+ padding: 5px;
+ /* 保持与卡片默认一致的内边距 */
}
+
.clickable:hover {
- cursor: pointer; /* 鼠标悬停时显示手型 */
- transition: all 0.3s; /* 平滑过渡效果 */
+ cursor: pointer;
+ /* 鼠标悬停时显示手型 */
+ transition: all 0.3s;
+ /* 平滑过渡效果 */
color: blue;
}
+
/* 汇总行样式 */
.table-summary {
display: flex;
@@ -582,7 +548,9 @@ const getContrastTextColor = (bgColor) => {
border: 1px solid #ebeef5;
border-radius: 4px;
font-weight: 500;
- line-height: 24px; /* 汇总行文字行高 */
+ line-height: 24px;
+
+ /* 汇总行文字行高 */
.summary-item {
display: flex;
align-items: center;
@@ -596,12 +564,16 @@ const getContrastTextColor = (bgColor) => {
.summary-value {
color: #303133;
min-width: 40px;
- text-align: left;/* 核心:数值左对齐 */
+ text-align: left;
+ /* 核心:数值左对齐 */
}
+
/* 单独设置"单价合计"的值为红色 */
&:nth-child(3) .summary-value {
- color: #f56c6c; /* Element UI 红色主题色 */
- font-weight: 600; /* 可选:加粗字体 */
+ color: #f56c6c;
+ /* Element UI 红色主题色 */
+ font-weight: 600;
+ /* 可选:加粗字体 */
}
}
}
diff --git a/src/views/mzcx/reportRules/index.vue b/src/views/mzcx/reportRules/index.vue
new file mode 100644
index 0000000..6b5abc1
--- /dev/null
+++ b/src/views/mzcx/reportRules/index.vue
@@ -0,0 +1,561 @@
+
+
+
+
+ 查询
+ 新增
+ 保存
+
+ 新增明细
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/parameter/index.vue b/src/views/system/parameter/index.vue
new file mode 100644
index 0000000..e543b87
--- /dev/null
+++ b/src/views/system/parameter/index.vue
@@ -0,0 +1,337 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..57039f8
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,38 @@
+{
+ "compilerOptions": {
+ "target": "esnext" /* 指定ECMAScript目标版本: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
+ "module": "esnext" /* 指定模块代码生成: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
+ "lib": ["esnext", "dom", "dom.iterable", "scripthost"] /* 指定要包含在编译中的库文件。 */,
+ "jsx": "preserve" /* 指定JSX代码生成:'preserve'、'react-native'或'react'。 */,
+ "isolatedModules": true /* 将每个文件作为单独的模块进行转译(类似于“ts.transpileModule”)。 */,
+
+ /* 严格的类型检查选项 */
+ "strict": true /* 启用所有严格的类型检查选项。 */,
+
+ /* 模块解析选项 */
+ "moduleResolution": "node" /* 指定模块解析策略:'node'(Node.js)或'classic'(TypeScript 1.6之前版本)。*/,
+ "baseUrl": "." /* 用于解析非绝对模块名称的基准目录。 */,
+ "paths": {
+ "@/*": ["src/*"]
+ } /* 一系列条目,这些条目将导入重新映射到相对于“baseUrl”的查找位置。*/,
+ "types": ["vite/client"] /* 要包含在编译中的类型声明文件。 */,
+ "allowSyntheticDefaultImports": true /*允许从没有默认导出的模块进行默认导入。这不会影响代码生成,只会影响类型检查。*/,
+ "esModuleInterop": true /* 通过为所有导入创建命名空间对象,实现CommonJS和ES模块之间的发射互操作性。这意味着“允许合成默认导入”。 */,
+ "experimentalDecorators": true /*启用对ES7装饰器的实验性支持。 */,
+
+ /* 高级选项 */
+ "skipLibCheck": true /* 跳过声明文件的类型检查. */,
+ "forceConsistentCasingInFileNames": true /*禁止对同一文件使用大小写不一致的引用。 */
+ },
+ "vueCompilerOptions": {
+ // 关键配置:关闭模板中的严格类型检查
+ "strictTemplates": false,
+ // // 可选:如果需要更精细的控制,可以单独关闭某些检查
+ // "templateOptions": {
+ // "allowUnknownInTemplate": true // 允许模板中使用未知属性
+ // }
+ },
+ "types": ["element-plus/global"],
+ "include": ["src/**/*","src/**/*.ts", "src/**/*.vue","src/**/**/*.vue", "src/**/*.tsx", "src/**/*.d.ts", "auto-imports.d.ts"], // **表示任意目录,而 * 表示任意文件。这表明 src 目录中的所有文件都将被编译
+ "exclude": ["node_modules", "dist"] ,// 指示不需要编译的文件目录
+ }
diff --git a/vite.config.js b/vite.config.js
index 334026c..b27487c 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,11 +1,19 @@
-import { defineConfig, loadEnv } from 'vite'
+import {
+ defineConfig,
+ loadEnv
+} from 'vite'
import path from 'path'
import createVitePlugins from './vite/plugins'
// https://vitejs.dev/config/
-export default defineConfig(({ mode, command }) => {
+export default defineConfig(({
+ mode,
+ command
+}) => {
const env = loadEnv(mode, process.cwd())
- const { VITE_APP_ENV } = env
+ const {
+ VITE_APP_ENV
+ } = env
return {
// 部署生产环境和开发环境下的URL。
// 默认情况下,vite 会假设你的应用是被部署在一个域名的根路径上
@@ -18,21 +26,21 @@ export default defineConfig(({ mode, command }) => {
// 设置路径
'~': path.resolve(__dirname, './'),
// 设置别名
- '@': path.resolve(__dirname, './src')
+ '@': path.resolve(__dirname, 'src')
},
// https://cn.vitejs.dev/config/#resolve-extensions
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
},
// vite 相关配置
server: {
- port: 5173,
+ port: 8888,
host: true,
- open: true,
+ open: false,
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
- target: 'http://localhost:9801',
- // target: 'https://api.wzs.pub/mock/13',
+ target: 'http://47.97.125.165:8904',
+ // target: 'http://192.168.1.114:9801',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
@@ -47,22 +55,20 @@ export default defineConfig(({ mode, command }) => {
//fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
css: {
postcss: {
- plugins: [
- {
- postcssPlugin: 'internal:charset-removal',
- AtRule: {
- charset: (atRule) => {
- if (atRule.name === 'charset') {
- atRule.remove();
- }
+ plugins: [{
+ postcssPlugin: 'internal:charset-removal',
+ AtRule: {
+ charset: (atRule) => {
+ if (atRule.name === 'charset') {
+ atRule.remove();
}
}
}
- ]
+ }]
}
}
}
optimizeDeps: {
include: ['jquery', 'select2', 'vue3-select2-component']
}
-})
+})
\ No newline at end of file