Browse Source

优化代码

DESKTOP-MINPJAU\Administrator 3 years ago
parent
commit
2062292fbe

+ 1 - 7
src/components/xc/xc-table/XcTable.vue

@@ -75,6 +75,7 @@ const emit = defineEmits([
 ])
 
 const tableRef = ref(null)
+let selection = $ref([])
 
 const windowSize = computed(() => {
   return store.state.app.windowSize
@@ -146,13 +147,6 @@ const getSelectionRows = () => {
   BizException(ExceptionEnum.MESSAGE_ERROR, "请先选择数据")
 }
 
-/**
- * 查询条件赋值
- */
-const queryConditionAssignment = () => {
-
-}
-
 defineExpose({clearSelection, getSelectionRows})
 
 </script>

+ 1 - 0
src/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/HuoQuMuBan.vue

@@ -165,6 +165,7 @@ const dianJiChaXun = () => {
 const dianJiMuBanMing = async (row) => {
   dianJiFuJiXinXi.value = row
   muBanShuJu.value = await huoQuMuBanShuJu(row.inputType === '4' ? row.collectCode : row.patternCode)
+  console.log(muBanShuJu.value)
   let serverDate = await getServerDateApi()
   orderTime.value = serverDate
   startTime = serverDate

+ 2 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/yi-zhu-lu-ru/YiZhuLuRu.vue

@@ -55,7 +55,8 @@
       </el-button>
     </el-header>
     <el-main>
-      <xc-table :data="yiZhuPage" row-key="actOrderNo"
+      <xc-table :data="yiZhuPage"
+                row-key="id"
                 @currentChange="handleCurrentChange"
                 @sizeChange="handleSizeChange"
                 :height="windowSize.h / 1.5"