sale-client 3.6.450 → 3.6.452
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/.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 +2 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/components/charge/business/IOTMeterCenter.vue +11 -0
- package/src/filiale/meihekou/CardHand.vue +3 -3
- package/src/filiale/meihekou/handOperate.vue +235 -212
- package/src/filiale/meihekou/sale.js +1 -0
- package/src/filiale/ningjin/UserInfoDetailManageNew.vue +233 -0
- package/src/filiale/ningjin/WatchCollection.vue +115 -0
- package/src/filiale/ningjin/sale.js +1 -0
- package/src/filiale/yangchun/BlackList/BlackListList.vue +16 -1
- package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +17 -1
- package/src/plugins/MachineChargeService.js +2 -0
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -760,11 +760,22 @@
|
|
|
760
760
|
},
|
|
761
761
|
calText (val) {
|
|
762
762
|
let str = ''
|
|
763
|
+
let num = 0
|
|
763
764
|
val.forEach((item) => {
|
|
765
|
+
if (item.f_gas > 0) {
|
|
766
|
+
num = num + 1
|
|
767
|
+
}
|
|
764
768
|
str = str + item.f_price + ' x ' + item.f_gas + '+'
|
|
765
769
|
})
|
|
766
770
|
str = str.slice(0, str.length - 1)
|
|
767
771
|
this.calculatedetail = str
|
|
772
|
+
if (num > 1) {
|
|
773
|
+
if (this.$login.r.find(item => item == '阶梯提示无按钮')) {
|
|
774
|
+
this.$showAlert('友好提示:本次购气已跨阶梯', 'warning', 3000)
|
|
775
|
+
} else {
|
|
776
|
+
this.$showMessage('友好提示:本次购气已跨阶梯', ['confirm', 'cancel'])
|
|
777
|
+
}
|
|
778
|
+
}
|
|
768
779
|
},
|
|
769
780
|
close () {
|
|
770
781
|
this.print = false
|
|
@@ -274,12 +274,12 @@
|
|
|
274
274
|
<td style="text-align: center;">
|
|
275
275
|
<div class="form-group" style="margin-bottom:0px;"
|
|
276
276
|
v-if="row.f_meter_state === '未抄表' ">
|
|
277
|
-
<input type="text" class="form-control" v-model="row.
|
|
277
|
+
<input type="text" class="form-control" v-model="row.f_shengyu_gas"
|
|
278
278
|
v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;" :disabled="row.state === '开始'"
|
|
279
279
|
>
|
|
280
280
|
</div>
|
|
281
281
|
<div v-else>
|
|
282
|
-
<span>{{row.
|
|
282
|
+
<span>{{row.f_shengyu_gas}}</span>
|
|
283
283
|
</div>
|
|
284
284
|
</td>
|
|
285
285
|
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
// || ((row.f_tablebase - 0) - (row.f_last_tablebase - 0)).toFixed(2) < 0
|
|
614
614
|
if (row.f_tablebase) {
|
|
615
615
|
row.f_actualtablebase = (row.f_tablebase - 0) - (row.f_last_tablebase - 0)
|
|
616
|
-
row.
|
|
616
|
+
row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
|
|
617
617
|
/* this.$resetpost('rs/logic/cardhands', row, {resolveMsg: null, rejectMsg: '录入数据出错!!!'}).then((res) => {
|
|
618
618
|
console.log('返回数据', res)
|
|
619
619
|
row.id = res.data.id
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
v-model="model.f_input_date"
|
|
39
39
|
:value.sync="model.f_input_date"
|
|
40
40
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
41
|
-
|
|
41
|
+
>
|
|
42
42
|
</datepicker>
|
|
43
43
|
</div>
|
|
44
44
|
<div class="col-sm-4 form-group">
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
</div>
|
|
59
59
|
</div>
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
<!--<div class="col-sm-4 form-group">
|
|
62
|
+
<label class="font_normal_body">用户编号</label>
|
|
63
|
+
<input type="text" v-model="model.f_userinfo_code" disabled=disabled style="width: 60%" class="input_search">
|
|
64
|
+
</div>-->
|
|
65
65
|
<div class="row">
|
|
66
66
|
<div class="col-sm-4 form-group">
|
|
67
67
|
<label class="font_normal_body">上期结余</label>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
</div>
|
|
89
89
|
<div class="col-sm-4 form-group">
|
|
90
90
|
<label class="font_normal_body" title="参数:是否">是否缴费</label>
|
|
91
|
-
<!-- <input type="text" v-model="model.f_whether_pay" style="width: 60%" class="input_search">-->
|
|
91
|
+
<!-- <input type="text" v-model="model.f_whether_pay" style="width: 60%" class="input_search">-->
|
|
92
92
|
<v-select :value.sync="model.f_whether_pay" v-model="model.f_whether_pay"
|
|
93
93
|
:options='writePays' placeholder='是否缴费'
|
|
94
94
|
:value-single="true"
|
|
@@ -117,18 +117,27 @@
|
|
|
117
117
|
<div class="col-sm-4 form-group">
|
|
118
118
|
<!--<label class="font_normal_body" title="参数:操作人员">操作人员</label>-->
|
|
119
119
|
<!--<v-select :value.sync="model.f_operatorid"-->
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
<!--v-model="model.f_operatorid"-->
|
|
121
|
+
<!--:value-single="true" @change="selectoperator()"-->
|
|
122
|
+
<!--:options='foperator'-->
|
|
123
|
+
<!--close-on-select></v-select>-->
|
|
124
124
|
<label class="font_normal_body" title="参数:录入人员">录入人员</label>
|
|
125
125
|
<v-select :value.sync="model.f_input_person"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
v-model="model.f_input_person"
|
|
127
|
+
:value-single="true"
|
|
128
|
+
:options='person'
|
|
129
|
+
close-on-select></v-select>
|
|
130
130
|
</div>
|
|
131
131
|
<div class="row">
|
|
132
|
+
<div class="col-sm-4 form-group">
|
|
133
|
+
<label class="font_normal_body" title="开票标识">开票标识</label>
|
|
134
|
+
<v-select :value.sync="model.f_isbill" v-model="model.f_isbill"
|
|
135
|
+
:options='isbills' placeholder='开票标识'
|
|
136
|
+
:value-single="true"
|
|
137
|
+
:search="false"
|
|
138
|
+
close-on-select>
|
|
139
|
+
</v-select>
|
|
140
|
+
</div>
|
|
132
141
|
<div class="col-sm-4 form-group">
|
|
133
142
|
<label class="font_normal_body">审核人</label>
|
|
134
143
|
<input type="text" v-model="model.f_audit_person" style="width: 60%" class="input_search">
|
|
@@ -167,7 +176,7 @@
|
|
|
167
176
|
</div>
|
|
168
177
|
<div class="row">
|
|
169
178
|
<div class="col-sm-12">
|
|
170
|
-
|
|
179
|
+
<label for="f_user_type" class="font_normal_body"> 备注 </label>
|
|
171
180
|
|
|
172
181
|
<div class="col-sm-10" id="f_comments" style="margin-left: 8px;margin-bottom: 5px;width: 86.333333%;">
|
|
173
182
|
<textarea class="col-sm-3 form-control" type="text" v-model="model.f_comments"></textarea>
|
|
@@ -197,234 +206,244 @@
|
|
|
197
206
|
</div>
|
|
198
207
|
</template>
|
|
199
208
|
<script>
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
import Vue from 'vue'
|
|
210
|
+
import {HttpResetClass} from 'vue-client'
|
|
211
|
+
import * as Util from "../../components/../Util";
|
|
212
|
+
var data
|
|
213
|
+
let readyGen = async function (self) {
|
|
214
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
215
|
+
await self.$GetSaleParam.initinputtor()
|
|
216
|
+
await self.initperson()
|
|
217
|
+
}
|
|
218
|
+
export default {
|
|
219
|
+
title: '基本信息',
|
|
211
220
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
221
|
+
data () {
|
|
222
|
+
return {
|
|
223
|
+
// 构建数组来存储对象
|
|
224
|
+
editbank: true,
|
|
225
|
+
showfiles: false,
|
|
226
|
+
priceSplit: false,
|
|
227
|
+
recordList: [],
|
|
228
|
+
// foperator:[],
|
|
229
|
+
person:[],
|
|
230
|
+
// meterstate:[{label:'已抄',value:'已抄'},{label:'未抄',value:'未抄'}],
|
|
231
|
+
// handstate:[{label:'有效',value:'有效'},{label:'冲正',value:'冲正'},{label:'作废',value:'作废'},{label:'待审核',value:'待审核'}],
|
|
232
|
+
fileNameSet: {
|
|
233
|
+
'f_meter_state': '抄表状态',
|
|
234
|
+
'f_hand_state': '抄表单状态',
|
|
235
|
+
'f_meter_source': '抄表数据来源',
|
|
236
|
+
'f_accounting_date': '财务核算日期',
|
|
237
|
+
'f_inputtor': '抄表员',
|
|
238
|
+
'f_end_date': '截止日期',
|
|
239
|
+
'f_input_date': '录入时间',
|
|
240
|
+
'f_hand_date': '下发时间',
|
|
241
|
+
'f_user_name': '客户姓名',
|
|
242
|
+
'f_userinfo_code': '客户编号',
|
|
243
|
+
'f_user_address': '客户地址',
|
|
244
|
+
'f_isbill': '开票标识',
|
|
245
|
+
'f_audit_person': '审核人',
|
|
246
|
+
'f_audit_date': '审核时间',
|
|
247
|
+
'f_orgname': '所属公司',
|
|
248
|
+
'f_depname': '所属部门',
|
|
249
|
+
'f_operator':'操作人',
|
|
250
|
+
'f_operatorid':'操作人ID'
|
|
242
251
|
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
props: {
|
|
255
|
+
oldmodel: Object,
|
|
256
|
+
model: Object
|
|
257
|
+
},
|
|
258
|
+
|
|
259
|
+
ready () {
|
|
260
|
+
/* console.log('logininfo',this.$login.r) */
|
|
261
|
+
if (this.$login.r.includes('维护银行转账信息')) {
|
|
262
|
+
this.editbank = true
|
|
263
|
+
}
|
|
264
|
+
// console.log(this.props.model)
|
|
265
|
+
this.oldmodel = JSON.parse(JSON.stringify(this.model))
|
|
266
|
+
readyGen(this)
|
|
267
|
+
},
|
|
268
|
+
created () {
|
|
269
|
+
},
|
|
270
|
+
methods: {
|
|
271
|
+
initperson () {
|
|
272
|
+
this.person = []
|
|
273
|
+
console.log("this.$login000", this.$login, this.oldmodel, this.model)
|
|
274
|
+
let arr = this.$GetSaleParam.inputtors.filter((res) => {
|
|
275
|
+
if (res.rolestr != null && res.rolestr != '') {
|
|
276
|
+
return res.f_department_id == this.model.f_depid
|
|
277
|
+
}
|
|
278
|
+
})
|
|
279
|
+
arr.forEach((res) => {
|
|
280
|
+
this.person.push({label: res.name, value: res.name})
|
|
281
|
+
})
|
|
243
282
|
},
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
283
|
+
// initoperator(){
|
|
284
|
+
// this.foperator=[]
|
|
285
|
+
// console.log("this.$login",this.$login,this.oldmodel,this.model)
|
|
286
|
+
// let arr = this.$GetSaleParam.inputtors.filter((res) => {
|
|
287
|
+
// if (res.rolestr != null && res.rolestr != '') {
|
|
288
|
+
// return res.rolestr.indexOf('营业员') > -1 && res.f_department_name == this.model.f_depname
|
|
289
|
+
// }
|
|
290
|
+
// })
|
|
291
|
+
// arr.forEach((res) => {
|
|
292
|
+
// this.foperator.push({label: res.name, value: res.id})
|
|
293
|
+
// })
|
|
294
|
+
// },
|
|
295
|
+
// selectoperator () {
|
|
296
|
+
// let id = this.model.f_operatorid
|
|
297
|
+
// if(!this.model.f_operatorid){
|
|
298
|
+
// return
|
|
299
|
+
// }
|
|
300
|
+
// let http = new HttpResetClass()
|
|
301
|
+
// http.load('POST', 'rs/sql/saleSingleTable',
|
|
302
|
+
// {data:{tablename: 't_user',
|
|
303
|
+
// condition: `id = '${id}'`}},
|
|
304
|
+
// {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
305
|
+
// console.log('kanak,res', res)
|
|
306
|
+
// if(res.data.length>0){
|
|
307
|
+
// this.model.f_input_person = res.data[0].name
|
|
308
|
+
// }else{
|
|
309
|
+
// this.model.f_input_person=''
|
|
310
|
+
// this.$showAlert('人员信息未找到','warning',2000)
|
|
311
|
+
// }
|
|
312
|
+
// console.log('this.f_input_person', this.model.f_input_person)
|
|
313
|
+
// })
|
|
314
|
+
// },
|
|
315
|
+
fileterprice (row) {
|
|
316
|
+
this.priceSplit = true
|
|
317
|
+
console.log('row==>', row)
|
|
247
318
|
},
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
/* console.log('logininfo',this.$login.r) */
|
|
251
|
-
if (this.$login.r.includes('维护银行转账信息')) {
|
|
252
|
-
this.editbank = true
|
|
253
|
-
}
|
|
254
|
-
// console.log(this.props.model)
|
|
255
|
-
this.oldmodel = JSON.parse(JSON.stringify(this.model))
|
|
256
|
-
readyGen(this)
|
|
319
|
+
cancel () {
|
|
320
|
+
this.$dispatch('close')
|
|
257
321
|
},
|
|
258
|
-
|
|
322
|
+
uploadFiles () {
|
|
323
|
+
this.showfiles = !this.showfiles
|
|
259
324
|
},
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
if (res.rolestr != null && res.rolestr != '') {
|
|
266
|
-
return res.f_department_id == this.model.f_depid
|
|
267
|
-
}
|
|
268
|
-
})
|
|
269
|
-
arr.forEach((res) => {
|
|
270
|
-
this.person.push({label: res.name,value: res.name})
|
|
271
|
-
})
|
|
272
|
-
if (this.model.f_meter_classify === '物联网表' && this.model.f_input_person === ''){
|
|
273
|
-
this.model.f_input_person = '微信公众号'
|
|
325
|
+
async getenddate () {
|
|
326
|
+
var end_date = await this.$resetpost('rs/logic/getEndDate', {
|
|
327
|
+
data: {
|
|
328
|
+
f_userinfo_id: this.model.f_userinfo_id,
|
|
329
|
+
f_input_date: this.model.f_input_date
|
|
274
330
|
}
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
// arr.forEach((res) => {
|
|
285
|
-
// this.foperator.push({label: res.name, value: res.id})
|
|
286
|
-
// })
|
|
287
|
-
// },
|
|
288
|
-
// selectoperator () {
|
|
289
|
-
// let id = this.model.f_operatorid
|
|
290
|
-
// if(!this.model.f_operatorid){
|
|
291
|
-
// return
|
|
292
|
-
// }
|
|
293
|
-
// let http = new HttpResetClass()
|
|
294
|
-
// http.load('POST', 'rs/sql/saleSingleTable',
|
|
295
|
-
// {data:{tablename: 't_user',
|
|
296
|
-
// condition: `id = '${id}'`}},
|
|
297
|
-
// {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
298
|
-
// console.log('kanak,res', res)
|
|
299
|
-
// if(res.data.length>0){
|
|
300
|
-
// this.model.f_input_person = res.data[0].name
|
|
301
|
-
// }else{
|
|
302
|
-
// this.model.f_input_person=''
|
|
303
|
-
// this.$showAlert('人员信息未找到','warning',2000)
|
|
304
|
-
// }
|
|
305
|
-
// console.log('this.f_input_person', this.model.f_input_person)
|
|
306
|
-
// })
|
|
307
|
-
// },
|
|
308
|
-
fileterprice (row) {
|
|
309
|
-
this.priceSplit = true
|
|
310
|
-
console.log('row==>', row)
|
|
311
|
-
},
|
|
312
|
-
cancel () {
|
|
313
|
-
this.$dispatch('close')
|
|
314
|
-
},
|
|
315
|
-
uploadFiles () {
|
|
316
|
-
this.showfiles = !this.showfiles
|
|
317
|
-
},
|
|
318
|
-
async getenddate () {
|
|
319
|
-
var end_date = await this.$resetpost('rs/logic/getEndDate', {data: {f_userinfo_id: this.model.f_userinfo_id, f_input_date: this.model.f_input_date}},{rejectMsg: null,resolveMsg: null})
|
|
320
|
-
this.model.f_end_date = end_date.data
|
|
321
|
-
},
|
|
322
|
-
addressValid (val) {
|
|
323
|
-
},
|
|
324
|
-
async save () {
|
|
325
|
-
for (var item in this.model) {
|
|
326
|
-
if (this.model[item] instanceof Array) {
|
|
327
|
-
this.model[item] = this.model[item].length > 0 ? this.model[item][0] : ''
|
|
328
|
-
}
|
|
329
|
-
if (this.model[item] != this.oldmodel[item] && this.model[item] !='s_timestamp') {
|
|
330
|
-
var car = {
|
|
331
|
-
chinesename: this.fileNameSet[item],
|
|
332
|
-
fieldname: item,
|
|
333
|
-
tablename: 't_handplan',
|
|
334
|
-
oldvalue: this.oldmodel[item],
|
|
335
|
-
newvalue: this.model[item],
|
|
336
|
-
state: '有效',
|
|
337
|
-
modifitime: Util.toStandardTimeString(),
|
|
338
|
-
operator: this.$login.f.name,
|
|
339
|
-
hand_id: this.model.id,
|
|
340
|
-
f_operator : this.$login.f.name,
|
|
341
|
-
f_operatorid : this.$login.f.id,
|
|
342
|
-
f_orgid : this.$login.f.orgid,
|
|
343
|
-
f_orgname : this.$login.f.orgs,
|
|
344
|
-
f_depid : this.$login.f.depids,
|
|
345
|
-
f_depname : this.$login.f.deps,
|
|
346
|
-
f_audit_person : this.model.f_audit_person,
|
|
347
|
-
f_audit_date : this.model.f_audit_date
|
|
348
|
-
}
|
|
349
|
-
this.recordList.push(car)
|
|
350
|
-
// 该方法并未对chinesename fieldname operator等进行判断赋值,此暂写为定值
|
|
351
|
-
console.log(car)
|
|
352
|
-
}
|
|
331
|
+
}, {rejectMsg: null, resolveMsg: null})
|
|
332
|
+
this.model.f_end_date = end_date.data
|
|
333
|
+
},
|
|
334
|
+
addressValid (val) {
|
|
335
|
+
},
|
|
336
|
+
async save () {
|
|
337
|
+
for (var item in this.model) {
|
|
338
|
+
if (this.model[item] instanceof Array) {
|
|
339
|
+
this.model[item] = this.model[item].length > 0 ? this.model[item][0] : ''
|
|
353
340
|
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
341
|
+
if (this.model[item] != this.oldmodel[item] && this.model[item] != 's_timestamp') {
|
|
342
|
+
var car = {
|
|
343
|
+
chinesename: this.fileNameSet[item],
|
|
344
|
+
fieldname: item,
|
|
345
|
+
tablename: 't_handplan',
|
|
346
|
+
oldvalue: this.oldmodel[item],
|
|
347
|
+
newvalue: this.model[item],
|
|
348
|
+
state: '有效',
|
|
349
|
+
modifitime: Util.toStandardTimeString(),
|
|
350
|
+
operator: this.$login.f.name,
|
|
351
|
+
hand_id: this.model.id,
|
|
352
|
+
f_operator: this.$login.f.name,
|
|
353
|
+
f_operatorid: this.$login.f.id,
|
|
354
|
+
f_orgid: this.$login.f.orgid,
|
|
355
|
+
f_orgname: this.$login.f.orgs,
|
|
356
|
+
f_depid: this.$login.f.depids,
|
|
357
|
+
f_depname: this.$login.f.deps,
|
|
358
|
+
f_audit_person: this.model.f_audit_person,
|
|
359
|
+
f_audit_date: this.model.f_audit_date
|
|
360
|
+
}
|
|
361
|
+
this.recordList.push(car)
|
|
362
|
+
// 该方法并未对chinesename fieldname operator等进行判断赋值,此暂写为定值
|
|
363
|
+
console.log(car)
|
|
367
364
|
}
|
|
368
|
-
console.log('this.model', this.model)
|
|
369
|
-
this.$dispatch('close')
|
|
370
365
|
}
|
|
366
|
+
|
|
367
|
+
await this.$resetpost('rs/logic/saveHandRecord', {data: {recordlist: this.recordList, newData: this.model}})
|
|
368
|
+
if (this.model.f_meter_classify.indexOf('卡表') >= 0) {
|
|
369
|
+
this.model.f_result_state = this.model.f_hand_state
|
|
370
|
+
this.model.f_hand_date = this.model.f_input_date
|
|
371
|
+
await this.$resetpost('rs/entity/t_cardhand', this.model, {
|
|
372
|
+
resolveMsg: '修改成功',
|
|
373
|
+
rejectMsg: '未通过,修改出错!!!'
|
|
374
|
+
})
|
|
375
|
+
} else {
|
|
376
|
+
await this.$resetpost('rs/entity/t_handplan', this.model, {
|
|
377
|
+
resolveMsg: '修改成功',
|
|
378
|
+
rejectMsg: '未通过,修改出错!!!'
|
|
379
|
+
})
|
|
380
|
+
}
|
|
381
|
+
console.log('this.model', this.model)
|
|
382
|
+
this.$dispatch('close')
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
computed: {
|
|
386
|
+
meterstate () {
|
|
387
|
+
return this.$appdata.getParam('抄表状态')
|
|
388
|
+
},
|
|
389
|
+
handstate () {
|
|
390
|
+
return this.$appdata.getParam('抄表单状态')
|
|
391
|
+
},
|
|
392
|
+
isbills () {
|
|
393
|
+
return this.$appdata.getParam('开票标识')
|
|
394
|
+
},
|
|
395
|
+
writePays () {
|
|
396
|
+
return this.$appdata.getParam('是否')
|
|
397
|
+
},
|
|
398
|
+
resultstate () {
|
|
399
|
+
return this.$appdata.getParam('抄表结果状态')
|
|
371
400
|
},
|
|
372
|
-
computed: {
|
|
373
|
-
meterstate () {
|
|
374
|
-
return this.$appdata.getParam('抄表状态')
|
|
375
|
-
},
|
|
376
|
-
handstate () {
|
|
377
|
-
return this.$appdata.getParam('抄表单状态')
|
|
378
|
-
},
|
|
379
|
-
writePays () {
|
|
380
|
-
return this.$appdata.getParam('是否')
|
|
381
|
-
},
|
|
382
|
-
resultstate () {
|
|
383
|
-
return this.$appdata.getParam('抄表结果状态')
|
|
384
|
-
},
|
|
385
401
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
rs.push(temp)
|
|
402
|
+
inputtores () {
|
|
403
|
+
// 获取抄表员
|
|
404
|
+
console.log('获取抄表员', this.$login.f)
|
|
405
|
+
let rs = new Array()
|
|
406
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
407
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
408
|
+
let temp = {
|
|
409
|
+
label: this.$login.f.f_gasman[i].name,
|
|
410
|
+
value: this.$login.f.f_gasman[i].name
|
|
397
411
|
}
|
|
412
|
+
rs.push(temp)
|
|
398
413
|
}
|
|
399
|
-
// let rs = this.$appdata.getParam('抄表员')
|
|
400
|
-
return rs
|
|
401
414
|
}
|
|
415
|
+
// let rs = this.$appdata.getParam('抄表员')
|
|
416
|
+
return rs
|
|
417
|
+
}
|
|
402
418
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
'model'(){
|
|
411
|
-
this.initperson()
|
|
419
|
+
},
|
|
420
|
+
watch: {
|
|
421
|
+
'model.f_input_date' (val) {
|
|
422
|
+
if (val) {
|
|
423
|
+
this.getenddate()
|
|
412
424
|
}
|
|
425
|
+
},
|
|
426
|
+
'model' () {
|
|
427
|
+
this.initperson()
|
|
413
428
|
}
|
|
414
429
|
}
|
|
430
|
+
}
|
|
415
431
|
</script>
|
|
416
432
|
<style lang="less" scoped>
|
|
417
|
-
#meterInfoTest{
|
|
433
|
+
#meterInfoTest {
|
|
418
434
|
#addboxmap {
|
|
419
435
|
height: 300px;
|
|
420
436
|
}
|
|
437
|
+
|
|
421
438
|
.glyphicon-map-marker:hover {
|
|
422
439
|
color: red;
|
|
423
440
|
}
|
|
441
|
+
|
|
424
442
|
.glyphicon-map-marker {
|
|
425
443
|
color: blue;
|
|
426
444
|
cursor: pointer;
|
|
427
445
|
}
|
|
446
|
+
|
|
428
447
|
.col-sm-4 {
|
|
429
448
|
.font_normal_body {
|
|
430
449
|
width: 73px;
|
|
@@ -434,19 +453,23 @@
|
|
|
434
453
|
&::-webkit-scrollbar-button {
|
|
435
454
|
display: none;
|
|
436
455
|
}
|
|
456
|
+
|
|
437
457
|
// 滚动条的宽度
|
|
438
458
|
&::-webkit-scrollbar {
|
|
439
459
|
width: 5px !important;
|
|
440
460
|
height: 5px !important;
|
|
441
461
|
}
|
|
462
|
+
|
|
442
463
|
// 滚动条的设置
|
|
443
464
|
&::-webkit-scrollbar-thumb {
|
|
444
465
|
background-color: #ddd;
|
|
445
466
|
background-clip: padding-box;
|
|
446
467
|
}
|
|
468
|
+
|
|
447
469
|
&::-webkit-scrollbar-thumb:hover {
|
|
448
470
|
background-color: #bbb;
|
|
449
471
|
}
|
|
472
|
+
|
|
450
473
|
&::-webkit-scrollbar-track {
|
|
451
474
|
/*滚动条里面轨道*/
|
|
452
475
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
@@ -4,6 +4,7 @@ import Vue from 'vue'
|
|
|
4
4
|
export default function () {
|
|
5
5
|
// 售气收费 --收费gas-move
|
|
6
6
|
Vue.component('charge-manage', (resolve) => { require(['./ChargeManage'], resolve) })
|
|
7
|
+
Vue.component('hand-operate', (resolve) => { require(['./handOperate'], resolve) })
|
|
7
8
|
Vue.component('charge-list', (resolve) => { require(['./ChargeList'], resolve)})
|
|
8
9
|
Vue.component('card-hand', (resolve) => { require(['./CardHand'], resolve) })
|
|
9
10
|
Vue.component('hand-manager', (resolve) => { require(['./HandManager'], resolve) })
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="binary flex" >
|
|
3
|
+
<div class="row binary-left flex" style="width:99%;height:98%;margin-bottom:0px">
|
|
4
|
+
<div class="auto">
|
|
5
|
+
<user-base-info-new :row="row" :buttonshow="buttonshow"
|
|
6
|
+
@refresh="search"
|
|
7
|
+
@cancel-main="cancel"
|
|
8
|
+
@cancel-re="cancelRe"
|
|
9
|
+
@search-main="search"></user-base-info-new></div>
|
|
10
|
+
<saletabbut v-if="row" v-ref:list style="height:72%;margin-top: 1%;overflow-y: scroll">
|
|
11
|
+
<saletab header="流水查询" v-if="permission('流水查询')">
|
|
12
|
+
<record-query-user :row="row"></record-query-user>
|
|
13
|
+
</saletab>
|
|
14
|
+
<saletab header="机表流水查询" v-if="permission('机表流水查询')&&row.f_meter_type.includes('机表')">
|
|
15
|
+
<machine-record-query :row="row" v-if="show == '机表流水查询'" @deal-msg="dealMsg"></machine-record-query>
|
|
16
|
+
</saletab>
|
|
17
|
+
<saletab header="收费查询" v-if="!newWebHand && permission('收费查询')">
|
|
18
|
+
<charge-query-user :row="row" v-if="show == '收费查询'" @deal-msg="dealMsg"></charge-query-user>
|
|
19
|
+
</saletab>
|
|
20
|
+
<saletab header="收费查询" v-if="newWebHand && permission('收费查询')">
|
|
21
|
+
<charge-query-user :row="row" v-if="show == '收费查询'" @deal-msg="dealMsg"></charge-query-user>
|
|
22
|
+
</saletab>
|
|
23
|
+
<saletab header="累购查询" v-if="permission('累购查询')">
|
|
24
|
+
<Repurchase :row="row" v-if="show == '累购查询'" @deal-msg="dealMsg"></Repurchase>
|
|
25
|
+
</saletab>
|
|
26
|
+
<saletab header="下账查询" v-if="!newWebHand && row.f_meter_type.includes('物联网表')&&permission('自动下账查询')">
|
|
27
|
+
<automatic-purse :row="row" @deal-msg="dealMsg"></automatic-purse>
|
|
28
|
+
</saletab>
|
|
29
|
+
<saletab header="下账查询" v-if="newWebHand && row.f_meter_type.includes('物联网表')&&permission('自动下账查询')">
|
|
30
|
+
<web-automatic-purse :row="row" @deal-msg="dealMsg"></web-automatic-purse>
|
|
31
|
+
</saletab>
|
|
32
|
+
<saletab header="抄表记录" v-if="row.f_meter_type.includes('卡表')&&permission('抄表记录')">
|
|
33
|
+
<card-hand-record :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></card-hand-record>
|
|
34
|
+
</saletab>
|
|
35
|
+
<saletab header="抄表记录" v-if="!newWebHand && !row.f_meter_type.includes('卡表')&&permission('抄表记录')">
|
|
36
|
+
<hand-query-user :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></hand-query-user>
|
|
37
|
+
</saletab>
|
|
38
|
+
<saletab header="抄表记录" v-if="newWebHand && !row.f_meter_type.includes('卡表')&&permission('抄表记录')">
|
|
39
|
+
<web-hand-query-user :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></web-hand-query-user>
|
|
40
|
+
</saletab>
|
|
41
|
+
<saletab header="补卡查询" v-if="row.f_meter_type.includes('卡表')&&permission('补卡查询')">
|
|
42
|
+
<fill-card-query-user :row="row" v-if="show == '补卡查询'" @deal-msg="dealMsg"></fill-card-query-user>
|
|
43
|
+
</saletab>
|
|
44
|
+
<saletab header="补气查询" v-if="permission('补气查询')">
|
|
45
|
+
<fill-gas-query-user :row="row" v-if="show == '补气查询'" @deal-msg="dealMsg"></fill-gas-query-user>
|
|
46
|
+
</saletab>
|
|
47
|
+
<saletab header="换表查询" v-if="permission('换表查询')">
|
|
48
|
+
<change-meter-query-user :row="row" v-if="show == '换表查询'" @deal-msg="dealMsg"></change-meter-query-user>
|
|
49
|
+
</saletab>
|
|
50
|
+
<saletab header="其他收费" v-if="permission('其他收费')">
|
|
51
|
+
<other-charge-query-user :row="row" v-if="show == '其他收费'" @deal-msg="dealMsg"></other-charge-query-user>
|
|
52
|
+
</saletab>
|
|
53
|
+
<saletab header="过户查询" v-if="permission('过户查询')">
|
|
54
|
+
<transfer-query-user :row="row" v-if="show == '过户查询'" @deal-msg="dealMsg"></transfer-query-user>
|
|
55
|
+
</saletab>
|
|
56
|
+
<saletab header="价格调整" v-if="permission('价格调整')">
|
|
57
|
+
<price-change-query-user :row="row" v-if="show == '价格调整'" @deal-msg="dealMsg"></price-change-query-user>
|
|
58
|
+
</saletab>
|
|
59
|
+
<saletab header="附件查看" v-if="permission('附件查看')">
|
|
60
|
+
<upload-file-history :row="row" v-if="show == '附件查看'" @deal-msg="dealMsg"></upload-file-history>
|
|
61
|
+
</saletab>
|
|
62
|
+
<saletab header="变更记录" v-if="permission('变更记录')">
|
|
63
|
+
<change-record :row="row" v-if="show == '变更记录'" @deal-msg="dealMsg"></change-record>
|
|
64
|
+
</saletab>
|
|
65
|
+
<saletab header="指令查看" v-if="row.f_meter_type.includes('物联网表')&&permission('指令查看')">
|
|
66
|
+
<query-instruct :row="row" v-if="show == '指令查看'" @deal-msg="dealMsg"></query-instruct>
|
|
67
|
+
</saletab>
|
|
68
|
+
<saletab header="历史指令查看" v-if="row.f_meter_type.includes('物联网表')&&permission('历史指令查看')">
|
|
69
|
+
<query-history-instruct :row="row" v-if="show == '历史指令查看'" @deal-msg="dealMsg"></query-history-instruct>
|
|
70
|
+
</saletab>
|
|
71
|
+
<saletab header="异常报警" v-if="row.f_meter_type.includes('物联网表')&&permission('异常报警')">
|
|
72
|
+
<watch-warning :row="row" v-if="show == '异常报警'" @deal-msg="dealMsg"></watch-warning>
|
|
73
|
+
</saletab>
|
|
74
|
+
<saletab header="表具采集" v-if="row.f_meter_type.includes('物联网表')&&permission('表具采集')">
|
|
75
|
+
<watch-collection :row="row" v-if="show == '表具采集'" @deal-msg="dealMsg"></watch-collection>
|
|
76
|
+
</saletab>
|
|
77
|
+
<saletab header="调价补差" v-if="permission('调价补差')">
|
|
78
|
+
<price-adjustment-query-user :row="row" v-if="show == '调价补差'" @deal-msg="dealMsg"></price-adjustment-query-user>
|
|
79
|
+
</saletab>
|
|
80
|
+
<saletab header="设备查询" v-if="permission('设备查询')">
|
|
81
|
+
<deveice-record :row="row" v-if="show == '设备查询'" @deal-msg="dealMsg"></deveice-record>
|
|
82
|
+
</saletab>
|
|
83
|
+
<saletab header="流量计参数查看" v-if="permission('流量计参数查看')">
|
|
84
|
+
<meter-param :row="row" v-if="show == '流量计参数查看'" @deal-msg="dealMsg"></meter-param>
|
|
85
|
+
</saletab>
|
|
86
|
+
<saletab header="表使用量图表" v-if="permission('流量计参数查看')">
|
|
87
|
+
<table-usage-chart :row="row" v-if="show == '表使用量图表'" @deal-msg="dealMsg"></table-usage-chart>
|
|
88
|
+
</saletab>
|
|
89
|
+
<saletab header="用户设备查询" v-if="permission('用户设备查看')">
|
|
90
|
+
<user-device-query :row="row" v-if="show == '用户设备查询'" @deal-msg="dealMsg"></user-device-query>
|
|
91
|
+
</saletab>
|
|
92
|
+
<saletab header="合同查看" v-if="permission('合同查看')">
|
|
93
|
+
<contract-signing-list :row="row" v-if="show == '合同查看'" @deal-msg="dealMsg"></contract-signing-list>
|
|
94
|
+
</saletab>
|
|
95
|
+
<saletab header="用户重点记录" >
|
|
96
|
+
<user-key-record :row="row" @deal-msg="dealMsg"></user-key-record>
|
|
97
|
+
</saletab>
|
|
98
|
+
<!-- <saletab header="报装流转记录" v-if="permission('报装流转记录查看')">-->
|
|
99
|
+
<!-- <supervisory-control :row="row" ></supervisory-control>-->
|
|
100
|
+
<!-- </saletab>-->
|
|
101
|
+
<!-- <saletab header="报装收费记录" v-if="permission('报装收费记录查看')">-->
|
|
102
|
+
<!-- <apply-charge-search :row="row" ></apply-charge-search>-->
|
|
103
|
+
<!-- </saletab>-->
|
|
104
|
+
</saletabbut>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</template>
|
|
108
|
+
|
|
109
|
+
<script>
|
|
110
|
+
import {HttpResetClass} from 'vue-client'
|
|
111
|
+
// 导入IC卡相关查询界面
|
|
112
|
+
import ChangeMeterQueryUser from '../../components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser'
|
|
113
|
+
import ChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/ChargeQueryUser'
|
|
114
|
+
import ChargeRecordQueryUser from '../../components/common/userinfo_detail/ic_detail/ChargeRecordQuery'
|
|
115
|
+
import FillCardQueryUser from '../../components/common/userinfo_detail/ic_detail/FillCardQueryUser'
|
|
116
|
+
import HandQueryUser from '../../components/common/userinfo_detail/ic_detail/HandQueryUser'
|
|
117
|
+
import OtherChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/OtherChargeQueryUser'
|
|
118
|
+
import RecordQueryUser from '../../components/common/userinfo_detail/ic_detail/RecordQueryUser'
|
|
119
|
+
import TransferQueryUser from '../../components/common/userinfo_detail/ic_detail/TransferQueryUser'
|
|
120
|
+
import CardHandRecord from '../../components/common/userinfo_detail/ic_detail/CardHandRecord'
|
|
121
|
+
import AutomaticPurse from '../../components/common/userinfo_detail/ic_detail/AutomaticPurse'
|
|
122
|
+
import Repurchase from '../../components/common/userinfo_detail/ic_detail/Repurchase'
|
|
123
|
+
import MachineRecordQuery from '../../components/common/userinfo_detail/ic_detail/MachineRecordQuery'
|
|
124
|
+
import WebAutomaticPurse from '../../components/common/userinfo_detail/ic_detail/WebAutomaticPurse'
|
|
125
|
+
import WebChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/WebChargeQueryUser'
|
|
126
|
+
import WebHandQueryUser from '../../components/common/userinfo_detail/ic_detail/WebHandQueryUser'
|
|
127
|
+
import UserDeviceQuery from '../../components/common/userinfo_detail/ic_detail/UserDeviceQuery'
|
|
128
|
+
import contractSigningList from '../../components/common/userinfo_detail/ic_detail/contractSigningList'
|
|
129
|
+
import UserKeyRecord from '../../components/common/userinfo_detail/ic_detail/UserKeyRecord'
|
|
130
|
+
// import SupervisoryControl from './apply_detail/Supervisory/SupervisoryControl'
|
|
131
|
+
// import ApplyChargeSearch from './apply_detail/applyCharge/ApplyChargeSearch'
|
|
132
|
+
// 导入物联网相关查询
|
|
133
|
+
import QueryInstruct from '../../components/common/userinfo_detail/iot_detail/QueryInstruct'
|
|
134
|
+
import QueryHistoryInstruct from '../../components/common/userinfo_detail/iot_detail/QueryHistoryInstruct'
|
|
135
|
+
import WatchCollection from './WatchCollection'
|
|
136
|
+
import WatchWarning from '../../components/common/userinfo_detail/iot_detail/WatchWarning'
|
|
137
|
+
import PriceChangeQueryUser from '../../components/common/userinfo_detail/ic_detail/PriceChangeQueryUser'
|
|
138
|
+
import ChangeRecord from '../../components/common/userinfo_detail/ic_detail/ChangeRecord'
|
|
139
|
+
import PriceAdjustmentQueryUser from '../../components/common/userinfo_detail/ic_detail/PriceAdjustmentQueryUser'
|
|
140
|
+
import MeterParam from '../../components/common/userinfo_detail/ic_detail/MeterParam'
|
|
141
|
+
import DeveiceRecord from '../../components/common/userinfo_detail/ic_detail/DeveiceRecord'
|
|
142
|
+
|
|
143
|
+
export default {
|
|
144
|
+
title: '用户详细信息',
|
|
145
|
+
props: ['f_userfiles_id', 'f_userinfo_id', 'f_userinfo_code', 'parentname', 'buttonshow'],
|
|
146
|
+
components: {
|
|
147
|
+
PriceAdjustmentQueryUser,
|
|
148
|
+
PriceChangeQueryUser,
|
|
149
|
+
AutomaticPurse,
|
|
150
|
+
WebAutomaticPurse,
|
|
151
|
+
WebChargeQueryUser,
|
|
152
|
+
WebHandQueryUser,
|
|
153
|
+
Repurchase,
|
|
154
|
+
ChangeMeterQueryUser,
|
|
155
|
+
ChargeQueryUser,
|
|
156
|
+
ChargeRecordQueryUser,
|
|
157
|
+
FillCardQueryUser,
|
|
158
|
+
HandQueryUser,
|
|
159
|
+
OtherChargeQueryUser,
|
|
160
|
+
RecordQueryUser,
|
|
161
|
+
TransferQueryUser,
|
|
162
|
+
WatchWarning,
|
|
163
|
+
WatchCollection,
|
|
164
|
+
QueryInstruct,
|
|
165
|
+
QueryHistoryInstruct,
|
|
166
|
+
ChangeRecord,
|
|
167
|
+
CardHandRecord,
|
|
168
|
+
MeterParam,
|
|
169
|
+
DeveiceRecord,
|
|
170
|
+
MachineRecordQuery,
|
|
171
|
+
UserDeviceQuery,
|
|
172
|
+
contractSigningList,
|
|
173
|
+
UserKeyRecord
|
|
174
|
+
// SupervisoryControl,
|
|
175
|
+
// ApplyChargeSearch
|
|
176
|
+
},
|
|
177
|
+
data () {
|
|
178
|
+
return {
|
|
179
|
+
row: null,
|
|
180
|
+
name: '自动下账查询',
|
|
181
|
+
newWebHand: this.$appdata.getSingleValue('新抄表'),
|
|
182
|
+
show: ''
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
ready () {
|
|
186
|
+
this.search()
|
|
187
|
+
console.log(this.$login)
|
|
188
|
+
},
|
|
189
|
+
methods: {
|
|
190
|
+
permission (name) {
|
|
191
|
+
if (this.$login.r.find(value => value == '收费综合查询')) {
|
|
192
|
+
if (!this.$login.r.find(value => value == name)) {
|
|
193
|
+
return false
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
return true
|
|
197
|
+
},
|
|
198
|
+
async search () {
|
|
199
|
+
let http = new HttpResetClass()
|
|
200
|
+
let condition = ' 1 = 1'
|
|
201
|
+
if (this.f_userfiles_id) {
|
|
202
|
+
condition = `f_userfiles_id = '${this.f_userfiles_id}'`
|
|
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}'`
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
let getBaseInfo = await http.load('POST', 'rs/sql/iot_getUserBaseData',
|
|
210
|
+
{data: {condition: condition}}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
211
|
+
this.row = getBaseInfo.data[0]
|
|
212
|
+
this.row.parentname = this.parentname || ''
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
cancel (val) {
|
|
216
|
+
this.$emit('cancel-main', val)
|
|
217
|
+
},
|
|
218
|
+
|
|
219
|
+
cancelRe (val) {
|
|
220
|
+
this.$emit('cancel-re', val)
|
|
221
|
+
},
|
|
222
|
+
|
|
223
|
+
butOper (val) {
|
|
224
|
+
this.name = val
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
watch: {
|
|
228
|
+
'f_userinfo_id' () {
|
|
229
|
+
this.search()
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
</script>
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
<template >
|
|
2
|
+
<div id="stand-work-list" >
|
|
3
|
+
<div @keyup.enter="search" class="span">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
|
|
9
|
+
<div class="col-sm-2 form-group ">
|
|
10
|
+
<label class="font_normal_body">上报时间</label>
|
|
11
|
+
<datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
|
|
12
|
+
class="datepicker"
|
|
13
|
+
condition="m.f_hand_date >= '{}'"
|
|
14
|
+
placeholder="大于等于"
|
|
15
|
+
style="width: 60%"
|
|
16
|
+
v-model="model.f_start_date"
|
|
17
|
+
></datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group " >
|
|
20
|
+
<label class="font_normal_body"> 至</label>
|
|
21
|
+
<datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
|
|
22
|
+
class="datepicker"
|
|
23
|
+
condition="m.f_hand_date <= '{}'"
|
|
24
|
+
placeholder="小于等于"
|
|
25
|
+
style="width: 60%"
|
|
26
|
+
v-model="model.f_end_date"
|
|
27
|
+
></datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div style="float: right">
|
|
30
|
+
<button @click="search()" class="button_search" v-el:cba>查询</button>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
</criteria>
|
|
36
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
37
|
+
<template partial='head'>
|
|
38
|
+
<tr>
|
|
39
|
+
<th><nobr>上报日期</nobr></th>
|
|
40
|
+
<th><nobr>表上余额</nobr></th>
|
|
41
|
+
<th><nobr>本次抄表底数</nobr></th>
|
|
42
|
+
<th><nobr>阀门状态</nobr></th>
|
|
43
|
+
<th><nobr>上报类型</nobr></th>
|
|
44
|
+
<th><nobr>系统接收时间</nobr></th>
|
|
45
|
+
<th><nobr>表内累计充值金额</nobr></th>
|
|
46
|
+
<th><nobr>噪音强度</nobr></th>
|
|
47
|
+
<th><nobr>信噪比</nobr></th>
|
|
48
|
+
<th><nobr>电压</nobr></th>
|
|
49
|
+
<th><nobr>电压状态</nobr></th>
|
|
50
|
+
<th><nobr>阀门强制状态</nobr></th>
|
|
51
|
+
<th><nobr>计量类型</nobr></th>
|
|
52
|
+
<th><nobr>金额状态</nobr></th>
|
|
53
|
+
|
|
54
|
+
<th><nobr>磁干扰异常</nobr></th>
|
|
55
|
+
<th><nobr>补偿状态</nobr></th>
|
|
56
|
+
</tr>
|
|
57
|
+
</template>
|
|
58
|
+
<template partial='body' partial='list'>
|
|
59
|
+
<tr >
|
|
60
|
+
<td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
61
|
+
<th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
|
|
62
|
+
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
63
|
+
<th style="text-align:center"><nobr>{{row.f_valvestate == 0 ? '开阀' : row.f_valvestate === '1' ? '关阀' : '未上报'}}</nobr>
|
|
64
|
+
<th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
|
|
65
|
+
<th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
|
|
66
|
+
<th style="text-align:center"><nobr>{{row.f_meterdebitamt}}</nobr></th>
|
|
67
|
+
<th style="text-align:center"><nobr>{{row.f_signal}}</nobr></th>
|
|
68
|
+
<th style="text-align:center"><nobr>{{row.f_snr}}</nobr></th>
|
|
69
|
+
<th style="text-align:center"><nobr>{{row.f_batterylevel}}</nobr></th>
|
|
70
|
+
<th style="text-align:center"><nobr>{{row.f_lowlithiumbattery ? ((row.f_lowlithiumbattery - 0) == 0 ? '正常' : '异常') : '未知'}}</nobr></th>
|
|
71
|
+
<th style="text-align:center"><nobr>{{row.f_networkshutvalve}}</nobr></th>
|
|
72
|
+
<th style="text-align:center"><nobr>{{row.f_wmprepaytype}}</nobr></th>
|
|
73
|
+
<th style="text-align:center"><nobr>{{row.f_moneystate}}</nobr></th>
|
|
74
|
+
<th style="text-align:center"><nobr>{{row.f_magneticInterference}}</nobr></th>
|
|
75
|
+
<th style="text-align:center"><nobr>{{row.f_compensateState}}</nobr></th>
|
|
76
|
+
</tr>
|
|
77
|
+
</template>
|
|
78
|
+
<template partial='foot'></template>
|
|
79
|
+
</data-grid>
|
|
80
|
+
</criteria-paged>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</template>
|
|
84
|
+
|
|
85
|
+
<script>
|
|
86
|
+
import {PagedList} from 'vue-client'
|
|
87
|
+
|
|
88
|
+
export default {
|
|
89
|
+
title: 'WatchCollection',
|
|
90
|
+
data () {
|
|
91
|
+
return {
|
|
92
|
+
model: new PagedList('rs/sql/iot_getNewLoseUserQuery', 50)
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
props: ['row'],
|
|
96
|
+
ready () {
|
|
97
|
+
this.$refs.paged.$refs.criteria.search()
|
|
98
|
+
},
|
|
99
|
+
methods: {
|
|
100
|
+
search (args) {
|
|
101
|
+
args.condition = `${args.condition} and f_userfiles_id='${this.row.f_userfiles_id}'`
|
|
102
|
+
this.model.search(args.condition, args.model)
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
watch: {
|
|
106
|
+
// 监听查询对象
|
|
107
|
+
'row' (val) {
|
|
108
|
+
if (this.row != null) {
|
|
109
|
+
this.$refs.paged.$refs.criteria.search()
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
</script>
|
|
115
|
+
|
|
@@ -37,4 +37,5 @@ export default function () {
|
|
|
37
37
|
Vue.component('card-hand', (resolve) => { require(['./CardHand'], resolve) })
|
|
38
38
|
// 基本信息 表具信息
|
|
39
39
|
Vue.component('user-base-info-new', (resolve) => { require(['./UserBaseInfoNew'], resolve) })
|
|
40
|
+
Vue.component('user-info-detail-manage-new', (resolve) => { require(['./UserInfoDetailManageNew'], resolve) })
|
|
40
41
|
}
|
|
@@ -151,6 +151,17 @@
|
|
|
151
151
|
<input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_limit_times_big"
|
|
152
152
|
condition="f_limit_times <= '{}' " placeholder="小于等于">
|
|
153
153
|
</div>
|
|
154
|
+
<div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
|
|
155
|
+
<label class="font_normal_body">限购类型</label>
|
|
156
|
+
<v-select
|
|
157
|
+
:value.sync="model.f_limit_type"
|
|
158
|
+
v-model="model.f_limit_type"
|
|
159
|
+
:options="$parent.$parent.limitTypes"
|
|
160
|
+
placeholder='请选择'
|
|
161
|
+
condition="f_limit_type = '{}'"
|
|
162
|
+
close-on-select>
|
|
163
|
+
</v-select>
|
|
164
|
+
</div>
|
|
154
165
|
<div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
|
|
155
166
|
<label class="font_normal_body">气量/金额</label>
|
|
156
167
|
<input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_limit_amount_small"
|
|
@@ -176,6 +187,7 @@
|
|
|
176
187
|
<th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购日期</th>
|
|
177
188
|
<th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>操作人</th>
|
|
178
189
|
<th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购次数</th>
|
|
190
|
+
<th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购类型</th>
|
|
179
191
|
<th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>气量/金额</th>
|
|
180
192
|
<th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>审核状态</th>
|
|
181
193
|
<th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>移入原因</th>
|
|
@@ -196,6 +208,7 @@
|
|
|
196
208
|
<td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_parameter_value}}</td>
|
|
197
209
|
<td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_operator}}</td>
|
|
198
210
|
<td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_limit_times}}</td>
|
|
211
|
+
<td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_limit_type}}</td>
|
|
199
212
|
<td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_limit_amount}}</td>
|
|
200
213
|
<td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_black_state}}</td>
|
|
201
214
|
<td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_comments}}</td>
|
|
@@ -248,9 +261,11 @@
|
|
|
248
261
|
'f_parameter_value': '限购日期',
|
|
249
262
|
'f_comments': '移入原因',
|
|
250
263
|
'f_limit_times': '限购次数',
|
|
264
|
+
'f_limit_type': '限购类型',
|
|
251
265
|
'f_limit_amount': '气量/金额',
|
|
252
266
|
'f_remark': '备注'
|
|
253
|
-
}
|
|
267
|
+
},
|
|
268
|
+
limitTypes: [{label: '全部', value: ''}, {label: '气量', value: '气量'}, {label: '金额', value: '金额'}]
|
|
254
269
|
}
|
|
255
270
|
},
|
|
256
271
|
props: {
|
|
@@ -130,6 +130,18 @@
|
|
|
130
130
|
<input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_limit_times_big"
|
|
131
131
|
condition="f_limit_times <= '{}' " placeholder="小于等于">
|
|
132
132
|
</div>
|
|
133
|
+
<div class="col-sm-2 form-group">
|
|
134
|
+
<label class=" font_normal_body">限购类型</label>
|
|
135
|
+
<v-select
|
|
136
|
+
:value.sync="model.f_limit_type"
|
|
137
|
+
v-model="model.f_limit_type"
|
|
138
|
+
:options="$parent.$parent.limitTypes"
|
|
139
|
+
placeholder='请选择'
|
|
140
|
+
condition="f_limit_type = '{}'"
|
|
141
|
+
close-on-select
|
|
142
|
+
>
|
|
143
|
+
</v-select>
|
|
144
|
+
</div>
|
|
133
145
|
<div class="form-group col-sm-2">
|
|
134
146
|
<label class="font_normal_body">气量/金额</label>
|
|
135
147
|
<input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_limit_amount_small"
|
|
@@ -178,6 +190,7 @@
|
|
|
178
190
|
<th style="text-align: center;">移入(移出)原因</th>
|
|
179
191
|
<th style="text-align: center;">备注</th>
|
|
180
192
|
<th style="text-align: center;">限购次数</th>
|
|
193
|
+
<th style="text-align: center;">限购类型</th>
|
|
181
194
|
<th style="text-align: center;">气量/金额</th>
|
|
182
195
|
<th style="text-align: center;">管控级别</th>
|
|
183
196
|
<th style="text-align: center;">限制功能</th>
|
|
@@ -204,6 +217,7 @@
|
|
|
204
217
|
<td style="text-align: center;">{{row.f_comments}}</td>
|
|
205
218
|
<td style="text-align: center;">{{row.f_remark}}</td>
|
|
206
219
|
<td style="text-align: center;">{{row.f_limit_times}}</td>
|
|
220
|
+
<td style="text-align: center;">{{row.f_limit_type}}</td>
|
|
207
221
|
<td style="text-align: center;">{{row.f_limit_amount}}</td>
|
|
208
222
|
<td style="text-align: center;">{{row.f_level}}</td>
|
|
209
223
|
<td style="text-align: center;">{{$parent.$parent.$parent.formatFunction(row.f_function)}}</td>
|
|
@@ -261,6 +275,7 @@
|
|
|
261
275
|
'f_black_state': '审核状态',
|
|
262
276
|
'f_audit_comments': '审核备注',
|
|
263
277
|
'f_limit_times': '限购次数',
|
|
278
|
+
'f_limit_type': '限购类型',
|
|
264
279
|
'f_limit_amount': '气量(金额)',
|
|
265
280
|
'f_level': '管控级别',
|
|
266
281
|
'f_function': '限制功能',
|
|
@@ -269,7 +284,8 @@
|
|
|
269
284
|
},
|
|
270
285
|
operateType: [{label: '全部', value: ''}, {label: '移入重点用户 ', value: '移入重点用户'}, {label: '移出重点用户', value: '移出重点用户'}],
|
|
271
286
|
fstate: [{label: '移入', value: '移入'}, {label: '移出', value: '移出'}],
|
|
272
|
-
flevel: [{label: '高', value: '高'}, {label: '中', value: '中'}, {label: '低', value: '低'}]
|
|
287
|
+
flevel: [{label: '高', value: '高'}, {label: '中', value: '中'}, {label: '低', value: '低'}],
|
|
288
|
+
limitTypes: [{label: '全部', value: ''}, {label: '气量', value: '气量'}, {label: '金额', value: '金额'}]
|
|
273
289
|
}
|
|
274
290
|
},
|
|
275
291
|
props: {
|
|
@@ -33,6 +33,8 @@ let MachineChargeService = {
|
|
|
33
33
|
f_serial_number: f_serial_number,
|
|
34
34
|
f_balance: row.f_balance,
|
|
35
35
|
f_overdue: model.f_overdue,
|
|
36
|
+
userinfo_version: row.userinfo_version,
|
|
37
|
+
version: row.version,
|
|
36
38
|
f_collection: model.f_collection - model.f_garbage_fee,
|
|
37
39
|
f_preamount: model.f_totalcost,
|
|
38
40
|
f_payment: model.f_payment[0],
|