manage-client 3.2.173 → 3.2.175
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/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/build/dev-server.js +173 -182
- package/package.json +1 -1
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +140 -141
- package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -332
- package/src/filiale/WEINAN/InspectListGas.vue +76 -4
- package/src/filiale/WEINAN/UserLostContactAnalysis.vue +594 -0
- package/src/filiale/WEINAN/webmeterManage.js +10 -0
- package/src/filiale/meihekou/MeterQuery.vue +1058 -0
- package/src/filiale/meihekou/sale.js +33 -31
- package/src/main.js +66 -66
- package/yarn-error.log +0 -7659
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
<div class="span" style="float:right;">
|
|
53
53
|
<button class="btn button_search" @click="search()">查询</button>
|
|
54
54
|
<button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
|
|
55
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.shielding">批量拉黑</button>
|
|
55
56
|
<export-excel :data="$parent.$parent.getCondition"
|
|
56
57
|
:field="$parent.$parent.getfield"
|
|
57
58
|
:footer="$parent.$parent.footer"
|
|
@@ -192,9 +193,8 @@
|
|
|
192
193
|
</div>
|
|
193
194
|
</div>
|
|
194
195
|
</criteria>
|
|
195
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
196
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :optional="true">
|
|
196
197
|
<template partial='head'>
|
|
197
|
-
<tr>
|
|
198
198
|
<th><nobr>序号</nobr></th>
|
|
199
199
|
<th><nobr>客户编号</nobr></th>
|
|
200
200
|
<th><nobr>客户电话</nobr></th>
|
|
@@ -220,7 +220,6 @@
|
|
|
220
220
|
<!-- <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>累计未购气天数</nobr></th>-->
|
|
221
221
|
<!-- <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>累计未抄表天数</nobr></th>-->
|
|
222
222
|
<th><nobr>组织机构</nobr></th>
|
|
223
|
-
</tr>
|
|
224
223
|
</template>
|
|
225
224
|
<template partial='body'>
|
|
226
225
|
<td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
|
|
@@ -258,6 +257,39 @@
|
|
|
258
257
|
</tr>
|
|
259
258
|
</table>
|
|
260
259
|
</div>
|
|
260
|
+
<modal :show.sync="shieldingShow" backdrop="false">
|
|
261
|
+
<header slot="modal-header" class="modal-header text-center">
|
|
262
|
+
<h4 class="modal-title">用户拉黑</h4>
|
|
263
|
+
</header>
|
|
264
|
+
<article slot="modal-body">
|
|
265
|
+
<validator name='v'>
|
|
266
|
+
<form novalidate class="form-horizontal select-overspread ">
|
|
267
|
+
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
|
|
268
|
+
<div class="col-sm-4 form-group" id="f_type" :class="[$v.black.required ? 'has-error' : 'has-success']">
|
|
269
|
+
<label for="f_type" style="margin-left: -13px;" class="font_normal_body" title="参数:黑名单类型">黑名单类型</label>
|
|
270
|
+
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.black.selectedItems"
|
|
271
|
+
v-validate:black='{required: true }'>
|
|
272
|
+
<v-select :value.sync="shieldingmodel.f_type" v-model="shieldingmodel.f_type" width="53%"
|
|
273
|
+
:options='types' placeholder='黑名单类型' title="参数:黑名单类型"
|
|
274
|
+
:search="false" :value-single="true" close-on-select v-ref:black></v-select>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
|
|
279
|
+
<div class="col-sm-12 form-group" id="f_comments" :class="[$v.f_comments.required ? 'has-error' : 'has-success']">
|
|
280
|
+
<label for="f_comments" class=" font_normal_body"><nobr>原  因</nobr></label>
|
|
281
|
+
<input class="input_search" type="text" class="input_search" style="width:87%" v-model="shieldingmodel.f_comments"
|
|
282
|
+
placeholder="原因" v-validate:f_comments='{required: true }' >
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
</form>
|
|
286
|
+
</validator>
|
|
287
|
+
</article>
|
|
288
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
289
|
+
<button type="button" class="btn btn-default" @click='cancelShielding()'>取消</button>
|
|
290
|
+
<button type="button" class="btn btn-success" @click='confirmShielding()' :disabled='!$v.valid'>确认</button>
|
|
291
|
+
</footer>
|
|
292
|
+
</modal>
|
|
261
293
|
<div class="flex" v-if="show">
|
|
262
294
|
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
263
295
|
</div>
|
|
@@ -281,6 +313,7 @@
|
|
|
281
313
|
|
|
282
314
|
// await self.$refs.paged.$refs.cri.search()
|
|
283
315
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
316
|
+
self.$refs.paged.$refs.grid.selectInit()
|
|
284
317
|
}
|
|
285
318
|
export default {
|
|
286
319
|
title: '购气稽查',
|
|
@@ -316,6 +349,12 @@
|
|
|
316
349
|
user:[],
|
|
317
350
|
},
|
|
318
351
|
defaultfield: [],
|
|
352
|
+
shieldingmodel: {
|
|
353
|
+
f_type: '',
|
|
354
|
+
f_comments: ''
|
|
355
|
+
},
|
|
356
|
+
shieldingShow: false,
|
|
357
|
+
types: this.$appdata.getParam('黑名单类型'),
|
|
319
358
|
}
|
|
320
359
|
},
|
|
321
360
|
watch:{
|
|
@@ -474,8 +513,41 @@
|
|
|
474
513
|
let year = new Date().getFullYear()
|
|
475
514
|
this.$refs.paged.$refs.cri.model.startDate = year+'-01-01'
|
|
476
515
|
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
|
|
516
|
+
self.$refs.paged.$refs.grid.selectInit()
|
|
517
|
+
},
|
|
518
|
+
shielding() {
|
|
519
|
+
if(!(this.$refs.paged.$refs.grid.getRowData().length > 0)) {
|
|
520
|
+
this.$showAlert('请至少选择一项', 'warning', 1500)
|
|
521
|
+
return
|
|
522
|
+
}
|
|
523
|
+
this.shieldingShow = true
|
|
524
|
+
},
|
|
525
|
+
cancelShielding() {
|
|
526
|
+
this.shieldingShow = false
|
|
527
|
+
this.$refs.paged.$refs.grid.selectInit()
|
|
528
|
+
},
|
|
529
|
+
async confirmShielding() {
|
|
530
|
+
let data = {
|
|
531
|
+
rows: this.$refs.paged.$refs.grid.getRowData(),
|
|
532
|
+
f_operat_type: '拉黑',
|
|
533
|
+
f_operator: this.$login.f.name,
|
|
534
|
+
f_operatorid: this.$login.f.id,
|
|
535
|
+
f_orgid: this.$login.f.orgid,
|
|
536
|
+
f_orgname: this.$login.f.orgs,
|
|
537
|
+
f_depid: this.$login.f.depids,
|
|
538
|
+
f_depname: this.$login.f.deps,
|
|
539
|
+
f_operate_date: this.$login.toStandardTimeString(),
|
|
540
|
+
f_userinfo_id: {
|
|
541
|
+
f_userinfo_id: this.model.f_userinfo_id,
|
|
542
|
+
f_user_state: '正常',
|
|
543
|
+
version: this.model.version
|
|
544
|
+
},
|
|
545
|
+
shieldingmodel: this.shieldingmodel
|
|
546
|
+
}
|
|
547
|
+
console.log(data)
|
|
548
|
+
await this.$resetpost('rs/logic/batchShielding',data, {resolveMsg: '拉黑成功', rejectMsg: '拉黑失败'})
|
|
549
|
+
this.cancelShielding()
|
|
477
550
|
}
|
|
478
|
-
|
|
479
551
|
},
|
|
480
552
|
computed: {
|
|
481
553
|
gasproperties() {
|