manage-client 3.2.21 → 3.2.25

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 (75) hide show
  1. package/build/dev-server.js +4 -6
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/package.json +1 -1
  4. package/src/components/BasisEcharts/BarChart.vue +247 -247
  5. package/src/components/SellReport/BonSummary.vue +178 -178
  6. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  7. package/src/components/SellReport/GasMoneyPublicReport.vue +263 -0
  8. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  9. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  10. package/src/components/SellReport/NonResidentGas.vue +203 -203
  11. package/src/components/SellReport/OtherChargePublicReport.vue +262 -0
  12. package/src/components/SellReport/OutletTable.vue +258 -258
  13. package/src/components/SellReport/QibiaoShouqi.vue +58 -98
  14. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  15. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  16. package/src/components/SellReport/SellingTable.vue +220 -220
  17. package/src/components/SellReport/UserSellingGas.vue +228 -177
  18. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  19. package/src/components/daping/GMap.vue +636 -636
  20. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  21. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  22. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  23. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  24. package/src/components/sale/businessquery/InspectListUser.vue +433 -433
  25. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  26. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  27. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  28. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  29. package/src/components/sale/businessquery/usergas.vue +1 -3
  30. package/src/components/sale/config/exportConfig.js +12 -1
  31. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  32. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  33. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  34. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  35. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  36. package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -0
  37. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -0
  38. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  39. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  40. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +374 -0
  41. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -0
  42. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +44 -0
  43. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  44. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  45. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  46. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  47. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  48. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  49. package/src/components/webmeter/recharge/RechargeList.vue +343 -0
  50. package/src/components/webmeter/report/ReportList.vue +2 -16
  51. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  52. package/src/filiale/WEINAN/ReportDataQuery.vue +50 -1
  53. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  54. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  55. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  56. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  57. package/src/filiale/WEINAN/reportManage.js +12 -12
  58. package/src/filiale/WEINAN/sale.js +36 -36
  59. package/src/filiale/alashan/reportManage.js +10 -10
  60. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  61. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  62. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  63. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1029
  64. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  65. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  66. package/src/filiale/meihekou/config/exportConfig.js +831 -831
  67. package/src/filiale/meihekou/sale.js +29 -29
  68. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  69. package/src/filiale/rongchuang/reportManage.js +11 -11
  70. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  71. package/src/filiale/tongchuan/reportManage.js +5 -5
  72. package/src/main.js +1 -1
  73. package/src/reportManage.js +8 -0
  74. package/src/webmeterManage.js +12 -0
  75. package/static/wuhai.json +1610 -1610
