manage-client 3.2.8 → 3.2.12

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.
Files changed (28) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +2 -2
  3. package/src/components/SellReport/BonSummary.vue +178 -244
  4. package/src/components/SellReport/DepartmentPrick.vue +1 -1
  5. package/src/components/SellReport/ManageBusSummary.vue +219 -242
  6. package/src/components/SellReport/ManageGasPrice.vue +176 -241
  7. package/src/components/SellReport/NonResidentGas.vue +203 -244
  8. package/src/components/SellReport/OutletTable.vue +258 -258
  9. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -499
  10. package/src/components/SellReport/SaleMonthReport.vue +153 -227
  11. package/src/components/SellReport/UserSellingGas.vue +177 -251
  12. package/src/components/TelReport/ZhiHuanservice.vue +162 -161
  13. package/src/components/sale/businessquery/BusinesQuery.vue +2 -2
  14. package/src/components/sale/businessquery/NoBusinessQuery.vue +4 -4
  15. package/src/components/sale/config/exportConfig.js +887 -885
  16. package/src/components/statistical/StatisticalAnalysis.vue +252 -247
  17. package/src/components/webmeter/instruction/NewQueryInstruct.vue +2 -2
  18. package/src/filiale/WEINAN/UserGasAll.vue +579 -0
  19. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -0
  20. package/src/filiale/WEINAN/UserGasList.vue +438 -0
  21. package/src/filiale/WEINAN/sale.js +36 -29
  22. package/src/filiale/meihekou/UserQuery.vue +4 -4
  23. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +5 -0
  24. package/src/filiale/tongchuan/sale.js +16 -19
  25. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  26. package/src/filiale/wuhai/sale.js +10 -0
  27. package/src/main.js +1 -1
  28. package/src/filiale/tongchuan/CriteriaPaged.vue +0 -49
