Browse Source

审核状态

yufan 1 year ago
parent
commit
3eb00dc572
1 changed files with 10 additions and 9 deletions
  1. 10 9
      src/views/bookManage/index.vue

+ 10 - 9
src/views/bookManage/index.vue

@@ -107,12 +107,12 @@
             text == '1'
               ? '电子图书'
               : text == '2'
-              ? '文献资料'
-              : text == '3'
-              ? '学术论文'
-              : text == '4'
-              ? '其他'
-              : ''
+                ? '文献资料'
+                : text == '3'
+                  ? '学术论文'
+                  : text == '4'
+                    ? '其他'
+                    : ''
           }}
         </template>
         <template #audit="{ record }">
@@ -123,7 +123,7 @@
         <template #action="{ record }">
           <a-space :size="10">
             <a-button type="link" @click="updateBook(record)" :disabled="record.status == '1'"
-              >编辑</a-button
+            >编辑</a-button
             >
             <a @click="backBook(record)" v-if="record.status == '1'">撤回</a>
             <a @click="bulkShelves(record)" v-if="record.status == '2'">发布</a>
@@ -181,8 +181,9 @@
     subType: number;
   }
   const auditStatusList = ref([
-    { label: '已通过', value: 1 },
-    { label: '未通过', value: 0 },
+    { label: '未审核', value: 0 },
+    { label: '通过', value: 1 },
+    { label: '未通过', value: 99 },
   ]);
   const fileTypeList = ref([
     { label: 'pdf', value: 'pdf' },