Explorar o código

refactor(certsManage): 调整证书列表默认筛选类型

- 将默认筛选类型从全部修改为已上传
- 对应将 type 的默认值从 4 改为 3
wzg hai 11 meses
pai
achega
35e63e0f4a
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/workStation/certsManage.vue

+ 3 - 3
src/views/workStation/certsManage.vue

@@ -3,8 +3,8 @@
     <div class="mb20" style="margin-left: 200px">
       <el-button-group class="mr30">
         <el-button
-          :type="type == 4 ? 'primary' : ''"
-          @click="(currentPage = 1), (type = 4), getCertList()"
+          :type="type == 3 ? 'primary' : ''"
+          @click="(currentPage = 1), (type = 3), getCertList()"
         >
           全部
         </el-button>
@@ -173,7 +173,7 @@ import _ from "lodash";
 import { subTimeStr } from "../../utils/utils";
 
 const route = useRoute();
-let type = ref(4);
+let type = ref(3);
 let certType = ref(1);
 let tableData = ref([]);
 let total = ref(0);