diff --git a/fuintAdmin/.env.development b/fuintAdmin/.env.development index a7b9f96de..eb8a642a0 100644 --- a/fuintAdmin/.env.development +++ b/fuintAdmin/.env.development @@ -11,6 +11,6 @@ VUE_APP_BASE_API = '/dev-api' VUE_APP_PUBLIC_PATH = '/' # 后端接口地址 -VUE_APP_SERVER_URL = 'http://192.168.0.178:8008/' +VUE_APP_SERVER_URL = 'http://192.168.0.138:8080/' # http://192.168.1.6:8008/ diff --git a/fuintAdmin/src/api/payConfig/merchantconfig.js b/fuintAdmin/src/api/payConfig/merchantconfig.js index 4c04e4cef..4583d4c85 100644 --- a/fuintAdmin/src/api/payConfig/merchantconfig.js +++ b/fuintAdmin/src/api/payConfig/merchantconfig.js @@ -8,6 +8,15 @@ export function listMerchant() { }) } +// 添加商户使用状态 +export function addMerchant(data) { + return request({ + url: '/api/merchantConfig', + method: 'post', + data: data, + }) +} + // 修改商户使用状态 export function editMerchant(data) { return request({ @@ -16,3 +25,20 @@ export function editMerchant(data) { data: data, }) } + +// 修改商户备注信息 +export function editMerchantRemark(data) { + return request({ + url: '/api/merchantConfig/edit', + method: 'post', + data: data, + }) +} + +// 根据id查询商户配置信息 +export function merchantInfo(id) { + return request({ + url: '/api/merchantConfig/'+id, + method: 'get', + }) +} diff --git a/fuintAdmin/src/api/staff/staff.js b/fuintAdmin/src/api/staff/staff.js index 0b1b01c11..6f6a7a112 100644 --- a/fuintAdmin/src/api/staff/staff.js +++ b/fuintAdmin/src/api/staff/staff.js @@ -59,3 +59,11 @@ export function delStaff(id) { method: 'delete' }) } + +// 生成员工码 +export function createStaffQrCode(id) { + return request({ + url: '/business/member/staff/qrCode/' + id, + method: 'get' + }) +} diff --git a/fuintAdmin/src/views/oilConfig/oilPrice/index.vue b/fuintAdmin/src/views/oilConfig/oilPrice/index.vue index a9fb7db6b..5105f7a4e 100644 --- a/fuintAdmin/src/views/oilConfig/oilPrice/index.vue +++ b/fuintAdmin/src/views/oilConfig/oilPrice/index.vue @@ -447,6 +447,7 @@ import { oilNumber:{ oilType: '汽油', oilName: '', + numberId: '', oilPrice: '', gbPrice: '', receivingUnits: '元', @@ -636,7 +637,7 @@ import { console.error(error); } - + }, // 选择油品类型之后触发 oilTypeClick(data) { @@ -646,12 +647,12 @@ import { // this.oilNumber.oilNameT = '' const selectedValue = this.oilNumber.oilType; + this.$forceUpdate(); // this.getOilTypeList(selectedValue) this.getOilName(selectedValue) }, oilTypeClick2() { - console.log("hellooooooooooooooooooo") this.oilNumber.oilName = '' this.oilNumber.oilNameT = '' }, @@ -699,6 +700,7 @@ import { // 修改 async updateOilNumberin(){ + console.log this.$refs["form"].validate(valid => { if (valid) { var this_ = this @@ -828,7 +830,7 @@ import { changeOilName() { this.oilNumber.oilName = this.oilNumber.oilNameT }, - + getSecondName(){ this.$forceUpdate(); } diff --git a/fuintAdmin/src/views/power/payment/index.vue b/fuintAdmin/src/views/power/payment/index.vue index 4cc542e7e..872e68971 100644 --- a/fuintAdmin/src/views/power/payment/index.vue +++ b/fuintAdmin/src/views/power/payment/index.vue @@ -20,6 +20,7 @@ +