@@ -1,161 +1,162 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 98%">
3
- <criteria-paged :model="model" v-ref:paged :pager='false'>
4
- <criteria partial='criteria' v-ref:criteria @condition-changed='search'>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-4 form-group">
8
- <label class="font_normal_body">组织机构:</label>
9
- <right-tree :userid.sync='$parent.$parent.userid1' :source.sync='$parent.$parent.source1' @re-res="$parent.$parent.getRes" id="schildrenorgstyle"></right-tree>
10
- </div>
11
- <div class="col-sm-4 form-group">
12
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;置换员:</label>
13
- <v-select :value.sync="model.f_order_man" v-model="model.f_order_man" :value-single="true"
14
- :options='$parent.$parent.repairers' placeholder='请选择置换员'
15
- close-on-select></v-select>
16
- </div>
17
- <div class="col-sm-4 form-group">
18
- <label class="font_normal_body" for="startDate">开始时间:</label>
19
- <datepicker id="startDate" placeholder="开始日期"
20
- style="width: 60%"
21
- v-model="model.startDate"
22
- :value.sync="model.startDate"
23
- :disabled-days-of-Week="[]"
24
- :format="'yyyy-MM-dd 00:00:00'"
25
- :show-reset-button="reset">
26
- </datepicker>
27
- </div>
28
- <div class="col-sm-4 form-group">
29
- <label class="font_normal_body" for="endDate">结束时间:</label>
30
- <datepicker id="endDate" placeholder="结束日期"
31
- style="width: 60%"
32
- v-model="model.endDate"
33
- :value.sync="model.endDate"
34
- :disabled-days-of-Week="[]"
35
- :format="'yyyy-MM-dd 23:59:59'"
36
- :show-reset-button="reset">
37
- </datepicker>
38
- </div>
39
- <div class="span" style="float:right;">
40
- <button class="button_search" @click="$parent.$parent.selfsearch()">查询</button>
41
- <report-print id='shexian' top='1cm' left='1cm' width='100%' height='100%'></report-print>
42
- <report-excel id='shexian'></report-excel>
43
- </div>
44
- </div>
45
- </div>
46
- </criteria>
47
- <div partial='list' id='shexian'>
48
- <table class='tableprint' style="margin: 0px auto">
49
- <thead>
50
- <tr>
51
- <th colspan='5' style="font-weight: normal; text-align: left;">
52
- <h3 style="text-align: center">置换通气报表</h3>
53
- </th>
54
- </tr>
55
- <tr>
56
- <th colspan='5' style="font-weight: normal; text-align: center;">
57
- 开始时间:{{$refs.criteria.model.startDate}}&nbsp;&nbsp;&nbsp;
58
- 结束时间:{{$refs.criteria.model.endDate }}&nbsp;&nbsp;<br/>
59
- 打印时间:{{{$parent.printTime}}}
60
- </th>
61
- </tr>
62
- <tr>
63
- <th colspan='7' style="font-weight: normal; text-align: center;">
64
- <div>
65
- <span v-show="$parent.fengongsi.trim()!=''">组织机构:{{$parent.fengongsi}}</span>
66
- </div>
67
- </th>
68
- </tr>
69
- </thead>
70
- <tr>
71
- <th colspan='5' style="font-weight: normal;">
72
- {{{ model.data.substring(26,model.data.length-8) }}}
73
- </th>
74
- </tr>
75
- </table>
76
- </div>
77
- </criteria-paged>
78
- </div>
79
- </template>
80
-
81
- <script>
82
- import { DataModel } from 'vue-client'
83
- import { HttpResetClass } from 'vue-client'
84
-
85
- export default {
86
- title: '置换通气报表',
87
- data () {
88
- let model = new DataModel('rs/report/zhihuanservice',{})
89
- model.f_subcompany = ''
90
-
91
- model.condition = '1=1'
92
- return {
93
- filialeNameStr:'',
94
- filialeCodeStr:'',
95
- userid: this.$login.f.id,
96
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
97
- source2:'this.getAllChildrens().where(row.getAttributes().get($rolestr$) == $置换员$))',
98
- userid2:'',
99
- printTime: this.$login.toStandardTimeString(),
100
- model:model,
101
- f_filiale_id:'',
102
- fengongsi:'',
103
- repairers:[] //置换员数组
104
- }
105
- },
106
- methods: {
107
- selfsearch(args){
108
- this.printTime = this.$login.toStandardTimeString()
109
- let condition = '1=1'
110
- condition += this.$refs.paged.$refs.criteria.model.startDate ? ` and tb.f_created_date > '${this.$refs.paged.$refs.criteria.model.startDate}'` : ''
111
- condition += this.$refs.paged.$refs.criteria.model.endDate ? ` and tb.f_created_date < '${this.$refs.paged.$refs.criteria.model.endDate}'` : ''
112
- condition += this.$refs.paged.$refs.criteria.model.f_order_man ? ` and tb.f_order_man = '${this.$refs.paged.$refs.criteria.model.f_order_man}'` : ''
113
- condition += this.f_filiale_id ? ` and tb.f_filiale_id = '${this.f_filiale_id}'` : ''
114
- this.$refs.paged.$refs.criteria.model.condition = condition
115
- this.aaa = this.$refs.paged.$refs.criteria.model.startDate
116
- this.model.search(condition)
117
- },
118
-
119
- // 获取组织结构
120
- getRes(obj) {
121
- // 获取到分公司ID传给 this.f_filiale_id
122
- this.f_filiale_id = obj.resids[0]?obj.resids[0]:this.$login.f.orgid
123
- console.log(this.f_filiale_id,'+++++++++=')
124
- //再根据公司获取置换员
125
- this.getEmp(this.f_filiale_id)
126
- let fengongsi=obj.res.toString().split('.')
127
- this.fengongsi=fengongsi[0]
128
- console.log(fengongsi,'se')
129
- console.log(fengongsi[fengongsi.length-1],'se')
130
- this.model.f_subcompany = obj.res
131
- console.log(this.model,'se')
132
- },
133
- getEmp (filiale) {
134
- this.repairers = []
135
- var source = "tool.getChildrenOfResName($置换员$).where(row.getString($orgid$)==$"+ filiale+"$)"
136
- var val = {source: source, userid: filiale}
137
- let http = new HttpResetClass()
138
- http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
139
- res.data.forEach((item) => {
140
- this.repairers.push({label: item.name, value: item.name})
141
- })
142
- })
143
- }
144
- },
145
- ready(){
146
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
147
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
148
- },
149
- computed: {
150
- selected() {
151
- return this.$refs.grid.selected
152
- }
153
- // outlets () {
154
- // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
155
- // },
156
- // operator () {
157
- // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
158
- // }
159
- }
160
- }
161
- </script>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 98%">
3
+ <criteria-paged :model="model" v-ref:paged :pager='false'>
4
+ <criteria partial='criteria' v-ref:criteria @condition-changed='search'>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group">
8
+ <label class="font_normal_body" for="startDate">开始时间:</label>
9
+ <datepicker id="startDate" placeholder="开始日期"
10
+ style="width: 60%"
11
+ v-model="model.startDate"
12
+ :value.sync="model.startDate"
13
+ :disabled-days-of-Week="[]"
14
+ :format="'yyyy-MM-dd 00:00:00'"
15
+ :show-reset-button="reset">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label class="font_normal_body" for="endDate">结束时间:</label>
20
+ <datepicker id="endDate" placeholder="结束日期"
21
+ style="width: 60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd 23:59:59'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">组织机构:</label>
31
+ <right-tree :userid.sync='$parent.$parent.userid1' :source.sync='$parent.$parent.source1' @re-res="$parent.$parent.getRes" id="schildrenorgstyle"></right-tree>
32
+ </div>
33
+ <div class="col-sm-2 form-group">
34
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;置换员:</label>
35
+ <v-select :value.sync="model.f_order_man" v-model="model.f_order_man" :value-single="true"
36
+ :options='$parent.$parent.repairers' placeholder='请选择置换员'
37
+ close-on-select></v-select>
38
+ </div>
39
+
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search" @click="$parent.$parent.selfsearch()">查询</button>
42
+ <report-print id='shexian' top='1cm' left='1cm' width='100%' height='100%'></report-print>
43
+ <report-excel id='shexian'></report-excel>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ </criteria>
48
+ <div partial='list' id='shexian'>
49
+ <table class='tableprint' style="margin: 0px auto">
50
+ <thead>
51
+ <tr>
52
+ <th colspan='5' style="font-weight: normal; text-align: left;">
53
+ <h3 style="text-align: center">置换通气报表</h3>
54
+ </th>
55
+ </tr>
56
+ <tr>
57
+ <th colspan='5' style="font-weight: normal; text-align: center;">
58
+ 开始时间:{{$refs.criteria.model.startDate}}&nbsp;&nbsp;&nbsp;
59
+ 结束时间:{{$refs.criteria.model.endDate }}&nbsp;&nbsp;<br/>
60
+ 打印时间:{{{$parent.printTime}}}
61
+ </th>
62
+ </tr>
63
+ <tr>
64
+ <th colspan='7' style="font-weight: normal; text-align: center;">
65
+ <div>
66
+ <span v-show="$parent.fengongsi.trim()!=''">组织机构:{{$parent.fengongsi}}</span>
67
+ </div>
68
+ </th>
69
+ </tr>
70
+ </thead>
71
+ <tr>
72
+ <th colspan='5' style="font-weight: normal;">
73
+ {{{ model.data.substring(26,model.data.length-8) }}}
74
+ </th>
75
+ </tr>
76
+ </table>
77
+ </div>
78
+ </criteria-paged>
79
+ </div>
80
+ </template>
81
+
82
+ <script>
83
+ import { DataModel } from 'vue-client'
84
+ import { HttpResetClass } from 'vue-client'
85
+
86
+ export default {
87
+ title: '置换通气报表',
88
+ data () {
89
+ let model = new DataModel('rs/report/zhihuanservice',{})
90
+ model.f_subcompany = ''
91
+
92
+ model.condition = '1=1'
93
+ return {
94
+ filialeNameStr:'',
95
+ filialeCodeStr:'',
96
+ userid: this.$login.f.id,
97
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
98
+ source2:'this.getAllChildrens().where(row.getAttributes().get($rolestr$) == $置换员$))',
99
+ userid2:'',
100
+ printTime: this.$login.toStandardTimeString(),
101
+ model:model,
102
+ f_filiale_id:'',
103
+ fengongsi:'',
104
+ repairers:[] //置换员数组
105
+ }
106
+ },
107
+ methods: {
108
+ selfsearch(args){
109
+ this.printTime = this.$login.toStandardTimeString()
110
+ let condition = '1=1'
111
+ condition += this.$refs.paged.$refs.criteria.model.startDate ? ` and tb.f_created_date > '${this.$refs.paged.$refs.criteria.model.startDate}'` : ''
112
+ condition += this.$refs.paged.$refs.criteria.model.endDate ? ` and tb.f_created_date < '${this.$refs.paged.$refs.criteria.model.endDate}'` : ''
113
+ condition += this.$refs.paged.$refs.criteria.model.f_order_man ? ` and tb.f_order_man = '${this.$refs.paged.$refs.criteria.model.f_order_man}'` : ''
114
+ condition += this.f_filiale_id ? ` and tb.f_filiale_id = '${this.f_filiale_id}'` : ''
115
+ this.$refs.paged.$refs.criteria.model.condition = condition
116
+ this.aaa = this.$refs.paged.$refs.criteria.model.startDate
117
+ this.model.search(condition)
118
+ },
119
+
120
+ // 获取组织结构
121
+ getRes(obj) {
122
+ // 获取到分公司ID传给 this.f_filiale_id
123
+ this.f_filiale_id = obj.resids[0]?obj.resids[0]:this.$login.f.orgid
124
+ console.log(this.f_filiale_id,'+++++++++=')
125
+ //再根据公司获取置换员
126
+ this.getEmp(this.f_filiale_id)
127
+ let fengongsi=obj.res.toString().split('.')
128
+ this.fengongsi=fengongsi[0]
129
+ console.log(fengongsi,'se')
130
+ console.log(fengongsi[fengongsi.length-1],'se')
131
+ this.model.f_subcompany = obj.res
132
+ console.log(this.model,'se')
133
+ },
134
+ getEmp (filiale) {
135
+ this.repairers = []
136
+ var source = "tool.getChildrenOfResName($置换员$).where(row.getString($orgid$)==$"+ filiale+"$)"
137
+ var val = {source: source, userid: filiale}
138
+ let http = new HttpResetClass()
139
+ http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
140
+ res.data.forEach((item) => {
141
+ this.repairers.push({label: item.name, value: item.name})
142
+ })
143
+ })
144
+ }
145
+ },
146
+ ready(){
147
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
148
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
149
+ },
150
+ computed: {
151
+ selected() {
152
+ return this.$refs.grid.selected
153
+ }
154
+ // outlets () {
155
+ // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
156
+ // },
157
+ // operator () {
158
+ // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
159
+ // }
160
+ }
161
+ }
162
+ </script>
@@ -108,7 +108,7 @@
108
108
  </template>
