Parcourir la source

更新依赖,新主题

ZaiZai il y a 1 an
Parent
commit
1d6894d8ea
4 fichiers modifiés avec 13 ajouts et 12 suppressions
  1. 1 1
      package.json
  2. 6 6
      src/views/data-fill/query.vue
  3. 2 1
      src/views/tentative/detect/test.vue
  4. 4 4
      yarn.lock

+ 1 - 1
package.json

@@ -37,7 +37,7 @@
         "cssnano": "^6.0.1",
         "eslint": "^8.51.0",
         "eslint-plugin-vue": "^9.17.0",
-        "hc-vue3-ui": "^2.1.4",
+        "hc-vue3-ui": "^2.1.6",
         "postcss": "^8.4.31",
         "sass": "^1.69.4",
         "tailwindcss": "3.3.3",

+ 6 - 6
src/views/data-fill/query.vue

@@ -167,7 +167,7 @@
                 </template>
                 <HcTable
                     ref="tableListRef" :column="tableListColumn" :datas="tableListData" :loading="tableLoading"
-                    is-check @selection-change="tableSelectionChange"
+                    border :check-style="{ width: 29 }" :index-style="{ width: 60 }" is-check @selection-change="tableSelectionChange"
                 >
                     <template #name="{ row }">
                         <span class="text-link" @click="tableRowName(row)">{{ row?.name }}</span>
@@ -514,11 +514,11 @@ const tableListRef = ref(null)
 const tableLoading = ref(false)
 const tableListColumn = ref([
     { key: 'name', name: '文件名称' },
-    { key: 'startTime', name: '开始时间' },
-    { key: 'taskStatusStr', name: '流程状态' },
-    { key: 'reportNumber', name: '上报批次' },
-    { key: 'fileUserIdAndName', name: '填报人' },
-    { key: 'waitingUserList', name: '任务人' },
+    { key: 'startTime', name: '开始时间', width: 140, align: 'center' },
+    { key: 'taskStatusStr', name: '流程状态', width: 100, align: 'center' },
+    { key: 'reportNumber', name: '上报批次', width: 80, align: 'center' },
+    { key: 'fileUserIdAndName', name: '填报人', width: 190, align: 'center' },
+    { key: 'waitingUserList', name: '任务人', width: 100, align: 'center' },
 ])
 
 const tableListData = ref([])

+ 2 - 1
src/views/tentative/detect/test.vue

@@ -148,7 +148,8 @@
                 </template>
                 <HcTable
                     ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-                    border check-width="29" index-width="50" is-check @selection-change="tableSelection"
+                    border :check-style="{ width: 29, fixed: 'left' }" :index-style="{ width: 60, fixed: 'left' }"
+                    is-check @selection-change="tableSelection"
                 >
                     <template #recordNo="{ row }">
                         <span class="text-link" @click="tableRowEdit(row, '1')">{{ row?.recordNo }}</span>

+ 4 - 4
yarn.lock

@@ -1298,10 +1298,10 @@ has@^1.0.3:
   dependencies:
     function-bind "^1.1.1"
 
-hc-vue3-ui@^2.1.4:
-  version "2.1.4"
-  resolved "http://47.110.251.215:9000/hc-vue3-ui/-/hc-vue3-ui-2.1.4.tgz#92e315a5cc868a594e9bcc87a7ede2f7ef8c9973"
-  integrity sha512-QLD/v+k1aWvXmBXwCFZzDvb2QvSQRvDXe5GoMbz5ZOcRPCrnUbHzN0Rwt4JYssSlXTvXBj2ehuChZigvvnlHCw==
+hc-vue3-ui@^2.1.6:
+  version "2.1.6"
+  resolved "http://47.110.251.215:9000/hc-vue3-ui/-/hc-vue3-ui-2.1.6.tgz#b57332e10b4544b61fd22f28dd5a42b90ab4c48a"
+  integrity sha512-aM1nOBVOFDooEwfRlKXlSjKXSwtFAjhtNjTALk7Ew9BSB+WYVxzpLq4ibzii6mqVg3LtrcK/E8AdbnPI96w1FA==
   dependencies:
     axios "^1.5.1"
     dayjs "^1.11.10"