提交 8036f591 authored 作者: jinrongbin's avatar jinrongbin

省级审核tab页面没有数据

上级 36a26848
......@@ -36,6 +36,31 @@
const userStore: any = useUserStore();
const { createMessage } = useMessage();
let router = useRouter();
let year = new Date().getFullYear();
let month = new Date().getMonth();
const getNd = () => {
let nd = 2025;
if (month < 3) {
nd = year -1
} else {
nd = year;
}
return nd +'';
}
const getJd = () => {
let jd = '04';
if (month < 3) {
jd = '04';
} else if (month < 6) {
jd = '01';
} else if (month < 9) {
jd = '02';
} else{
jd = '03';
}
return jd;
}
//注册model
const [registerModal, { openModal }] = useModal();
const [registerModalShls, { openModal: openModalShls }] = useModal();
......@@ -49,8 +74,7 @@
canResize: false,
clickToRowSelect: true,
beforeFetch(params) {
params.cityCode = 440000;
params.jd = 3;
params.jd = getNd()+getJd();
},
//定义rowSelection的类型,默认是checkbox多选,可以设置成radio单选
rowKey: 'id',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论