@@ -0,0 +1,343 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row" >
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select :initresid="$parent.$parent.org"
12
+ style="width:60%"
13
+ @res-select="$parent.$parent.getorg"
14
+ :is-mul=false
15
+ restype='organization'>
16
+ </res-select>
17
+ </div>
18
+ <div class="col-sm-2">
19
+ <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
20
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表钢号'
21
+ condition="s.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
22
+ >
23
+ </div>
24
+ <!-- <div class="col-sm-2">-->
25
+ <!-- <label class="font_normal_body">组织机构</label>-->
26
+ <!-- <res-select :initresid="$parent.$parent.orgid"-->
27
+ <!-- style="width:60%"-->
28
+ <!-- @res-select="$parent.$parent.getRes"-->
29
+ <!-- restype='organization'>-->
30
+ <!-- </res-select>-->
31
+ <!-- </div>-->
32
+ <div class="col-sm-2">
33
+ <label class="font_normal_body">客户编号</label>
34
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
35
+ condition="u.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
36
+ >
37
+ </div>
38
+ <div class="col-sm-2">
39
+ <label class="font_normal_body">客户名称</label>
40
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
41
+ condition="s.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
42
+ </div>
43
+
44
+ <div class="span" style="float:right;margin-top:10px">
45
+ <button class="button_search button_spacing" @click="search()">查询</button>
46
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
47
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
48
+ :field="$parent.$parent.getfield"
49
+ sqlurl="rs/logic/exportfile" sql-name="rechargeInstruct" template-name='充值指令查询'
50
+ :choose-col="true"></export-excel>
51
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="col-sm-2">
56
+ <label class="font_normal_body">客户地址</label>
57
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
58
+ condition="u.f_address like '%{}%'" v-next-el='userid' v-el:username>
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">客户类型</label>
62
+ <v-select :value.sync="model.f_user_type"
63
+ @change="$parent.$parent.userTypeChange()"
64
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
65
+ condition="s.f_user_type = '{}'"
66
+ close-on-select></v-select>
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">用气性质</label>
70
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
71
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
72
+ condition="s.f_gasproperties = '{}'"
73
+ closfe-on-select></v-select>
74
+ </div>
75
+ <div class="col-sm-2 form-group">
76
+ <label class="font_normal_body">气表品牌</label>
77
+ <v-select :value.sync="model.f_meter_brand"
78
+ v-model="model.f_meter_brand"
79
+ :options="$parent.$parent.meterbrands"
80
+ condition="s.f_meter_brand = '{}'"
81
+ close-on-select></v-select>
82
+ </div>
83
+ <div class="col-sm-2 form-group" >
84
+ <label class="font_normal_body" >生成指令时间</label>
85
+ <datepicker style="width: 60%" placeholder="生成指令时间"
86
+ :value.sync="model.f_start1_date"
87
+ v-model="model.f_start1_date"
88
+ :format="'yyyy-MM-dd HH:mm:ss'"
89
+ condition="i.f_instruct_date >= '{}'"
90
+ ></datepicker>
91
+ </div>
92
+ <div class="col-sm-2 form-group" >
93
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
94
+ <datepicker style="width: 60%" placeholder="生成指令时间"
95
+ :value.sync="model.f_end1_date"
96
+ v-model="model.f_end1_date"
97
+ :format="'yyyy-MM-dd HH:mm:ss'"
98
+ condition="i.f_instruct_date <= '{}'"
99
+ ></datepicker>
100
+ </div>
101
+ <div class="col-sm-2 form-group" >
102
+ <label class="font_normal_body" >充值时间</label>
103
+ <datepicker style="width: 60%" placeholder="充值时间"
104
+ :value.sync="model.f_start_date"
105
+ v-model="model.f_start_date"
106
+ :format="'yyyy-MM-dd HH:mm:ss'"
107
+ condition="s.f_operate_date >= '{}'"
108
+ ></datepicker>
109
+ </div>
110
+ <div class="col-sm-2 form-group" >
111
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
112
+ <datepicker style="width: 60%" placeholder="充值时间"
113
+ :value.sync="model.f_end_date"
114
+ v-model="model.f_end_date"
115
+ :format="'yyyy-MM-dd HH:mm:ss'"
116
+ condition="s.f_operate_date <= '{}'"
117
+ ></datepicker>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </criteria>
122
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
123
+ <template partial='head'>
124
+ <tr>
125
+ <th><nobr>客户编号</nobr></th>
126
+ <th><nobr>表号</nobr></th>
127
+ <th><nobr>客户姓名</nobr></th>
128
+ <th><nobr>客户电话</nobr></th>
129
+ <th><nobr>客户地址</nobr></th>
130
+
131
+ <th><nobr>收费类型</nobr></th>
132
+ <th><nobr>收费状态</nobr></th>
133
+ <th><nobr>实收金额</nobr></th>
134
+
135
+ <th><nobr>指令状态</nobr></th>
136
+ <th><nobr>表返回状态</nobr></th>
137
+ <th><nobr>生成指令时间</nobr></th>
138
+
139
+ </tr>
140
+ </template>
141
+ <template partial='body' partial='list'>
142
+ <tr >
143
+ <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
144
+ <td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
145
+ <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
146
+ <td style="text-align: left;"><nobr>{{row.f_user_phone}}</nobr></td>
147
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
148
+
149
+ <td style="text-align:center"><nobr>{{row.f_type}}</nobr></td>
150
+ <td style="text-align:center"><nobr>{{row.f_state}}</nobr></td>
151
+ <th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
152
+ <th style="text-align:center"><nobr>{{row.f_instruct_state}}</nobr></th>
153
+ <th style="text-align:center"><nobr>{{row.f_receive_state}}</nobr></th>
154
+ <th style="text-align:center"><nobr>{{row.f_instruct_date}}</nobr></th>
155
+
156
+ <!-- <th style="text-align:center"><nobr>{{row.f_nsturalgas_data}}</nobr></th>-->
157
+ <!-- <th style="text-align:center"><nobr><span @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)"><a>查看</a></span></nobr></th>-->
158
+ <!-- <th style="text-align:center">-->
159
+ <!-- <button type="button" class="button_search button_spacing width-60" @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)">查看</button>-->
160
+ <!-- </th>-->
161
+ </tr>
162
+ </template>
163
+ <template partial='foot'></template>
164
+ </data-grid>
165
+ </criteria-paged>
166
+ </div>
167
+ </div>
168
+ </div>
169
+ </template>
170
+
171
+ <script>
172
+ import {HttpResetClass, PagedList} from 'vue-client'
173
+ import exportConfig from '../../sale/config/exportConfig'
174
+ import plugins from '../../../plugins/GetLoginInfoService'
175
+ import defaultPrint from "../../sale/config/DefaultPrint";
176
+ import * as Util from '../../../Util'
177
+
178
+ let readySomething = async function (self) {
179
+ await self.$MagLoadParams.loadParam()
180
+ self.initParams()
181
+ // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
182
+ }
183
+ export default {
184
+ title: '充值指令查询',
185
+ data () {
186
+ return {
187
+ show:false,
188
+ detail24: false,
189
+ org:[this.$login.f.orgid],
190
+ orgcondition: ' and s.f_orgid = ' + this.$login.f.orgid,
191
+ //f_filialeid: this.$login.f.f_orgid,
192
+ detaillist: [],
193
+ meterbrands: [],
194
+ prices: [],
195
+ gasproperties:[],
196
+ condition:'',
197
+ rowdata:{},
198
+ sumsmodel: {},
199
+ orgid:[this.$login.f.orgid],
200
+ criteriaShow:false,
201
+ orgCondtionStr: '',
202
+ model: new PagedList('rs/sql/rechargeInstruct', 50,{})
203
+ }
204
+ },
205
+ ready () {
206
+ readySomething(this).then(() => {
207
+ this.$emit('ready')
208
+ }).catch((error) => {
209
+ this.$emit('error', error)
210
+ })
211
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
212
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
213
+ this.$refs.paged.$refs.criteria.search()
214
+ },
215
+ methods: {
216
+ initParams() {
217
+ // 初始化气表品牌
218
+ let brandArr = []
219
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
220
+ let temp = {}
221
+ temp.label = item.label
222
+ temp.value = item.value.f_meter_brand
223
+ brandArr.push(temp)
224
+ })
225
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
226
+ //初始化气表价格
227
+ this.prices = this.$MagGetSaleParam.getPrices();
228
+ },
229
+ async updateParams() {
230
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
231
+ this.initParams()
232
+ },
233
+ getorg(obj) {
234
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
235
+ this.orgcondition = " and s.f_orgid in " + plugins.convertToIn(obj)
236
+ }else{
237
+ this.orgcondition = " and s.f_orgid = " + this.$login.f.orgid
238
+ }
239
+ },
240
+ userTypeChange () {
241
+ this.gasproperties=[]
242
+ if(this.$refs.paged.$refs.criteria.model !==null) {
243
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
244
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
245
+ }
246
+ else{
247
+ this.gasproperties =[{label: '全部', value: ''}]
248
+ }
249
+ },
250
+ showdetail(val) {
251
+ console.log('24detail==', val)
252
+ if(val){
253
+ let detail = eval("("+val+")")
254
+ this.detaillist = detail
255
+ this.detail24 = true
256
+ }else{
257
+ console.log('无数据')
258
+ }
259
+ },
260
+ close() {
261
+ this.detail24 = false
262
+ },
263
+ hidden(){
264
+ this.criteriaShow = !this.criteriaShow
265
+ },
266
+ cancel() {
267
+ this.show = false
268
+ },
269
+ clearmsg () {
270
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
271
+ this.$refs.paged.$refs.criteria.model[key] = []
272
+ })
273
+ },
274
+ getRes (obj) {
275
+ this.orgCondtionStr = condition
276
+ this.orgname = obj.orgnames[0]
277
+ this.depname = obj.depnames[0]
278
+ },
279
+ showmsg(obj){
280
+ this.rowdata=obj
281
+ this.show=true
282
+ },
283
+
284
+ search (args) {
285
+ args.condition = `${args.condition}`+this.orgcondition
286
+ console.log(args.condition+"args.condition")
287
+ this.condition = args.condition
288
+ this.model.search(args.condition, args.model)
289
+ // console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
290
+ // this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
291
+ // args.condition = `${args.condition}`
292
+ // if (this.orgcondition)
293
+ // args.condition = `${args.condition}` + this.orgcondition
294
+ // else
295
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
296
+ // this.model.search(args.condition, args.model)
297
+ }
298
+ },
299
+ watch: {
300
+ 'orgCondtionStr'(val) {
301
+ let res = val.match(/'(.*?)'/)
302
+ console.log('正则提取:',res && res[1])
303
+ if (res) {
304
+ this.f_filialeid = res[1]
305
+ // this.updateParams()
306
+ }
307
+ }
308
+ },
309
+ computed: {
310
+ getfield () {
311
+ return exportConfig.RechargeInstruct
312
+ },
313
+ usertypes() {
314
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
315
+ },
316
+ getCondition () {
317
+ var con = ""
318
+ if (this.orgCondtionStr) {
319
+ con = `${this.$refs.paged.$refs.criteria.condition} and s.f_orgid in (${this.orgCondtionStr})`
320
+ }
321
+ else {
322
+ con = `${this.$refs.paged.$refs.criteria.condition}and s.f_orgid in ('${this.$login.f.orgid}' )`
323
+ }
324
+ return {
325
+ condition: con
326
+ }
327
+ }
328
+ }
329
+ }
330
+ </script>
331
+
332
+ <style>
333
+ .mystyle{
334
+ margin-left:80px;
335
+ }
336
+ .datapanel {
337
+ color: #333;
338
+ background-color: white;
339
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
340
+ padding: 10px 10px 10px 10px;
341
+ border-radius:15px;
342
+ }
343
+ </style>
@@ -14,7 +14,6 @@
14
14
  :is-mul=false