109
109
  <template partial='body'>
110
110
  <td style="text-align: center;">
111
- <nobr>{{row.f_userinfo_id}}</nobr>
111
+ <nobr>{{row.f_userinfo_code}}</nobr>
112
112
  </td>
113
113
  <td style="text-align: center;">
114
114
  <nobr>{{row.f_user_name}}</nobr>
@@ -196,7 +196,7 @@
196
196
  model: new PagedList('rs/sql/BusinesQuery', 20, {}, {f_money: 0}),
197
197
  criteriaShow: false,
198
198
  headData: ["客户编号", "客户名称", "操作人", "操作日期", "停用状态", "停用原因", "其他停用原因", "同步状态"],
199
- bodyData: ["f_userinfo_id", "f_user_name", "f_operat_type", "f_describe", "f_operat_type", "f_operate_date", "f_state", "f_operator"],
199
+ bodyData: ["f_userinfo_code", "f_user_name", "f_operat_type", "f_describe", "f_operat_type", "f_operate_date", "f_state", "f_operator"],
200
200
  orgCondtionStr: '',
201
201
  show:false,
202
202
  rowdata:{},
@@ -17,12 +17,12 @@
17
17
  :footer="$parent.$parent.footer"
18
18
  :header="$parent.$parent.other"
19
19
  sqlurl="rs/logic/exportfile"
20
- sql-name="arrearsQuery"
21
- template-name='用户欠费查询导出'
20
+ sql-name="noBusinessQuery"
21
+ template-name='非收费业务查询导出'
22
22
  :choose-col="true"></export-excel>
23
23
 
24
24
  <print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
25
- :defaultfield="$parent.$parent.defaultfield" print-name="用户欠费查询"
25
+ :defaultfield="$parent.$parent.defaultfield" print-name="非收费业务查询"
26
26
  :sumsmodel="$parent.$parent.sumsmodel"></print-data>
27
27
  <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
28
28
  'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
@@ -762,7 +762,7 @@
762
762
  condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
763
763
  },
764
764
  getfield() {
765
- return exportConfig.arrearsConfig
765
+ return exportConfig.noBusinessConfig
766
766
  },
767
767
  usertypes() {
768
768
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]