diff --git a/.env.development b/.env.development index 8af6fdc..2500aba 100644 --- a/.env.development +++ b/.env.development @@ -12,7 +12,7 @@ VUE_APP_UPLOAD_PRIVATE_URL = '/api/xkhl-dict/imageHandler/uploadProtectedImg' VUE_APP_DOMAIN = '192.168.0.199:38080' # 开发环境,不会进行加密,会打印出数据 -VUE_APP_ENV = 'development' +VUE_APP_ENV = 'production' #production diff --git a/src/api/AdjustTask/AdjustTask.js b/src/api/AdjustTask/AdjustTask.js index eca67af..0b56de4 100644 --- a/src/api/AdjustTask/AdjustTask.js +++ b/src/api/AdjustTask/AdjustTask.js @@ -1,6 +1,6 @@ import request from '@/utils/request' var service_name = 'xkhl-site' -var group_name = 'xoilDispatchSitePriceAdjustTask' +var group_name = 'saasDispatchSitePriceAdjustTask' export default { getByPage(page) { // 站点分页查询 return request({ diff --git a/src/api/user/oilVehicleOwner.js b/src/api/user/oilVehicleOwner.js index e033215..94eea96 100644 --- a/src/api/user/oilVehicleOwner.js +++ b/src/api/user/oilVehicleOwner.js @@ -30,6 +30,13 @@ export default { data: oilVehicleOwner }) }, + saveDispat(oilVehicleOwner) { // 新保存(调度管理) + return request({ + url: `/xkhl-user/saasCustomerPlatenum/save `, + method: 'post', + data: oilVehicleOwner + }) + }, saveSite(oilVehicleOwner) { // 保存 return request({ url: `/${service_name}/${group_name}/saveSite`, diff --git a/src/views/driver/vehicle/OilVehicleOwnerAdd.vue b/src/views/driver/vehicle/OilVehicleOwnerAdd.vue index b647fa8..71c8c63 100644 --- a/src/views/driver/vehicle/OilVehicleOwnerAdd.vue +++ b/src/views/driver/vehicle/OilVehicleOwnerAdd.vue @@ -197,9 +197,14 @@ export default { } }, save() { - // 保存 + // 保存 oilVehicleOwnerApi.saveDispatch(this.oilVehicleOwner).then((res) => { this.$message.success(res.msg); + this.$emit("closeDialog"); + this.$emit("getByPage"); + }); + // 新保存 + oilVehicleOwnerApi.saveDispat(this.oilVehicleOwner).then((res) => { this.$emit("closeDialog"); this.$emit("getByPage"); this.oilVehicleOwner = {}; diff --git a/src/views/driver/vehicle/OilVehicleOwnerList.vue b/src/views/driver/vehicle/OilVehicleOwnerList.vue index 36e96c7..d205157 100644 --- a/src/views/driver/vehicle/OilVehicleOwnerList.vue +++ b/src/views/driver/vehicle/OilVehicleOwnerList.vue @@ -194,7 +194,7 @@ direction="ltr" destroy-on-close > - + diff --git a/src/views/finance/oilCompanyMatch/OilCompanyMatchList.vue b/src/views/finance/oilCompanyMatch/OilCompanyMatchList.vue index 1cf393e..52f4b3b 100644 --- a/src/views/finance/oilCompanyMatch/OilCompanyMatchList.vue +++ b/src/views/finance/oilCompanyMatch/OilCompanyMatchList.vue @@ -575,7 +575,7 @@ export default { ], addDialog: false, // 添加弹窗 updateDialog: false, // 修改弹窗 - oilCompanyMatch: {}, + oilCompanyMatch: null, }; }, computed: { @@ -705,8 +705,8 @@ export default { this.getByPage(); }, toAdd() { - // 跳转到添加 this.oilCompanyMatch = {}; + // 跳转到添加 this.addDialog = true; }, toUpdate(id) { diff --git a/src/views/finance/order/OrderPersonalInfoList.vue b/src/views/finance/order/OrderPersonalInfoList.vue index 7dcc4ab..0fd398e 100644 --- a/src/views/finance/order/OrderPersonalInfoList.vue +++ b/src/views/finance/order/OrderPersonalInfoList.vue @@ -694,7 +694,7 @@ export default {
来源: - {cell} + { this.markData.ORDER_SOURCE[cell] }
支付: diff --git a/src/views/site/oilCompanySiteDiaodu/adjustStrategyPiliangAdd.vue b/src/views/site/oilCompanySiteDiaodu/adjustStrategyPiliangAdd.vue index a203edf..b023599 100644 --- a/src/views/site/oilCompanySiteDiaodu/adjustStrategyPiliangAdd.vue +++ b/src/views/site/oilCompanySiteDiaodu/adjustStrategyPiliangAdd.vue @@ -1,14 +1,6 @@