manage-client 3.1.47 → 3.1.50

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