15
15
  restype='organization'>
16
16
  </res-select>
17
-
18
17
  </div>
19
18
  <div class="col-sm-2">
20
19
  <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
@@ -301,19 +300,6 @@
301
300
  this.gasproperties =[{label: '全部', value: ''}]
302
301
  }
303
302
  },
304
- showdetail(val) {
305
- console.log('24detail==', val)
306
- if(val){
307
- let detail = eval("("+val+")")
308
- this.detaillist = detail
309
- this.detail24 = true
310
- }else{
311
- console.log('无数据')
312
- }
313
- },
314
- close() {
315
- this.detail24 = false
316
- },
317
303
  hidden(){
318
304
  this.criteriaShow = !this.criteriaShow
319
305
  },
@@ -407,10 +393,10 @@
407
393
  getCondition () {
408
394
  var con = ""
409
395
  if (this.orgCondtionStr) {
410
- con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
396
+ con = `${this.$refs.paged.$refs.criteria.condition} `+this.orgcondition
411
397
  }
412
398
  else {
413
- con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
399
+ con = `${this.$refs.paged.$refs.criteria.condition} `+this.orgcondition
414
400
  }
415
401
  return {
416
402
  condition: con
@@ -1,110 +1,110 @@
1
- <template lang="html">
2
- <div :class="classname" v-if="jurisdiction.includes('首页')" :style="{width:width,height:height}">
3
- <div class="form-horizontal select-overspread container-fluid auto">
4
- <div class="row">
5
- <div class="col-sm-3 form-group">
6
- <label class="font_normal_body" for="startDate">开始日期:</label>
7
- <datepicker id="startDate" placeholder="开始日期"
8
- style="width:60%"
9
- v-model="model.startDate"
10
- :value.sync="model.startDate"
11
- :disabled-days-of-Week="[]"
12
- class="datepicker"
13
- :format="'yyyy-MM-dd'"
14
- :show-reset-button="reset">
15
- </datepicker>
16
- </div>
17
- <div class="col-sm-3 form-group">
18
- <label class="font_normal_body" for="endDate">结束日期:</label>
19
- <datepicker id="endDate" placeholder="结束日期"
20
- style="width:60%"
21
- class="datepicker"
22
- v-model="model.endDate"
23
- :value.sync="model.endDate"
24
- :disabled-days-of-Week="[]"
25
- :format="'yyyy-MM-dd'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-3 form-group">
30
- <label class="font_normal_body" for="endDate">使用公司:</label>
31
- <res-select restype='organization'
32
- @res-select="getRes"
33
- :initresid="model.id">
34
- </res-select>
35
- </div>
36
- </div>
37
- </div>
38
- <div style="height: 97%;">
39
- <div class="flex-row" style="flex: 1;border-bottom: 1px dashed #888;height: 48%">
40
- <div style="flex: 1;border-right: 1px dashed #888;width: 50%">
41
- <site-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
42
- v-ref:pay></site-manager>
43
- </div>
44
- <div style="flex: 1;width: 50%">
45
- <bank-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
46
- v-ref:pay></bank-manager>
47
- </div>
48
- </div>
49
- <div class="flex-row" style="flex: 1;height: 48%">
50
-
51
- <div class="flex-row" style="flex: 1;width: 50%;border-right: 1px dashed #888;">
52
- <div style="flex: 1;">
53
- <paymentpie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></paymentpie>
54
- </div>
55
- <!-- <div style="flex: 1;">-->
56
- <!-- <usertype-pie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></usertype-pie>-->
57
- <!-- </div>-->
58
- </div>
59
-
60
- <div style="flex: 1;width: 50%">
61
- <bussiness-type :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>
62
- </div>
63
- </div>
64
- </div>
65
- </div>
66
-
67
- </template>
68
-
69
- <script>
70
- import * as Util from '../../Util'
71
-
72
- export default {
73
- props: {
74
- classname: {
75
- type: String,
76
- default: 'basic-main'
77
- },
78
- width: {
79
- type: String,
80
- default: '98.5%'
81
- },
82
- height: {
83
- type: String,
84
- default: '98%'
85
- }
86
- },
87
- data() {
88
- return {
89
- jurisdiction: this.$login.r,
90
- model: {
91
- id: [this.$login.f.orgid],
92
- orgid: [this.$login.f.orgid],
93
- startDate: Util.toStandardDateString(),
94
- endDate: Util.toStandardDateString()
95
- }
96
- }
97
- },
98
- methods: {
99
- searchdata() {
100
- this.$refs.pay.searchdata()
101
- },
102
- getRes(obj) {
103
- this.model.orgid = obj
104
- },
105
- }
106
- }
107
- </script>
108
-
109
- <style lang="css">
110
- </style>
1
+ <template lang="html">
2
+ <div :class="classname" v-if="jurisdiction.includes('首页')" :style="{width:width,height:height}">
3
+ <div class="form-horizontal select-overspread container-fluid auto">
4
+ <div class="row">
5
+ <div class="col-sm-3 form-group">
6
+ <label class="font_normal_body" for="startDate">开始日期:</label>
7
+ <datepicker id="startDate" placeholder="开始日期"
8
+ style="width:60%"
9
+ v-model="model.startDate"
10
+ :value.sync="model.startDate"
11
+ :disabled-days-of-Week="[]"
12
+ class="datepicker"
13
+ :format="'yyyy-MM-dd'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-3 form-group">
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期"
20
+ style="width:60%"
21
+ class="datepicker"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-3 form-group">
30
+ <label class="font_normal_body" for="endDate">使用公司:</label>
31
+ <res-select restype='organization'
32
+ @res-select="getRes"
33
+ :initresid="model.id">
34
+ </res-select>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div style="height: 97%;">
39
+ <div class="flex-row" style="flex: 1;border-bottom: 1px dashed #888;height: 48%">
40
+ <div style="flex: 1;border-right: 1px dashed #888;width: 50%">
41
+ <site-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
42
+ v-ref:pay></site-manager>
43
+ </div>
44
+ <div style="flex: 1;width: 50%">
45
+ <bank-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
46
+ v-ref:pay></bank-manager>
47
+ </div>
48
+ </div>
49
+ <div class="flex-row" style="flex: 1;height: 48%">
50
+
51
+ <div class="flex-row" style="flex: 1;width: 50%;border-right: 1px dashed #888;">
52
+ <div style="flex: 1;">
53
+ <paymentpie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></paymentpie>
54
+ </div>
55
+ <!-- <div style="flex: 1;">-->
56
+ <!-- <usertype-pie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></usertype-pie>-->
57
+ <!-- </div>-->
58
+ </div>
59
+
60
+ <div style="flex: 1;width: 50%">
61
+ <bussiness-type :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
66
+
67
+ </template>
68
+
69
+ <script>
70
+ import * as Util from '../../Util'
71
+
72
+ export default {
73
+ props: {
74
+ classname: {
75
+ type: String,
76
+ default: 'basic-main'
77
+ },
78
+ width: {
79
+ type: String,
80
+ default: '98.5%'
81
+ },
82
+ height: {
83
+ type: String,
84
+ default: '98%'
85
+ }
86
+ },
87
+ data() {
88
+ return {
89
+ jurisdiction: this.$login.r,
90
+ model: {
91
+ id: [this.$login.f.orgid],
92
+ orgid: [this.$login.f.orgid],
93
+ startDate: Util.toStandardDateString(),
94
+ endDate: Util.toStandardDateString()
95
+ }
96
+ }
97
+ },
98
+ methods: {
99
+ searchdata() {
100
+ this.$refs.pay.searchdata()
101
+ },
102
+ getRes(obj) {
103
+ this.model.orgid = obj
104
+ },
105
+ }
106
+ }
107
+ </script>
108
+
109
+ <style lang="css">
110
+ </style>