manage-client 4.1.16 → 4.1.17-jingyang
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 +7 -41
- package/package.json +1 -1
- package/src/components/SellReport/GasPriceGroup.vue +1 -1
- package/src/components/sale/businessquery/residentialAreaUserStateQuery.vue +177 -0
- package/src/components/sale/filesquery/ArchivesManage.vue +3 -0
- package/src/components/sale/filesquery/MeterQuery.vue +81 -3
- package/src/components/sale/filesquery/RecordInfoQuery.vue +15 -0
- package/src/filiale/fugou/WebHandplanQuery.vue +3 -3
- package/src/filiale/haile/sale/businessquery/ChargeQuery.vue +3 -1
- package/src/filiale/haile/sale/businessquery/HandplanQuery.vue +3 -1
- package/src/filiale/jingyang/MeterQuery.vue +1049 -0
- package/src/filiale/jingyang/NewGasStatistics.vue +12 -6
- package/src/filiale/jingyang/config/exportConfig.js +4 -1
- package/src/filiale/jingyang/sale.js +4 -0
- package/src/main.js +2 -2
- package/src/saleManage.js +4 -0
- package/static/Excelformat.png +0 -0
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileChanges/last-build.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -19,9 +19,9 @@ var qtx = 'http://36.103.222.144:6300/'
|
|
|
19
19
|
// var bendi = 'http://203.57.101.233:9001/'
|
|
20
20
|
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
21
|
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var bendi = 'http://
|
|
22
|
+
var bendi = 'http://www.jytrq.cn:8800/'
|
|
23
23
|
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
-
var wode = 'http://
|
|
24
|
+
var wode = 'http://www.jytrq.cn:8800/'
|
|
25
25
|
// 192.168.
|
|
26
26
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
27
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
@@ -33,52 +33,18 @@ var proxyTable = {
|
|
|
33
33
|
target: 'http://203.57.101.233:9001/'
|
|
34
34
|
|
|
35
35
|
},
|
|
36
|
-
|
|
37
|
-
pathRewrite: {
|
|
38
|
-
'^/api/af-revenue': '/rs'
|
|
39
|
-
},
|
|
40
|
-
target: 'http://127.0.0.1:8080/'
|
|
41
|
-
},
|
|
42
|
-
'/api/af-revenue/sql/WeChatPayment': {
|
|
43
|
-
pathRewrite: {
|
|
44
|
-
'^/api/af-revenue': '/rs'
|
|
45
|
-
},
|
|
46
|
-
target: 'http://127.0.0.1:8080/'
|
|
47
|
-
},
|
|
48
|
-
'/api/af-revenue/sql/getGasInspection': {
|
|
49
|
-
pathRewrite: {
|
|
50
|
-
'^/api/af-revenue': '/rs'
|
|
51
|
-
},
|
|
52
|
-
target: 'http://127.0.0.1:8080/'
|
|
53
|
-
},
|
|
54
|
-
'/api/af-revenue/sql/inspectList_sellinggas': {
|
|
55
|
-
pathRewrite: {
|
|
56
|
-
'^/api/af-revenue': '/rs'
|
|
57
|
-
},
|
|
58
|
-
target: 'http://127.0.0.1:8080/'
|
|
59
|
-
},
|
|
60
|
-
'/api/af-revenue/sql/inspectList': {
|
|
61
|
-
pathRewrite: {
|
|
62
|
-
'^/api/af-revenue': '/rs'
|
|
63
|
-
},
|
|
64
|
-
target: 'http://127.0.0.1:8080/'
|
|
65
|
-
},
|
|
36
|
+
|
|
66
37
|
'/api': {
|
|
67
|
-
target: 'http://
|
|
38
|
+
target: 'http://www.jytrq.cn:8800/'
|
|
68
39
|
|
|
69
40
|
},
|
|
70
|
-
|
|
71
|
-
target: 'http://localhost:8084/'
|
|
72
|
-
},
|
|
73
|
-
'/rs/logic/chargeQuery_by_gasproperties_line': {
|
|
74
|
-
target: 'http://localhost:8084/'
|
|
75
|
-
},
|
|
41
|
+
|
|
76
42
|
'/files': {
|
|
77
43
|
target: bendi
|
|
78
44
|
},
|
|
79
45
|
// 查找资源服务数据
|
|
80
46
|
'/rs/search': {
|
|
81
|
-
target: 'http://
|
|
47
|
+
target: 'http://www.jytrq.cn:8800/'
|
|
82
48
|
},
|
|
83
49
|
// 查找资源服务数据
|
|
84
50
|
'/rs/logic/getLogin': {
|
|
@@ -120,7 +86,7 @@ var proxyTable = {
|
|
|
120
86
|
target: bendi
|
|
121
87
|
},
|
|
122
88
|
'/rs/vue': {
|
|
123
|
-
target: 'http://
|
|
89
|
+
target: 'http://www.jytrq.cn:8800/'
|
|
124
90
|
},
|
|
125
91
|
'/rs/file': {
|
|
126
92
|
target: bendi
|
package/package.json
CHANGED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
<template >
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div @keyup.enter="search1" class="basic-main">
|
|
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
|
+
<div class="col-sm-2">
|
|
9
|
+
<res-select-group :show-component="['company']" :initres="$parent.$parent.org" @re-res="$parent.$parent.getorg" style="width:60%"></res-select-group>
|
|
10
|
+
</div>
|
|
11
|
+
<div style="float:right">
|
|
12
|
+
<button @click="search()" class="button_search" v-el:cba>查询</button>
|
|
13
|
+
<button @click="$parent.$parent.clearmsg" class="button_clear">清空</button>
|
|
14
|
+
<export-excel
|
|
15
|
+
:choose-col="true"
|
|
16
|
+
:data="{condition: $parent.$parent.condition,
|
|
17
|
+
f_orgid: $parent.$parent.f_orgid
|
|
18
|
+
}"
|
|
19
|
+
:field="$parent.$parent.getfield" sql-name="residentialAreaUserStateQuery" sqlurl="api/af-revenue/logic/openapi/exportfile"
|
|
20
|
+
template-name='小区用户统计查询'></export-excel>
|
|
21
|
+
<div
|
|
22
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
23
|
+
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</criteria>
|
|
28
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' :modelval="$parent.$parent.modelval" v-ref:grid>
|
|
29
|
+
<template partial='head'>
|
|
30
|
+
<tr>
|
|
31
|
+
<th style="text-align:center">
|
|
32
|
+
<nobr>小区名称</nobr>
|
|
33
|
+
</th>
|
|
34
|
+
<th style="text-align:center">
|
|
35
|
+
<nobr>总用户数</nobr>
|
|
36
|
+
</th>
|
|
37
|
+
<th style="text-align:center">
|
|
38
|
+
<nobr>正常用户数</nobr>
|
|
39
|
+
</th>
|
|
40
|
+
<th style="text-align:center">
|
|
41
|
+
<nobr>销户用户数</nobr>
|
|
42
|
+
</th>
|
|
43
|
+
<th style="text-align:center">
|
|
44
|
+
<nobr>停用用户数</nobr>
|
|
45
|
+
</th>
|
|
46
|
+
<th style="text-align:center">
|
|
47
|
+
<nobr>预备用户数</nobr>
|
|
48
|
+
</th>
|
|
49
|
+
</tr>
|
|
50
|
+
</template>
|
|
51
|
+
<template partial='body'>
|
|
52
|
+
<tr>
|
|
53
|
+
<td style="text-align:center">
|
|
54
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
55
|
+
</td>
|
|
56
|
+
<td style="text-align:center">
|
|
57
|
+
{{row.total_users}}
|
|
58
|
+
</td>
|
|
59
|
+
<td style="text-align:center">
|
|
60
|
+
<nobr>{{row.zhengchang_users}}</nobr>
|
|
61
|
+
</td>
|
|
62
|
+
<td style="text-align:center">
|
|
63
|
+
<nobr>{{row.xiaohu_users}}</nobr>
|
|
64
|
+
</td>
|
|
65
|
+
<td style="text-align:center">
|
|
66
|
+
<nobr>{{row.tinyong_users}}</nobr>
|
|
67
|
+
</td>
|
|
68
|
+
<td style="text-align:center">
|
|
69
|
+
<nobr>{{row.yubei_users}}</nobr>
|
|
70
|
+
</td>
|
|
71
|
+
</tr>
|
|
72
|
+
</template>
|
|
73
|
+
</data-grid>
|
|
74
|
+
</criteria-paged>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
79
|
+
<script>
|
|
80
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
81
|
+
import * as Util from '../../../Util'
|
|
82
|
+
|
|
83
|
+
let readyGen = async function (self) {
|
|
84
|
+
await self.$MagLoadParams.loadParam()
|
|
85
|
+
self.getfield = self.config.excelHeaders
|
|
86
|
+
}
|
|
87
|
+
export default {
|
|
88
|
+
title: '小区用户统计查询',
|
|
89
|
+
data () {
|
|
90
|
+
return {
|
|
91
|
+
model: new PagedList('api/af-revenue/sql/residentialAreaUserStateQuery', 50),
|
|
92
|
+
row: null,
|
|
93
|
+
isLoading: true,
|
|
94
|
+
searchshow: true,
|
|
95
|
+
criteriaShow:false,
|
|
96
|
+
org:{
|
|
97
|
+
org:[this.$login.f.orgid],
|
|
98
|
+
dep:[],
|
|
99
|
+
user:[],
|
|
100
|
+
},
|
|
101
|
+
orgcondition:'',
|
|
102
|
+
show: false,
|
|
103
|
+
imgShow: false,
|
|
104
|
+
condition:'',
|
|
105
|
+
f_orgid:'',
|
|
106
|
+
getfield: {},
|
|
107
|
+
config: {
|
|
108
|
+
excelHeaders: {
|
|
109
|
+
'f_residential_area': '小区名称','total_users': '总用户数','zhengchang_users': '正常用户数',
|
|
110
|
+
'xiaohu_users': '销户用户数','tinyong_users': '停用用户数','yubei_users': '预备用户数'
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
modelval: [
|
|
114
|
+
'小区名称','总用户数','正常用户数','销户用户数','停用用户数','预备用户数',
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
ready () {
|
|
119
|
+
readyGen(this)
|
|
120
|
+
this.$refs.paged.$refs.grid.modelval = this.modelval
|
|
121
|
+
},
|
|
122
|
+
methods: {
|
|
123
|
+
hidden(){
|
|
124
|
+
this.criteriaShow = !this.criteriaShow
|
|
125
|
+
},
|
|
126
|
+
getorg(condition,obj) {
|
|
127
|
+
this.orgcondition = condition.replace('f_orgid','ua.f_orgid')
|
|
128
|
+
this.orgcondition = this.orgcondition.replace('f_depid','ua.f_depid')
|
|
129
|
+
this.orgcondition = this.orgcondition.replace('f_operatorid','ua.f_operatorid')
|
|
130
|
+
this.orgname = obj.orgnames[0]
|
|
131
|
+
},
|
|
132
|
+
clearmsg () {
|
|
133
|
+
this.$refs.paged.$refs.criteria.model = {}
|
|
134
|
+
},
|
|
135
|
+
clickshow () {
|
|
136
|
+
this.searchshow = !this.searchshow
|
|
137
|
+
},
|
|
138
|
+
dealmsg (val) {
|
|
139
|
+
val.model = this.model.model
|
|
140
|
+
this.$emit('deal-msg', val)
|
|
141
|
+
},
|
|
142
|
+
async search (args) {
|
|
143
|
+
// this.obj.resids = this.obj.resids.replace(/\./g, ''),
|
|
144
|
+
args.condition = `${args.condition}`+this.orgcondition
|
|
145
|
+
console.log(args.condition+"args.condition")
|
|
146
|
+
this.condition = args.condition
|
|
147
|
+
if(this.f_orgid_new == '' || this.f_orgid_new == null){
|
|
148
|
+
this.model.params.f_orgid = `'${this.$login.f.orgid}'`;
|
|
149
|
+
this.f_orgid = `'${this.$login.f.orgid}'`;
|
|
150
|
+
}else{
|
|
151
|
+
this.model.params.f_orgid = `'${this.f_orgid_new}'`;
|
|
152
|
+
this.f_orgid = `'${this.f_orgid_new}'`;
|
|
153
|
+
}
|
|
154
|
+
await this.model.search(args.condition, args.model)
|
|
155
|
+
await this.$refs.paged.$refs.grid.InitializedData()
|
|
156
|
+
await this.$refs.paged.$refs.grid.displayColumnSettings(undefined)
|
|
157
|
+
|
|
158
|
+
},
|
|
159
|
+
|
|
160
|
+
},
|
|
161
|
+
computed: {
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
</script>
|
|
165
|
+
<style>
|
|
166
|
+
.form-input-group label {
|
|
167
|
+
text-align: right;
|
|
168
|
+
width: auto;
|
|
169
|
+
}
|
|
170
|
+
.datapanel {
|
|
171
|
+
color: #333;
|
|
172
|
+
background-color: white;
|
|
173
|
+
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
|
|
174
|
+
padding: 10px 30px 10px 30px;
|
|
175
|
+
border-radius:15px;
|
|
176
|
+
}
|
|
177
|
+
</style>
|
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
<tabs header="非民用用气设备查询" v-if="permission('非民用用气设备查询')">
|
|
33
33
|
<fmy-gas-device-query v-if="show.includes('非民用用气设备查询')"></fmy-gas-device-query>
|
|
34
34
|
</tabs>
|
|
35
|
+
<tabs header="小区用户统计查询" v-if="permission('小区用户统计查询')">
|
|
36
|
+
<residential-area-userstate-query v-if="show.includes('小区用户统计查询')"></residential-area-userstate-query>
|
|
37
|
+
</tabs>
|
|
35
38
|
</tab-button>
|
|
36
39
|
|
|
37
40
|
</template>
|
|
@@ -40,13 +40,15 @@
|
|
|
40
40
|
|
|
41
41
|
<export-excel :data="$parent.$parent.getCondition" :field="$parent.$parent.getExportField"
|
|
42
42
|
:footer="$parent.$parent.footer" :header="$parent.$parent.other"
|
|
43
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
43
44
|
v-if="$parent.$parent.authArr.includes('档案查询导出')" sqlurl="api/af-revenue/logic/openapi/exportfile"
|
|
44
45
|
sql-name="meterQuery"
|
|
45
46
|
template-name='表具查询导出' :choose-col="true"></export-excel>
|
|
46
47
|
<print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model"
|
|
47
48
|
:field="$parent.$parent.getExportField" :defaultfield="$parent.$parent.defaultfield"
|
|
48
49
|
titletable="客户查询" :sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
49
|
-
|
|
50
|
+
<button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUploadCodeCondition()">导入编号</button>
|
|
51
|
+
<button class="button_new" style="margin-right: 10px" @click="$parent.$parent.clearUserInfoId()">清空编号</button>
|
|
50
52
|
|
|
51
53
|
<div style="float: right" class="button_spacing"
|
|
52
54
|
:class="{ 'button_shrink_top': $parent.$parent.criteriaShow, 'button_shrink_bottom': !$parent.$parent.criteriaShow }"
|
|
@@ -219,6 +221,22 @@
|
|
|
219
221
|
condition="f_gas_person like '%{}%' " placeholder="通气人">
|
|
220
222
|
</div>
|
|
221
223
|
</div>
|
|
224
|
+
<modal :show.sync="$parent.$parent.excelUserCondtion" width="500px" v-ref:modal>
|
|
225
|
+
<div slot="modal-header" class="modal-header">
|
|
226
|
+
<h4 class="modal-title">
|
|
227
|
+
导入用户表号
|
|
228
|
+
</h4>
|
|
229
|
+
</div>
|
|
230
|
+
<div slot="modal-body" class="modal-body">
|
|
231
|
+
<div class="row">
|
|
232
|
+
<file-upload class="my-file-uploader btn" name="UploadFile" style="border-radius: 2px;"
|
|
233
|
+
action="rs/file/uploadFile" tagname="档案信息导入" v-ref:file :headers="headers" multiple></file-upload>
|
|
234
|
+
<img src="../../../../static/Excelformat.png" style="width: 100%"/>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
238
|
+
</footer>
|
|
239
|
+
</modal>
|
|
222
240
|
</div>
|
|
223
241
|
</criteria>
|
|
224
242
|
|
|
@@ -260,6 +278,12 @@
|
|
|
260
278
|
<th>
|
|
261
279
|
<nobr>表上余额</nobr>
|
|
262
280
|
</th>
|
|
281
|
+
<th>
|
|
282
|
+
<nobr>系统余额</nobr>
|
|
283
|
+
</th>
|
|
284
|
+
<th>
|
|
285
|
+
<nobr>上报日期</nobr>
|
|
286
|
+
</th>
|
|
263
287
|
<th>
|
|
264
288
|
<nobr>客户类型</nobr>
|
|
265
289
|
</th>
|
|
@@ -283,6 +307,9 @@
|
|
|
283
307
|
<th>
|
|
284
308
|
<nobr>气价详情</nobr>
|
|
285
309
|
</th>
|
|
310
|
+
<th>
|
|
311
|
+
<nobr>气表类型</nobr>
|
|
312
|
+
</th>
|
|
286
313
|
<th>
|
|
287
314
|
<nobr>气表品牌</nobr>
|
|
288
315
|
</th>
|
|
@@ -349,6 +376,12 @@
|
|
|
349
376
|
<td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
350
377
|
<nobr>{{ row.f_balance_amount }}</nobr>
|
|
351
378
|
</td>
|
|
379
|
+
<td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
380
|
+
<nobr>{{ row.f_jval }}</nobr>
|
|
381
|
+
</td>
|
|
382
|
+
<td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
383
|
+
<nobr>{{ row.f_hand_date }}</nobr>
|
|
384
|
+
</td>
|
|
352
385
|
<td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
353
386
|
<nobr>{{ row.f_user_type }}</nobr>
|
|
354
387
|
</td>
|
|
@@ -374,6 +407,9 @@
|
|
|
374
407
|
<th :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
375
408
|
<nobr>{{ row.value }}</nobr>
|
|
376
409
|
</th>
|
|
410
|
+
<td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
411
|
+
<nobr>{{ row.f_meter_classify }}</nobr>
|
|
412
|
+
</td>
|
|
377
413
|
<td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
378
414
|
<nobr>{{ row.f_meter_brand }}</nobr>
|
|
379
415
|
</td>
|
|
@@ -458,7 +494,7 @@
|
|
|
458
494
|
</template>
|
|
459
495
|
|
|
460
496
|
<script>
|
|
461
|
-
import {PagedList} from 'vue-client'
|
|
497
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
462
498
|
import exportConfig from '../config/exportConfig'
|
|
463
499
|
|
|
464
500
|
let cardBtnGen = async function (self, val) {
|
|
@@ -552,12 +588,23 @@ export default {
|
|
|
552
588
|
allorgid: [],
|
|
553
589
|
tempfalg: false,
|
|
554
590
|
lastorgstr: '',
|
|
591
|
+
excelUserCondtion: false,
|
|
592
|
+
uploadCodeCondition:'',
|
|
555
593
|
issecond: [{label: '是', value: " = '二次挂表'"}, {label: '否', value: " <> '二次挂表'"}],
|
|
556
594
|
usetype: this.$appdata.getParam('使用类型'),
|
|
557
595
|
networkvalves: this.$appdata.getParam('自动阀控') ? [{
|
|
558
596
|
label: '全部',
|
|
559
597
|
value: ''
|
|
560
598
|
}, ...this.$appdata.getParam('自动阀控')] : [],
|
|
599
|
+
defaultfield: [
|
|
600
|
+
'f_userinfo_code', // 客户编号
|
|
601
|
+
'f_user_name', // 客户名称
|
|
602
|
+
'f_user_phone', // 客户电话
|
|
603
|
+
'f_address', // 客户地址
|
|
604
|
+
'f_meternumber', // 表号
|
|
605
|
+
'f_card_id', // 卡号
|
|
606
|
+
// ... 添加更多你想默认勾选的字段
|
|
607
|
+
]
|
|
561
608
|
}
|
|
562
609
|
},
|
|
563
610
|
ready() {
|
|
@@ -663,6 +710,9 @@ export default {
|
|
|
663
710
|
if (this.IdCardInfo != '') {
|
|
664
711
|
args.condition += ` and f_idnumber='${this.IdCardInfo}'`
|
|
665
712
|
}
|
|
713
|
+
if(this.uploadCodeCondition){
|
|
714
|
+
args.condition +=` and ${this.uploadCodeCondition}`
|
|
715
|
+
}
|
|
666
716
|
this.model.search(args.condition, args.model)
|
|
667
717
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
|
668
718
|
this.card = ''
|
|
@@ -789,7 +839,35 @@ export default {
|
|
|
789
839
|
}
|
|
790
840
|
|
|
791
841
|
this.search()
|
|
792
|
-
}
|
|
842
|
+
},
|
|
843
|
+
showUploadCodeCondition() {
|
|
844
|
+
console.log('点击了导入编号按钮');
|
|
845
|
+
this.excelUserCondtion = true;
|
|
846
|
+
console.log('excelUserCondtion:', this.excelUserCondtion);
|
|
847
|
+
},
|
|
848
|
+
//清空用户编号
|
|
849
|
+
clearUserInfoId(){
|
|
850
|
+
this.uploadCodeCondition=''
|
|
851
|
+
Vue.showMessage("已清空用户编号")
|
|
852
|
+
},
|
|
853
|
+
|
|
854
|
+
},
|
|
855
|
+
events: {
|
|
856
|
+
onFileUpload: function (file, res) {
|
|
857
|
+
//tag)
|
|
858
|
+
//tag)
|
|
859
|
+
let data = {
|
|
860
|
+
filepath: res.f_downloadpath
|
|
861
|
+
}
|
|
862
|
+
new HttpResetClass().load('POST','/rs/logic/safe_GetUserInfoFromExcel', {data: data}, {
|
|
863
|
+
resolveMsg: '导入成功!已生成条件,若要去除导入条件请点击旁边 ‘清空用户编号’ 按钮。',
|
|
864
|
+
rejectMsg: '导入失败'
|
|
865
|
+
}).then((res) => {
|
|
866
|
+
this.uploadCodeCondition=res.data.condition
|
|
867
|
+
this.excelUserCondtion = false
|
|
868
|
+
})
|
|
869
|
+
},
|
|
870
|
+
|
|
793
871
|
},
|
|
794
872
|
watch: {
|
|
795
873
|
'model.rows.length'() {
|
|
@@ -493,6 +493,18 @@
|
|
|
493
493
|
condition="f_network_valve='{}'">
|
|
494
494
|
</v-select>
|
|
495
495
|
</div>
|
|
496
|
+
<div class="col-sm-2 form-group">
|
|
497
|
+
<label class="font_normal_body">阀门状态</label>
|
|
498
|
+
<v-select
|
|
499
|
+
placeholder='阀门状态'
|
|
500
|
+
:value.sync="model.f_valve_state"
|
|
501
|
+
style="width:60%"
|
|
502
|
+
v-model="model.f_valve_state"
|
|
503
|
+
:options='$parent.$parent.valvestate'
|
|
504
|
+
close-on-select
|
|
505
|
+
condition="f_valve_state='{}'">
|
|
506
|
+
</v-select>
|
|
507
|
+
</div>
|
|
496
508
|
</div>
|
|
497
509
|
</div>
|
|
498
510
|
</criteria>
|
|
@@ -1341,6 +1353,9 @@
|
|
|
1341
1353
|
},
|
|
1342
1354
|
},
|
|
1343
1355
|
computed:{
|
|
1356
|
+
valvestate() {
|
|
1357
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
|
|
1358
|
+
},
|
|
1344
1359
|
bandstates () {
|
|
1345
1360
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')]
|
|
1346
1361
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
:value.sync="model.handStartDate"
|
|
44
44
|
:format="'yyyy-MM-dd 00:00:00'"
|
|
45
45
|
:show-reset-button="true"
|
|
46
|
-
condition="
|
|
46
|
+
condition="f_input_date >= '{}'">
|
|
47
47
|
</datepicker>
|
|
48
48
|
</div>
|
|
49
49
|
<div class="col-sm-2 form-group">
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
:value.sync="model.handEndDate"
|
|
54
54
|
:format="'yyyy-MM-dd 23:59:59'"
|
|
55
55
|
:show-reset-button="true"
|
|
56
|
-
condition="
|
|
56
|
+
condition="f_input_date <= '{}'">
|
|
57
57
|
</datepicker>
|
|
58
58
|
</div>
|
|
59
59
|
<div class="col-sm-2 form-group">
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
</td>
|
|
383
383
|
|
|
384
384
|
<td style="text-align: center;">
|
|
385
|
-
<nobr>{{row.
|
|
385
|
+
<nobr>{{row.f_input_date}}</nobr>
|
|
386
386
|
</td>
|
|
387
387
|
<td>
|
|
388
388
|
<nobr>{{row.belongmonth}}</nobr>
|
|
@@ -969,6 +969,7 @@
|
|
|
969
969
|
allorgid:[],
|
|
970
970
|
tempfalg :false,
|
|
971
971
|
lastorgstr:'',
|
|
972
|
+
excel_condition:'',
|
|
972
973
|
// pos设备列表
|
|
973
974
|
posEquipment: [{label: '全部',value: ''}],
|
|
974
975
|
showbottomsum:false, //页面下方是否有合计: 默认为false, 在watch修改
|
|
@@ -1144,6 +1145,7 @@
|
|
|
1144
1145
|
if(this.IdCardInfo!=''){
|
|
1145
1146
|
args.condition +=` and f_idnumber='${this.IdCardInfo}'`
|
|
1146
1147
|
}
|
|
1148
|
+
this.excel_condition = args.condition
|
|
1147
1149
|
this.model.search(args.condition, args.model)
|
|
1148
1150
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
|
1149
1151
|
this.card=''
|
|
@@ -1313,7 +1315,7 @@
|
|
|
1313
1315
|
return {
|
|
1314
1316
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
1315
1317
|
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
1316
|
-
condition:
|
|
1318
|
+
condition: this.excel_condition,
|
|
1317
1319
|
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
1318
1320
|
}
|
|
1319
1321
|
},
|
|
@@ -873,6 +873,7 @@ export default {
|
|
|
873
873
|
imgshow: false,
|
|
874
874
|
imgfilename: '',
|
|
875
875
|
percent: 0,
|
|
876
|
+
excel_condition: '',
|
|
876
877
|
progressShow: false,
|
|
877
878
|
uuida: '',
|
|
878
879
|
timer: '',
|
|
@@ -1123,6 +1124,7 @@ export default {
|
|
|
1123
1124
|
}
|
|
1124
1125
|
|
|
1125
1126
|
args.condition = `${args.condition} ` + this.orgCondtionStr
|
|
1127
|
+
this.excel_condition = args.condition
|
|
1126
1128
|
this.model.search(args.condition, args.model)
|
|
1127
1129
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
1128
1130
|
},
|
|
@@ -1283,7 +1285,7 @@ export default {
|
|
|
1283
1285
|
return {
|
|
1284
1286
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
1285
1287
|
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
1286
|
-
condition:
|
|
1288
|
+
condition: this.excel_condition,
|
|
1287
1289
|
orderitem: this.orderitem ? `${this.orderitem}` : " z "
|
|
1288
1290
|
}
|
|
1289
1291
|
},
|