manage-client 3.2.51 → 3.2.56
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/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +6 -5
- package/package.json +1 -1
- package/src/components/SellReport/PriceReportWH.vue +180 -0
- package/src/components/sale/businessquery/BusinessManage.vue +171 -171
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +645 -645
- package/src/components/sale/businessquery/ChargeQuery.vue +13 -12
- package/src/components/sale/businessquery/FillCardQuery.vue +497 -497
- package/src/components/sale/businessquery/gasPriceQuery.vue +36 -68
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +4 -7
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +4 -2
- package/src/filiale/rongchuang/ChargeQuery.vue +15 -54
- package/src/filiale/rongchuang/PrintData.vue +239 -0
- package/src/filiale/rongchuang/PrintTable.vue +241 -0
- package/src/filiale/rongchuang/exportConfig.js +5 -1
- package/src/filiale/rongchuang/sale.js +3 -1
- package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
- package/src/filiale/shaoguan/config/exportConfig.js +11 -0
- package/src/filiale/shaoguan/errorHandplanQuery.vue +33 -14
- package/src/filiale/wuhai/BusinessManage.vue +171 -0
- package/src/filiale/wuhai/common/TabButton.vue +155 -0
- package/src/filiale/wuhai/common/Tabs.vue +67 -0
- package/src/filiale/wuhai/sale.js +12 -10
- package/src/main.js +66 -66
- package/src/reportManage.js +4 -0
|
@@ -5,6 +5,17 @@ export default{
|
|
|
5
5
|
'f_building': '楼栋','f_unit': '单元','f_floor': '楼层','f_room': '门牌号',
|
|
6
6
|
'f_user_state': '客户状态','f_createfile_date': '建档日期','f_createfile_person': '建档人','f_comments': '备注'
|
|
7
7
|
},
|
|
8
|
+
Wrongquery: {
|
|
9
|
+
'f_userinfo_code' : '用户编号',
|
|
10
|
+
'f_user_name' : '用户名称',
|
|
11
|
+
'f_meternumber' : '表号',
|
|
12
|
+
'f_bank_pay_number' : '缴费编号',
|
|
13
|
+
'f_operator_date' : '抄表时间',
|
|
14
|
+
'f_operator_type' : '错误类型',
|
|
15
|
+
'f_error_type' : '错误原因',
|
|
16
|
+
'f_bankname' : '银行名称',
|
|
17
|
+
'f_msg' : '错误信息'
|
|
18
|
+
},
|
|
8
19
|
//操作记录查询
|
|
9
20
|
recordConfig:{
|
|
10
21
|
'f_operat_type':'操作类型','f_describe':'操作详情','f_state':'状态','f_operate_date':'操作时间','f_orgname':'公司名称',
|
|
@@ -309,20 +309,39 @@
|
|
|
309
309
|
async cxfps(row){
|
|
310
310
|
console.log("登录人",this.$login.f)
|
|
311
311
|
//组织数据
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
let
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
312
|
+
let param=this.cxfpsParam(row)
|
|
313
|
+
//查询本月是否已缴费
|
|
314
|
+
let queryFee= await this.$resetpost('rs/logic/feeChargeQuery', {data: param}, {resolveMsg: '', rejectMsg: '查询本月收费失败'})
|
|
315
|
+
if(queryFee.data){
|
|
316
|
+
this.$showAlert('此用户已反盘,请在收费查询确认此用户是否已缴费','warning','3000')
|
|
317
|
+
let data={
|
|
318
|
+
id:row.id,
|
|
319
|
+
f_error_type:'扣款成功',
|
|
320
|
+
f_operator_type: `反盘导入`,
|
|
321
|
+
f_operator_info:`${this.$login.f.name}进行反盘导入,收费成功`,
|
|
322
|
+
f_msg:`反盘收费,${row.f_userinfo_code}收费成功`
|
|
323
|
+
}
|
|
324
|
+
await this.$resetpost('rs/entity/t_handerror',data,{resolveMsg: '', rejectMsg: '更新错误查询记录失败'})
|
|
325
|
+
this.$refs.paged.$refs.cri.search()
|
|
326
|
+
} else {
|
|
327
|
+
let http=new HttpResetClass()
|
|
328
|
+
let res = await http.load('post', 'rs/logic/machineChargePay', {data: param}, {
|
|
329
|
+
resolveMsg: '',
|
|
330
|
+
rejectMsg: '反盘收费失败,请确认系统信息'
|
|
331
|
+
})
|
|
332
|
+
let data={
|
|
333
|
+
id:row.id,
|
|
334
|
+
f_error_type:'扣款成功',
|
|
335
|
+
f_operator_type: `反盘导入`,
|
|
336
|
+
f_operator_info:`${this.$login.f.name}进行重新反盘,收费成功`,
|
|
337
|
+
f_msg:`反盘收费,${row.f_userinfo_code}收费成功`
|
|
338
|
+
}
|
|
339
|
+
if(res.data){
|
|
340
|
+
await this.$resetpost('rs/logic/updateHanderror', {data:data},{resolveMsg: '反盘收费成功', rejectMsg: '反盘收费成功,修改错误状态失败'})
|
|
341
|
+
this.$refs.paged.$refs.cri.search()
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
326
345
|
},
|
|
327
346
|
async selfSearch (args){
|
|
328
347
|
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <div v-if="listpage">-->
|
|
3
|
+
<tab-button v-ref:list :active="-1">
|
|
4
|
+
<tabs header="收费查询" v-if="permission('收费查询')">
|
|
5
|
+
<charge-query v-if="show.includes('收费查询')" @deal-msg="dealMsg" :data="data"></charge-query>
|
|
6
|
+
</tabs>
|
|
7
|
+
<tabs header="换表查询" v-if="permission('换表查询')">
|
|
8
|
+
<change-meter-query v-if="show.includes('换表查询')" @deal-msg="dealMsg" :data="data"></change-meter-query>
|
|
9
|
+
</tabs>
|
|
10
|
+
<tabs header="物联网抄表查询" v-if="permission('物联网抄表查询')">
|
|
11
|
+
<handplan-query v-if="show.includes('物联网抄表查询')" @deal-msg="dealMsg" :data="data"></handplan-query>
|
|
12
|
+
</tabs>
|
|
13
|
+
<tabs header="过户查询" v-if="permission('过户查询')">
|
|
14
|
+
<transfer-query v-if="show.includes('过户查询')" @deal-msg="dealMsg" :data="data"></transfer-query>
|
|
15
|
+
</tabs>
|
|
16
|
+
<tabs header="其他收费查询" v-if="permission('其他收费查询')">
|
|
17
|
+
<other-charge-query v-if="show.includes('其他收费查询')" @deal-msg="dealMsg" :data="data"></other-charge-query>
|
|
18
|
+
</tabs>
|
|
19
|
+
<tabs header="冲正查询" v-if="permission('冲正查询')">
|
|
20
|
+
<reverse-query v-if="show.includes('冲正查询')" @deal-msg="dealMsg" :data="data"></reverse-query>
|
|
21
|
+
</tabs>
|
|
22
|
+
<tabs header="补卡查询" v-if="permission('补卡查询')">
|
|
23
|
+
<fill-card-query v-if="show.includes('补卡查询')" @deal-msg="dealMsg" :data="data"></fill-card-query>
|
|
24
|
+
</tabs>
|
|
25
|
+
<tabs header="补气查询" v-if="permission('补气查询')">
|
|
26
|
+
<fill-gas-query v-if="show.includes('补气查询')" @deal-msg="dealMsg" :data="data"></fill-gas-query>
|
|
27
|
+
</tabs>
|
|
28
|
+
<tabs header="启用查询" v-if="permission('启用查询')">
|
|
29
|
+
<enable-query v-if="show.includes('启用查询')" @deal-msg="dealMsg" :data="data" :residentialarea="residentialArea"></enable-query>
|
|
30
|
+
</tabs>
|
|
31
|
+
<tabs header="停用查询" v-if="permission('停用查询')">
|
|
32
|
+
<disable-query v-if="show.includes('停用查询')" @deal-msg="dealMsg" :data="data" :residentialarea="residentialArea"></disable-query>
|
|
33
|
+
</tabs>
|
|
34
|
+
<tabs header="销户查询" v-if="permission('销户查询')">
|
|
35
|
+
<cancellation-query v-if="show.includes('销户查询')" @deal-msg="dealMsg" :data="data"></cancellation-query>
|
|
36
|
+
</tabs>
|
|
37
|
+
<tabs header="减免优惠查询" v-if="permission('减免优惠查询')">
|
|
38
|
+
<over-due-query v-if="show.includes('减免优惠查询')" @deal-msg="dealMsg" :data="data"></over-due-query>
|
|
39
|
+
</tabs>
|
|
40
|
+
<tabs header="调价补差查询" v-if="permission('调价补差查询')">
|
|
41
|
+
<priceadjust-query v-if="show.includes('调价补差查询')" @deal-msg="dealMsg" :data="data"></priceadjust-query>
|
|
42
|
+
</tabs>
|
|
43
|
+
<tabs header="迁表查询" v-if="permission('迁表查询')">
|
|
44
|
+
<movemeter-query v-if="show.includes('迁表查询')" @deal-msg="dealMsg" :data="data"></movemeter-query>
|
|
45
|
+
</tabs>
|
|
46
|
+
<tabs header="卡表抄表查询" v-if="permission('卡表抄表查询')">
|
|
47
|
+
<card-handplan-query v-if="show.includes('卡表抄表查询')" @deal-msg="dealMsg" :data="data"></card-handplan-query>
|
|
48
|
+
</tabs>
|
|
49
|
+
<tabs header="收据查询" v-if="permission('收据查询')">
|
|
50
|
+
<meter-receipt-query v-if="show.includes('收据查询')" @deal-msg="dealMsg" :data="data"></meter-receipt-query>
|
|
51
|
+
</tabs>
|
|
52
|
+
<!-- <tabs header="操作记录查询" v-if="permission('操作记录查询')">-->
|
|
53
|
+
<!-- <record-query v-if="show == '操作记录查询'" @deal-msg="dealMsg" :data="data"></record-query>-->
|
|
54
|
+
<!-- </tabs>-->
|
|
55
|
+
<tabs header="业务查询" v-if="permission('业务查询')">
|
|
56
|
+
<busines-query v-if="show.includes('业务查询')" @deal-msg="dealMsg" :data="data"></busines-query>
|
|
57
|
+
</tabs>
|
|
58
|
+
<tabs header="预存查询" v-if="permission('预存查询')">
|
|
59
|
+
<yucun-detailss v-if="show.includes('预存查询')" @deal-msg="dealMsg" :data="data"></yucun-detailss>
|
|
60
|
+
</tabs>
|
|
61
|
+
<tabs header="发折查询" v-if="permission('发折查询')">
|
|
62
|
+
<sendbook-query v-if="show.includes('发折查询')" @deal-msg="dealMsg" :data="data"></sendbook-query>
|
|
63
|
+
</tabs>
|
|
64
|
+
<tabs header="可疑用户查询" v-if="permission('可疑用户查询')">
|
|
65
|
+
<suspicious-user-query v-if="show.includes('可疑用户查询')" @deal-msg="dealMsg" :data="data"></suspicious-user-query>
|
|
66
|
+
</tabs>
|
|
67
|
+
<tabs header="气价变更查询" v-if="permission('气价变更查询')">
|
|
68
|
+
<price-change v-if="show.includes('气价变更查询')" @deal-msg="dealMsg" :data="data"></price-change>
|
|
69
|
+
</tabs>
|
|
70
|
+
<tabs header="扎帐查询" v-if="permission('扎帐查询')">
|
|
71
|
+
<prick-bill-query v-if="show.includes('扎帐查询')" @deal-msg="dealMsg" :data="data"></prick-bill-query>
|
|
72
|
+
</tabs>
|
|
73
|
+
<!-- <tabs header="资源操作记录查询" v-if="permission('资源操作记录查询')">-->
|
|
74
|
+
<!-- <resource-operating-query v-if="show == '资源操作记录查询'" @deal-msg="dealMsg" :data="data"></resource-operating-query>-->
|
|
75
|
+
<!-- </tabs>-->
|
|
76
|
+
<tabs header="调价记录查询" v-if="permission('调价记录查询')">
|
|
77
|
+
<pricechange-record v-if="show.includes('调价记录查询')" @deal-msg="dealMsg" :data="data"></pricechange-record>
|
|
78
|
+
</tabs>
|
|
79
|
+
<tabs header="维护记录查询" v-if="permission('维护记录查询')">
|
|
80
|
+
<infooperate-record v-if="show.includes('维护记录查询')" @deal-msg="dealMsg" :data="data"></infooperate-record>
|
|
81
|
+
</tabs>
|
|
82
|
+
<tabs header="气损收费查询" v-if="permission('气损收费查询')">
|
|
83
|
+
<gasloss-query v-if="show.includes('气损收费查询')" @deal-msg="dealMsg" :data="data"></gasloss-query>
|
|
84
|
+
</tabs>
|
|
85
|
+
<tabs header="气价信息查询" v-if="permission('气价信息查询')">
|
|
86
|
+
<gas-price-query v-if="show.includes('气价信息查询')" @deal-msg="dealMsg" :data="data"></gas-price-query>
|
|
87
|
+
</tabs>
|
|
88
|
+
|
|
89
|
+
</tab-button>
|
|
90
|
+
<!-- </div>-->
|
|
91
|
+
<!-- <div v-if="!listpage">-->
|
|
92
|
+
<!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
|
|
93
|
+
<!-- </div>-->
|
|
94
|
+
</template>
|
|
95
|
+
|
|
96
|
+
<script>
|
|
97
|
+
import TabButton from './common/TabButton'
|
|
98
|
+
import Tabs from './common/Tabs'
|
|
99
|
+
import ChargeQuery from './ChargeQuery'
|
|
100
|
+
import { HttpResetClass } from 'vue-client'
|
|
101
|
+
|
|
102
|
+
export default {
|
|
103
|
+
name: "BusinessQuery",
|
|
104
|
+
title: '业务查询',
|
|
105
|
+
data() {
|
|
106
|
+
return {// 页面开关
|
|
107
|
+
residentialArea: [],
|
|
108
|
+
f_start_date: '',
|
|
109
|
+
f_end_date: '',
|
|
110
|
+
listpage: true,
|
|
111
|
+
width: {
|
|
112
|
+
left: '100%',
|
|
113
|
+
right: '0%'
|
|
114
|
+
},
|
|
115
|
+
// searchNumber:'',
|
|
116
|
+
rowData: {},
|
|
117
|
+
show: [],
|
|
118
|
+
data: {
|
|
119
|
+
startDate: this.$login.toStandardDateString() + ' 00:00:00',
|
|
120
|
+
endDate: this.$login.toStandardDateString() + ' 23:59:59',
|
|
121
|
+
f_userinfo_code:''
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
components: {Tabs, TabButton, ChargeQuery},
|
|
127
|
+
ready() {
|
|
128
|
+
this.getaddress()
|
|
129
|
+
console.log(this.$refs.list)
|
|
130
|
+
console.log('业务查询')
|
|
131
|
+
},
|
|
132
|
+
methods: {
|
|
133
|
+
async getaddress(){
|
|
134
|
+
let HttpReset = new HttpResetClass()
|
|
135
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
136
|
+
data: {
|
|
137
|
+
condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
|
|
138
|
+
}
|
|
139
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
140
|
+
console.log('小区',data)
|
|
141
|
+
let house = []
|
|
142
|
+
for (let row of data.data){
|
|
143
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
144
|
+
}
|
|
145
|
+
house.unshift({label: '全部', value: ''})
|
|
146
|
+
this.residentialArea = house
|
|
147
|
+
},
|
|
148
|
+
permission(name) {
|
|
149
|
+
if (this.$login.r.find(value => value == '综合查询')) {
|
|
150
|
+
if (!this.$login.r.find(value => value == name)) {
|
|
151
|
+
return false
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return true
|
|
155
|
+
},
|
|
156
|
+
cancel(obj) {
|
|
157
|
+
this.listpage = true
|
|
158
|
+
},
|
|
159
|
+
dealMsg(obj) {
|
|
160
|
+
this.rowData = obj
|
|
161
|
+
this.listpage = false
|
|
162
|
+
this.f_start_date = obj.model.startDate
|
|
163
|
+
this.f_end_date = obj.model.endDate
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
</script>
|
|
168
|
+
|
|
169
|
+
<style scoped>
|
|
170
|
+
|
|
171
|
+
</style>
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class='flex foot_tabset1'>
|
|
3
|
+
<!-- Nav tabs -->
|
|
4
|
+
<ul class="nav nav-{{navStyle}}" role="tablist" style="margin-left: 1%">
|
|
5
|
+
<li style="margin-right: 10px"
|
|
6
|
+
:id="'vc-tabset-li-'+attach +'-'+$index"
|
|
7
|
+
v-for="r in renderData"
|
|
8
|
+
@click.prevent="handleTabListClick($index, r)"
|
|
9
|
+
:disabled="r.disabled"
|
|
10
|
+
>
|
|
11
|
+
<button class="button_new" style="width: max-content" v-bind:class="{
|
|
12
|
+
'btn-succ': ($index === active),
|
|
13
|
+
'disabled': r.disabled
|
|
14
|
+
}">
|
|
15
|
+
<slot name="header">
|
|
16
|
+
{{r.header}}
|
|
17
|
+
</slot>
|
|
18
|
+
<!-- 关闭按钮 -->
|
|
19
|
+
<span class="glyphicon glyphicon-remove" style="margin-left: 15px;" @click="deletetTab(r)" v-if="close" :id="'vc-tabset-close-'+attach +'-'+$index"></span>
|
|
20
|
+
</button>
|
|
21
|
+
|
|
22
|
+
</li>
|
|
23
|
+
</ul>
|
|
24
|
+
|
|
25
|
+
<!-- Tab panes -->
|
|
26
|
+
<div class="tab-content span" v-el:tab-content>
|
|
27
|
+
<slot></slot>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
import {remove} from 'vue-client/src/stores/Remove.js'
|
|
34
|
+
|
|
35
|
+
export default {
|
|
36
|
+
props: {
|
|
37
|
+
navStyle: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: 'tabs'
|
|
40
|
+
},
|
|
41
|
+
effect: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: 'fadein'
|
|
44
|
+
},
|
|
45
|
+
active: {
|
|
46
|
+
type: Number,
|
|
47
|
+
default: 0
|
|
48
|
+
},
|
|
49
|
+
close: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: false
|
|
52
|
+
},
|
|
53
|
+
attach: {
|
|
54
|
+
type: String,
|
|
55
|
+
default: 'vuestrap'
|
|
56
|
+
},
|
|
57
|
+
content: {}
|
|
58
|
+
},
|
|
59
|
+
ready () {
|
|
60
|
+
remove.$on('remove', (name) => {
|
|
61
|
+
console.log('tabset收$on 到的名字为:', name)
|
|
62
|
+
this.$removeTab(name)
|
|
63
|
+
})
|
|
64
|
+
},
|
|
65
|
+
data () {
|
|
66
|
+
return {
|
|
67
|
+
// 数据格式:{comp, header,disabled}
|
|
68
|
+
// - comp: 当前页签对应的tab组件
|
|
69
|
+
renderData: []
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
methods: {
|
|
73
|
+
handleTabListClick (index, el) {
|
|
74
|
+
// 没有打开过, 则添加显示
|
|
75
|
+
if (!this.$parent.show.includes(el.header)) {
|
|
76
|
+
this.$parent.show.push(el.header)
|
|
77
|
+
}
|
|
78
|
+
if (el.comp._scope && el.comp._scope.tab) {
|
|
79
|
+
this.$dispatch('tab-changed', el.comp._scope.tab.comp.name)
|
|
80
|
+
}
|
|
81
|
+
if (!el.disabled) this.active = index
|
|
82
|
+
},
|
|
83
|
+
// deletetab函数为自己添加
|
|
84
|
+
deletetTab (el) {
|
|
85
|
+
this.$removeTab(el.comp._scope.tab.comp.name)
|
|
86
|
+
remove.$emit('delete', el.comp._scope.tab.comp.name)
|
|
87
|
+
},
|
|
88
|
+
// 根据删除也下标,修改所有页签的下标
|
|
89
|
+
modifyAllIndex (index) {
|
|
90
|
+
let cur = this.active
|
|
91
|
+
this.$nextTick(() => {
|
|
92
|
+
// 关闭页签以后的多有页签的的下标向前挪动一位,之前的页签不动
|
|
93
|
+
for (var i = index; i < this.renderData.length; i++) {
|
|
94
|
+
this.renderData[i].comp.index -= 1
|
|
95
|
+
}
|
|
96
|
+
// 修改激活页
|
|
97
|
+
// 获取当前激活页签下标,关闭在当前激活页之后(包含当前激活页),当前激活页下标不变
|
|
98
|
+
// 当关闭当前激活页之前(激活页向前移动一位)
|
|
99
|
+
if (this.active > index || this.active === this.renderData.length) {
|
|
100
|
+
this.active = cur - 1
|
|
101
|
+
} else if (cur === 0) {
|
|
102
|
+
this.active = 0
|
|
103
|
+
} else {
|
|
104
|
+
this.active = cur
|
|
105
|
+
}
|
|
106
|
+
if (this.active === -1) {
|
|
107
|
+
this.$dispatch('tab-changed', null)
|
|
108
|
+
}else {
|
|
109
|
+
this.$dispatch('tab-changed', this.renderData[this.active].comp._scope.tab.comp.name)
|
|
110
|
+
}
|
|
111
|
+
})
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
events: {
|
|
115
|
+
'delete' (index) {
|
|
116
|
+
this.modifyAllIndex(index)
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
</script>
|
|
121
|
+
|
|
122
|
+
<style scoped>
|
|
123
|
+
ul > li > a {
|
|
124
|
+
position: relative;
|
|
125
|
+
}
|
|
126
|
+
ul > li > a > span {
|
|
127
|
+
display: none;
|
|
128
|
+
}
|
|
129
|
+
/*ul > li > a:hover > span {*/
|
|
130
|
+
/*display: initial;*/
|
|
131
|
+
/*position: absolute;*/
|
|
132
|
+
/*right: 0;*/
|
|
133
|
+
/*top: 35%;*/
|
|
134
|
+
/*border: 1px solid #EAEAEA;*/
|
|
135
|
+
/*}*/
|
|
136
|
+
/*ul > li > a:hover > span:hover {*/
|
|
137
|
+
/*border: 1px solid #EAEAEA;*/
|
|
138
|
+
/*color: #5cb95c;*/
|
|
139
|
+
/*}*/
|
|
140
|
+
ul > li > button {
|
|
141
|
+
background-color: #FFFFFF;
|
|
142
|
+
border-radius: 4px;
|
|
143
|
+
color: #999;
|
|
144
|
+
border: 1px solid #5cb95c;
|
|
145
|
+
}
|
|
146
|
+
.btn-succ{
|
|
147
|
+
background-color: #6aa6e2;
|
|
148
|
+
border-radius: 4px;
|
|
149
|
+
color: #fff;
|
|
150
|
+
}
|
|
151
|
+
.foot_tabset1 > .nav {
|
|
152
|
+
overflow-x: scroll;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
}
|
|
155
|
+
</style>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div role="tabpanel" class="tab-pane"
|
|
3
|
+
v-bind:class="{hide:!show}"
|
|
4
|
+
v-show="show"
|
|
5
|
+
:transition="transition"
|
|
6
|
+
>
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import coerceBoolean from 'vue-client/src/vue-strap/src/utils/coerceBoolean.js'
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
props: {
|
|
16
|
+
header: {
|
|
17
|
+
type: String
|
|
18
|
+
},
|
|
19
|
+
disabled: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
coerce: coerceBoolean,
|
|
22
|
+
default: false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
data () {
|
|
26
|
+
return {
|
|
27
|
+
index: 0,
|
|
28
|
+
show: false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
watch: {
|
|
32
|
+
'header' (val) {
|
|
33
|
+
// header变化时,通知tabset
|
|
34
|
+
let data = this.$parent.renderData.find((v) => v.comp === this)
|
|
35
|
+
data.header = val
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
computed: {
|
|
39
|
+
show () {
|
|
40
|
+
return (this.$parent.active === this.index)
|
|
41
|
+
},
|
|
42
|
+
transition () {
|
|
43
|
+
return this.$parent.effect
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
created () {
|
|
47
|
+
this.$parent.renderData.push({
|
|
48
|
+
comp: this,
|
|
49
|
+
header: this.header,
|
|
50
|
+
disabled: this.disabled
|
|
51
|
+
})
|
|
52
|
+
},
|
|
53
|
+
ready () {
|
|
54
|
+
// 找到当前tab的索引
|
|
55
|
+
this.index = this.$parent.$children.findIndex((v) => v.$el === this.$el)
|
|
56
|
+
},
|
|
57
|
+
beforeDestroy () {
|
|
58
|
+
this.$parent.renderData.splice(this.index, 1)
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
</script>
|
|
62
|
+
|
|
63
|
+
<style scoped>
|
|
64
|
+
.tab-content > .tab-pane {
|
|
65
|
+
display: block;
|
|
66
|
+
}
|
|
67
|
+
</style>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
// 分公司特殊组件页面注册
|
|
2
|
-
let specialComp = {
|
|
3
|
-
// 收费查询
|
|
4
|
-
'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) }
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
// 分公司特殊组件页面注册
|
|
2
|
+
let specialComp = {
|
|
3
|
+
// 收费查询
|
|
4
|
+
'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
|
|
5
|
+
// 业务查询
|
|
6
|
+
'business-manage': (resolve) => { require(['./BusinessManage'], resolve)}
|
|
7
|
+
}
|
|
8
|
+
exports.specialComp = specialComp
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
package/src/main.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
|
|
5
|
-
// import { sale } from 'sale-client'
|
|
6
|
-
import { system } from 'system-clients'
|
|
7
|
-
import { ldap } from 'ldap-clients'
|
|
8
|
-
import saleManage from './saleManage'
|
|
9
|
-
import webmeterManage from './webmeterManage'
|
|
10
|
-
import reportManage from './reportManage'
|
|
11
|
-
import newmanage from './newmanage'
|
|
12
|
-
import ManageHome from './ManageHome'
|
|
13
|
-
import echarts from 'echarts'
|
|
14
|
-
import AMap from 'vue-amap'
|
|
15
|
-
|
|
16
|
-
Vue.config.silent = true
|
|
17
|
-
// Vue.mmType = 'AES'
|
|
18
|
-
|
|
19
|
-
Vue.use(AMap);
|
|
20
|
-
|
|
21
|
-
// 初始化vue-amap
|
|
22
|
-
AMap.initAMapApiLoader({
|
|
23
|
-
// 高德key
|
|
24
|
-
key: '3cec9ae8e2349207f7ac29279e3f4abe',
|
|
25
|
-
// 插件集合 (插件按需引入)
|
|
26
|
-
plugin: [
|
|
27
|
-
"AMap.Autocomplete", //输入提示插件
|
|
28
|
-
"AMap.PlaceSearch", //POI搜索插件
|
|
29
|
-
"AMap.Scale", //右下角缩略图插件 比例尺
|
|
30
|
-
"AMap.OverView", //地图鹰眼插件
|
|
31
|
-
"AMap.ToolBar", //地图工具条0
|
|
32
|
-
"AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
|
|
33
|
-
"AMap.PolyEditor", //编辑 折线多,边形
|
|
34
|
-
"AMap.CircleEditor", //圆形编辑器插件
|
|
35
|
-
"AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
|
|
36
|
-
],
|
|
37
|
-
uiVersion: "1.0"
|
|
38
|
-
});
|
|
39
|
-
/** **************************通用组件******************************/
|
|
40
|
-
|
|
41
|
-
Vue.prototype.$echarts = echarts
|
|
42
|
-
all()
|
|
43
|
-
// sale()
|
|
44
|
-
ldap()
|
|
45
|
-
system(false)
|
|
46
|
-
saleManage()
|
|
47
|
-
|
|
48
|
-
webmeterManage()
|
|
49
|
-
ManageHome()
|
|
50
|
-
newmanage()
|
|
51
|
-
reportManage('tongchuan')
|
|
52
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
53
|
-
require('./components/qinhua/Style/qinhuaStyle.less')
|
|
54
|
-
// require('./bootstrap/less/manageStyle/manageChile.less')
|
|
55
|
-
// require('./bootstrap/less/manageStyle/safeStyle.less')
|
|
56
|
-
|
|
57
|
-
//大屏展示要放开的样式
|
|
58
|
-
// require('system-clients/src/styles/less/manageStyle/manageChile.less')
|
|
59
|
-
// require('system-clients/src/styles/less/manageStyle/safeStyle.less')
|
|
60
|
-
// require('system-clients/src/styles/less/manageStyle/manageStyle.less')
|
|
61
|
-
|
|
62
|
-
new Vue({
|
|
63
|
-
el: 'body',
|
|
64
|
-
components: { App }
|
|
65
|
-
})
|
|
66
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
|
|
5
|
+
// import { sale } from 'sale-client'
|
|
6
|
+
import { system } from 'system-clients'
|
|
7
|
+
import { ldap } from 'ldap-clients'
|
|
8
|
+
import saleManage from './saleManage'
|
|
9
|
+
import webmeterManage from './webmeterManage'
|
|
10
|
+
import reportManage from './reportManage'
|
|
11
|
+
import newmanage from './newmanage'
|
|
12
|
+
import ManageHome from './ManageHome'
|
|
13
|
+
import echarts from 'echarts'
|
|
14
|
+
import AMap from 'vue-amap'
|
|
15
|
+
|
|
16
|
+
Vue.config.silent = true
|
|
17
|
+
// Vue.mmType = 'AES'
|
|
18
|
+
|
|
19
|
+
Vue.use(AMap);
|
|
20
|
+
|
|
21
|
+
// 初始化vue-amap
|
|
22
|
+
AMap.initAMapApiLoader({
|
|
23
|
+
// 高德key
|
|
24
|
+
key: '3cec9ae8e2349207f7ac29279e3f4abe',
|
|
25
|
+
// 插件集合 (插件按需引入)
|
|
26
|
+
plugin: [
|
|
27
|
+
"AMap.Autocomplete", //输入提示插件
|
|
28
|
+
"AMap.PlaceSearch", //POI搜索插件
|
|
29
|
+
"AMap.Scale", //右下角缩略图插件 比例尺
|
|
30
|
+
"AMap.OverView", //地图鹰眼插件
|
|
31
|
+
"AMap.ToolBar", //地图工具条0
|
|
32
|
+
"AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
|
|
33
|
+
"AMap.PolyEditor", //编辑 折线多,边形
|
|
34
|
+
"AMap.CircleEditor", //圆形编辑器插件
|
|
35
|
+
"AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
|
|
36
|
+
],
|
|
37
|
+
uiVersion: "1.0"
|
|
38
|
+
});
|
|
39
|
+
/** **************************通用组件******************************/
|
|
40
|
+
|
|
41
|
+
Vue.prototype.$echarts = echarts
|
|
42
|
+
all()
|
|
43
|
+
// sale()
|
|
44
|
+
ldap()
|
|
45
|
+
system(false)
|
|
46
|
+
saleManage('wuhai')
|
|
47
|
+
|
|
48
|
+
webmeterManage()
|
|
49
|
+
ManageHome()
|
|
50
|
+
newmanage()
|
|
51
|
+
reportManage('tongchuan')
|
|
52
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
53
|
+
require('./components/qinhua/Style/qinhuaStyle.less')
|
|
54
|
+
// require('./bootstrap/less/manageStyle/manageChile.less')
|
|
55
|
+
// require('./bootstrap/less/manageStyle/safeStyle.less')
|
|
56
|
+
|
|
57
|
+
//大屏展示要放开的样式
|
|
58
|
+
// require('system-clients/src/styles/less/manageStyle/manageChile.less')
|
|
59
|
+
// require('system-clients/src/styles/less/manageStyle/safeStyle.less')
|
|
60
|
+
// require('system-clients/src/styles/less/manageStyle/manageStyle.less')
|
|
61
|
+
|
|
62
|
+
new Vue({
|
|
63
|
+
el: 'body',
|
|
64
|
+
components: { App }
|
|
65
|
+
})
|
|
66
|
+
|
package/src/reportManage.js
CHANGED
|
@@ -488,6 +488,10 @@ export default function (filiale) {
|
|
|
488
488
|
Vue.component('public-other-report', (resolve) => {
|
|
489
489
|
require(['./components/SellReport/OtherChargePublicReport'], resolve)
|
|
490
490
|
})
|
|
491
|
+
// 其他收费通用报表
|
|
492
|
+
Vue.component('price-report-wh', (resolve) => {
|
|
493
|
+
require(['./components/SellReport/PriceReportWH'], resolve)
|
|
494
|
+
})
|
|
491
495
|
if (filiale) {
|
|
492
496
|
let filialeComp = require(`./filiale/${filiale}/reportManage`).specialComp
|
|
493
497
|
Vue.filialeInfo = Vue.prototype.$filialeInfo = filiale
|