diff --git a/src/api/stagger-holidays/index.js b/src/api/stagger-holidays/index.js index 126bda3..5d97aa3 100644 --- a/src/api/stagger-holidays/index.js +++ b/src/api/stagger-holidays/index.js @@ -37,6 +37,8 @@ export function getHolidayType(query) { url: '/wechat/getHolidayType', method: 'get', params: query, + isData: true, + encry: aqEnnable, }) } diff --git a/src/api/temporary-outing/index.js b/src/api/temporary-outing/index.js index 126bda3..81adc1b 100644 --- a/src/api/temporary-outing/index.js +++ b/src/api/temporary-outing/index.js @@ -37,6 +37,8 @@ export function getHolidayType(query) { url: '/wechat/getHolidayType', method: 'get', params: query, + encry: aqEnnable, + isData: true, }) } diff --git a/src/pages/stagger-holidays/index.vue b/src/pages/stagger-holidays/index.vue index e90cb00..978a161 100644 --- a/src/pages/stagger-holidays/index.vue +++ b/src/pages/stagger-holidays/index.vue @@ -322,7 +322,7 @@ this.activeTab = tab }, getHolidayType() { - getHolidayType({ dictType: 'plateau_subsidy' }) + getHolidayType({ dictType: 'att_status' }) .then((response) => { this.leaveTypes = response.data.map((type) => ({ value: type.value, diff --git a/src/pages/temporary-outing/index.vue b/src/pages/temporary-outing/index.vue index 6b532d3..9f8ba42 100644 --- a/src/pages/temporary-outing/index.vue +++ b/src/pages/temporary-outing/index.vue @@ -322,7 +322,7 @@ this.activeTab = tab }, getHolidayType() { - getHolidayType({ dictType: 'plateau_subsidy' }) + getHolidayType({ dictType: 'att_status' }) .then((response) => { this.leaveTypes = response.data.map((type) => ({ value: type.value,