duy 3 月之前
父節點
當前提交
3568d34c70
共有 2 個文件被更改,包括 15 次插入2 次删除
  1. 10 1
      src/views/archives/manage/query.vue
  2. 5 1
      src/views/archives/manage/tuning.vue

+ 10 - 1
src/views/archives/manage/query.vue

@@ -185,7 +185,7 @@
                                         @selection-change="tableFileSelection"
                                     >
                                         <template #action="{ row }">
-                                            <el-link type="primary" @click.stop="consultFileClick(row, 2)">
+                                            <el-link type="primary" class="dark-mode-link" @click.stop="consultFileClick(row, 2)">
                                                 查阅文件
                                             </el-link>
                                         </template>
@@ -1664,3 +1664,12 @@ const batchClick = async () => {
 @import '~style/using/query.scss';
 @import '~src/styles/theme/using/query.scss';
 </style>
+
+<style lang="scss" scoped>
+.dark-mode-link {
+    color: #409EFF !important; // 使用更亮的蓝色
+    &:hover {
+        color: #66b1ff !important; // 悬停时更亮的蓝色
+    }
+}
+</style>

+ 5 - 1
src/views/archives/manage/tuning.vue

@@ -855,10 +855,14 @@ const unlockarchives = async () => {
     }
 }
 const viewPdf = async (id) => {
-    window.$message?.info('预览案卷需要合并pdf,需要一点时间')
+    const message = window.$message?.info({
+        message: '预览案卷需要合并pdf,需要一点时间',
+        duration: 0, // 设置为0表示不自动关闭
+    })
     const { error, code, data, msg } = await tuningApi.printArchive({
         id: id,
     })
+    message?.close() // 接口完成后手动关闭提示
     if (!error && code === 200) {
         if (data) {
             toPdfPage(data)