manage-client 3.1.39 → 3.1.40

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 (86) hide show
  1. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  2. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  3. package/.gradle/buildOutputCleanup/built.bin +0 -0
  4. package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
  5. package/build/dev-server.js +22 -29
  6. package/package.json +1 -1
  7. package/src/App.vue +28 -29
  8. package/src/components/BasisEcharts/BarChart.vue +247 -247
  9. package/src/components/BasisEcharts/RingChart.vue +196 -196
  10. package/src/components/SellReport/BusinessClassify.vue +293 -293
  11. package/src/components/SellReport/ChargePrick.vue +284 -284
  12. package/src/components/SellReport/DepartmentPrick.vue +288 -288
  13. package/src/components/SellReport/FinanceSellType.vue +254 -254
  14. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  15. package/src/components/SellReport/GasPrice.vue +244 -244
  16. package/src/components/SellReport/ManageBusSummary.vue +242 -242
  17. package/src/components/SellReport/ManageHandInputtor.vue +281 -281
  18. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  19. package/src/components/SellReport/ManageSellType.vue +284 -284
  20. package/src/components/SellReport/ManageUserCount.vue +347 -347
  21. package/src/components/SellReport/MarketMonth.vue +277 -251
  22. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  23. package/src/components/SellReport/SellingTable.vue +220 -220
  24. package/src/components/SellReport/UserClassify.vue +251 -251
  25. package/src/components/SellReport/UserSellingGas.vue +251 -251
  26. package/src/components/daping/CallCenter.vue +366 -366
  27. package/src/components/daping/DataManagement.vue +537 -537
  28. package/src/components/daping/GMap.vue +636 -636
  29. package/src/components/daping/ManageMain.vue +270 -270
  30. package/src/components/daping/NetWork.vue +238 -238
  31. package/src/components/daping/RedactDaPing.vue +468 -468
  32. package/src/components/daping/Ring.vue +212 -212
  33. package/src/components/daping/SafeCheck.vue +446 -446
  34. package/src/components/daping/SafeCheckRing.vue +166 -166
  35. package/src/components/daping/SafecheckBarChart.vue +233 -233
  36. package/src/components/daping/WuHaiMap.vue +418 -418
  37. package/src/components/qinhua/BarChart.vue +256 -256
  38. package/src/components/qinhua/Pie.vue +132 -132
  39. package/src/components/qinhua/SellEcharts.vue +115 -115
  40. package/src/components/qinhua/qinHuaMap.vue +414 -414
  41. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  42. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  43. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  44. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  45. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  46. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  47. package/src/components/statistical/StatisticalAnalysis.vue +247 -247
  48. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  49. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  50. package/src/components/webmeter/DrillData/UserGasAll.vue +597 -597
  51. package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
  52. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  53. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  54. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +170 -170
  55. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
  56. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +903 -903
  57. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
  58. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +238 -238
  59. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +266 -266
  60. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  61. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +218 -218
  62. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  63. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  64. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  65. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  66. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  67. package/src/filiale/alashan/SellingTable.vue +234 -234
  68. package/src/filiale/alashan/reportManage.js +10 -10
  69. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  70. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  71. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  72. package/src/filiale/meihekou/sale.js +26 -26
  73. package/src/filiale/rongcheng/exportConfig.js +257 -257
  74. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  75. package/src/filiale/rongchuang/reportManage.js +11 -11
  76. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  77. package/src/filiale/tongchuan/ManageBusSummary.vue +301 -301
  78. package/src/filiale/tongchuan/ResSelectGroupNew.vue +181 -176
  79. package/src/filiale/tongchuan/reportManage.js +5 -5
  80. package/src/main.js +2 -2
  81. package/src/newmanage.js +525 -525
  82. package/src/reportManage.js +462 -462
  83. package/src/saleManage.js +521 -522
  84. package/static/wuhai.json +1610 -1610
  85. package/src/components/SellReport/SellCollect.vue +0 -183
  86. package/src/components/sale/businessquery/NewHandplanQuery.vue +0 -995
@@ -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
+