接口参数优化
This commit is contained in:
parent
4fe979d974
commit
c2b1e2ab6e
|
|
@ -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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue