diff --git a/frontend/src/api/check/test/index.ts b/frontend/src/api/check/test/index.ts index 017a566..2afc16a 100644 --- a/frontend/src/api/check/test/index.ts +++ b/frontend/src/api/check/test/index.ts @@ -11,6 +11,13 @@ export const getBigTestItem = (params: { return http.post(`/adPlan/getBigTestItem`, params, {loading: false}) } +export const getScriptList = (params: { + devId:string, + chnNum:number, +}) => { + return http.post('/result/getCheckItem', params, {loading: false}) +} + /** * 获取弹出框表单数据 * @param params 当为scriptType为null时,表示查询所有脚本类型,否则只查询指定脚本类型。当为chnNum为-1时,表示查询所有通道,否则只查询指定通道。 diff --git a/frontend/src/views/home/components/compareDataCheckResultTable.vue b/frontend/src/views/home/components/compareDataCheckResultTable.vue index 071c7a0..9e3b22e 100644 --- a/frontend/src/views/home/components/compareDataCheckResultTable.vue +++ b/frontend/src/views/home/components/compareDataCheckResultTable.vue @@ -134,12 +134,16 @@ const prop = defineProps({ } }) + + // 添加单位 const outerUnit = computed(() => { return prop.tableData.length > 0 ? prop.tableData[0].unit : ''; }) + + const addPercentSigns = (text: string, unit: string) => { return text .split('~') diff --git a/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue b/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue index 7bec915..07daabb 100644 --- a/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue +++ b/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue @@ -38,8 +38,8 @@ - - + + + > + +
@@ -125,6 +127,7 @@ :currentCheckItem="currentCheckItem" :currentScriptTypeName="currentScriptTypeName" v-if="activeTab === 'resultTab'" + /> @@ -144,7 +147,7 @@