sale-client 4.1.4 → 4.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +11 -12
- package/package.json +1 -1
- package/src/components/UserFiles/UserPriceChangeManage.vue +0 -2
- package/src/components/charge/business/CardChangeFill.vue +1 -1
- package/src/components/charge/business/CardMeterCenter.vue +1 -1
- package/src/components/charge/business/DigitalCharge.vue +1 -1
- package/src/components/charge/business/IOT/IotChangeFill.vue +1 -1
- package/src/components/charge/business/IOTMeterCenter.vue +1 -1
- package/src/components/charge/business/NoCardMeterCenter.vue +1 -1
- package/src/components/charge/business/OtherCharge.vue +1 -1
- package/src/components/charge/business/OtherChargeByPay.vue +1 -1
- package/src/components/charge/business/OtherChargeNew.vue +1 -1
- package/src/components/charge/business/PriceChangeCompensation/IotCompensation.vue +1 -1
- package/src/components/charge/business/PriceChangeCompensation/JbCompensation.vue +1 -1
- package/src/components/charge/business/ShowCardSellGas.vue +1 -1
- package/src/components/charge/business/depositCharge/DepositCharge.vue +1 -1
- package/src/components/charge/business/machine/MachineMeterCenter.vue +1 -1
- package/src/components/charge/gasloss/gasLossDetail.vue +1 -1
- package/src/components/charge/gasloss/gasLossOperate.vue +1 -1
- package/src/components/chargeBatch/BatchCharge.vue +1 -1
- package/src/components/common/userinfo_detail/UserInfoDetailManage.vue +0 -3
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +8 -10
- package/src/components/revenue/Common/PaymentCode.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/ReplaceCard/ReplaceCardManage.vue +1 -1
- package/src/components/webMeter/common/NewWatchMsg.vue +0 -1
- package/src/filiale/bayan/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/dongguan/components/common/userinfo_detail/UserInfoDetailManageNew.vue +11 -7
- package/src/filiale/fugou/UserInfoDetailManageNew.vue +8 -10
- package/src/filiale/gehua/userinfo_detail/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +8 -11
- package/src/filiale/jingyang/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/liuan/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/lixianV3/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/macheng/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/meihekou/common/userinfo_detail/UserInfoDetailManageNew.vue +11 -7
- package/src/filiale/ningjin/UserInfoDetailManageNew.vue +10 -10
- package/src/filiale/qianneng/revenue/common/UserInfoDetailManageNew.vue +11 -9
- package/src/filiale/qingjian/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/rizhao/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/ronghao/UserInfoDetailManageNew.vue +8 -10
- package/src/filiale/shexian/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/taizhoukesi/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/tongchuan/common/userinfo_detail/UserInfoDetailManageNew.vue +11 -9
- package/src/filiale/wuhai/UserInfoDetailManageNew.vue +8 -10
- package/src/filiale/xihu/UserInfoDetailManageNew.vue +8 -10
- package/src/filiale/yangchun/BlackList/BlackList.vue +3 -1
- package/src/filiale/yangchun/BlackList/BlackListList.vue +6 -2
- package/src/filiale/yangchun/CardChangeFill.vue +663 -0
- package/src/filiale/yangchun/ChangeSendCard.vue +23 -0
- package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +10 -4
- package/src/filiale/yangchun/FilesManage/HostMeterAdd.vue +219 -0
- package/src/filiale/yangchun/FilesManage/HostMeterList.vue +323 -0
- package/src/filiale/yangchun/FilesManage/HostMeterUserList.vue +271 -0
- package/src/filiale/yangchun/FilesManageNew/FileUserFiles.vue +753 -0
- package/src/filiale/yangchun/UserPriceChangeManage.vue +693 -0
- package/src/filiale/yangchun/sale.js +10 -0
- package/src/filiale/yuansheng/UserInfoDetailManageNew.vue +10 -9
- package/src/filiale/zhongyi/UserInfoDetailManageNew.vue +10 -9
- package/src/main.js +3 -3
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
|
|
5
|
-
const [ serverRul, localUrl ] = ['http://192.168.50.67:31467/', 'http://127.0.0.1:9026/']
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://192.168.50.67:31467/', 'http://localhost:9026/']
|
|
6
5
|
var merge = require('webpack-merge')
|
|
7
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
8
7
|
var devConfig = {
|
|
@@ -20,12 +19,12 @@ var devConfig = {
|
|
|
20
19
|
children: false // 不输出子模块构建信息
|
|
21
20
|
},
|
|
22
21
|
proxy: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
'/api/af-revenue/batchdeduction/all': {
|
|
23
|
+
pathRewrite: {
|
|
24
|
+
'/api/af-revenue/batchdeduction/all': '/batchdeduction/all'
|
|
25
|
+
},
|
|
26
|
+
target: localUrl
|
|
27
|
+
},
|
|
29
28
|
'/api/af-revenue/logic': {
|
|
30
29
|
pathRewrite: {
|
|
31
30
|
'/api/af-revenue/logic': '/logic'
|
|
@@ -33,12 +32,12 @@ var devConfig = {
|
|
|
33
32
|
target: localUrl
|
|
34
33
|
},
|
|
35
34
|
'/api/af-revenue/file': {
|
|
36
|
-
pathRewrite: {
|
|
37
|
-
|
|
38
|
-
},
|
|
35
|
+
// pathRewrite: {
|
|
36
|
+
// '/api/af-revenue/file': '/file'
|
|
37
|
+
// },
|
|
39
38
|
target: localUrl
|
|
40
39
|
},
|
|
41
|
-
'/weixin2/rs':
|
|
40
|
+
'/weixin2/rs':{
|
|
42
41
|
|
|
43
42
|
target: 'http://410663id1ia4.vicp.fun'
|
|
44
43
|
},
|
package/package.json
CHANGED
|
@@ -167,7 +167,6 @@
|
|
|
167
167
|
</div>
|
|
168
168
|
|
|
169
169
|
<div class="panel panel-primary datapanel">
|
|
170
|
-
<form class="form-horizontal select-overspread">
|
|
171
170
|
<div class="form-group">
|
|
172
171
|
<div class="row bg-info text-center text-center" style="height:35px">
|
|
173
172
|
<div style="float: left">
|
|
@@ -339,7 +338,6 @@
|
|
|
339
338
|
</div>
|
|
340
339
|
</div>
|
|
341
340
|
</div>
|
|
342
|
-
</form>
|
|
343
341
|
</div>
|
|
344
342
|
|
|
345
343
|
<upload :blodid="row.f_userinfo_id" v-if="config.showupload" isremark="true" fusetype="单户调价"></upload>
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
}
|
|
265
265
|
self.model.payments = self.paymentModel
|
|
266
266
|
// 加入扫码盒付款码支付流水号
|
|
267
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
267
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
268
268
|
let res = await self.$CardService.remanentinitCard(self.model, self.row, self.cardallot)
|
|
269
269
|
console.log('换表发卡数据返回', res.data.sellid, res.data.fillgasid, res, self.model)
|
|
270
270
|
if (self.config.showupload) {
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
|
|
349
349
|
self.model.payments = self.paymentModel
|
|
350
350
|
// 加入扫码盒付款码支付流水号
|
|
351
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
351
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
352
352
|
let res = await self.$CardService.sellgas(self.model, self.row)
|
|
353
353
|
let localeSustainMoney = window.localStorage.getItem('sustainMoney')
|
|
354
354
|
if (localeSustainMoney != null) {
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
self.model.f_write_money = self.model.f_write_money.toFixed(2)
|
|
209
209
|
}
|
|
210
210
|
// 加入扫码盒付款码支付流水号
|
|
211
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
211
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
212
212
|
|
|
213
213
|
let res = await self.$CardService.DigtialSellGas(self.model, self.row, self.cardallot)
|
|
214
214
|
console.log('卡表收费返回id', res, self.model)
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
// 加入扫码盒付款码支付流水号
|
|
253
|
-
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
253
|
+
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
254
254
|
let res = await self.$resetpost('api/af-revenue/logic/sale_iotRemanentGas', {data: param}, {
|
|
255
255
|
warnMsg: `确定对客户${self.row.f_user_name}进行物联网表缴费吗?`,
|
|
256
256
|
resolveMsg: '物联网收费成功!!',
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
param.f_print = self.model.f_print.toString()
|
|
318
318
|
param.f_serial_number = self.model.f_serial_number ? self.model.f_serial_number : ''
|
|
319
319
|
// 加入扫码盒付款码支付流水号
|
|
320
|
-
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
320
|
+
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
321
321
|
let res = await self.$resetpost('api/af-revenue/logic/sale_IOTCharge_logic', {data: param}, {
|
|
322
322
|
resolveMsg: '物联网收费成功!!',
|
|
323
323
|
rejectMsg: '物联网收费出错!!!'
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
self.model.f_write_money = self.model.f_write_money.toFixed(2)
|
|
232
232
|
}
|
|
233
233
|
// 加入扫码盒付款码支付流水号
|
|
234
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
234
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
235
235
|
|
|
236
236
|
let res = await self.$CardService.noCardSellGas(self.model, self.row, self.cardallot)
|
|
237
237
|
console.log('卡表收费返回id', res, self.model)
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
let otherChargeGen = async function (self) {
|
|
142
142
|
try {
|
|
143
143
|
// 加入扫码盒付款码支付流水号
|
|
144
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
144
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
145
145
|
let resid = await self.$LogicService.otherCharge(self.model, self.row)
|
|
146
146
|
console.log('其他收费返回id', resid)
|
|
147
147
|
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
let otherChargeGen = async function (self, parameter) {
|
|
159
159
|
try {
|
|
160
160
|
// 加入扫码盒付款码支付流水号
|
|
161
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
161
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
162
162
|
console.log('11111', self.model)
|
|
163
163
|
let resid = await self.$LogicService.otherChargeByPay(self.model, self.row)
|
|
164
164
|
console.log('其他收费返回id', resid, self.config.hasPrint, self.$login.r.includes('不打印发票'))
|
|
@@ -162,7 +162,7 @@ import {HttpResetClass} from 'vue-client'
|
|
|
162
162
|
let otherChargeGen = async function (self, parameter) {
|
|
163
163
|
try {
|
|
164
164
|
// 加入扫码盒付款码支付流水号
|
|
165
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
165
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
166
166
|
console.log('11111', self.model)
|
|
167
167
|
let resid = await self.$LogicService.otherCharge(self.model, self.row)
|
|
168
168
|
console.log('其他收费返回id', resid, self.config.hasPrint, self.$login.r.includes('不打印发票'))
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
param.f_payment = self.model.f_payment.toString()
|
|
106
106
|
param.f_print = self.model.f_print.toString()
|
|
107
107
|
// 加入扫码盒付款码支付流水号
|
|
108
|
-
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
108
|
+
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
109
109
|
let res = await self.$resetpost('api/af-revenue/logic/sale_compensationJB_logic', {data: param}, {
|
|
110
110
|
warnMsg: `确定对客户${self.row.f_user_name}进行调价补差吗?`,
|
|
111
111
|
resolveMsg: '调价补差成功!!',
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
param.f_payment = self.model.f_payment.toString()
|
|
125
125
|
param.f_print = self.model.f_print.toString()
|
|
126
126
|
// 加入扫码盒付款码支付流水号
|
|
127
|
-
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
127
|
+
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
128
128
|
let res = await self.$resetpost('api/af-revenue/logic/sale_compensationJB_logic', {data: param}, {
|
|
129
129
|
warnMsg: `确定对客户${self.row.f_user_name}进行调价补差吗?`,
|
|
130
130
|
resolveMsg: '调价补差成功!!',
|
|
@@ -361,7 +361,7 @@ let initCardGen = async function (self) {
|
|
|
361
361
|
|
|
362
362
|
self.model.payments = self.paymentModel
|
|
363
363
|
// 加入扫码盒付款码支付流水号
|
|
364
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
364
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
365
365
|
let res = await self.$CardService.initCard(self.model, self.row, self.cardallot)
|
|
366
366
|
let localeSustainMoney = window.localStorage.getItem('sustainMoney')
|
|
367
367
|
if (localeSustainMoney != null) {
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
let machineChargeGen = async function (self) {
|
|
172
172
|
try {
|
|
173
173
|
// 加入扫码盒付款码支付流水号
|
|
174
|
-
self.data.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
174
|
+
self.data.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
175
175
|
let res = await self.$MachineChargeService.depositCharge(self.data, self.row, self.floor)
|
|
176
176
|
console.log('res:+++====', res)
|
|
177
177
|
let param = []
|
|
@@ -202,7 +202,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
202
202
|
try {
|
|
203
203
|
if (!self.model) self.model = {}
|
|
204
204
|
// 加入扫码盒付款码支付流水号
|
|
205
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
205
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
206
206
|
console.log('查看传过来的数据=====================>', self)
|
|
207
207
|
let res = await self.$MachineChargeService.marchineCharge(self.data, self.model, self.row, self.floor)
|
|
208
208
|
let localeSustainMoney = window.localStorage.getItem('sustainMoney')
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
let gasLossGen = async function (self) {
|
|
83
83
|
try {
|
|
84
84
|
// 加入扫码盒付款码支付流水号
|
|
85
|
-
// self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
85
|
+
// self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
86
86
|
// let resid = await self.$LogicService.otherCharge(self.model, self.row)
|
|
87
87
|
let http = new HttpResetClass()
|
|
88
88
|
self.model.f_describe=`${Vue.$login.f.name}对${self.model.f_charge_person}进行气损收费`
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
let gasLossGen = async function (self) {
|
|
139
139
|
try {
|
|
140
140
|
// 加入扫码盒付款码支付流水号
|
|
141
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
141
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
142
142
|
self.model.f_bill_style = self.model.f_print
|
|
143
143
|
let http = new HttpResetClass()
|
|
144
144
|
self.model.f_describe = `${Vue.$login.f.name}对${self.model.f_charge_person}进行气损收费`
|
|
@@ -249,7 +249,7 @@ export default {
|
|
|
249
249
|
let param = {
|
|
250
250
|
uuid: uuid,
|
|
251
251
|
chargeUser: [],
|
|
252
|
-
f_serial_id: this.$refs.paymentcode.paymentCodeReturnData.
|
|
252
|
+
f_serial_id: this.$refs.paymentcode.paymentCodeReturnData.transactionId,
|
|
253
253
|
f_balance: this.data.f_balance,
|
|
254
254
|
f_curbalance: this.curbalance,
|
|
255
255
|
f_pregas: this.data.oughtamount_all,
|
|
@@ -118,9 +118,6 @@ export default {
|
|
|
118
118
|
},
|
|
119
119
|
async search () {
|
|
120
120
|
let http = new HttpResetClass()
|
|
121
|
-
|
|
122
|
-
let condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
123
|
-
|
|
124
121
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
125
122
|
{data: {f_userfiles_id: this.f_userfiles_id}}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
126
123
|
this.row = getBaseInfo.data
|
|
@@ -212,20 +212,18 @@ export default {
|
|
|
212
212
|
},
|
|
213
213
|
async search () {
|
|
214
214
|
let http = new HttpResetClass()
|
|
215
|
-
|
|
216
|
-
if (this.f_userfiles_id) {
|
|
217
|
-
condition = `f_userfiles_id = '${this.f_userfiles_id}'`
|
|
218
|
-
} else if (this.f_userinfo_id) {
|
|
219
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
220
|
-
} else if (this.f_userinfo_code) {
|
|
221
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
222
|
-
}else{
|
|
215
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
223
216
|
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
224
217
|
return
|
|
225
218
|
}
|
|
226
|
-
|
|
227
219
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
228
|
-
{
|
|
220
|
+
{
|
|
221
|
+
data: {
|
|
222
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
223
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
224
|
+
f_userinfo_code: this.f_userinfo_code
|
|
225
|
+
}
|
|
226
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
229
227
|
this.row = getBaseInfo.data
|
|
230
228
|
this.row.parentname = this.parentname || ''
|
|
231
229
|
},
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
// 付款成功更新收费记录订单号
|
|
145
145
|
async updateSellinggas () {
|
|
146
146
|
if (this.payment.toString().indexOf('&') !== -1) {
|
|
147
|
-
let sqldata = `update t_sellinggas set f_serial_id = '${this.paymentCodeReturnData.
|
|
147
|
+
let sqldata = `update t_sellinggas set f_serial_id = '${this.paymentCodeReturnData.transactionId}' where id = '${this.sellinggasId}'`
|
|
148
148
|
await this.$resetpost('api/af-revenue/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '更新收费记录订单号失败'})
|
|
149
149
|
}
|
|
150
150
|
},
|
|
@@ -180,7 +180,7 @@ let overChargeGen = async function (self) {
|
|
|
180
180
|
}]
|
|
181
181
|
|
|
182
182
|
// 加入扫码盒付款码支付流水号
|
|
183
|
-
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.
|
|
183
|
+
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
184
184
|
|
|
185
185
|
let res = await self.$ChangeMeterService.overCharge(self.model, self.row)
|
|
186
186
|
console.log('超用收费返回id', res)
|
package/src/components/revenue/comprehen/ComprehenOperation/ReplaceCard/ReplaceCardManage.vue
CHANGED
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
if (!ss.result) return
|
|
332
332
|
}
|
|
333
333
|
// 加入扫码盒付款码支付流水号
|
|
334
|
-
this.model.f_serial_id = this.$refs.paymentcode.paymentCodeReturnData.
|
|
334
|
+
this.model.f_serial_id = this.$refs.paymentcode.paymentCodeReturnData.transactionId
|
|
335
335
|
this.row.cardInfo = this.cardData
|
|
336
336
|
this.$CardService.replaceCard(this.model, this.row).then(async (res) => {
|
|
337
337
|
if (this.config.showupload) {
|
|
@@ -397,7 +397,6 @@
|
|
|
397
397
|
// 发送请求去数据
|
|
398
398
|
search () {
|
|
399
399
|
let http = new HttpResetClass()
|
|
400
|
-
console.log('iot_getUserBaseData=======')
|
|
401
400
|
http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
402
401
|
{data: {f_userfiles_id: this.watchmsg.f_userfiles_id}},
|
|
403
402
|
{resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
@@ -200,17 +200,18 @@ export default {
|
|
|
200
200
|
},
|
|
201
201
|
async search () {
|
|
202
202
|
let http = new HttpResetClass()
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
} else if (this.f_userinfo_id) {
|
|
207
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
208
|
-
} else if (this.f_userinfo_code) {
|
|
209
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
203
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
204
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
205
|
+
return
|
|
210
206
|
}
|
|
211
|
-
|
|
212
207
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
213
|
-
{
|
|
208
|
+
{
|
|
209
|
+
data: {
|
|
210
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
211
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
212
|
+
f_userinfo_code: this.f_userinfo_code
|
|
213
|
+
}
|
|
214
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
214
215
|
this.row = getBaseInfo.data
|
|
215
216
|
this.row.parentname = this.parentname || ''
|
|
216
217
|
},
|
|
@@ -157,16 +157,20 @@ export default {
|
|
|
157
157
|
},
|
|
158
158
|
async search () {
|
|
159
159
|
let http = new HttpResetClass()
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
} else if (this.f_userinfo_id) {
|
|
164
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
160
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
161
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
162
|
+
return
|
|
165
163
|
}
|
|
166
|
-
|
|
167
164
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
168
|
-
{
|
|
165
|
+
{
|
|
166
|
+
data: {
|
|
167
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
168
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
169
|
+
f_userinfo_code: this.f_userinfo_code
|
|
170
|
+
}
|
|
171
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
169
172
|
this.row = getBaseInfo.data
|
|
173
|
+
this.row.parentname = this.parentname || ''
|
|
170
174
|
},
|
|
171
175
|
|
|
172
176
|
cancel (val) {
|
|
@@ -194,20 +194,18 @@ export default {
|
|
|
194
194
|
},
|
|
195
195
|
async search () {
|
|
196
196
|
let http = new HttpResetClass()
|
|
197
|
-
|
|
198
|
-
if (this.f_userfiles_id) {
|
|
199
|
-
condition = `f_userfiles_id = '${this.f_userfiles_id}'`
|
|
200
|
-
} else if (this.f_userinfo_id) {
|
|
201
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
202
|
-
} else if (this.f_userinfo_code) {
|
|
203
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
204
|
-
}else{
|
|
197
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
205
198
|
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
206
199
|
return
|
|
207
200
|
}
|
|
208
|
-
|
|
209
201
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
210
|
-
{
|
|
202
|
+
{
|
|
203
|
+
data: {
|
|
204
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
205
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
206
|
+
f_userinfo_code: this.f_userinfo_code
|
|
207
|
+
}
|
|
208
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
211
209
|
this.row = getBaseInfo.data
|
|
212
210
|
this.row.parentname = this.parentname || ''
|
|
213
211
|
},
|
|
@@ -167,17 +167,18 @@ export default {
|
|
|
167
167
|
},
|
|
168
168
|
async search () {
|
|
169
169
|
let http = new HttpResetClass()
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
} else if (this.f_userinfo_id) {
|
|
174
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
175
|
-
} else if (this.f_userinfo_code) {
|
|
176
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
170
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
171
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
172
|
+
return
|
|
177
173
|
}
|
|
178
|
-
|
|
179
174
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
180
|
-
{
|
|
175
|
+
{
|
|
176
|
+
data: {
|
|
177
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
178
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
179
|
+
f_userinfo_code: this.f_userinfo_code
|
|
180
|
+
}
|
|
181
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
181
182
|
this.row = getBaseInfo.data
|
|
182
183
|
this.row.parentname = this.parentname || ''
|
|
183
184
|
},
|
|
@@ -212,24 +212,21 @@ export default {
|
|
|
212
212
|
},
|
|
213
213
|
async search () {
|
|
214
214
|
let http = new HttpResetClass()
|
|
215
|
-
|
|
216
|
-
if (this.f_userfiles_id) {
|
|
217
|
-
condition = `f_userfiles_id = '${this.f_userfiles_id}'`
|
|
218
|
-
} else if (this.f_userinfo_id) {
|
|
219
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
220
|
-
} else if (this.f_userinfo_code) {
|
|
221
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
222
|
-
}else{
|
|
215
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
223
216
|
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
224
217
|
return
|
|
225
218
|
}
|
|
226
|
-
|
|
227
219
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
228
|
-
{
|
|
220
|
+
{
|
|
221
|
+
data: {
|
|
222
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
223
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
224
|
+
f_userinfo_code: this.f_userinfo_code
|
|
225
|
+
}
|
|
226
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
229
227
|
this.row = getBaseInfo.data
|
|
230
228
|
this.row.parentname = this.parentname || ''
|
|
231
229
|
},
|
|
232
|
-
|
|
233
230
|
cancel (val) {
|
|
234
231
|
// 判断当前是否在 iframe 环境中
|
|
235
232
|
this.$emit('cancel-main', val)
|
|
@@ -197,17 +197,18 @@ export default {
|
|
|
197
197
|
},
|
|
198
198
|
async search () {
|
|
199
199
|
let http = new HttpResetClass()
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
} else if (this.f_userinfo_id) {
|
|
204
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
205
|
-
} else if (this.f_userinfo_code) {
|
|
206
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
200
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
201
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
202
|
+
return
|
|
207
203
|
}
|
|
208
|
-
|
|
209
204
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
210
|
-
{
|
|
205
|
+
{
|
|
206
|
+
data: {
|
|
207
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
208
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
209
|
+
f_userinfo_code: this.f_userinfo_code
|
|
210
|
+
}
|
|
211
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
211
212
|
this.row = getBaseInfo.data
|
|
212
213
|
this.row.parentname = this.parentname || ''
|
|
213
214
|
},
|
|
@@ -186,17 +186,18 @@ export default {
|
|
|
186
186
|
},
|
|
187
187
|
async search () {
|
|
188
188
|
let http = new HttpResetClass()
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
} else if (this.f_userinfo_id) {
|
|
193
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
194
|
-
} else if (this.f_userinfo_code) {
|
|
195
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
189
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
190
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
191
|
+
return
|
|
196
192
|
}
|
|
197
|
-
|
|
198
193
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
199
|
-
{
|
|
194
|
+
{
|
|
195
|
+
data: {
|
|
196
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
197
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
198
|
+
f_userinfo_code: this.f_userinfo_code
|
|
199
|
+
}
|
|
200
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
200
201
|
this.row = getBaseInfo.data
|
|
201
202
|
this.row.parentname = this.parentname || ''
|
|
202
203
|
},
|
|
@@ -169,17 +169,18 @@ export default {
|
|
|
169
169
|
},
|
|
170
170
|
async search () {
|
|
171
171
|
let http = new HttpResetClass()
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
} else if (this.f_userinfo_id) {
|
|
176
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
177
|
-
} else if (this.f_userinfo_code) {
|
|
178
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
172
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
173
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
174
|
+
return
|
|
179
175
|
}
|
|
180
|
-
|
|
181
176
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
182
|
-
{
|
|
177
|
+
{
|
|
178
|
+
data: {
|
|
179
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
180
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
181
|
+
f_userinfo_code: this.f_userinfo_code
|
|
182
|
+
}
|
|
183
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
183
184
|
this.row = getBaseInfo.data
|
|
184
185
|
this.row.parentname = this.parentname || ''
|
|
185
186
|
},
|
|
@@ -167,17 +167,18 @@ export default {
|
|
|
167
167
|
},
|
|
168
168
|
async search () {
|
|
169
169
|
let http = new HttpResetClass()
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
} else if (this.f_userinfo_id) {
|
|
174
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
175
|
-
} else if (this.f_userinfo_code) {
|
|
176
|
-
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
170
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
171
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
172
|
+
return
|
|
177
173
|
}
|
|
178
|
-
|
|
179
174
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
180
|
-
{
|
|
175
|
+
{
|
|
176
|
+
data: {
|
|
177
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
178
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
179
|
+
f_userinfo_code: this.f_userinfo_code
|
|
180
|
+
}
|
|
181
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
181
182
|
this.row = getBaseInfo.data
|
|
182
183
|
this.row.parentname = this.parentname || ''
|
|
183
184
|
},
|
|
@@ -142,16 +142,20 @@ export default {
|
|
|
142
142
|
},
|
|
143
143
|
async search () {
|
|
144
144
|
let http = new HttpResetClass()
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
} else if (this.f_userinfo_id) {
|
|
149
|
-
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
145
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
146
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
147
|
+
return
|
|
150
148
|
}
|
|
151
|
-
|
|
152
149
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
153
|
-
{
|
|
150
|
+
{
|
|
151
|
+
data: {
|
|
152
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
153
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
154
|
+
f_userinfo_code: this.f_userinfo_code
|
|
155
|
+
}
|
|
156
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
154
157
|
this.row = getBaseInfo.data
|
|
158
|
+
this.row.parentname = this.parentname || ''
|
|
155
159
|
},
|
|
156
160
|
|
|
157
161
|
cancel (val) {
|