manage-client 3.2.137 → 3.2.138
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.138",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"sinon-chai": "^2.8.0",
|
|
65
65
|
"style": "0.0.3",
|
|
66
66
|
"style-loader": "^0.20.3",
|
|
67
|
-
"system-clients": "3.1.89-
|
|
67
|
+
"system-clients": "3.1.89-20",
|
|
68
68
|
"url-loader": "^0.5.7",
|
|
69
69
|
"vue-amap": "0.5.10",
|
|
70
70
|
"vue-client": "1.24.51",
|
|
@@ -34,6 +34,12 @@ export default{
|
|
|
34
34
|
"上报类型":"f_upload_type",
|
|
35
35
|
"金额状态":"f_moneystate",
|
|
36
36
|
|
|
37
|
+
"增加工况瞬时":"operatingModeFlow",
|
|
38
|
+
"标况瞬时":"standardConditionFlow",
|
|
39
|
+
"开盖状态" :"f_SplitAlarm",
|
|
40
|
+
"液晶状态" : "f_XTIpllStopFlag",
|
|
41
|
+
"声速" :"soundVelocity",
|
|
42
|
+
|
|
37
43
|
"外电低电":"f_lowlithiumbattery",
|
|
38
44
|
"磁干扰异常":"f_magneticinterference",
|
|
39
45
|
"表内剩余金额":"f_meterbalanceamt",
|
|
@@ -121,36 +121,25 @@
|
|
|
121
121
|
<th>
|
|
122
122
|
<nobr>气价名称</nobr>
|
|
123
123
|
</th>
|
|
124
|
-
<th>
|
|
125
|
-
<nobr>开户时间</nobr>
|
|
126
|
-
</th>
|
|
127
124
|
<th>
|
|
128
125
|
<nobr>表号</nobr>
|
|
129
126
|
</th>
|
|
130
127
|
<th>
|
|
131
|
-
<nobr
|
|
132
|
-
</th>
|
|
133
|
-
<th>
|
|
134
|
-
<nobr>通气时间</nobr>
|
|
128
|
+
<nobr>气表品牌</nobr>
|
|
135
129
|
</th>
|
|
130
|
+
|
|
136
131
|
<th>
|
|
137
|
-
<nobr
|
|
132
|
+
<nobr>是否有壁挂炉</nobr>
|
|
138
133
|
</th>
|
|
139
134
|
<th>
|
|
140
|
-
<nobr
|
|
135
|
+
<nobr>开户人</nobr>
|
|
141
136
|
</th>
|
|
142
137
|
<th>
|
|
143
|
-
<nobr
|
|
138
|
+
<nobr>开户时间</nobr>
|
|
144
139
|
</th>
|
|
145
140
|
<th>
|
|
146
141
|
<nobr>开户地点</nobr>
|
|
147
142
|
</th>
|
|
148
|
-
<th>
|
|
149
|
-
<nobr>是否有壁挂炉</nobr>
|
|
150
|
-
</th>
|
|
151
|
-
<th>
|
|
152
|
-
<nobr>开户人</nobr>
|
|
153
|
-
</th>
|
|
154
143
|
</tr>
|
|
155
144
|
</template>
|
|
156
145
|
<template partial='body'>
|
|
@@ -172,35 +161,23 @@
|
|
|
172
161
|
<td style="text-align: center;">
|
|
173
162
|
<nobr>{{row.f_price_name}}</nobr>
|
|
174
163
|
</td>
|
|
175
|
-
<td style="text-align: center;">
|
|
176
|
-
<nobr>{{row.f_open_date}}</nobr>
|
|
177
|
-
</td>
|
|
178
164
|
<td style="text-align: center;">
|
|
179
165
|
<nobr>{{row.f_meternumber}}</nobr>
|
|
180
166
|
</td>
|
|
181
167
|
<td style="text-align: center;">
|
|
182
|
-
<nobr>{{row.
|
|
183
|
-
</td>
|
|
184
|
-
<td style="text-align: center;">
|
|
185
|
-
<nobr>{{row.f_gas_date}}</nobr>
|
|
186
|
-
</td>
|
|
187
|
-
<td style="text-align: center;">
|
|
188
|
-
<nobr>{{row.f_gasproperties}}</nobr>
|
|
189
|
-
</td>
|
|
190
|
-
<td style="text-align: center;">
|
|
191
|
-
<nobr>{{row.f_total_gas}}</nobr>
|
|
168
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
192
169
|
</td>
|
|
193
170
|
<td style="text-align: center;">
|
|
194
|
-
<nobr>{{row.
|
|
171
|
+
<nobr>{{row.isbgl}}</nobr>
|
|
195
172
|
</td>
|
|
196
173
|
<td style="text-align: center;">
|
|
197
|
-
<nobr>{{row.
|
|
174
|
+
<nobr>{{row.operator}}</nobr>
|
|
198
175
|
</td>
|
|
199
176
|
<td style="text-align: center;">
|
|
200
|
-
<nobr>{{row.
|
|
177
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
201
178
|
</td>
|
|
202
179
|
<td style="text-align: center;">
|
|
203
|
-
<nobr>{{row.
|
|
180
|
+
<nobr>{{row.depname}}</nobr>
|
|
204
181
|
</td>
|
|
205
182
|
</template>
|
|
206
183
|
<template partial='foot'></template>
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
footer:[],
|
|
397
397
|
meterbrands: [],
|
|
398
398
|
pricenames: [],
|
|
399
|
-
model: new PagedList('rs/sql/changeMeterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}
|
|
399
|
+
model: new PagedList('rs/sql/changeMeterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
400
400
|
criteriaShow: false,
|
|
401
401
|
orgCondtionStr: '',
|
|
402
402
|
modelval: [],
|
|
@@ -7,7 +7,6 @@ let specialComp = {
|
|
|
7
7
|
'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
|
|
8
8
|
'meter-query': (resolve) => { require(['./MeterQuery'], resolve) },
|
|
9
9
|
'fmygas-query': (resolve) => { require(['./FMYGasQuery'], resolve) },
|
|
10
|
-
'month-gas-query': (resolve) => { require(['./MonthGasQuery'], resolve) }
|
|
11
|
-
'webmeter-settlement-analysis': (resolve) => { require(['./WebmeterSettlementAnalysis'], resolve) }
|
|
10
|
+
'month-gas-query': (resolve) => { require(['./MonthGasQuery'], resolve) }
|
|
12
11
|
}
|
|
13
12
|
exports.specialComp = specialComp
|
|
@@ -6,16 +6,17 @@
|
|
|
6
6
|
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row" >
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
<res-select-group :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
10
|
+
<!--<div class="col-sm-2">-->
|
|
11
|
+
<!--<label class="font_normal_body">组织机构</label>-->
|
|
12
|
+
<!--<res-select :initresid="$parent.$parent.org"-->
|
|
13
|
+
<!--style="width:60%"-->
|
|
14
|
+
<!--@res-select="$parent.$parent.getorg"-->
|
|
15
|
+
<!--:is-mul=false-->
|
|
16
|
+
<!--restype='organization'>-->
|
|
17
|
+
<!--</res-select>-->
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
<!--</div>-->
|
|
19
20
|
<div class="col-sm-2">
|
|
20
21
|
<label class="font_normal_body">表 号 </label>
|
|
21
22
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
|
|
@@ -287,6 +288,12 @@
|
|
|
287
288
|
rowdata:{},
|
|
288
289
|
sumsmodel: {},
|
|
289
290
|
orgid:[this.$login.f.orgid],
|
|
291
|
+
// 公司下拉
|
|
292
|
+
initres: {
|
|
293
|
+
org: [],
|
|
294
|
+
dep: [],
|
|
295
|
+
user: []
|
|
296
|
+
},
|
|
290
297
|
criteriaShow:false,
|
|
291
298
|
orgCondtionStr: '',
|
|
292
299
|
model: new PagedList('rs/sql/manage_getReportList', 50,{},{f_meterbalanceamt: 0,f_tablebase: 0,f_meterdebitamt: 0})
|
|
@@ -321,14 +328,6 @@
|
|
|
321
328
|
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
322
329
|
this.initParams()
|
|
323
330
|
},
|
|
324
|
-
getorg(obj) {
|
|
325
|
-
if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
326
|
-
this.orgcondition = " and m.f_orgid in " + plugins.convertToIn(obj)
|
|
327
|
-
}else{
|
|
328
|
-
this.orgcondition = " and m.f_orgid = " + this.$login.f.orgid
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
},
|
|
332
331
|
userTypeChange () {
|
|
333
332
|
this.gasproperties=[]
|
|
334
333
|
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
@@ -363,10 +362,8 @@
|
|
|
363
362
|
this.$refs.paged.$refs.criteria.model[key] = []
|
|
364
363
|
})
|
|
365
364
|
},
|
|
366
|
-
getRes (obj) {
|
|
367
|
-
this.orgCondtionStr = condition
|
|
368
|
-
this.orgname = obj.orgnames[0]
|
|
369
|
-
this.depname = obj.depnames[0]
|
|
365
|
+
async getRes (condition, obj) {
|
|
366
|
+
this.orgCondtionStr = condition.replace("f_orgid","m.f_orgid")
|
|
370
367
|
},
|
|
371
368
|
showmsg(obj){
|
|
372
369
|
this.rowdata=obj
|
|
@@ -374,7 +371,7 @@
|
|
|
374
371
|
},
|
|
375
372
|
|
|
376
373
|
search (args) {
|
|
377
|
-
args.condition = `${args.condition}`+this.
|
|
374
|
+
args.condition = `${args.condition}`+this.orgCondtionStr
|
|
378
375
|
console.log(args.condition+"args.condition")
|
|
379
376
|
this.condition = args.condition
|
|
380
377
|
this.model.search(args.condition, args.model)
|
|
@@ -389,14 +386,14 @@
|
|
|
389
386
|
}
|
|
390
387
|
},
|
|
391
388
|
watch: {
|
|
392
|
-
'orgCondtionStr'(val) {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
}
|
|
389
|
+
// 'orgCondtionStr'(val) {
|
|
390
|
+
// let res = val.match(/'(.*?)'/)
|
|
391
|
+
// console.log('正则提取:',res && res[1])
|
|
392
|
+
// if (res) {
|
|
393
|
+
// this.f_filialeid = res[1]
|
|
394
|
+
// this.updateParams()
|
|
395
|
+
// }
|
|
396
|
+
// }
|
|
400
397
|
},
|
|
401
398
|
computed: {
|
|
402
399
|
getPricenames() {
|
|
@@ -445,7 +442,7 @@
|
|
|
445
442
|
getCondition () {
|
|
446
443
|
var con = ""
|
|
447
444
|
if (this.orgCondtionStr) {
|
|
448
|
-
con = `${this.$refs.paged.$refs.criteria.condition}
|
|
445
|
+
con = `${this.$refs.paged.$refs.criteria.condition} ${this.orgCondtionStr}`
|
|
449
446
|
}
|
|
450
447
|
else {
|
|
451
448
|
con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
|