Commit bb361cd9 by 姜雷

整理api

parent 1d6bda84
......@@ -19,3 +19,8 @@ VUE_APP_BASE_SERVER_URL=http://ex-dev-dcxy-base-manage.168cad.top
VUE_APP_BASE_SERVER_URL_APP=http://ex-dev-dcxy-base-app.168cad.top
VUE_APP_STATISTICS_SERVER_URL=http://ex-dev-dcxy-statistics-manage.168cad.top
VUE_APP_DEVICE_SERVER_URL=http://in-dev-device-management-api.168cad.top
VUE_APP_SHOWER_SERVER_URL=http://ex-shower-manager-server.168cad.top
VUE_APP_DISPENSER_SERVER_URL=http://ex-dev-gx-manager.168cad.top
VUE_APP_BLOWER_SERVER_URL=http://ex-dev-blower-manager.168cad.top
VUE_APP_METER_DEVICE_SERVER_URL=http://ex-dev-device3-manager.168cad.top
VUE_APP_SMAPRO_SERVER_URL=http://ex-dev-dcxy-smapro-manage.168cad.top
const fetch = manageShell.default.createBaseFetch({
baseURL: process.env.VUE_APP_METER_DEVICE_SERVER_URL,
timeout: 10000,
});
import { deviceFetch as fetch } from '../fetch';
export default fetch;
import fetch from './fetch';
import { smaproFetch as fetch } from './fetch';
//基础地址
const path = process.env.VUE_APP_SMAPRO_SERVER_URL;
......
import fetch from './fetch';
import { smaproFetch as fetch } from './fetch';
//基础地址
const path = process.env.VUE_APP_SMAPRO_SERVER_URL;
......
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const fetchBeanInfoByUser = req =>
fetch({
......
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const getRechargeInfo = req =>
fetch({
......
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const getRefundInfo = req =>
fetch({
......
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchAdminArea = req =>
fetch({
......
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchAdminFunctionList = req =>
fetch({
......
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchAppReportList = req =>
fetch({
......
const fetch = manageShell.default.createBaseFetch({
import createBaseFetch from '@/lib/Api';
const fetch = createBaseFetch({
baseURL: process.env.VUE_APP_SMAPRO_SERVER_URL,
timeout: 10000,
});
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
//基础地址
const path = process.env.VUE_APP_BASE_SERVER_URL;
......@@ -21,20 +21,21 @@ export const update4Lock = req =>
...req,
});
/**保存配置 */
/**保存配置 */
export const addEntity = req =>
fetch({
url: path + areaRechargePath + '/areaRecharge',
method: 'POST',
...req,
});
fetch({
url: path + areaRechargePath + '/areaRecharge',
method: 'POST',
...req,
});
/**查询选中的配置 */
export const queryById = req =>
/**查询选中的配置 */
export const queryById = req =>
fetch({
url: path + areaRechargePath + `/areaRecharge/${req.params.areaId}/${req.params.operateId}`,
url:
path +
areaRechargePath +
`/areaRecharge/${req.params.areaId}/${req.params.operateId}`,
method: 'GET',
...req,
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const AREA_SMS = '/dcxy/area/sms';
export const addRelations = req =>
fetch({
url: AREA_SMS + '/relation',
method: 'POST',
...req,
});
fetch({
url: AREA_SMS + '/relation',
method: 'POST',
...req,
});
export const getRelations = req =>
fetch({
url: AREA_SMS + '/relation',
method: 'GET',
...req,
});
fetch({
url: AREA_SMS + '/relation',
method: 'GET',
...req,
});
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
const path = process.env.VUE_APP_CUSTOMER_SERVER_URL;
export const fetchUserBaseInfo = entity =>
fetch({
url: path + '/dcxy/customerInfo/baseInfo',
url: '/dcxy/customerInfo/baseInfo',
params: entity,
});
export const fetchUserBaseInfoByPhone = entity =>
fetch({
url: path + '/dcxy/customerInfo/baseCustomer',
url: '/dcxy/customerInfo/baseCustomer',
params: entity,
});
export const fetchUserAccount = entity =>
fetch({
url: path + '/dcxy/customerInfo/queryAccount',
url: '/dcxy/customerInfo/queryAccount',
params: entity,
});
import fetch from '../fetch';
const path = process.env.VUE_APP_BASE_SERVER_URL_APP;
import { baseAppFetch as fetch } from '../fetch';
export const getUploadImgToken = req =>
fetch({
url: path + '/common/getQNToken',
url: '/common/getQNToken',
...req,
});
export const getDelImgToken = req =>
fetch({
url: path + '/common/deleteFiles',
url: '/common/deleteFiles',
...req,
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const getBaseArea = req =>
fetch({
url: '/dcxy/baseArea/queryList',
method: 'POST',
...req,
});
export const getEditArea = req =>
export const getEditArea = req =>
fetch({
url: '/dcxy/baseArea/updateArea',
method: 'PUT',
...req,
});
export const getAddBaseArea = req =>
export const getAddBaseArea = req =>
fetch({
url: '/dcxy/baseArea/addArea',
method: 'POST',
...req,
});
export const getConfigArea = req =>
export const getConfigArea = req =>
fetch({
url: '/dcxy/baseArea/queryService',
method: 'GET',
...req,
});
export const getAddOrUpdate = req =>
export const getAddOrUpdate = req =>
fetch({
url: '/dcxy/baseArea/addService',
method: 'POST',
...req,
});
export const getRemoveService = req =>
export const getRemoveService = req =>
fetch({
url: '/dcxy/baseArea/deleteService',
method: 'GET',
...req,
});
export const getDetail = req =>
export const getDetail = req =>
fetch({
url: '/dcxy/baseArea/areaInfo',
method: 'GET',
...req,
});
export const updateState = req =>
export const updateState = req =>
fetch({
url: '/dcxy/baseArea/updateConsult',
method: 'GET',
...req,
});
export const updateStore= req =>
export const updateStore = req =>
fetch({
url: '/dcxy/baseArea/updateStore',
method: 'GET',
...req,
});
export const updateType= req =>
export const updateType = req =>
fetch({
url: '/dcxy/baseArea/updateType',
method: 'GET',
...req,
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const getAreaBusiness = req =>
fetch({
url: '/dcxy/areaBusiness/queryList',
method: 'POST',
...req,
});
export const getRemoveAreaBusiness = req =>
export const getRemoveAreaBusiness = req =>
fetch({
url: '/dcxy/areaBusiness/deleteAreaBusiness',
method: 'GET',
...req,
});
export const getAddAreaBusiness = req =>
export const getAddAreaBusiness = req =>
fetch({
url: '/dcxy/areaBusiness/addAreaBusiness',
method: 'POST',
...req,
});
export const updateState = req =>
export const updateState = req =>
fetch({
url: '/dcxy/areaBusiness/updateState',
method: 'GET',
...req,
});
\ No newline at end of file
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const OPER_PAY_PATH = '/dcxy/api/base/operateAreaPay';
const customer_path = process.env.VUE_APP_CUSTOMER_SERVER_URL;
export const getCustomerInfo = req =>
fetch({
url: customer_path +'/dcxy/customerInfo/customer/forpic',
url: customer_path + '/dcxy/customerInfo/customer/forpic',
method: 'get',
...req,
});
......@@ -16,16 +16,16 @@ export const getOperPayConfig = req =>
...req,
});
export const updateOpConf = req =>
export const updateOpConf = req =>
fetch({
url: OPER_PAY_PATH + '/change/payconf',
method: 'post',
...req,
});
export const abilityBeUsed = req =>
export const abilityBeUsed = req =>
fetch({
url: OPER_PAY_PATH + '/ability/beused',
method: 'post',
...req,
});
\ No newline at end of file
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
import operDetail from '../operDetail';
export const getBaseOperator = req =>
......@@ -17,7 +17,6 @@ export const updateState = req => {
});
};
export const getAddOper = req =>
fetch({
url: '/dcxy/baseOperator/addOperator',
......@@ -25,24 +24,23 @@ export const getAddOper = req =>
...req,
});
export const getEditOper = req =>
fetch({
url: '/dcxy/baseOperator/updateOperator',
method: 'POST',
...req,
});
fetch({
url: '/dcxy/baseOperator/updateOperator',
method: 'POST',
...req,
});
export const getDetail = req =>
fetch({
url: '/dcxy/baseOperator/queryOpertor',
method: 'GET',
...req,
});
fetch({
url: '/dcxy/baseOperator/queryOpertor',
method: 'GET',
...req,
});
export const getOperCount = req =>
operDetail({
url: '/admin/admin',
method: 'GET',
...req,
});
operDetail({
url: '/admin/admin',
method: 'GET',
...req,
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const OPER_PAY_PATH = '/dcxy/api/base/operateAreaPay';
export const getOperPayInfo = req =>
fetch({
......@@ -21,7 +21,6 @@ export const checkBinding = req =>
...req,
});
//支付能力新增接口
export const addOperPayInfo = req =>
fetch({
......@@ -38,20 +37,36 @@ export const updateOperPayInfo = req =>
...req,
});
export const deleteOperPayInfo = req =>
export const deleteOperPayInfo = req =>
fetch({
url: OPER_PAY_PATH+'/service/pay/'+req.id +'/'+req.operateId+'/'+req.payType,
url:
OPER_PAY_PATH +
'/service/pay/' +
req.id +
'/' +
req.operateId +
'/' +
req.payType,
method: 'delete',
...req,
});
//支付能力关闭/开启接口
//支付能力关闭/开启接口
export const isCloseOperPay = req =>
fetch({
url: OPER_PAY_PATH+'/isclose/'+req.isClose+'/'+req.id+'/'+req.operateId+'/'+req.payType,
method: 'put',
...req,
});
fetch({
url:
OPER_PAY_PATH +
'/isclose/' +
req.isClose +
'/' +
req.id +
'/' +
req.operateId +
'/' +
req.payType,
method: 'put',
...req,
});
//查询是否存在开启的
export const checkBeOn = req =>
......@@ -60,12 +75,9 @@ export const checkBeOn = req =>
method: 'get',
...req,
});
export const getOpenedPaytype = req =>
export const getOpenedPaytype = req =>
fetch({
url: OPER_PAY_PATH + '/opened/paytype',
method: 'get',
...req,
});
\ No newline at end of file
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const getPageData = req =>
fetch({
......@@ -16,7 +16,6 @@ export const addData = req => {
});
};
export const updateData = req =>
fetch({
url: '/recharge/contorl/for/change',
......@@ -24,18 +23,16 @@ export const updateData = req =>
...req,
});
export const deleteData = req =>
fetch(
{
url: '/recharge/contorl/for/remove/'+req.id+'/'+req.updater,
method: 'DELETE',
...req,
});
fetch({
url: '/recharge/contorl/for/remove/' + req.id + '/' + req.updater,
method: 'DELETE',
...req,
});
export const getDetailData = req =>
fetch({
url: '/recharge/contorl/for/detail/'+req.controlId,
method: 'GET',
...req,
});
\ No newline at end of file
fetch({
url: '/recharge/contorl/for/detail/' + req.controlId,
method: 'GET',
...req,
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchCreditMarginList = req =>
fetch({
......@@ -47,4 +47,4 @@ export const fetchCreditMarginConfDetail = req =>
method: 'get',
...req,
});
\ No newline at end of file
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchEquipmentList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchOperationalModeList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchActivityList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchPaywayList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchEquipmentList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchActivityList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchPaywayList = req =>
fetch({
......
import fetch from './fetch';
import { smaproFetch as fetch } from './fetch';
export const getPageCustomer = req =>
fetch({
......
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const pageRecords = req =>
fetch({
url: '/dcxy/area/switch/page/records',
method: 'POST',
...req,
});
\ No newline at end of file
});
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const getCustomerInfo = req =>
fetch({
......@@ -7,63 +7,52 @@ export const getCustomerInfo = req =>
...req,
});
export const fetchDetail = req =>
export const fetchDetail = req =>
fetch({
url: '/dcxy/customerInfo/queryCustomer',
method: 'GET',
...req,
});
export const getaddCustomer = req =>
export const getaddCustomer = req =>
fetch({
url: '/dcxy/customerInfo/addCustomer',
method: 'POST',
...req,
});
export const updateState = req =>
export const updateState = req =>
fetch({
url: '/dcxy/customerInfo/updateState',
method: 'PUT',
...req,
});
export const updateBase = req =>
export const updateBase = req =>
fetch({
url: '/dcxy/customerInfo/updateBase',
method: 'PUT',
...req,
});
export const fetchAccount = req =>
export const fetchAccount = req =>
fetch({
url: '/dcxy/customerInfo/queryAccount',
method: 'GET',
...req,
});
export const fetchAccountLessThanZero = req =>
export const fetchAccountLessThanZero = req =>
fetch({
url: '/dcxy/customerInfo/lessthan/zero',
method: 'GET',
...req,
});
//电话或者会员ID查询
export const fetchUserInfo = req =>
//电话或者会员ID查询
export const fetchUserInfo = req =>
fetch({
url: '/dcxy/customerInfo/baseCustomer',
method: 'GET',
...req,
});
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const getSwitch = req =>
fetch({
......@@ -7,10 +7,9 @@ export const getSwitch = req =>
...req,
});
export const updateSwitch = req =>
export const updateSwitch = req =>
fetch({
url: '/dcxy/customerSwitch/updateSwitch',
method: 'POST',
...req,
});
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const getPassword = req =>
fetch({
......@@ -7,22 +7,21 @@ export const getPassword = req =>
...req,
});
export const resetApp = req =>
export const resetApp = req =>
fetch({
url: '/dcxy/password/restApp',
method: 'PUT',
...req,
});
export const restHardware = req =>
export const restHardware = req =>
fetch({
url: '/dcxy/password/restHardware',
method: 'PUT',
...req,
});
export const queryRest = req =>
export const queryRest = req =>
fetch({
url: '/dcxy/password/queryRest',
method: 'GET',
......
const fetch = manageShell.default.createBaseFetch({
baseURL: process.env.VUE_APP_DEVICE_SERVER_URL,
timeout: 10000,
});
import { deviceFetch as fetch } from '../fetch';
export default fetch;
import createBaseFetch from '../../lib/Api';
const fetch = manageShell.default.createBaseFetch({
baseURL: process.env.VUE_APP_DISPENSER_SERVER_URL+ '/dcxy/construction/gx/manager/manager',
const fetch = createBaseFetch({
baseURL:
process.env.VUE_APP_DISPENSER_SERVER_URL +
'/dcxy/construction/gx/manager/manager',
timeout: 10000,
});
......
const fetch = manageShell.default.createBaseFetch({
baseURL: process.env.VUE_APP_DEVICE_SERVER_URL,
timeout: 10000,
});
import { deviceFetch as fetch } from '../fetch';
export default fetch;
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
//列表
export const getFeedbackById = req =>
......@@ -24,11 +24,10 @@ export const saveFeedback = req =>
...req,
});
//记录
//记录
export const getFeedbackRecord = req =>
fetch({
url: `/feedback/get/feedbackRecord/${req.params.id}`,
method: 'GET',
...req,
});
fetch({
url: `/feedback/get/feedbackRecord/${req.params.id}`,
method: 'GET',
...req,
});
import createBaseFetch from '../lib/Api';
const fetch = createBaseFetch({
export const systemFetch = createBaseFetch({
baseURL: process.env.VUE_APP_SYSTEM_SERVER_URL,
timeout: 10000,
});
......@@ -8,5 +8,25 @@ export const customFetch = createBaseFetch({
baseURL: process.env.VUE_APP_CUSTOMER_SERVER_URL,
timeout: 10000,
});
export const baseFetch = createBaseFetch({
baseURL: process.env.VUE_APP_BASE_SERVER_URL,
timeout: 10000,
});
export const baseAppFetch = createBaseFetch({
baseURL: process.env.VUE_APP_BASE_SERVER_URL_APP,
timeout: 10000,
});
export const statisticsFetch = createBaseFetch({
baseURL: process.env.VUE_APP_STATISTICS_SERVER_URL,
timeout: 10000,
});
export const deviceFetch = createBaseFetch({
baseURL: process.env.VUE_APP_DEVICE_SERVER_URL,
timeout: 10000,
});
export const smaproFetch = createBaseFetch({
baseURL: process.env.VUE_APP_SMAPRO_SERVER_URL,
timeout: 10000,
});
export default fetch;
export default systemFetch;
import fetch from './fetch';
import { smaproFetch as fetch } from './fetch';
export const getPageOrderMoney = req =>
fetch({
url: '/platform/toll/income/page/money',
method: 'POST',
...req,
});
\ No newline at end of file
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const APP_SECTION = '/app/section';
export const getRelations = req =>
fetch({
url: APP_SECTION + '/relation',
......@@ -11,10 +9,9 @@ export const getRelations = req =>
...req,
});
export const addRelations = req =>
fetch({
url: APP_SECTION + '/build/relation',
method: 'POST',
...req,
});
fetch({
url: APP_SECTION + '/build/relation',
method: 'POST',
...req,
});
const fetch = manageShell.default.createBaseFetch({
import createBaseFetch from '../../lib/Api';
const fetch = createBaseFetch({
baseURL:
process.env.VUE_APP_BLOWER_SERVER_URL +
'/dcxy/construction/blower/manager/manager',
......
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchInterfaceList = req =>
fetch({
......
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchInterfaceList = req =>
fetch({
......
import fetch from '@/api/fetch';
const path = process.env.VUE_APP_SYSTEM_SERVER_URL;
import { systemFetch as fetch } from '../fetch';
export const fetchCollectList = req =>
fetch({
url: path + '/adminChange/queryCollect',
url: '/adminChange/queryCollect',
timeout: 30000,
...req,
});
export const addCollect = req =>
fetch({
url: path + '/adminChange/saveCollect',
url: '/adminChange/saveCollect',
method: 'post',
...req,
});
export const delCollect = req =>
fetch({
url: path + '/adminChange/delteCollect',
url: '/adminChange/delteCollect',
...req,
});
export const fetchMenuTree = req =>
fetch({
url: path + '/menu/menu/list',
url: '/menu/menu/list',
method: 'post',
...req,
});
export const addMenuNode = req =>
fetch({
url: path + '/menu/menu',
url: '/menu/menu',
method: 'post',
...req,
});
export const fetchEditMenuDetail = req =>
fetch({
url: path + `/menu/menuButton/${req.data.id}`,
url: `/menu/menuButton/${req.data.id}`,
method: 'get',
...req,
});
export const updateMenuNode = req =>
fetch({
url: path + '/menu/menu',
url: '/menu/menu',
method: 'put',
...req,
});
export const moveMenuNode = req =>
fetch({
url: path + `/menu/menu/${req.data.id}`,
url: `/menu/menu/${req.data.id}`,
method: 'put',
...req,
});
export const deleteMenuNode = req =>
fetch({
url: path + `/menu/menu/${req.data.id}`,
url: `/menu/menu/${req.data.id}`,
method: 'delete',
...req,
});
export const toggleMenuNodeState = req =>
fetch({
url: path + '/menu/menu/lock',
url: '/menu/menu/lock',
method: 'post',
...req,
});
export const fetchMenuNodeButton = req =>
fetch({
url: path + `/menu/menuButton/${req.data.id}`,
url: `/menu/menuButton/${req.data.id}`,
method: 'post',
...req,
});
export const fetchMenuUseState = req =>
fetch({
url: path + `/menu/menu/isUse/${req.data.id}`,
url: `/menu/menu/isUse/${req.data.id}`,
method: 'get',
...req,
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const APP_OPEN_ADVERT = '/app/open/advert';
......@@ -7,8 +6,7 @@ const COMMON = '/dcxy/common';
const ADVERT_CAMPUS = '/app/advertise/campus';
const ADVERT_OPERATE ='/advertise/operate';
const ADVERT_OPERATE = '/advertise/operate';
export const pageAppOpenAdvertInfos = req =>
fetch({
......@@ -17,74 +15,71 @@ export const pageAppOpenAdvertInfos = req =>
...req,
});
export const addAppOpenAdvertInfo = req =>
fetch({
url: APP_OPEN_ADVERT + '/gain',
method: 'POST',
...req,
});
fetch({
url: APP_OPEN_ADVERT + '/gain',
method: 'POST',
...req,
});
export const updateAppOpenAdvertInfo = req =>
fetch({
url: APP_OPEN_ADVERT + '/modify',
method: 'POST',
...req,
});
fetch({
url: APP_OPEN_ADVERT + '/modify',
method: 'POST',
...req,
});
export const getEditInfo = req =>
fetch({
url: APP_OPEN_ADVERT + '/edit/info',
method: 'GET',
...req,
});
fetch({
url: APP_OPEN_ADVERT + '/edit/info',
method: 'GET',
...req,
});
export const updateState = req =>
fetch({
url: APP_OPEN_ADVERT + '/state',
method: 'PUT',
...req,
});
fetch({
url: APP_OPEN_ADVERT + '/state',
method: 'PUT',
...req,
});
//-----------------------------------------
export const getUploadImgToken = req =>
fetch({
url: COMMON + '/qiniu/token',
method: 'GET',
...req,
});
fetch({
url: COMMON + '/qiniu/token',
method: 'GET',
...req,
});
export const getDelImgToken = req =>
fetch({
url: COMMON + '/del/pic',
method: 'GET',
...req,
});
fetch({
url: COMMON + '/del/pic',
method: 'GET',
...req,
});
//-----------------------------
export const addAdvertiseRelations = req =>
fetch({
url: ADVERT_CAMPUS + '/relation',
method: 'POST',
...req,
});
fetch({
url: ADVERT_CAMPUS + '/relation',
method: 'POST',
...req,
});
export const listSectionRelations = req =>
fetch({
url: ADVERT_CAMPUS + '/relations',
method: 'GET',
...req,
});
fetch({
url: ADVERT_CAMPUS + '/relations',
method: 'GET',
...req,
});
//-----------------------------------
export const getOperateRecords = req =>
fetch({
url: ADVERT_OPERATE + '/record',
method: 'GET',
...req,
});
fetch({
url: ADVERT_OPERATE + '/record',
method: 'GET',
...req,
});
//------------------------------------
\ No newline at end of file
//------------------------------------
const operDetail = manageShell.default.createBaseFetch({
baseURL: process.env.VUE_APP_SYSTEM_SERVER_URL,
timeout: 10000,
});
export default operDetail;
\ No newline at end of file
import { systemFetch as operDetail } from './fetch';
export default operDetail;
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchOperLogList = req =>
fetch({
......
import fetch from './fetch';
import { smaproFetch as fetch } from './fetch';
export const getPageOrderMoney = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
//基础地址
const path = process.env.VUE_APP_BASE_SERVER_URL;
......
import fetch from '../statistics';
import { customFetch as fetch } from '../fetch';
//列表
export const getConsume = req =>
......@@ -10,12 +10,10 @@ export const getConsume = req =>
timeout: 20000,
});
//详情
//详情
export const getConsumeDetail = req =>
fetch({
url: `/consume/get/consume/${req.params.id}`,
method: 'GET',
...req,
});
fetch({
url: `/consume/get/consume/${req.params.id}`,
method: 'GET',
...req,
});
import fetch from '../statistics';
import { customFetch as fetch } from '../fetch';
export const fetchConsumeOrder = req =>
fetch({
......@@ -7,21 +7,16 @@ export const fetchConsumeOrder = req =>
...req,
});
export const getKindBean = req =>
export const getKindBean = req =>
fetch({
url: '/dcxy/order/kind/bean',
method: 'GET',
...req,
});
export const query4ThirdTradeInfo = req =>
export const query4ThirdTradeInfo = req =>
fetch({
url: '/dcxy/order/consume/order',
method: 'GET',
...req,
});
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const getFailedOrder = req =>
fetch({
......@@ -6,8 +6,3 @@ export const getFailedOrder = req =>
method: 'POST',
...req,
});
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
//列表
export const getGiveBean = req =>
......
import fetch from '../statistics';
import { customFetch as fetch } from '../fetch';
//列表
export const getPaymentConsume = req =>
......
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
// const path = 'http://localhost:8888/dcxy/api/customer/rechargeOrder';
......@@ -63,8 +63,3 @@ export const getPageAndTotalMoney = req =>
method: 'POST',
...req,
});
import fetch from '../fetch';
import { customFetch as fetch } from '../fetch';
export const getPageRefund = req =>
fetch({
url: '/dcxy/api/customer/refundOrder/page/refund',
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchOrderMergeRuleList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
// 版本配置API
const PVersion_PATH = '/dcxy/api/payment/version';
//支付管理API
......@@ -34,7 +34,7 @@ export const closeOrOpen = req =>
url: PAYMENT_PATH + '/open/close/' + req.id + '/' + req.isEnable,
method: 'put',
// ...req,
})
});
// 版本配置API
export const getPaymentVersion = req =>
fetch({
......@@ -61,7 +61,7 @@ export const upAndDown = req =>
method: 'put',
// ...req,
});
export const deleteVersion = req =>
export const deleteVersion = req =>
fetch({
url: PVersion_PATH + '/paymeny/version/' + req.id,
method: 'delete',
......@@ -79,40 +79,37 @@ export const getPVRecord = req =>
method: 'get',
...req,
});
export const checkVBeUsed = req =>
export const checkVBeUsed = req =>
fetch({
url: PAYMENT_PATH + '/check/beBind',
method: 'get',
...req,
});
//true存在
export const checkExist = req =>
//true存在
export const checkExist = req =>
fetch({
url: PVersion_PATH + '/check/exist/'+req.payType+'/'+req.versionName,
url: PVersion_PATH + '/check/exist/' + req.payType + '/' + req.versionName,
method: 'get',
// ...req,
});
export const checkPaymentExist = req =>
export const checkPaymentExist = req =>
fetch({
url: PAYMENT_PATH + '/check/payment/exist',
method: 'get',
...req,
});
export const getAllPayment = req =>
export const getAllPayment = req =>
fetch({
url: PAYMENT_PATH + '/all/opened/payment',
method: 'get',
...req,
});
export const getOpenedAbility = req =>
export const getOpenedAbility = req =>
fetch({
url: PAYMENT_PATH + '/opened/ability',
method: 'get',
...req,
});
import fetch from '../fetch';
const path = process.env.VUE_APP_BASE_SERVER_URL;
import { baseFetch as fetch } from '../fetch';
const prepaidModelPath = '/dcxy/api/prepaidModel';
export const query4Page = req =>
fetch({
url: path + prepaidModelPath + '/prepaidModel/list',
url: prepaidModelPath + '/prepaidModel/list',
method: 'POST',
...req,
});
......@@ -11,7 +10,7 @@ export const query4Page = req =>
/**新增 */
export const addEntity = req =>
fetch({
url: path + prepaidModelPath + '/prepaidModel',
url: prepaidModelPath + '/prepaidModel',
method: 'POST',
...req,
});
......@@ -19,7 +18,7 @@ export const addEntity = req =>
/**修改 */
export const updateEntity = req =>
fetch({
url: path + prepaidModelPath + '/prepaidModel',
url: prepaidModelPath + '/prepaidModel',
method: 'PUT',
...req,
});
......@@ -27,7 +26,7 @@ export const updateEntity = req =>
/**删除 */
export const deleteEntity = req =>
fetch({
url: path + prepaidModelPath + '/prepaidModel',
url: prepaidModelPath + '/prepaidModel',
method: 'DELETE',
...req,
});
......@@ -35,16 +34,15 @@ export const deleteEntity = req =>
/**详情 */
export const getEntityById = req =>
fetch({
url: path + prepaidModelPath + '/prepaidModel',
url: prepaidModelPath + '/prepaidModel',
method: 'GET',
...req,
});
/**详情 */
/**详情 */
export const queryServiceByAreaId = req =>
fetch({
url: path + '/dcxy/api/base/service/queryServiceByAreaId',
method: 'GET',
...req,
});
fetch({
url: '/dcxy/api/base/service/queryServiceByAreaId',
method: 'GET',
...req,
});
import fetch from './fetch';
import { smaproFetch as fetch } from './fetch';
export const getPageOrderMoney = req =>
fetch({
......@@ -19,4 +19,4 @@ export const getRefundInfo = req =>
url: '/smpro/prepay/order/for/refund',
method: 'POST',
...req,
});
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const downloadUrl = manageShell.default.utils.downloadFiles;
export const fetchEquList = req =>
......@@ -7,7 +7,7 @@ export const fetchEquList = req =>
method: 'post',
...req,
});
export const getbatchNumber = req =>
fetch({
url: '/dcxy/purchasingOrder/findBatchNumber',
......@@ -61,5 +61,5 @@ fetch({
headers: {
'Content-type': 'multipart/form-data',
},
});
\ No newline at end of file
});
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
export const fetchOrderList = req =>
fetch({
......
import fetch from '../fetch';
import { statisticsFetch as fetch } from '../fetch';
const path = process.env.VUE_APP_BASE_SERVER_URL;
//获取所有支付方式
export const fetchPaymentList = req =>
export const fetchPaymentList = req =>
fetch({
url: path + '/dcxy/api/payment/all/payments',
method: 'get',
...req,
});
\ No newline at end of file
});
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchRoleList = req =>
fetch({
......
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const SERVICE_PATH = '/dcxy/api/base/service';
const RECORD_PATH = '/dcxy/api/base/record';
......
const appoint = manageShell.default.createBaseFetch({
baseURL:
process.env.VUE_APP_SHOWER_SERVER_URL +
'/dcxy/showeAppointment',
timeout: 10000,
});
export default appoint;
import createBaseFetch from '../../lib/Api';
const appoint = createBaseFetch({
baseURL: process.env.VUE_APP_SHOWER_SERVER_URL + '/dcxy/showeAppointment',
timeout: 10000,
});
export default appoint;
const base = manageShell.default.createBaseFetch({
baseURL:
process.env.VUE_APP_BASE_SERVER_URL,
timeout: 10000,
});
export default base;
\ No newline at end of file
import { baseFetch as base } from '../fetch';
export default base;
const config = manageShell.default.createBaseFetch({
baseURL:
process.env.VUE_APP_SHOWER_SERVER_URL +
'/dcxy/shower',
timeout: 10000,
});
export default config;
import createBaseFetch from '../../lib/Api';
const config = createBaseFetch({
baseURL: process.env.VUE_APP_SHOWER_SERVER_URL + '/dcxy/shower',
timeout: 10000,
});
export default config;
const fetch = manageShell.default.createBaseFetch({
import createBaseFetch from '../../lib/Api';
const fetch = createBaseFetch({
baseURL:
process.env.VUE_APP_SHOWER_SERVER_URL +
'/dcxy/construction/shower/manager/manager',
......
const showerBase = manageShell.default.createBaseFetch({
baseURL:
process.env.VUE_APP_SHOWER_SERVER_URL,
timeout: 10000,
});
export default showerBase;
\ No newline at end of file
import createBaseFetch from '../../lib/Api';
const showerBase = createBaseFetch({
baseURL: process.env.VUE_APP_SHOWER_SERVER_URL,
timeout: 10000,
});
export default showerBase;
import fetch from '../fetch';
import { baseFetch as fetch } from '../fetch';
const SMS = '/dcxy/sms/platform';
export const listPlatform = req =>
fetch({
url: SMS + '/list',
method: 'GET',
...req,
});
fetch({
url: SMS + '/list',
method: 'GET',
...req,
});
export const addPlatform = req =>
fetch({
url: SMS + '/increase',
method: 'GET',
...req,
});
fetch({
url: SMS + '/increase',
method: 'GET',
...req,
});
export const updatePlatform = req =>
fetch({
url: SMS + '/edit',
method: 'GET',
...req,
});
fetch({
url: SMS + '/edit',
method: 'GET',
...req,
});
export const threeRecord = req =>
fetch({
url: SMS + '/record',
method: 'GET',
...req,
});
fetch({
url: SMS + '/record',
method: 'GET',
...req,
});
const statistics = manageShell.default.createBaseFetch({
baseURL: process.env.VUE_APP_STATISTICS_SERVER_URL,
timeout: 10000,
});
export default statistics;
\ No newline at end of file
import { statisticsFetch as statistics } from './fetch';
export default statistics;
import fetch from '../fetch';
import { systemFetch as fetch } from '../fetch';
export const fetchUserList = req =>
fetch({
......
import fetch from '@/api/fetch';
import { systemFetch as fetch } from '../fetch';
// 登录
export const login = req =>
......
import fetch from '@/api/fetch';
import { systemFetch as fetch } from '../fetch';
export const updateUserinfo = req =>
fetch({
......
const pagination = manageShell.default.storeModule.pagination;
import {
queryPage,
addEntity,
......@@ -7,9 +6,13 @@ import {
getDetail,
lockEntity,
} from '../../api/SmaproPrepayConfig.js';
const initFiltersStore = manageShell.default.storeModule.filter;
const getFilters = manageShell.default.utils.getFilters;
const formatDate = manageShell.default.utils.formatDate;
import storeModule from '../../lib/storeModule';
import utils from '../../lib/utils';
const pagination = storeModule.pagination;
const initFiltersStore = storeModule.filter;
const getFilters = utils.getFilters;
const formatDate = utils.formatDate;
const GET_ROLE_LIST = 'GET_ROLE_LIST';
const DETAIL_OPER_RECORD = 'DETAIL_OPER_RECORD'; //操作记录
......@@ -19,15 +22,11 @@ const initFilters = () => ({
operateId: null,
serviceId: null,
timeRange: [],
isOpen:null,
operator:'',
isOpen: null,
operator: '',
});
const filtersStore = initFiltersStore(initFilters);
const state = () => ({
list: [],
detailOperRecord: [],
......@@ -41,8 +40,8 @@ const getters = {
};
const actions = {
fetchLists({ state, commit, dispatch,getters }, entity) {
// let filters = getFilters(getters.filters);
fetchLists({ state, commit, dispatch, getters }, entity) {
// let filters = getFilters(getters.filters);
const { timeRange, ...filters } = getFilters(getters.filters);
if (timeRange) {
const [fromDate, toDate] = timeRange;
......
......@@ -24,7 +24,7 @@
size="big"
>
<date-range-picker
:value="storeFilters.timeRange"
:value="storeFilters.timeRange"
@input="val => updateFilters({ timeRange: val })"
clearable
/>
......@@ -32,7 +32,7 @@
<search-item label="是否开启">
<el-select
:value="storeFilters.isOpen"
:value="storeFilters.isOpen"
@input="val => updateFilters({ isOpen: val })"
clearable
>
......@@ -47,7 +47,7 @@
<search-item label="更新人">
<el-input
:value="storeFilters.operator"
:value="storeFilters.operator"
@input="val => updateFilters({ operator: val })"
clearable
/>
......@@ -117,10 +117,11 @@
</template>
<script>
const ListMixin = manageShell.default.mixinModule.ListPage;
const opMixin = manageShell.default.mixinModule.Input.OperatorOptions;
const serMixin = manageShell.default.mixinModule.Input.ServiceType;
const baseDataMixin = manageShell.default.mixinModule.Input.BaseData;
import mixinModule from '../../lib/mixins';
const ListMixin = mixinModule.ListPage;
const opMixin = mixinModule.Input.OperatorOptions;
const serMixin = mixinModule.Input.ServiceType;
const baseDataMixin = mixinModule.Input.BaseData;
import { mapGetters, mapActions } from 'vuex';
import Table from './components/Table';
import EditDialog from './components/EditDialog';
......@@ -242,8 +243,8 @@ export default {
entity.operateId =
this.userInfo.operateId != 3 ? this.userInfo.operateId : null;
}
if(this.storeFilters.operateId){
entity.operateId =this.storeFilters.operateId;
if (this.storeFilters.operateId) {
entity.operateId = this.storeFilters.operateId;
}
this.fetchLists(entity);
},
......
<template>
<normal-dialog :visible="visible" :before-close="resetAddDialog" @update:visible="updateVisibleHandle" class="addClass-smproPrepayConfig">
<normal-dialog
:visible="visible"
:before-close="resetAddDialog"
@update:visible="updateVisibleHandle"
class="addClass-smproPrepayConfig"
>
<template slot="title">
新增
</template>
......@@ -7,10 +12,17 @@
<div class="giveserviceClass">
<el-form label-width="180px">
<el-form-item label="运营商">
<operator-select v-model="selected.operateId" :disabled="opdisabled"/>
<operator-select
v-model="selected.operateId"
:disabled="opdisabled"
/>
</el-form-item>
<el-form-item label="服务">
<service-select v-model="selected.serviceId" :ServiceType="1" :isAll="1"/>
<service-select
v-model="selected.serviceId"
:ServiceType="1"
:isAll="1"
/>
</el-form-item>
</el-form>
</div>
......@@ -19,21 +31,48 @@
<div class="udpate-titile-class backage">预付金额</div>
<div class="udpate-titile-class backage">操作</div>
<div v-for="item in selected.listSpcdv" :key="item.id">
<div
v-for="item in selected.listSpcdv"
:key="item.id"
>
<div class="udpate-titile-class">
<el-input v-model="item.sortId" type="number" placeholder="请输入数字" max="1000" />
<el-input
v-model="item.sortId"
type="number"
placeholder="请输入数字"
max="1000"
/>
</div>
<div class="udpate-titile-class">
<el-input v-model="item.prepayMoney" type="number" placeholder="请输入数字" max="1000" />
<el-input
v-model="item.prepayMoney"
type="number"
placeholder="请输入数字"
max="1000"
/>
</div>
<el-button class="udpate-titile-class" v-if="item.type === 2" type="primary" @click="deleteEntity(item.id)">删除</el-button>
<el-button class="udpate-titile-class" v-else type="primary" @click="addEntity">+</el-button>
<el-button
class="udpate-titile-class"
v-if="item.type === 2"
type="primary"
@click="deleteEntity(item.id)"
>删除</el-button>
<el-button
class="udpate-titile-class"
v-else
type="primary"
@click="addEntity"
>+</el-button>
</div>
</div>
<div slot="footer">
<el-button type="primary" @click="submitUpdateHandle" :disabled="loading">确定</el-button>
<el-button
type="primary"
@click="submitUpdateHandle"
:disabled="loading"
>确定</el-button>
<el-button @click="closeDialog">取消</el-button>
</div>
......@@ -41,8 +80,9 @@
</template>
<script>
const dialogMixin = manageShell.default.mixinModule.Dialog;
const serviceMixin = manageShell.default.mixinModule.Input.ServiceType;
import mixinModule from '../../../lib/mixins';
const dialogMixin = mixinModule.Dialog;
const serviceMixin = mixinModule.Input.ServiceType;
//default.mixinModule.Input.ServiceType
export default {
......@@ -62,15 +102,15 @@ export default {
closeDialog: {
type: Function,
},
selected:Object,
opdisabled:Boolean,
selected: Object,
opdisabled: Boolean,
},
mixins: [dialogMixin, serviceMixin],
data() {
return {
services: [],
bugeidian:false,
bugeidian: false,
// this.fetchServiceTypeList,
};
},
......
......@@ -27,7 +27,7 @@
</form-area>
</div>
<div class="udpate-class">
<form-area label-width="180px" title="操作记录">
<div v-for="item in selected.opRecord" :key="item.id">
<div class="udpate-titile-class">
......@@ -49,7 +49,8 @@
</template>
<script>
const dialogMixin = manageShell.default.mixinModule.Dialog;
import mixinModule from '../../../lib/mixins'
const dialogMixin = mixinModule.Dialog;
export default {
props: {
......
<template>
<normal-dialog :visible="visible" :before-close="resetAddDialog" @update:visible="updateVisibleHandle" class="edit_smp">
<normal-dialog
:visible="visible"
:before-close="resetAddDialog"
@update:visible="updateVisibleHandle"
class="edit_smp"
>
<template slot="title">
编辑
</template>
......@@ -20,21 +25,48 @@
<div class="udpate-titile-class backage">预付金额</div>
<div class="udpate-titile-class backage">操作</div>
<div v-for="item in selected.listSpcdv" :key="item.id">
<div
v-for="item in selected.listSpcdv"
:key="item.id"
>
<div class="udpate-titile-class">
<el-input v-model="item.sortId" type="number" placeholder="请输入数字" max="1000" />
<el-input
v-model="item.sortId"
type="number"
placeholder="请输入数字"
max="1000"
/>
</div>
<div class="udpate-titile-class">
<el-input v-model="item.prepayMoney" type="number" placeholder="请输入数字" max="1000" />
<el-input
v-model="item.prepayMoney"
type="number"
placeholder="请输入数字"
max="1000"
/>
</div>
<el-button class="udpate-titile-class" v-if="item.type === 2" type="primary" @click="deleteEntity(item.id)">删除</el-button>
<el-button class="udpate-titile-class" v-else type="primary" @click="addEntity">+</el-button>
<el-button
class="udpate-titile-class"
v-if="item.type === 2"
type="primary"
@click="deleteEntity(item.id)"
>删除</el-button>
<el-button
class="udpate-titile-class"
v-else
type="primary"
@click="addEntity"
>+</el-button>
</div>
</div>
<div slot="footer">
<el-button type="primary" @click="submitUpdateHandle" :disabled="loading">确定</el-button>
<el-button
type="primary"
@click="submitUpdateHandle"
:disabled="loading"
>确定</el-button>
<el-button @click="closeDialog">取消</el-button>
</div>
......@@ -42,7 +74,8 @@
</template>
<script>
const dialogMixin = manageShell.default.mixinModule.Dialog;
import mixinModule from '../../../lib/mixins';
const dialogMixin = mixinModule.Dialog;
export default {
props: {
......
import CreatSystem from '../lib/main';
import { createSystem } from '../lib/main';
import asyncRouterMap from '../router/asyncRoutes';
window.manageShell = { default: CreatSystem };
window.allAasyncRouterMap = [...asyncRouterMap];
import utils from '../lib/utils';
let constantRouter = [
{
......@@ -15,7 +13,7 @@ let constantRouter = [
];
const routeFilter = (routes, allRoute) => {
if (allRoute && allRoute.length) {
let addRoute = manageShell.default.utils.route.formatRouteLink(allRoute);
let addRoute = utils.route.formatRouteLink(allRoute);
for (let index = 0; index < addRoute.length; index++) {
const element = addRoute[index];
if (element.children) {
......@@ -32,14 +30,15 @@ const routeFilter = (routes, allRoute) => {
routes,
};
};
const script = document.createElement('script');
script.text = `
manageShell.default.createSystem({
basePath: '${process.env.VUE_APP_BASE_URL}',
routers: allAasyncRouterMap,
constantRouter: ${JSON.stringify(constantRouter)},
whiteList: '/asd',
routeFilter: ${routeFilter.toString()},
})
`;
document.body.appendChild(script);
createSystem({
basePath: process.env.VUE_APP_BASE_URL,
routers: asyncRouterMap,
constantRouter: constantRouter,
whiteList: '/asd',
routeFilter: routeFilter,
});
// const script = document.createElement('script');
// script.text = `
// `;
// document.body.appendChild(script);
......@@ -25,52 +25,57 @@ class SystemShell {
this.utils = utilsModule;
this.createBaseFetch = createBaseFetch;
}
createSystem = ({
basePath = '/',
routers,
routeFilter,
constantRouter,
whiteList,
}) => {
const router = new VueRouter({
mode: 'history',
base: basePath,
scrollBehavior: () => ({ y: 0 }),
routes:
constantRouter && constantRouter instanceof Array
? [...constantRouterMap, ...constantRouter]
: constantRouterMap,
});
routeStore.install(store);
extendCom(Vue);
const allWhiteList =
whiteList && typeof whiteList === 'string'
? [
...process.env.VUE_APP_WHITE_LIST.split(','),
...whiteList.split(','),
]
: process.env.VUE_APP_WHITE_LIST.split(','); // 不重定向白名单
}
store.dispatch('getWhiteList', allWhiteList);
configRoutePermission(router, store, routers, allWhiteList);
Vue.config.productionTip = false;
export const createSystem = ({
basePath = '/',
routers,
routeFilter,
constantRouter,
whiteList,
}) => {
const router = new VueRouter({
mode: 'history',
base: basePath,
scrollBehavior: () => ({ y: 0 }),
routes:
constantRouter && constantRouter instanceof Array
? [...constantRouterMap, ...constantRouter]
: constantRouterMap,
});
routeStore.install(store);
extendCom(Vue);
const allWhiteList =
whiteList && typeof whiteList === 'string'
? [...process.env.VUE_APP_WHITE_LIST.split(','), ...whiteList.split(',')]
: process.env.VUE_APP_WHITE_LIST.split(','); // 不重定向白名单
let app = new Vue({
el: '#app',
router,
store,
render: h => {
let routes = [...constantRouterMap];
let allRoute = store.getters.asyncRoutes;
if (typeof routeFilter === 'function') {
const data = routeFilter(routes, allRoute);
routes = data.routes;
allRoute = data.allRoute;
}
return <App route={routes} allRoutes={allRoute} />;
},
});
return app;
};
}
export default new SystemShell();
store.dispatch('getWhiteList', allWhiteList);
configRoutePermission(router, store, routers, allWhiteList);
Vue.config.productionTip = false;
let app = new Vue({
el: '#app',
router,
store,
render: h => {
let routes = [...constantRouterMap];
let allRoute = store.getters.asyncRoutes;
if (typeof routeFilter === 'function') {
const data = routeFilter(routes, allRoute);
routes = data.routes;
allRoute = data.allRoute;
}
return <App route={routes} allRoutes={allRoute} />;
},
});
return app;
};
export default {
Api: fetch,
storeModule: storeModule,
mixinModule: mixinModule,
utils: utilsModule,
createBaseFetch: createBaseFetch,
};
import _import from './_import';
import HomeIcon from '@/assets/images/menu/home.png';
// import subSystemRoutes from './asyncRoutes/index';
import subSystemRoutes from './asyncRoutes/index';
export default [
{
......@@ -25,5 +25,5 @@ export default [
component: _import('Dashboard/Dashboard'),
hidden: true,
},
// ...subSystemRoutes,
...subSystemRoutes,
];
import operatorRoutes from './operator';
import rechargeRoutes from './recharge';
// import operatorRoutes from './operator';
// import rechargeRoutes from './recharge';
import SmaproPrepayConfigRoute from './SmaproPrepayConfig';
import SmaproRefundOrderStore from './SmaproRefundOrder';
import CustomerRoute from './customer';
import PrepayOrderRoute from './prepayOrder';
import OperateOrderRoute from './operateOrder';
import FlatformTollRoute from './flatformToll';
import appRoutes from './appRoutes';
import consumeReportRouter from './consumeReport';
import consumeOrderallRouter from './consumeOrderAll';
import showerRoute from './shower';
import deviceManageRoute from './deviceManage';
import hairDryerRoute from './hairDryer';
import dispenserRoute from './waterDispenser';
import equipmentParamsRoute from './equipmentParamsManagement';
import deviceParamsRoute from './deviceParamsConfig';
import equipmentManagementRoute from './device3';
import systemUserRoute from './systemUser';
import operLogRoute from './operLog';
import menuRoute from './menu';
import roleRoute from './role';
import adminFunction from './adminFunction';
import adminArea from './adminArea';
import interfaceRoute from './interface';
import reportRoute from './appReportLog';
import StateRoute from './state';
import CMBRoute from './cmb';
import AREARoute from './area';
import serviceRoute from './selfservice';
import OPERRoute from './operator';
import paymentRoute from './payment';
import operationManagementRoute from './operationManagement';
import areaRechargeRoute from './areaRecharge';
import controlRoute from './rechargeControl';
import purchasingRoute from './purchasingOrder';
import prepaidModelRoute from './prepaidModel';
import areaSmsRoute from './areaSms';
import accountRouter from './account';
import customerInfoList from './customerInfo';
import customerOrder from './order';
// import SmaproRefundOrderStore from './SmaproRefundOrder';
// import CustomerRoute from './customer';
// import PrepayOrderRoute from './prepayOrder';
// import OperateOrderRoute from './operateOrder';
// import FlatformTollRoute from './flatformToll';
// import appRoutes from './appRoutes';
// import consumeReportRouter from './consumeReport';
// import consumeOrderallRouter from './consumeOrderAll';
// import showerRoute from './shower';
// import deviceManageRoute from './deviceManage';
// import hairDryerRoute from './hairDryer';
// import dispenserRoute from './waterDispenser';
// import equipmentParamsRoute from './equipmentParamsManagement';
// import deviceParamsRoute from './deviceParamsConfig';
// import equipmentManagementRoute from './device3';
// import systemUserRoute from './systemUser';
// import operLogRoute from './operLog';
// import menuRoute from './menu';
// import roleRoute from './role';
// import adminFunction from './adminFunction';
// import adminArea from './adminArea';
// import interfaceRoute from './interface';
// import reportRoute from './appReportLog';
// import StateRoute from './state';
// import CMBRoute from './cmb';
// import AREARoute from './area';
// import serviceRoute from './selfservice';
// import OPERRoute from './operator';
// import paymentRoute from './payment';
// import operationManagementRoute from './operationManagement';
// import areaRechargeRoute from './areaRecharge';
// import controlRoute from './rechargeControl';
// import purchasingRoute from './purchasingOrder';
// import prepaidModelRoute from './prepaidModel';
// import areaSmsRoute from './areaSms';
// import accountRouter from './account';
// import customerInfoList from './customerInfo';
// import customerOrder from './order';
export default [
...operatorRoutes,
...rechargeRoutes,
// ...operatorRoutes,
// ...rechargeRoutes,
...SmaproPrepayConfigRoute,
...CustomerRoute,
...PrepayOrderRoute,
...OperateOrderRoute,
...FlatformTollRoute,
...SmaproRefundOrderStore,
...appRoutes,
...consumeReportRouter,
...consumeOrderallRouter,
...showerRoute,
...deviceManageRoute,
...hairDryerRoute,
...dispenserRoute,
...equipmentParamsRoute,
...deviceParamsRoute,
...equipmentManagementRoute,
...systemUserRoute,
...operLogRoute,
...menuRoute,
...roleRoute,
...adminFunction,
...adminArea,
...interfaceRoute,
...reportRoute,
...StateRoute,
...CMBRoute,
...AREARoute,
...serviceRoute,
...OPERRoute,
...paymentRoute,
...operationManagementRoute,
...areaRechargeRoute,
...controlRoute,
...purchasingRoute,
...prepaidModelRoute,
...areaSmsRoute,
...accountRouter,
...customerInfoList,
...customerOrder,
// ...CustomerRoute,
// ...PrepayOrderRoute,
// ...OperateOrderRoute,
// ...FlatformTollRoute,
// ...SmaproRefundOrderStore,
// ...appRoutes,
// ...consumeReportRouter,
// ...consumeOrderallRouter,
// ...showerRoute,
// ...deviceManageRoute,
// ...hairDryerRoute,
// ...dispenserRoute,
// ...equipmentParamsRoute,
// ...deviceParamsRoute,
// ...equipmentManagementRoute,
// ...systemUserRoute,
// ...operLogRoute,
// ...menuRoute,
// ...roleRoute,
// ...adminFunction,
// ...adminArea,
// ...interfaceRoute,
// ...reportRoute,
// ...StateRoute,
// ...CMBRoute,
// ...AREARoute,
// ...serviceRoute,
// ...OPERRoute,
// ...paymentRoute,
// ...operationManagementRoute,
// ...areaRechargeRoute,
// ...controlRoute,
// ...purchasingRoute,
// ...prepaidModelRoute,
// ...areaSmsRoute,
// ...accountRouter,
// ...customerInfoList,
// ...customerOrder,
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment