manage-client 3.1.46 → 3.1.47

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 (107) hide show
  1. package/.gradle/{7.1 → 4.4}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/{buildOutputCleanup/outputFiles.bin → 4.4/fileHashes/fileHashes.bin} +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/.gradle/{7.1 → 6.1}/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  7. package/.gradle/{7.1 → 6.1}/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/{7.1/dependencies-accessors → 6.1}/gc.properties +0 -0
  10. package/build/dev-server.js +33 -25
  11. package/package.json +1 -1
  12. package/src/App.vue +29 -28
  13. package/src/components/BasisEcharts/BarChart.vue +247 -247
  14. package/src/components/BasisEcharts/RingChart.vue +196 -196
  15. package/src/components/SellReport/BusinessClassify.vue +317 -317
  16. package/src/components/SellReport/ChargePrick.vue +284 -284
  17. package/src/components/SellReport/DepartmentPrick.vue +288 -288
  18. package/src/components/SellReport/FinanceSellType.vue +254 -254
  19. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  20. package/src/components/SellReport/GasMoneyReport.vue +254 -254
  21. package/src/components/SellReport/GasPrice.vue +244 -244
  22. package/src/components/SellReport/ManageBusSummary.vue +242 -242
  23. package/src/components/SellReport/ManageHandInputtor.vue +281 -281
  24. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  25. package/src/components/SellReport/ManageSellType.vue +284 -284
  26. package/src/components/SellReport/ManageUserCount.vue +347 -347
  27. package/src/components/SellReport/MarketMonth.vue +297 -297
  28. package/src/components/SellReport/ReportItems.vue +241 -241
  29. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  30. package/src/components/SellReport/SellDepReport.vue +251 -251
  31. package/src/components/SellReport/SellingTable.vue +220 -220
  32. package/src/components/SellReport/UserClassify.vue +271 -271
  33. package/src/components/SellReport/UserSellingGas.vue +251 -251
  34. package/src/components/daping/CallCenter.vue +366 -366
  35. package/src/components/daping/DataManagement.vue +537 -537
  36. package/src/components/daping/GMap.vue +636 -636
  37. package/src/components/daping/ManageMain.vue +270 -270
  38. package/src/components/daping/NetWork.vue +238 -238
  39. package/src/components/daping/RedactDaPing.vue +468 -468
  40. package/src/components/daping/Ring.vue +212 -212
  41. package/src/components/daping/SafeCheck.vue +446 -446
  42. package/src/components/daping/SafeCheckRing.vue +166 -166
  43. package/src/components/daping/SafecheckBarChart.vue +233 -233
  44. package/src/components/daping/WuHaiMap.vue +418 -418
  45. package/src/components/qinhua/BarChart.vue +256 -256
  46. package/src/components/qinhua/Pie.vue +132 -132
  47. package/src/components/qinhua/SellEcharts.vue +115 -115
  48. package/src/components/qinhua/qinHuaMap.vue +414 -414
  49. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +500 -500
  50. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  51. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  52. package/src/components/sale/businessquery/FillGasQuery.vue +491 -491
  53. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  54. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  55. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  56. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  57. package/src/components/sale/config/exportConfig.js +879 -879
  58. package/src/components/sale/filesquery/DeviceQuery.vue +524 -524
  59. package/src/components/statistical/StatisticalAnalysis.vue +247 -247
  60. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  61. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  62. package/src/components/webmeter/DrillData/UserGasAll.vue +597 -597
  63. package/src/components/webmeter/DrillData/UserGasEcharts.vue +220 -210
  64. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  65. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  66. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +171 -171
  67. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
  68. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +288 -275
  69. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
  70. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +213 -213
  71. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +240 -240
  72. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  73. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +283 -218
  74. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  75. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  76. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  77. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  78. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  79. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  80. package/src/filiale/alashan/SellingTable.vue +234 -234
  81. package/src/filiale/alashan/reportManage.js +10 -10
  82. package/src/filiale/jingwei/ChargeQuery.vue +1241 -1241
  83. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  84. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  85. package/src/filiale/liaoyuan/ChargeQuery.vue +1284 -1284
  86. package/src/filiale/liaoyuan/exportConfig.js +718 -718
  87. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  88. package/src/filiale/meihekou/sale.js +26 -26
  89. package/src/filiale/rongcheng/exportConfig.js +257 -257
  90. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  91. package/src/filiale/rongchuang/reportManage.js +11 -11
  92. package/src/filiale/shaoguan/ChargeQuery.vue +1034 -1034
  93. package/src/filiale/shaoguan/OtherChargeQuery.vue +596 -596
  94. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  95. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -41
  96. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -290
  97. package/src/filiale/shaoguan/sale.js +35 -35
  98. package/src/filiale/tongchuan/ManageBusSummary.vue +302 -302
  99. package/src/main.js +1 -1
  100. package/src/newmanage.js +525 -525
  101. package/src/reportManage.js +470 -470
  102. package/static/wuhai.json +1610 -1610
  103. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  104. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  105. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  106. package/.gradle/7.1/gc.properties +0 -0
  107. package/.gradle/configuration-cache/gc.properties +0 -0
@@ -1,468 +1,468 @@
1
- <template>
2
- <div class="flex container-fluid" style="height:100%;">
3
- <div style="width: 100%;height:45%;">
4
- <h3 class="row" style="text-align: center;height:10%;">管网信息录入</h3>
5
- <div style="height:88%;margin-bottom: 2%;">
6
- <div class="col-sm-9" style="overflow-y: auto;">
7
- <div class="row" style="height: 15%;" v-for="(index,item) in netWorkAll">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">类型</label>
10
- <v-select :value.sync="item.f_type" v-model="item.f_type"
11
- title="参数: 管网类型(大屏信息录入)"
12
- :options='networktype' placeholder='类型'
13
- :value-single="true"
14
- style="width:60%"
15
- :search="false"
16
- close-on-select></v-select>
17
- </div>
18
- <div class="col-sm-2 form-group">
19
- <label class="font_normal_body">已建数</label>
20
- <input type="text" style="width:60%" class="input_search" v-model="item.f_yijian"
21
- placeholder="已建数">
22
- </div>
23
- <div class="col-sm-2 form-group">
24
- <label class="font_normal_body">在建数</label>
25
- <input type="text" style="width:60%" class="input_search" v-model="item.f_zaijian"
26
- placeholder="在建数">
27
- </div>
28
- <div class="col-sm-2 form-group">
29
- <label class="font_normal_body">审批数</label>
30
- <input type="text" style="width:60%" class="input_search" v-model="item.f_shenpi"
31
- placeholder="审批数">
32
- </div>
33
- </div>
34
- </div>
35
- <div class="col-sm-3" style="text-align: center;">
36
- <button class="button_clear button_spacing" @click="add(1)">+</button>
37
- <button class="button_clear button_spacing" @click="remove(1)">一</button>
38
- <button class="button_search button_spacing" @click="redactSave(1)">保存</button>
39
- </div>
40
- </div>
41
- </div>
42
-
43
-
44
-
45
- <div style="width: 100%;height:45%;margin-top: 2%">
46
- <h3 class="row" style="text-align: center;height: 10%;">收费信息录入</h3>
47
- <div style="height:88%;margin-bottom: 2%;">
48
- <div class="col-sm-9" style="overflow-y: auto;">
49
- <div class="row" style="height: 15%;" v-for="(index,item) in sellingAll">
50
- <div class="col-sm-2 form-group">
51
- <label class="font_normal_body">营业厅</label>
52
- <v-select :value.sync="item.f_depname" v-model="item.f_depname"
53
- :search="false"
54
- :value-single="true"
55
- title="参数: 营业厅(大屏信息录入)"
56
- :options='depname' placeholder='营业厅'
57
- style="width:60%"
58
- close-on-select></v-select>
59
- </div>
60
- <div class="col-sm-2 form-group">
61
- <label class="font_normal_body">用户类型</label>
62
- <v-select :value.sync="item.f_user_type" v-model="item.f_user_type"
63
- :search="false"
64
- :value-single="true"
65
- title="参数: 用户类型"
66
- :options='usertype' placeholder='用户类型'
67
- style="width:60%"
68
- close-on-select></v-select>
69
-
70
- </div>
71
- <div class="col-sm-2 form-group">
72
- <label class="font_normal_body">售气笔数</label>
73
- <input type="text" style="width:60%" class="input_search" v-model="item.f_count"
74
- placeholder="售气笔数">
75
- </div>
76
- <div class="col-sm-2 form-group">
77
- <label class="font_normal_body">售气量</label>
78
- <input type="text" style="width:60%" class="input_search" v-model="item.f_gas"
79
- placeholder="售气量">
80
- </div>
81
- <div class="col-sm-2 form-group">
82
- <label class="font_normal_body">售气金额</label>
83
- <input type="text" style="width:60%" class="input_search" v-model="item.f_money"
84
- placeholder="售气金额">
85
- </div>
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">归属时间</label>
88
- <datepicker placeholder="归属时间" style="width:60%"
89
- v-model="item.f_date"
90
- :value.sync="item.f_date"
91
- :format="'yyyy-MM-dd HH:mm:ss'"
92
- :show-reset-button="true">
93
- </datepicker>
94
- </div>
95
- </div>
96
- </div>
97
- <div class="col-sm-3" style="text-align: center;">
98
- <button class="button_clear button_spacing" @click="add(2)">+</button>
99
- <button class="button_clear button_spacing" @click="remove(2)">一</button>
100
- <button class="button_search button_spacing" @click="redactSave(2)">保存</button>
101
- </div>
102
- </div>
103
- </div>
104
-
105
- </div>
106
- </template>
107
-
108
- <script>
109
-
110
- import {HttpResetClass} from "vue-client";
111
-
112
- let load = async (self) => {
113
-
114
- await self.loadParam(self)
115
- }
116
- export default {
117
- title: '大屏编辑',
118
- data() {
119
- return{
120
- forNum: 1,
121
- param: [],
122
- netWorkAll:[
123
- {
124
- f_type: '高压',
125
- f_yijian: 0,
126
- f_zaijian: 0,
127
- f_shenpi: 0,
128
- f_state: '有效'
129
- }
130
- ],
131
- sellingAll:[
132
- {
133
- f_gas: 0.00,
134
- f_money: 0.00,
135
- f_depname: '',
136
- f_user_type: '民用',
137
- f_date: '',
138
- f_count: 0,
139
- f_state: '有效'
140
- }
141
- ]
142
- }
143
- },
144
- methods: {
145
- loadParam (self) {
146
- let http = new HttpResetClass()
147
- let a = []
148
- http.load('POST', 'rs/sql/singleTableParam', {data:{
149
- items: 'p.name,v.name value',
150
- tablename:'t_parameter p left join t_paramvalue v on p.id = v.processid',
151
- condition: '1 = 1'
152
- }
153
- }, {
154
- resolveMsg: null,
155
- rejectMsg: null
156
- }).then(res =>{
157
- self.param = res.data
158
- })
159
- },
160
- getParam(name){
161
- return this.param.filter(item => item.name == name).map(obj =>{return {label: obj.value, value: obj.value}})
162
- },
163
- add(val){
164
- if(val === 1){
165
- this.netWorkAll.push({
166
- f_type: '高压',
167
- f_yijian: 0,
168
- f_zaijian: 0,
169
- f_shenpi: 0,
170
- f_state: '有效'
171
- })
172
- console.log('dddd', this.netWorkAll)
173
- }else{
174
- this.sellingAll.push({
175
- f_gas: 0.00,
176
- f_money: 0.00,
177
- f_depname: '',
178
- f_user_type: '民用',
179
- f_date: '',
180
- f_count: 0,
181
- f_state: '有效'
182
- })
183
- }
184
-
185
- },
186
- remove(val){
187
- if(val === 1){
188
- if (this.netWorkAll.length === 1) return
189
- this.netWorkAll.splice(this.netWorkAll.length-1, 1)
190
- }else{
191
- if (this.sellingAll.length === 1) return
192
- this.sellingAll.splice(this.sellingAll.length-1, 1)
193
- }
194
- },
195
- redactSave(flag){
196
- let http = new HttpResetClass();
197
- let data = {
198
- state: flag,
199
- message: []
200
- }
201
- if (flag === 1) {
202
- data.message = this.netWorkAll
203
- } else {
204
- data.message = this.sellingAll
205
- }
206
- http.load('POST', 'rs/logic/RedactSave', {data: data}, {
207
- resolveMsg: null,
208
- rejectMsg: null
209
- }).then(res =>{
210
- console.log('55555555555', res)
211
- if(res.data === 200) {
212
- this.$showAlert('保存成功', 'success', 2000)
213
- if (flag === 1) {
214
- this.netWorkAll = [{
215
- f_type: '高压',
216
- f_yijian: 0,
217
- f_zaijian: 0,
218
- f_shenpi: 0,
219
- f_state: '有效'
220
- }]
221
- } else {
222
- this.sellingAll = [{
223
- f_gas: 0.00,
224
- f_money: 0.00,
225
- f_depname: '',
226
- f_user_type: '民用',
227
- f_date: '',
228
- f_count: 0,
229
- f_state: '有效'
230
- }]
231
- }
232
- }
233
-
234
- })
235
- }
236
- },
237
- ready () {
238
- load(this)
239
-
240
- },
241
- watch:{
242
- },
243
- props: ['changeshow'],
244
- computed: {
245
- networktype(){
246
- return this.getParam('管网类型(大屏信息录入)')
247
- },
248
- usertype(){
249
- return this.getParam('用户类型')
250
- },
251
- depname(){
252
- return this.getParam('营业厅(大屏信息录入)')
253
- }
254
- },
255
- }
256
- </script>
257
-
258
-
259
-
260
-
261
-
262
-
263
- /*关键设置 tbody出现滚动条*/
264
- #tableLast tbody {
265
- display: block;
266
- height: 45px;
267
-
268
- }
269
-
270
- #tableLast thead,
271
- #tbodyLast tr {
272
- display: table;
273
- width: 100%;
274
- table-layout: fixed;
275
- border: 1px;
276
- background-color: #012C45;
277
- margin-top: 4px;
278
- }
279
- #tbodyLast tr td {
280
- text-align: left;
281
- color: #00F6FF;
282
- }
283
-
284
-
285
-
286
- .font-14-medium1{
287
- color: #ffffff;
288
- line-height: 24px;
289
- font-size: 16px;
290
- font-family: font-pingfang-medium;
291
- }
292
- .scada-font-title {
293
- margin-right: 1em;
294
- font-family: tRends;
295
- font-size: 25px;
296
- font-weight: normal;
297
- font-stretch: normal;
298
- line-height: 30px;
299
- letter-spacing: 0px;
300
- }
301
- .font-14 {
302
- font-size: 14px;
303
- font-family: tRends;
304
- }
305
- #top-left {
306
- /*padding: 1em;*/
307
- width: 32%;
308
- height: 100%;
309
- }
310
-
311
- #top-mid {
312
- /*padding: 1em;*/
313
- width: 30%;
314
- height: 100%;
315
- }
316
-
317
- #top-right {
318
- width: 37%;
319
- height: 100%;
320
- }
321
-
322
- .title-font {
323
- font-family: HYk2gj;
324
- font-size: 40px;
325
- font-weight: normal;
326
- font-stretch: normal;
327
- line-height: 26px;
328
- letter-spacing: 2px;
329
- color: #ffffff;
330
- }
331
-
332
- .title-main {
333
- margin: 0 auto;
334
- }
335
-
336
- .flex-inline {
337
- display: inline-flex;
338
- justify-content: space-around;
339
- }
340
-
341
- #pie-one {
342
- height: 100%;
343
- width: 35%;
344
- }
345
-
346
- #weiruhu {
347
- font-family: tRends;
348
- font-size: 24px;
349
- font-weight: normal;
350
- font-stretch: normal;
351
- line-height: 35px;
352
- letter-spacing: 0px;
353
- color: #00f6ff;
354
- }
355
-
356
- #anjian {
357
- font-family: tRENDS;
358
- font-size: 24px;
359
- font-weight: normal;
360
- font-stretch: normal;
361
- line-height: 35px;
362
- letter-spacing: 0px;
363
- color: #ffc21f;
364
- }
365
-
366
- .qinhuamap {
367
- position: absolute;
368
- top: 2%;
369
- left: 35%;
370
- width: 28%;
371
- height: 57%;
372
- }
373
- .scroll-content {
374
- position: relative;
375
- transition: top 0.825s;
376
- }
377
-
378
- }
379
- @media screen and (max-width: 1440px) {
380
- .main {
381
- height: 100%;
382
- padding: 1em;
383
- flex: 1 1 auto;
384
- flex-direction: column;
385
- display: flex;
386
- }
387
-
388
- #top-left {
389
- /*padding: 1em;*/
390
- width: 32%;
391
- height: 100%;
392
- }
393
-
394
- #top-mid {
395
- /*padding: 1em;*/
396
- width: 30%;
397
- height: 100%;
398
- }
399
-
400
- #top-right {
401
- width: 37%;
402
- height: 100%;
403
- }
404
-
405
- .title-font {
406
- font-family: HYk2gj;
407
- font-size: 30px;
408
- font-weight: normal;
409
- font-stretch: normal;
410
- line-height: 22px;
411
- letter-spacing: 2px;
412
- color: #ffffff;
413
- }
414
-
415
- .title-main {
416
- margin: 0 auto;
417
- }
418
-
419
- .flex-inline {
420
- display: inline-flex;
421
- justify-content: space-around;
422
- }
423
-
424
- #pie-one {
425
- height: 100%;
426
- width: 35%;
427
- }
428
-
429
- #weiruhu {
430
- font-family: tRends;
431
- font-size: 18px;
432
- font-weight: normal;
433
- font-stretch: normal;
434
- line-height: 22px;
435
- letter-spacing: 0px;
436
- color: #00f6ff;
437
- }
438
-
439
- #anjian {
440
- font-family: tRENDS;
441
- font-size: 18px;
442
- font-weight: normal;
443
- font-stretch: normal;
444
- line-height: 22px;
445
- letter-spacing: 0px;
446
- color: #ffc21f;
447
- }
448
-
449
- .qinhuamap {
450
- position: absolute;
451
- top: 2%;
452
- left: 35%;
453
- width: 28%;
454
- height: 57%;
455
- }
456
- .font-14-medium{
457
- color: #ffffff !important;
458
- line-height: 18px;
459
- font-size: 12px;
460
- font-family: font-pingfang-medium;
461
- }
462
- .scroll-content {
463
- position: relative;
464
- transition: top 0.825s;
465
- }
466
- }
467
- </style>
468
-
1
+ <template>
2
+ <div class="flex container-fluid" style="height:100%;">
3
+ <div style="width: 100%;height:45%;">
4
+ <h3 class="row" style="text-align: center;height:10%;">管网信息录入</h3>
5
+ <div style="height:88%;margin-bottom: 2%;">
6
+ <div class="col-sm-9" style="overflow-y: auto;">
7
+ <div class="row" style="height: 15%;" v-for="(index,item) in netWorkAll">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">类型</label>
10
+ <v-select :value.sync="item.f_type" v-model="item.f_type"
11
+ title="参数: 管网类型(大屏信息录入)"
12
+ :options='networktype' placeholder='类型'
13
+ :value-single="true"
14
+ style="width:60%"
15
+ :search="false"
16
+ close-on-select></v-select>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label class="font_normal_body">已建数</label>
20
+ <input type="text" style="width:60%" class="input_search" v-model="item.f_yijian"
21
+ placeholder="已建数">
22
+ </div>
23
+ <div class="col-sm-2 form-group">
24
+ <label class="font_normal_body">在建数</label>
25
+ <input type="text" style="width:60%" class="input_search" v-model="item.f_zaijian"
26
+ placeholder="在建数">
27
+ </div>
28
+ <div class="col-sm-2 form-group">
29
+ <label class="font_normal_body">审批数</label>
30
+ <input type="text" style="width:60%" class="input_search" v-model="item.f_shenpi"
31
+ placeholder="审批数">
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <div class="col-sm-3" style="text-align: center;">
36
+ <button class="button_clear button_spacing" @click="add(1)">+</button>
37
+ <button class="button_clear button_spacing" @click="remove(1)">一</button>
38
+ <button class="button_search button_spacing" @click="redactSave(1)">保存</button>
39
+ </div>
40
+ </div>
41
+ </div>
42
+
43
+
44
+
45
+ <div style="width: 100%;height:45%;margin-top: 2%">
46
+ <h3 class="row" style="text-align: center;height: 10%;">收费信息录入</h3>
47
+ <div style="height:88%;margin-bottom: 2%;">
48
+ <div class="col-sm-9" style="overflow-y: auto;">
49
+ <div class="row" style="height: 15%;" v-for="(index,item) in sellingAll">
50
+ <div class="col-sm-2 form-group">
51
+ <label class="font_normal_body">营业厅</label>
52
+ <v-select :value.sync="item.f_depname" v-model="item.f_depname"
53
+ :search="false"
54
+ :value-single="true"
55
+ title="参数: 营业厅(大屏信息录入)"
56
+ :options='depname' placeholder='营业厅'
57
+ style="width:60%"
58
+ close-on-select></v-select>
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">用户类型</label>
62
+ <v-select :value.sync="item.f_user_type" v-model="item.f_user_type"
63
+ :search="false"
64
+ :value-single="true"
65
+ title="参数: 用户类型"
66
+ :options='usertype' placeholder='用户类型'
67
+ style="width:60%"
68
+ close-on-select></v-select>
69
+
70
+ </div>
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">售气笔数</label>
73
+ <input type="text" style="width:60%" class="input_search" v-model="item.f_count"
74
+ placeholder="售气笔数">
75
+ </div>
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body">售气量</label>
78
+ <input type="text" style="width:60%" class="input_search" v-model="item.f_gas"
79
+ placeholder="售气量">
80
+ </div>
81
+ <div class="col-sm-2 form-group">
82
+ <label class="font_normal_body">售气金额</label>
83
+ <input type="text" style="width:60%" class="input_search" v-model="item.f_money"
84
+ placeholder="售气金额">
85
+ </div>
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">归属时间</label>
88
+ <datepicker placeholder="归属时间" style="width:60%"
89
+ v-model="item.f_date"
90
+ :value.sync="item.f_date"
91
+ :format="'yyyy-MM-dd HH:mm:ss'"
92
+ :show-reset-button="true">
93
+ </datepicker>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ <div class="col-sm-3" style="text-align: center;">
98
+ <button class="button_clear button_spacing" @click="add(2)">+</button>
99
+ <button class="button_clear button_spacing" @click="remove(2)">一</button>
100
+ <button class="button_search button_spacing" @click="redactSave(2)">保存</button>
101
+ </div>
102
+ </div>
103
+ </div>
104
+
105
+ </div>
106
+ </template>
107
+
108
+ <script>
109
+
110
+ import {HttpResetClass} from "vue-client";
111
+
112
+ let load = async (self) => {
113
+
114
+ await self.loadParam(self)
115
+ }
116
+ export default {
117
+ title: '大屏编辑',
118
+ data() {
119
+ return{
120
+ forNum: 1,
121
+ param: [],
122
+ netWorkAll:[
123
+ {
124
+ f_type: '高压',
125
+ f_yijian: 0,
126
+ f_zaijian: 0,
127
+ f_shenpi: 0,
128
+ f_state: '有效'
129
+ }
130
+ ],
131
+ sellingAll:[
132
+ {
133
+ f_gas: 0.00,
134
+ f_money: 0.00,
135
+ f_depname: '',
136
+ f_user_type: '民用',
137
+ f_date: '',
138
+ f_count: 0,
139
+ f_state: '有效'
140
+ }
141
+ ]
142
+ }
143
+ },
144
+ methods: {
145
+ loadParam (self) {
146
+ let http = new HttpResetClass()
147
+ let a = []
148
+ http.load('POST', 'rs/sql/singleTableParam', {data:{
149
+ items: 'p.name,v.name value',
150
+ tablename:'t_parameter p left join t_paramvalue v on p.id = v.processid',
151
+ condition: '1 = 1'
152
+ }
153
+ }, {
154
+ resolveMsg: null,
155
+ rejectMsg: null
156
+ }).then(res =>{
157
+ self.param = res.data
158
+ })
159
+ },
160
+ getParam(name){
161
+ return this.param.filter(item => item.name == name).map(obj =>{return {label: obj.value, value: obj.value}})
162
+ },
163
+ add(val){
164
+ if(val === 1){
165
+ this.netWorkAll.push({
166
+ f_type: '高压',
167
+ f_yijian: 0,
168
+ f_zaijian: 0,
169
+ f_shenpi: 0,
170
+ f_state: '有效'
171
+ })
172
+ console.log('dddd', this.netWorkAll)
173
+ }else{
174
+ this.sellingAll.push({
175
+ f_gas: 0.00,
176
+ f_money: 0.00,
177
+ f_depname: '',
178
+ f_user_type: '民用',
179
+ f_date: '',
180
+ f_count: 0,
181
+ f_state: '有效'
182
+ })
183
+ }
184
+
185
+ },
186
+ remove(val){
187
+ if(val === 1){
188
+ if (this.netWorkAll.length === 1) return
189
+ this.netWorkAll.splice(this.netWorkAll.length-1, 1)
190
+ }else{
191
+ if (this.sellingAll.length === 1) return
192
+ this.sellingAll.splice(this.sellingAll.length-1, 1)
193
+ }
194
+ },
195
+ redactSave(flag){
196
+ let http = new HttpResetClass();
197
+ let data = {
198
+ state: flag,
199
+ message: []
200
+ }
201
+ if (flag === 1) {
202
+ data.message = this.netWorkAll
203
+ } else {
204
+ data.message = this.sellingAll
205
+ }
206
+ http.load('POST', 'rs/logic/RedactSave', {data: data}, {
207
+ resolveMsg: null,
208
+ rejectMsg: null
209
+ }).then(res =>{
210
+ console.log('55555555555', res)
211
+ if(res.data === 200) {
212
+ this.$showAlert('保存成功', 'success', 2000)
213
+ if (flag === 1) {
214
+ this.netWorkAll = [{
215
+ f_type: '高压',
216
+ f_yijian: 0,
217
+ f_zaijian: 0,
218
+ f_shenpi: 0,
219
+ f_state: '有效'
220
+ }]
221
+ } else {
222
+ this.sellingAll = [{
223
+ f_gas: 0.00,
224
+ f_money: 0.00,
225
+ f_depname: '',
226
+ f_user_type: '民用',
227
+ f_date: '',
228
+ f_count: 0,
229
+ f_state: '有效'
230
+ }]
231
+ }
232
+ }
233
+
234
+ })
235
+ }
236
+ },
237
+ ready () {
238
+ load(this)
239
+
240
+ },
241
+ watch:{
242
+ },
243
+ props: ['changeshow'],
244
+ computed: {
245
+ networktype(){
246
+ return this.getParam('管网类型(大屏信息录入)')
247
+ },
248
+ usertype(){
249
+ return this.getParam('用户类型')
250
+ },
251
+ depname(){
252
+ return this.getParam('营业厅(大屏信息录入)')
253
+ }
254
+ },
255
+ }
256
+ </script>
257
+
258
+
259
+
260
+
261
+
262
+
263
+ /*关键设置 tbody出现滚动条*/
264
+ #tableLast tbody {
265
+ display: block;
266
+ height: 45px;
267
+
268
+ }
269
+
270
+ #tableLast thead,
271
+ #tbodyLast tr {
272
+ display: table;
273
+ width: 100%;
274
+ table-layout: fixed;
275
+ border: 1px;
276
+ background-color: #012C45;
277
+ margin-top: 4px;
278
+ }
279
+ #tbodyLast tr td {
280
+ text-align: left;
281
+ color: #00F6FF;
282
+ }
283
+
284
+
285
+
286
+ .font-14-medium1{
287
+ color: #ffffff;
288
+ line-height: 24px;
289
+ font-size: 16px;
290
+ font-family: font-pingfang-medium;
291
+ }
292
+ .scada-font-title {
293
+ margin-right: 1em;
294
+ font-family: tRends;
295
+ font-size: 25px;
296
+ font-weight: normal;
297
+ font-stretch: normal;
298
+ line-height: 30px;
299
+ letter-spacing: 0px;
300
+ }
301
+ .font-14 {
302
+ font-size: 14px;
303
+ font-family: tRends;
304
+ }
305
+ #top-left {
306
+ /*padding: 1em;*/
307
+ width: 32%;
308
+ height: 100%;
309
+ }
310
+
311
+ #top-mid {
312
+ /*padding: 1em;*/
313
+ width: 30%;
314
+ height: 100%;
315
+ }
316
+
317
+ #top-right {
318
+ width: 37%;
319
+ height: 100%;
320
+ }
321
+
322
+ .title-font {
323
+ font-family: HYk2gj;
324
+ font-size: 40px;
325
+ font-weight: normal;
326
+ font-stretch: normal;
327
+ line-height: 26px;
328
+ letter-spacing: 2px;
329
+ color: #ffffff;
330
+ }
331
+
332
+ .title-main {
333
+ margin: 0 auto;
334
+ }
335
+
336
+ .flex-inline {
337
+ display: inline-flex;
338
+ justify-content: space-around;
339
+ }
340
+
341
+ #pie-one {
342
+ height: 100%;
343
+ width: 35%;
344
+ }
345
+
346
+ #weiruhu {
347
+ font-family: tRends;
348
+ font-size: 24px;
349
+ font-weight: normal;
350
+ font-stretch: normal;
351
+ line-height: 35px;
352
+ letter-spacing: 0px;
353
+ color: #00f6ff;
354
+ }
355
+
356
+ #anjian {
357
+ font-family: tRENDS;
358
+ font-size: 24px;
359
+ font-weight: normal;
360
+ font-stretch: normal;
361
+ line-height: 35px;
362
+ letter-spacing: 0px;
363
+ color: #ffc21f;
364
+ }
365
+
366
+ .qinhuamap {
367
+ position: absolute;
368
+ top: 2%;
369
+ left: 35%;
370
+ width: 28%;
371
+ height: 57%;
372
+ }
373
+ .scroll-content {
374
+ position: relative;
375
+ transition: top 0.825s;
376
+ }
377
+
378
+ }
379
+ @media screen and (max-width: 1440px) {
380
+ .main {
381
+ height: 100%;
382
+ padding: 1em;
383
+ flex: 1 1 auto;
384
+ flex-direction: column;
385
+ display: flex;
386
+ }
387
+
388
+ #top-left {
389
+ /*padding: 1em;*/
390
+ width: 32%;
391
+ height: 100%;
392
+ }
393
+
394
+ #top-mid {
395
+ /*padding: 1em;*/
396
+ width: 30%;
397
+ height: 100%;
398
+ }
399
+
400
+ #top-right {
401
+ width: 37%;
402
+ height: 100%;
403
+ }
404
+
405
+ .title-font {
406
+ font-family: HYk2gj;
407
+ font-size: 30px;
408
+ font-weight: normal;
409
+ font-stretch: normal;
410
+ line-height: 22px;
411
+ letter-spacing: 2px;
412
+ color: #ffffff;
413
+ }
414
+
415
+ .title-main {
416
+ margin: 0 auto;
417
+ }
418
+
419
+ .flex-inline {
420
+ display: inline-flex;
421
+ justify-content: space-around;
422
+ }
423
+
424
+ #pie-one {
425
+ height: 100%;
426
+ width: 35%;
427
+ }
428
+
429
+ #weiruhu {
430
+ font-family: tRends;
431
+ font-size: 18px;
432
+ font-weight: normal;
433
+ font-stretch: normal;
434
+ line-height: 22px;
435
+ letter-spacing: 0px;
436
+ color: #00f6ff;
437
+ }
438
+
439
+ #anjian {
440
+ font-family: tRENDS;
441
+ font-size: 18px;
442
+ font-weight: normal;
443
+ font-stretch: normal;
444
+ line-height: 22px;
445
+ letter-spacing: 0px;
446
+ color: #ffc21f;
447
+ }
448
+
449
+ .qinhuamap {
450
+ position: absolute;
451
+ top: 2%;
452
+ left: 35%;
453
+ width: 28%;
454
+ height: 57%;
455
+ }
456
+ .font-14-medium{
457
+ color: #ffffff !important;
458
+ line-height: 18px;
459
+ font-size: 12px;
460
+ font-family: font-pingfang-medium;
461
+ }
462
+ .scroll-content {
463
+ position: relative;
464
+ transition: top 0.825s;
465
+ }
466
+ }
467
+ </style>
468
+