-
+
+
+
+
+
+
+
+ 仪器:{{ yqmc }} 质控项目:{{ xmInfo.xmdh }} {{ xmInfo.xmmc }}
+ 区间:{{ queryParams.st }} - {{ queryParams.et }}
-
+
+
+
+
+
+
+
+
+
+
+
@@ -73,6 +90,19 @@ import { useCommonStore } from '@/store/modules/commonStore';
const mbStore = useCommonStore();
import * as echarts from 'echarts';
+const tableData = ref([
+ { zkrq: '2024-01-01', avg0: 1.2, sd0: 0.1, avg1: 2.3, sd1: 0.2, avg2: 3.4, sd2: 0.3, avg3: 4.5, sd3: 0.4 },
+ { zkrq: '2024-01-02', avg0: 1.3, sd0: 0.1, avg1: 2.4, sd1: 0.2, avg2: 3.5, sd2: 0.3, avg3: 4.6, sd3: 0.4 },
+ { zkrq: '2024-01-03', avg0: 1.1, sd0: 0.1, avg1: 2.2, sd1: 0.2, avg2: 3.3, sd2: 0.3, avg3: 4.4, sd3: 0.4 },
+ { zkrq: '2024-01-04', avg0: 1.4, sd0: 0.1, avg1: 2.5, sd1: 0.2, avg2: 3.6, sd2: 0.3, avg3: 4.7, sd3: 0.4 },
+ { zkrq: '2024-01-05', avg0: 1.2, sd0: 0.1, avg1: 2.3, sd1: 0.2, avg2: 3.4, sd2: 0.3, avg3: null, sd3: null },
+]);
+
+const selectedLevelColumns = computed(() => {
+ // 排序保证列展示顺序和水平数字一致
+ return selectedLevels.value.slice().sort((a, b) => a - b);
+});
+const activeName = ref('1');
const isMultiChart = ref(false);
// 原始水平图表数据
const chartData = ref([
@@ -137,6 +167,14 @@ const getXmList = async (row) => {
});
};
+const tabClick = (val) => {
+ if (val.paneName == '1') {
+ nextTick(() => {
+ getEcharts();
+ });
+ }
+};
+
// 单/多图表容器
const myEcharts = ref();
const multiEcharts = ref([]);
@@ -245,6 +283,7 @@ const getEcharts = () => {
splitLine: { show: true, lineStyle: { type: 'dashed' } },
axisLabel: { formatter: '{value}', color: '#474747', fontSize: 14 },
axisTick: { show: false },
+ interval: 1,
}],
series: seriesData,
};
@@ -352,6 +391,7 @@ const getEcharts = () => {
// axisLine: { show: true, lineStyle: { color: '#305cd0' } },
axisLabel: { formatter: '{value}', color: '#474747', fontSize: 14 },
axisTick: { show: false },
+ interval: 1,
}],
series: seriesData,
};
@@ -363,13 +403,14 @@ const getEcharts = () => {
//水平复选框变化时重新渲染图表
const handleLevelChange = () => {
- getEcharts();
+ if (activeName.value === '1') {
+ getEcharts();
+ }
};
getBatchList();
const getDataValue = (value) => {
- console.log('value==>', value);
yqmc.value = value.yqmc;
};
diff --git a/src/views/regional/circulation/zycy/index.vue b/src/views/regional/circulation/zycy/index.vue
index 3982d4b..32be0b8 100644
--- a/src/views/regional/circulation/zycy/index.vue
+++ b/src/views/regional/circulation/zycy/index.vue
@@ -41,13 +41,14 @@
- 生成条码
+ 生成条码
选中所有未打印
- 打印
+ 打印条码
采样登记
@@ -62,16 +63,11 @@
条码作废
- 打印机设置
+ 清单打印
- 清单打印
+ 打印机设置
-
+
+
+
@@ -167,7 +166,7 @@ import { classCom } from '@/utils/classCom';
import CustomTable from '@/components/elTable/index.vue'
import { useRouter } from 'vue-router'
import { usePrintStore } from '@/store/modules/printStore'
-import { fetchCodeList, addObj, fetchCodeDetail, fetchCodeExec, fetchCodeReqmain } from '@/api/checkCode/index'
+import { fetchCodeList, addObj, fetchCodeDetail, fetchCodeExec, fetchCodeReqmain, printSendSample, printsetup } from '@/api/checkCode/index'
// @ts-ignore
import { listhospital } from "@/api/regional/dict/hospital.js";
const aotuSize = classCom.useAutoSize();
@@ -175,6 +174,9 @@ const aotuSize = classCom.useAutoSize();
import { comDict } from '@/utils/dict'
import SelectTable from '@/components/SelectTable/index.vue';
import { ElMessage, ElMessageBox } from 'element-plus'
+// @ts-ignore
+import iFrame from "@/components/iFrame/index.vue";
+import { checkPrintService } from '@/utils/printHelper';
const router = useRouter()
const printStore = usePrintStore();
const printerList = computed(() => printStore.printerList);
@@ -192,11 +194,12 @@ interface QueryParams {
failed4: string;
failed5: string;
SrcHospName: string;
+ userid: string;
}
// 提交表单数据
const queryParams = reactive