Browse Source

时间修改

dev-V1.10.0
wangmingyong@163.com 3 hours ago
parent
commit
d8ec60c207
  1. 2
      zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-enforcer/index.vue
  2. 2
      zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-field/index.vue

2
zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-enforcer/index.vue

@ -44,7 +44,7 @@ const quarterOptions = [
/** 年份选项(近 5 年) */ /** 年份选项(近 5 年) */
const yearOptions = (() => { const yearOptions = (() => {
const curr = new Date().getFullYear(); const curr = new Date().getFullYear();
return Array.from({ length: 5 }, (_, i) => String(curr - i)); return Array.from({ length: 3 }, (_, i) => String(curr - i));
})(); })();
/** /**

2
zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-field/index.vue

@ -49,7 +49,7 @@ const quarterOptions = [
/** 年份选项(近 5 年) */ /** 年份选项(近 5 年) */
const yearOptions = (() => { const yearOptions = (() => {
const curr = new Date().getFullYear(); const curr = new Date().getFullYear();
return Array.from({ length: 5 }, (_, i) => String(curr - i)); return Array.from({ length: 3 }, (_, i) => String(curr - i));
})(); })();
// ======================== 字典 ======================== // ======================== 字典 ========================

Loading…
Cancel
Save