From 491955d354201d9013f74cd21e824f30611bbb60 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 06 十一月 2024 18:17:05 +0800
Subject: [PATCH] 检查类型相关

---
 src/views/ecg/checktype/index.vue |   67 ++++++++++++++++++++++++++++++++-
 1 files changed, 65 insertions(+), 2 deletions(-)

diff --git a/src/views/ecg/checktype/index.vue b/src/views/ecg/checktype/index.vue
index 7bb2d8e..ae47f34 100644
--- a/src/views/ecg/checktype/index.vue
+++ b/src/views/ecg/checktype/index.vue
@@ -55,6 +55,51 @@
           class="!w-240px"
         />
       </el-form-item>
+      <el-form-item label="鏄惁鏄剧ず鎮h�呮潯鐮�" prop="displayBarcode">
+        <el-input
+          v-model="queryParams.displayBarcode"
+          placeholder="璇疯緭鍏ユ槸鍚︽樉绀烘偅鑰呮潯鐮�"
+          clearable
+          @keyup.enter="handleQuery"
+          class="!w-240px"
+        />
+      </el-form-item>
+      <el-form-item label="鏄惁闇�瑕佺‘璐�" prop="expenseRecognition">
+        <el-input
+          v-model="queryParams.expenseRecognition"
+          placeholder="璇疯緭鍏ユ槸鍚﹂渶瑕佺‘璐�"
+          clearable
+          @keyup.enter="handleQuery"
+          class="!w-240px"
+        />
+      </el-form-item>
+      <el-form-item label="鏃舵棰勭害瑙勫畾浜烘暟" prop="timeslotBookNum">
+        <el-input
+          v-model="queryParams.timeslotBookNum"
+          placeholder="璇疯緭鍏ユ椂娈甸绾﹁瀹氫汉鏁�"
+          clearable
+          @keyup.enter="handleQuery"
+          class="!w-240px"
+        />
+      </el-form-item>
+      <el-form-item label="姣忔椂娈甸鐣欎汉鏁�" prop="timeslotReservedNum">
+        <el-input
+          v-model="queryParams.timeslotReservedNum"
+          placeholder="璇疯緭鍏ユ瘡鏃舵棰勭暀浜烘暟"
+          clearable
+          @keyup.enter="handleQuery"
+          class="!w-240px"
+        />
+      </el-form-item>
+      <el-form-item label="浜插拰鐨勬鏌ョ被鍨�" prop="affinityCheckTypes">
+        <el-input
+          v-model="queryParams.affinityCheckTypes"
+          placeholder="璇疯緭鍏ヤ翰鍜岀殑妫�鏌ョ被鍨�"
+          clearable
+          @keyup.enter="handleQuery"
+          class="!w-240px"
+        />
+      </el-form-item>
       <el-form-item>
         <el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 鎼滅储</el-button>
         <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 閲嶇疆</el-button>
@@ -99,6 +144,17 @@
         </template>
       </el-table-column>
       <el-table-column label="鍙彿鍒�" align="center" prop="callingColumn" />
+      <el-table-column label="鏄惁鏄剧ず鎮h�呮潯鐮�" align="center" prop="displayBarcode" />
+      <el-table-column label="鏄惁闇�瑕佺‘璐�" align="center" prop="expenseRecognition" />
+      <el-table-column label="鏃舵棰勭害瑙勫畾浜烘暟" align="center" prop="timeslotBookNum" />
+      <el-table-column label="姣忔椂娈甸鐣欎汉鏁�" align="center" prop="timeslotReservedNum" />
+      <el-table-column label="浜插拰鐨勬鏌ョ被鍨�" align="center" prop="affinityCheckTypes" >
+        <template #default="scope">
+          <div v-for="(checkType, subIndex) in scope.row.affinityCheckTypes" :key="subIndex">
+            {{checkTypeStore.getCheckTypeName(checkType)}}
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="鎿嶄綔" align="center" min-width="120px">
         <template #default="scope">
           <el-button
@@ -134,17 +190,19 @@
 </template>
 
 <script setup lang="ts">
-import { DICT_TYPE } from '@/utils/dict'
 import { dateFormatter } from '@/utils/formatTime'
 import download from '@/utils/download'
 import { CheckTypeApi, CheckTypeVO } from '@/api/ecg/checktype'
 import CheckTypeForm from './CheckTypeForm.vue'
+import {useCheckTypeStore} from "@/store/modules/checkType";
 
 /** 妫�鏌ョ被鍨� 鍒楄〃 */
 defineOptions({ name: 'CheckType' })
 
 const message = useMessage() // 娑堟伅寮圭獥
 const { t } = useI18n() // 鍥介檯鍖�
+
+const checkTypeStore = useCheckTypeStore();
 
 const loading = ref(true) // 鍒楄〃鐨勫姞杞戒腑
 const list = ref<CheckTypeVO[]>([]) // 鍒楄〃鐨勬暟鎹�
@@ -157,7 +215,12 @@
   readyNum: undefined,
   createTime: [],
   needDevReady: undefined,
-  callingColumn: undefined
+  callingColumn: undefined,
+  displayBarcode: undefined,
+  expenseRecognition: undefined,
+  timeslotBookNum: undefined,
+  timeslotReservedNum: undefined,
+  affinityCheckTypes: undefined
 })
 const queryFormRef = ref() // 鎼滅储鐨勮〃鍗�
 const exportLoading = ref(false) // 瀵煎嚭鐨勫姞杞戒腑

--
Gitblit v1.9.3