dev
This commit is contained in:
parent
dcbb44bd80
commit
fcb536753e
|
|
@ -4,14 +4,15 @@ import {post} from "@/utils/request.ts";
|
|||
import {onMounted, ref, defineModel} from "vue";
|
||||
import {formatDate} from "@/utils/dateUtils.ts";
|
||||
import {loadConfig} from "@/utils/config.ts";
|
||||
import {API} from "@/assets/config/API.ts";
|
||||
|
||||
const decryptedText = ref<any>({})
|
||||
const ciphertext = ref<any>('')
|
||||
const list = ref<any>([])
|
||||
const init = async () => {
|
||||
ciphertext.value = await post("common/auth/get");
|
||||
decryptedText.value = await post("common/auth/check");
|
||||
list.value = await post("common/config/list")
|
||||
ciphertext.value = await post(API.Common.Auth.Get);
|
||||
decryptedText.value = await post(API.Common.Auth.Check);
|
||||
list.value = await post(API.Common.Config.List)
|
||||
list.value.forEach((item: any) => {
|
||||
if (item.k == "logoUrl") {
|
||||
loadConfig().then((res: any) => {
|
||||
|
|
|
|||
|
|
@ -47,11 +47,12 @@ import Mask from "@/components/common/Mask.vue";
|
|||
import {ref} from "vue";
|
||||
import CloseBtn from "@/components/CloseBtn.vue";
|
||||
import {post} from "@/utils/request.ts";
|
||||
import {API} from "@/assets/config/API.ts";
|
||||
const tableData = ref<any>([]);
|
||||
const show = ref(false);
|
||||
const init = () => {
|
||||
show.value = true;
|
||||
post("statistics/expiryDateWarning",{pageNum: pageNum.value, pageSize: pageSize.value}).then((res: any) => {
|
||||
post(API.Statistics.Base.ExpiryDateWarning,{pageNum: pageNum.value, pageSize: pageSize.value}).then((res: any) => {
|
||||
tableData.value = res.list
|
||||
total.value = res.total_count
|
||||
})
|
||||
|
|
|
|||
|
|
@ -51,12 +51,13 @@ import Mask from "@/components/common/Mask.vue";
|
|||
import {ref} from "vue";
|
||||
import CloseBtn from "@/components/CloseBtn.vue";
|
||||
import {post} from "@/utils/request.ts";
|
||||
import {API} from "@/assets/config/API.ts";
|
||||
|
||||
const tableData = ref<any>([]);
|
||||
const show = ref(false);
|
||||
const init = () => {
|
||||
show.value = true;
|
||||
post("statistics/numberEarlyWarning", {pageNum: pageNum.value, pageSize: pageSize.value}).then((res: any) => {
|
||||
post(API.Statistics.Base.NumberEarlyWarning, {pageNum: pageNum.value, pageSize: pageSize.value}).then((res: any) => {
|
||||
tableData.value = res.list
|
||||
total.value = res.total_count
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue