|
@@ -35,9 +35,6 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
- *fetchCampusExcel({ payload }, { call }) {
|
|
|
- window.open('/api/stmt/campus/export');
|
|
|
- },
|
|
|
*fetchTerminalsList({ payload }, { call, put }) {
|
|
|
const response = yield call(queryTerminalsList, payload);
|
|
|
if (response.success) {
|
|
@@ -52,10 +49,6 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
- *fetchTerminalsExcel({ payload }, { call }) {
|
|
|
- window.open('/api/stmt/terminal/user/export');
|
|
|
- },
|
|
|
-
|
|
|
*fetchCampusAmount({ payload }, { call, put }) {
|
|
|
const response = yield call(queryCampusAmount, payload);
|
|
|
if (response.success) {
|
|
@@ -81,6 +74,18 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
+ *fetchCampusExcel({ payload }, { call }) {
|
|
|
+ const url = '/api/stmt/campus/export';
|
|
|
+ window.location.href = url;
|
|
|
+ },
|
|
|
+ *fetchTerminalsExcel({ payload }, { call }) {
|
|
|
+ const url = '/api/stmt/terminal/user/export';
|
|
|
+ window.location.href = url;
|
|
|
+ },
|
|
|
+ *fetchOverdueExcel({ payload }, { call }) {
|
|
|
+ const url = '/api/stmt/terminal/user/export?fastExpired=1';
|
|
|
+ window.location.href = url;
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
reducers: {
|