|
|
@@ -2,18 +2,6 @@
|
|
|
<div class="full-container-p24">
|
|
|
<div class="mb20" style="margin-left: 200px">
|
|
|
<el-button-group class="mr30">
|
|
|
- <el-button
|
|
|
- :type="type == 3 ? 'primary' : ''"
|
|
|
- @click="(currentPage = 1), (type = 3), getCertList()"
|
|
|
- >
|
|
|
- 全部
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- :type="type == 0 ? 'primary' : ''"
|
|
|
- @click="(currentPage = 1), (type = 0), getCertList()"
|
|
|
- >
|
|
|
- 已过期
|
|
|
- </el-button>
|
|
|
<el-button
|
|
|
:type="type == 2 ? 'primary' : ''"
|
|
|
@click="(currentPage = 1), (type = 2), getCertList()"
|
|
|
@@ -32,6 +20,19 @@
|
|
|
>
|
|
|
{{ nextNextNextMonthStr }}
|
|
|
</el-button>
|
|
|
+
|
|
|
+ <el-button
|
|
|
+ :type="type == 0 ? 'primary' : ''"
|
|
|
+ @click="(currentPage = 1), (type = 0), getCertList()"
|
|
|
+ >
|
|
|
+ 已过期
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ :type="type == 3 ? 'primary' : ''"
|
|
|
+ @click="(currentPage = 1), (type = 3), getCertList()"
|
|
|
+ >
|
|
|
+ 全部
|
|
|
+ </el-button>
|
|
|
</el-button-group>
|
|
|
</div>
|
|
|
<div class="df">
|
|
|
@@ -179,7 +180,7 @@ import _ from "lodash";
|
|
|
import { subTimeStr } from "../../utils/utils";
|
|
|
|
|
|
const route = useRoute();
|
|
|
-let type = ref(3);
|
|
|
+let type = ref(2);
|
|
|
let certType = ref(1);
|
|
|
let tableData = ref([]);
|
|
|
let total = ref(0);
|
|
|
@@ -202,7 +203,7 @@ const monthNames = [
|
|
|
function getMonthName(monthOffset) {
|
|
|
const currentMonth = new Date().getMonth();
|
|
|
const newMonth = (currentMonth + monthOffset) % 12;
|
|
|
- return monthNames[newMonth] + "过期";
|
|
|
+ return monthNames[newMonth] + "到期";
|
|
|
}
|
|
|
|
|
|
const nextMonthStr = ref(getMonthName(1));
|