接口参数优化

This commit is contained in:
BianLzhaoMin 2025-02-18 17:32:39 +08:00
parent 4fe979d974
commit c2b1e2ab6e
4 changed files with 6 additions and 2 deletions

View File

@ -37,6 +37,8 @@ export function getHolidayType(query) {
url: '/wechat/getHolidayType', url: '/wechat/getHolidayType',
method: 'get', method: 'get',
params: query, params: query,
isData: true,
encry: aqEnnable,
}) })
} }

View File

@ -37,6 +37,8 @@ export function getHolidayType(query) {
url: '/wechat/getHolidayType', url: '/wechat/getHolidayType',
method: 'get', method: 'get',
params: query, params: query,
encry: aqEnnable,
isData: true,
}) })
} }

View File

@ -322,7 +322,7 @@
this.activeTab = tab this.activeTab = tab
}, },
getHolidayType() { getHolidayType() {
getHolidayType({ dictType: 'plateau_subsidy' }) getHolidayType({ dictType: 'att_status' })
.then((response) => { .then((response) => {
this.leaveTypes = response.data.map((type) => ({ this.leaveTypes = response.data.map((type) => ({
value: type.value, value: type.value,

View File

@ -322,7 +322,7 @@
this.activeTab = tab this.activeTab = tab
}, },
getHolidayType() { getHolidayType() {
getHolidayType({ dictType: 'plateau_subsidy' }) getHolidayType({ dictType: 'att_status' })
.then((response) => { .then((response) => {
this.leaveTypes = response.data.map((type) => ({ this.leaveTypes = response.data.map((type) => ({
value: type.value, value: type.value,