manage-client 3.1.10-aode → 3.1.14-aode
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 +2 -2
- package/src/components/sale/businessquery/BusinessManage.vue +5 -2
- package/src/components/sale/common/TabButton.vue +149 -149
- package/src/components/sale/config/exportConfig.js +5 -0
- package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -0
- package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +413 -0
- package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -0
- package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +67 -0
- package/src/components/valueaddinfo/valueAddUserQuery.vue +380 -0
- package/src/components/webmeter/DrillData/UserGasAll.vue +15 -17
- package/src/components/webmeter/DrillData/UserGasEform.vue +226 -226
- package/src/components/webmeter/IOTArrears/arrears.vue +323 -0
- package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +369 -0
- package/src/components/webmeter/IOTArrears/valueConfig.js +14 -0
- package/src/components/webmeter/WebmeterHandplanQuery.vue +6 -6
- package/src/saleManage.js +19 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.14-aode",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"style": "0.0.3",
|
|
62
62
|
"style-loader": "^0.20.3",
|
|
63
63
|
"url-loader": "^0.5.7",
|
|
64
|
-
"vue-client": "1.22.
|
|
64
|
+
"vue-client": "1.22.24-aode",
|
|
65
65
|
"vue-hot-reload-api": "^1.2.0",
|
|
66
66
|
"vue-html-loader": "^1.0.0",
|
|
67
67
|
"vue-loader": "8.2.1",
|
|
@@ -34,11 +34,14 @@
|
|
|
34
34
|
<tabs header="停用查询">
|
|
35
35
|
<disable-query v-if="show[10]" @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></disable-query>
|
|
36
36
|
</tabs>
|
|
37
|
-
<tabs header="
|
|
37
|
+
<tabs header="增值业务变更记录查询">
|
|
38
38
|
<valueadd-info-query v-if="show[11]" @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-info-query>
|
|
39
39
|
</tabs>
|
|
40
|
+
<tabs header="用户增值业务信息查询">
|
|
41
|
+
<valueadd-user-query v-if="show[12]" @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-user-query>
|
|
42
|
+
</tabs>
|
|
40
43
|
<tabs header="用户销户启用查询">
|
|
41
|
-
<query-userinfo-state v-if="show[
|
|
44
|
+
<query-userinfo-state v-if="show[13]" @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></query-userinfo-state>
|
|
42
45
|
</tabs>
|
|
43
46
|
<!--<tabs header="开户查询">-->
|
|
44
47
|
<!--<new-account-query v-if="show[11]" @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></new-account-query>-->
|
|
@@ -1,149 +1,149 @@
|
|
|
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
|
-
this.$parent.show[index] = true
|
|
75
|
-
if (el.comp._scope && el.comp._scope.tab) {
|
|
76
|
-
this.$dispatch('tab-changed', el.comp._scope.tab.comp.name)
|
|
77
|
-
}
|
|
78
|
-
if (!el.disabled) this.active = index
|
|
79
|
-
},
|
|
80
|
-
// deletetab函数为自己添加
|
|
81
|
-
deletetTab (el) {
|
|
82
|
-
this.$removeTab(el.comp._scope.tab.comp.name)
|
|
83
|
-
remove.$emit('delete', el.comp._scope.tab.comp.name)
|
|
84
|
-
},
|
|
85
|
-
// 根据删除也下标,修改所有页签的下标
|
|
86
|
-
modifyAllIndex (index) {
|
|
87
|
-
let cur = this.active
|
|
88
|
-
this.$nextTick(() => {
|
|
89
|
-
// 关闭页签以后的多有页签的的下标向前挪动一位,之前的页签不动
|
|
90
|
-
for (var i = index; i < this.renderData.length; i++) {
|
|
91
|
-
this.renderData[i].comp.index -= 1
|
|
92
|
-
}
|
|
93
|
-
// 修改激活页
|
|
94
|
-
// 获取当前激活页签下标,关闭在当前激活页之后(包含当前激活页),当前激活页下标不变
|
|
95
|
-
// 当关闭当前激活页之前(激活页向前移动一位)
|
|
96
|
-
if (this.active > index || this.active === this.renderData.length) {
|
|
97
|
-
this.active = cur - 1
|
|
98
|
-
} else if (cur === 0) {
|
|
99
|
-
this.active = 0
|
|
100
|
-
} else {
|
|
101
|
-
this.active = cur
|
|
102
|
-
}
|
|
103
|
-
if (this.active === -1) {
|
|
104
|
-
this.$dispatch('tab-changed', null)
|
|
105
|
-
}else {
|
|
106
|
-
this.$dispatch('tab-changed', this.renderData[this.active].comp._scope.tab.comp.name)
|
|
107
|
-
}
|
|
108
|
-
})
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
events: {
|
|
112
|
-
'delete' (index) {
|
|
113
|
-
this.modifyAllIndex(index)
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
</script>
|
|
118
|
-
|
|
119
|
-
<style scoped>
|
|
120
|
-
ul > li > a {
|
|
121
|
-
position: relative;
|
|
122
|
-
}
|
|
123
|
-
ul > li > a > span {
|
|
124
|
-
display: none;
|
|
125
|
-
}
|
|
126
|
-
/*ul > li > a:hover > span {*/
|
|
127
|
-
/*display: initial;*/
|
|
128
|
-
/*position: absolute;*/
|
|
129
|
-
/*right: 0;*/
|
|
130
|
-
/*top: 35%;*/
|
|
131
|
-
/*border: 1px solid #EAEAEA;*/
|
|
132
|
-
/*}*/
|
|
133
|
-
/*ul > li > a:hover > span:hover {*/
|
|
134
|
-
/*border: 1px solid #EAEAEA;*/
|
|
135
|
-
/*color: #5cb95c;*/
|
|
136
|
-
/*}*/
|
|
137
|
-
ul > li > button {
|
|
138
|
-
background-color: #FFFFFF;
|
|
139
|
-
border-radius: 4px;
|
|
140
|
-
color: #999;
|
|
141
|
-
border: 1px solid #5cb95c;
|
|
142
|
-
}
|
|
143
|
-
.btn-succ{
|
|
144
|
-
background-color: #6aa6e2;
|
|
145
|
-
border-radius: 4px;
|
|
146
|
-
color: #fff;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class='flex foot_tabset1'>
|
|
3
|
+
<!-- Nav tabs -->
|
|
4
|
+
<ul class="nav nav-{{navStyle}}" role="tablist" style="margin-left: 1%;width: 100%; overflow: scroll;">
|
|
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
|
+
this.$parent.show[index] = true
|
|
75
|
+
if (el.comp._scope && el.comp._scope.tab) {
|
|
76
|
+
this.$dispatch('tab-changed', el.comp._scope.tab.comp.name)
|
|
77
|
+
}
|
|
78
|
+
if (!el.disabled) this.active = index
|
|
79
|
+
},
|
|
80
|
+
// deletetab函数为自己添加
|
|
81
|
+
deletetTab (el) {
|
|
82
|
+
this.$removeTab(el.comp._scope.tab.comp.name)
|
|
83
|
+
remove.$emit('delete', el.comp._scope.tab.comp.name)
|
|
84
|
+
},
|
|
85
|
+
// 根据删除也下标,修改所有页签的下标
|
|
86
|
+
modifyAllIndex (index) {
|
|
87
|
+
let cur = this.active
|
|
88
|
+
this.$nextTick(() => {
|
|
89
|
+
// 关闭页签以后的多有页签的的下标向前挪动一位,之前的页签不动
|
|
90
|
+
for (var i = index; i < this.renderData.length; i++) {
|
|
91
|
+
this.renderData[i].comp.index -= 1
|
|
92
|
+
}
|
|
93
|
+
// 修改激活页
|
|
94
|
+
// 获取当前激活页签下标,关闭在当前激活页之后(包含当前激活页),当前激活页下标不变
|
|
95
|
+
// 当关闭当前激活页之前(激活页向前移动一位)
|
|
96
|
+
if (this.active > index || this.active === this.renderData.length) {
|
|
97
|
+
this.active = cur - 1
|
|
98
|
+
} else if (cur === 0) {
|
|
99
|
+
this.active = 0
|
|
100
|
+
} else {
|
|
101
|
+
this.active = cur
|
|
102
|
+
}
|
|
103
|
+
if (this.active === -1) {
|
|
104
|
+
this.$dispatch('tab-changed', null)
|
|
105
|
+
}else {
|
|
106
|
+
this.$dispatch('tab-changed', this.renderData[this.active].comp._scope.tab.comp.name)
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
events: {
|
|
112
|
+
'delete' (index) {
|
|
113
|
+
this.modifyAllIndex(index)
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
</script>
|
|
118
|
+
|
|
119
|
+
<style scoped>
|
|
120
|
+
ul > li > a {
|
|
121
|
+
position: relative;
|
|
122
|
+
}
|
|
123
|
+
ul > li > a > span {
|
|
124
|
+
display: none;
|
|
125
|
+
}
|
|
126
|
+
/*ul > li > a:hover > span {*/
|
|
127
|
+
/*display: initial;*/
|
|
128
|
+
/*position: absolute;*/
|
|
129
|
+
/*right: 0;*/
|
|
130
|
+
/*top: 35%;*/
|
|
131
|
+
/*border: 1px solid #EAEAEA;*/
|
|
132
|
+
/*}*/
|
|
133
|
+
/*ul > li > a:hover > span:hover {*/
|
|
134
|
+
/*border: 1px solid #EAEAEA;*/
|
|
135
|
+
/*color: #5cb95c;*/
|
|
136
|
+
/*}*/
|
|
137
|
+
ul > li > button {
|
|
138
|
+
background-color: #FFFFFF;
|
|
139
|
+
border-radius: 4px;
|
|
140
|
+
color: #999;
|
|
141
|
+
border: 1px solid #5cb95c;
|
|
142
|
+
}
|
|
143
|
+
.btn-succ{
|
|
144
|
+
background-color: #6aa6e2;
|
|
145
|
+
border-radius: 4px;
|
|
146
|
+
color: #fff;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
</style>
|
|
@@ -15,6 +15,11 @@ export default{
|
|
|
15
15
|
'f_change_state':'状态','f_field_name':'增值服务类型','f_used_content':'变更前','f_new_content':'变更后','f_operator':'操作人','operator_orgname':'操作人所属公司',
|
|
16
16
|
'f_orgname': '所属公司'
|
|
17
17
|
},
|
|
18
|
+
valueuserinfoConfig:{
|
|
19
|
+
'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_address':'客户地址','f_user_type':'用户类型','f_gasproperties':'用气性质','f_meter_classify':'气表类型',
|
|
20
|
+
'f_meternumber':'表号','itemname':'增值服务类型','ishas':'有无增值业务','startdate':'购买时间','f_operate_date':'最后操作时间',
|
|
21
|
+
'f_orgname': '所属公司'
|
|
22
|
+
},
|
|
18
23
|
iotreportConfig:{
|
|
19
24
|
'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_user_type':'用户类型','f_gasproperties':'用气性质',
|
|
20
25
|
'f_tablebase': '本次抄表底数','f_last_tablebase':'上次抄表底数',
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row" >
|
|
3
|
+
<div class="basic-main" :style="{width:width}">
|
|
4
|
+
<other-day-report-list @getdata="getdata" @close="close" @show="show" :style="style" v-ref:list ></other-day-report-list>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="binary-right" v-if="summaryshow">
|
|
7
|
+
<ul class="nav nav-tabs">
|
|
8
|
+
<li class="active"><a href="#">数据汇总</a></li>
|
|
9
|
+
</ul>
|
|
10
|
+
<other-day-report-summary :sumsmodel="sumsmodel" v-ref:gas></other-day-report-summary>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
title:'日清单(其他收费)',
|
|
19
|
+
name: "DayReport",
|
|
20
|
+
data () {
|
|
21
|
+
return {
|
|
22
|
+
width:'100%',
|
|
23
|
+
summaryshow:false,
|
|
24
|
+
style:'col-sm-2'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
ready(){
|
|
28
|
+
},
|
|
29
|
+
methods:{
|
|
30
|
+
getdata(val){
|
|
31
|
+
console.log(val)
|
|
32
|
+
this.sumsmodel = val
|
|
33
|
+
},
|
|
34
|
+
show(){
|
|
35
|
+
this.width = '58%'
|
|
36
|
+
this.summaryshow = true
|
|
37
|
+
this.style='col-sm-3'
|
|
38
|
+
},
|
|
39
|
+
close(){
|
|
40
|
+
this.width = '100%'
|
|
41
|
+
this.summaryshow = false
|
|
42
|
+
this.style='col-sm-2'
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
</script>
|
|
47
|
+
|
|
48
|
+
<style>
|
|
49
|
+
</style>
|
|
50
|
+
|