manage-client 3.3.233 → 3.3.234

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 (208) hide show
  1. package/build/dev-server.js +190 -190
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/hs_err_pid13052.log +206 -206
  6. package/package.json +111 -111
  7. package/src/components/SellReport/BusinessClassify.vue +292 -292
  8. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  9. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  10. package/src/components/SellReport/ManageGasGroupSummary.vue +208 -208
  11. package/src/components/SellReport/ManageSellType.vue +267 -267
  12. package/src/components/SellReport/ReportItems.vue +312 -312
  13. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  14. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  15. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  16. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  17. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  18. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  19. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  20. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  21. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  22. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  23. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  24. package/src/components/sale/businessquery/CollectManage.vue +161 -161
  25. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  26. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  27. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  28. package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
  29. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  30. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  31. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  32. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  33. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  34. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  35. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  36. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  37. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  38. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  39. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  40. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  41. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  42. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  43. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  44. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  45. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  46. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  47. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  48. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  49. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  50. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  51. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  52. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  53. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  54. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  55. package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
  56. package/src/components/sale/businessquery/usergas.vue +315 -315
  57. package/src/components/sale/config/exportConfig.js +2763 -2763
  58. package/src/components/sale/config/tableConfig.js +59 -59
  59. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  60. package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
  61. package/src/components/sale/filesquery/UserQuery.vue +1002 -1002
  62. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  63. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -739
  64. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -691
  65. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  66. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  67. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  68. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  69. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  70. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
  71. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  72. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  73. package/src/components/webmeter/report/ReportList.vue +453 -453
  74. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  75. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  76. package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
  77. package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
  78. package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
  79. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
  80. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
  81. package/src/filiale/ancheng/exportConfig.js +1112 -1112
  82. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  83. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  84. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  85. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  86. package/src/filiale/bayan/config/tableConfig.js +59 -59
  87. package/src/filiale/bayan/sale.js +8 -8
  88. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  89. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  90. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  91. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  92. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  93. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  94. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  95. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  96. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  97. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  98. package/src/filiale/bayan/webmeterManage.js +26 -26
  99. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  100. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  101. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  102. package/src/filiale/dingcheng/sale.js +9 -9
  103. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  104. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  105. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  106. package/src/filiale/hantou/config/tableConfig.js +54 -54
  107. package/src/filiale/hantou/sale.js +8 -8
  108. package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
  109. package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
  110. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  111. package/src/filiale/jingyang/RechargeList.vue +346 -346
  112. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  113. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  114. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  115. package/src/filiale/jingyang/sale.js +8 -8
  116. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  117. package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
  118. package/src/filiale/kelai/GasStatistics.vue +561 -561
  119. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  120. package/src/filiale/kelai/NewGasStatistics.vue +556 -556
  121. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  122. package/src/filiale/kelai/reportManage.js +13 -13
  123. package/src/filiale/kelai/sale.js +17 -17
  124. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  125. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  126. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  127. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  128. package/src/filiale/macheng/config/exportConfig.js +79 -79
  129. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  130. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  131. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  132. package/src/filiale/meihekou/CollectManage.vue +152 -152
  133. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  134. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  135. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  136. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  137. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  138. package/src/filiale/meihekou/sale.js +39 -39
  139. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  140. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  141. package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
  142. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  143. package/src/filiale/qianneng/exportConfig.js +232 -232
  144. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  145. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  146. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  147. package/src/filiale/rizhao/sale.js +13 -13
  148. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  149. package/src/filiale/shangluo/sale.js +17 -17
  150. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  151. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  152. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  153. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  154. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  155. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  156. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  157. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  158. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  159. package/src/filiale/taizhoukesi/sale.js +11 -11
  160. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  161. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  162. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  163. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  164. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  165. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  166. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  167. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  168. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  169. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  170. package/src/filiale/xinjiangdexin/sale.js +7 -7
  171. package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
  172. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  173. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  174. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  175. package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
  176. package/src/filiale/yangchun/UserQuery.vue +980 -980
  177. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  178. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  179. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  180. package/src/filiale/yangchun/reportManage.js +6 -6
  181. package/src/filiale/yangchun/sale.js +20 -20
  182. package/src/filiale/yangchun/webmeterManage.js +5 -5
  183. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  184. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  185. package/src/filiale/yuncheng/GasInspection.vue +610 -610
  186. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  187. package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
  188. package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
  189. package/src/filiale/yuncheng/sale.js +23 -23
  190. package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
  191. package/src/filiale/zhongyi/GasStatistics.vue +537 -537
  192. package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
  193. package/src/filiale/zhongyi/exportConfig.js +2556 -2556
  194. package/src/filiale/zhongyi/sale.js +33 -33
  195. package/src/filiale/zhongyi/webmeterManage.js +15 -15
  196. package/src/main.js +68 -68
  197. package/src/plugins/LodopFuncs.js +159 -159
  198. package/src/reportManage.js +777 -777
  199. package/src/saleManage.js +689 -689
  200. package/src/stores/MagLoadParams.js +8 -4
  201. package/src/webmeterManage.js +130 -130
  202. package/.gradle/7.4/checksums/checksums.lock +0 -0
  203. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  204. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  205. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  206. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  207. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  208. package/.gradle/7.4/gc.properties +0 -0
@@ -1,339 +1,339 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label class="font_normal_body">客户编号</label>
11
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
12
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
13
- </div>
14
- <div class="col-sm-2 form-group">
15
- <label class="font_normal_body">客户名称</label>
16
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
- condition=" f_user_name like '%{}%'" placeholder='客户名称'>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label class="font_normal_body">用户地址</label>
21
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
22
- condition="f_address like '%{}%'" placeholder='客户地址'>
23
- </div>
24
- <!-- <div class="col-sm-2">-->
25
- <!-- <label class="font_normal_body">组织机构</label>-->
26
- <!-- <res-select :initresid="$parent.$parent.org"-->
27
- <!-- style="width:60%"-->
28
- <!-- @res-select="$parent.$parent.getorg"-->
29
- <!-- restype='organization'>-->
30
- <!-- </res-select>-->
31
-
32
- <!-- </div>-->
33
- <div class="col-sm-2 form-group">
34
- <label class="font_normal_body">&emsp;公司&emsp;</label>
35
- <right-tree @re-res="$parent.$parent.getorg"
36
- :initresid='$parent.$parent.org'></right-tree>
37
- </div>
38
- <div class="span" style="float:right;">
39
- <button class="button_search button_spacing" @click="search()">查询</button>
40
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
41
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
42
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
43
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="manage_getReportDataQuery" template-name='结算查询导出'
44
- :choose-col="true"></export-excel>
45
- <div style="float: right" class="button_spacing"
46
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
47
- @click="$parent.$parent.hidden()"></div>
48
- </div>
49
-
50
- </div>
51
-
52
- <div class="row" v-show="$parent.$parent.criteriaShow">
53
- <div class="col-sm-2 form-group">
54
- <label class="font_normal_body">表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
55
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
56
- condition="f_meternumber like '%{}%'" placeholder='表号'>
57
- </div>
58
- <div class="col-sm-2 form-group">
59
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
60
- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
61
- condition="f_residential_area like '%{}%'" placeholder='小区'>
62
- </div>
63
- <div class="col-sm-2 form-group">
64
- <label class="font_normal_body">气表品牌</label>
65
- <v-select
66
- placeholder='气表品牌'
67
- :value.sync="model.f_meter_brand"
68
- v-model="model.f_meter_brand"
69
- :options='$parent.$parent.meterbrands'
70
- close-on-select
71
- condition="f_meter_brand='{}'">
72
- </v-select>
73
- </div>
74
- <div class="col-sm-2 form-group" >
75
- <label class="font_normal_body">气表型号</label>
76
- <v-select
77
- placeholder='气表型号'
78
- :value.sync="model.f_meter_style"
79
- v-model="model.f_meter_style"
80
- :options='$parent.$parent.metertypes'
81
- close-on-select
82
- condition="f_meter_style='{}'">
83
- </v-select>
84
- </div>
85
- <div class="col-sm-2 form-group">
86
- <label for="startDate" class="font_normal_body">插入时间</label>
87
- <datepicker id="startDate" placeholder="插入时间" style="width:60%"
88
- v-model="model.startDate"
89
- :value.sync="model.startDate"
90
- :format="'yyyy-MM-dd HH:mm:ss'"
91
- :show-reset-button="true"
92
- condition="f_insert_date >= '{}'">
93
- </datepicker>
94
- </div>
95
- <div class="col-sm-2 form-group">
96
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
97
- <datepicker id="endDate" placeholder="插入时间" style="width:60%"
98
- v-model="model.endDate"
99
- :value.sync="model.endDate"
100
- :format="'yyyy-MM-dd HH:mm:ss'"
101
- :show-reset-button="true"
102
- condition="f_insert_date <= '{}'">
103
- </datepicker>
104
- </div>
105
- <div class="col-sm-2 form-group">
106
- <label class="font_normal_body">客户类型</label>
107
- <v-select :value.sync="model.f_user_type"
108
- @change="$parent.$parent.userTypeChange()"
109
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
110
- condition="f_user_type = '{}'"
111
- close-on-select></v-select>
112
- </div>
113
- <div class="col-sm-2 form-group">
114
- <label class="font_normal_body">用气性质</label>
115
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
116
- :options='$parent.$parent.gasproperties' placeholder='请选择'
117
- condition="f_gasproperties = '{}'"
118
- close-on-select></v-select>
119
- </div>
120
- <div class="col-sm-2 form-group">
121
- <label class="font_normal_body">用气类型</label>
122
- <v-select :value.sync="model.f_user_nature" v-model="model.f_user_nature"
123
- :options='$parent.$parent.usernatures' placeholder='请选择'
124
- condition="f_user_nature = '{}'"
125
- close-on-select></v-select>
126
- </div>
127
- </div>
128
-
129
- </div>
130
- </criteria>
131
-
132
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
133
- <template partial='head'>
134
- <tr>
135
- <th v-for="row in $parent.$parent.$parent.headData">
136
- <nobr>{{row}}</nobr>
137
- </th>
138
- </tr>
139
- </template>
140
- <template partial='body'>
141
- <tr v-for="row in $parent.$parent.$parent.model.rows">
142
- <td style="text-align: center;" v-for="item in $parent.$parent.$parent.config.fieldMapping">
143
- <nobr v-if="item == 'f_lowlithiumbattery'">{{row[item] == 1 ? '是' : '否'}}</nobr>
144
- <nobr v-if="item == 'f_magneticinterference'">{{row[item] == 1 ? '异常' : '正常'}}</nobr>
145
- <nobr v-if="item != 'f_magneticinterference' && item != 'f_lowlithiumbattery'">{{row[item]}}</nobr>
146
- </td>
147
- </tr>
148
- </template>
149
- <template partial='foot'></template>
150
- </data-grid>
151
- </criteria-paged>
152
- </div>
153
- </div>
154
- </div>
155
- </template>
156
-
157
- <script>
158
- import {HttpResetClass, PagedList} from 'vue-client'
159
- import tableConfig from './../../sale/config/tableConfig'
160
- import exportConfig from '../../sale/config/exportConfig'
161
- import plugins from '../../../plugins/GetLoginInfoService'
162
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
163
-
164
- let readySomething = async function (self) {
165
- await self.$MagLoadParams.loadParam()
166
- self.initParams()
167
- // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
168
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
169
- }
170
- export default {
171
- title: '上报数据查询',
172
- data() {
173
- return {
174
- other:[],
175
- sumsmodel: {},
176
- footer:[],
177
- model: new PagedList('api/af-revenue/sql/manage_getReportDataQuery', 20, {}),
178
- criteriaShow: false,
179
- config: {
180
- fieldMapping: {
181
- f_userinfo_code: '客户编号',
182
- f_user_name: '客户名称'
183
- }
184
- },
185
- WarningType: [
186
- {label: '全部', value: ''}
187
- ],
188
- Warningstyles: [
189
- {label: '全部', value: ''}
190
- ],
191
- styles:false,
192
- headData: [],
193
- bodyData: [],
194
- gasproperties:[],
195
- orgCondtionStr: " and f_filialeid in (" + this.$login.f.orgid+")",
196
- resshow:['company'],
197
- org:[this.$login.f.orgid],
198
- meterbrands:[]
199
- }
200
- },
201
- created () {
202
- this.config.fieldMapping=tableConfig.ReportDataQuery
203
- console.log("========================")
204
- console.log(this.config.fieldMapping)
205
- var item="用户编号"
206
- console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
207
- console.log(this.config.fieldMapping[item])
208
- this.headData=Object.keys(this.config.fieldMapping)
209
- // for(var i=0;i<this.config.fieldMapping;i++){
210
- // this.headData.push(this.config.fieldMapping[i])
211
- // }
212
-
213
- },
214
- ready() {
215
- this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
216
- this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
217
- console.log(this.$refs.paged.$refs.cri.model.startDate)
218
- console.log(this.$refs.paged.$refs.cri.model.endDate)
219
- readySomething(this).then(() => {
220
- this.$emit('ready')
221
- }).catch((error) => {
222
- this.$emit('error', error)
223
- })
224
- },
225
- methods: {
226
- userTypeChange () {
227
- this.gasproperties=[]
228
- if(this.$refs.paged.$refs.cri.model !==null) {
229
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
230
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
231
- }
232
- else{
233
- this.gasproperties =[{label: '全部', value: ''}]
234
- }
235
- },
236
- initParams() {
237
- // 初始化气表品牌
238
- let brandArr = []
239
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
240
- let temp = {}
241
- if(item.value.f_meter_type==='物联网表'){
242
- temp.label = item.label
243
- temp.value = item.value.f_meter_brand
244
- brandArr.push(temp )
245
- }
246
- })
247
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
248
- //初始化气表价格
249
- this.prices = this.$MagGetSaleParam.getPrices();
250
- },
251
- showMeterStyle() {
252
- this.styles = true
253
- },
254
- search() {
255
- this.$refs.paged.$refs.cri.search()
256
- },
257
- async selfSearch(args) {
258
- args.condition = `${args.condition}` + this.orgCondtionStr
259
- await this.model.search(args.condition, args.model)
260
- // 查询到数据进行处理
261
- // if (this.model.rows.length > 0) {
262
- // this.bodyData = Object.keys(this.model.rows[0])
263
- // }
264
- },
265
- getorg(obj) {
266
- if (obj.resids.length>0) {
267
- this.orgCondtionStr = " and f_filialeid in " + plugin.convertToIn(obj.resids)
268
- }else
269
- {
270
- this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
271
- }
272
- },
273
- // getorg(obj) {
274
- // // if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
275
- // // this.orgCondtionStr = " and f_filialeid in " + plugins.convertToIn(obj)
276
- // // }else{
277
- // // this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
278
- // // }
279
- // // this.orgname = obj.res
280
- // },
281
- clear() {
282
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
283
- this.$refs.paged.$refs.cri.model[key] = []
284
- })
285
- },
286
- hidden() {
287
- this.criteriaShow = !this.criteriaShow
288
- },
289
-
290
- // getRes(obj) {
291
- // this.orgCondtionStr = obj
292
- // }
293
- getotherfooter() {
294
- this.other = [];
295
- this.footer = [];
296
- let otherInData = [];
297
- let secondLine = [
298
- `开始时间: ${this.$refs.paged.$refs.cri.model.startDate}`,
299
- `结束时间: ${this.$refs.paged.$refs.cri.model.startDate}`
300
- ];
301
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
302
- let footerData = []
303
-
304
- this.footer.push(footerData);
305
- this.other.push(otherInData);
306
- this.other.push(secondLine);
307
- }
308
- },
309
- watch: {
310
- sumsmodel:{
311
- handler: function(val) {
312
- this.getotherfooter();
313
- },
314
- deep: true
315
- },
316
- },
317
- computed: {
318
- metertypes() {
319
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
320
- },
321
- usernatures(){
322
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
323
- },
324
- usertypes() {
325
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
326
- },
327
- getCondition() {
328
- return {
329
- startDate: this.$refs.paged.$refs.cri.model.startDate,
330
- endDate: this.$refs.paged.$refs.cri.model.endDate,
331
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
332
- }
333
- },
334
- getfield() {
335
- return exportConfig.ReportDataConfig
336
- }
337
- }
338
- }
339
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body">客户编号</label>
11
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
12
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
13
+ </div>
14
+ <div class="col-sm-2 form-group">
15
+ <label class="font_normal_body">客户名称</label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
+ condition=" f_user_name like '%{}%'" placeholder='客户名称'>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body">用户地址</label>
21
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
22
+ condition="f_address like '%{}%'" placeholder='客户地址'>
23
+ </div>
24
+ <!-- <div class="col-sm-2">-->
25
+ <!-- <label class="font_normal_body">组织机构</label>-->
26
+ <!-- <res-select :initresid="$parent.$parent.org"-->
27
+ <!-- style="width:60%"-->
28
+ <!-- @res-select="$parent.$parent.getorg"-->
29
+ <!-- restype='organization'>-->
30
+ <!-- </res-select>-->
31
+
32
+ <!-- </div>-->
33
+ <div class="col-sm-2 form-group">
34
+ <label class="font_normal_body">&emsp;公司&emsp;</label>
35
+ <right-tree @re-res="$parent.$parent.getorg"
36
+ :initresid='$parent.$parent.org'></right-tree>
37
+ </div>
38
+ <div class="span" style="float:right;">
39
+ <button class="button_search button_spacing" @click="search()">查询</button>
40
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
41
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
42
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
43
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="manage_getReportDataQuery" template-name='结算查询导出'
44
+ :choose-col="true"></export-excel>
45
+ <div style="float: right" class="button_spacing"
46
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
47
+ @click="$parent.$parent.hidden()"></div>
48
+ </div>
49
+
50
+ </div>
51
+
52
+ <div class="row" v-show="$parent.$parent.criteriaShow">
53
+ <div class="col-sm-2 form-group">
54
+ <label class="font_normal_body">表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
55
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
56
+ condition="f_meternumber like '%{}%'" placeholder='表号'>
57
+ </div>
58
+ <div class="col-sm-2 form-group">
59
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
60
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
61
+ condition="f_residential_area like '%{}%'" placeholder='小区'>
62
+ </div>
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">气表品牌</label>
65
+ <v-select
66
+ placeholder='气表品牌'
67
+ :value.sync="model.f_meter_brand"
68
+ v-model="model.f_meter_brand"
69
+ :options='$parent.$parent.meterbrands'
70
+ close-on-select
71
+ condition="f_meter_brand='{}'">
72
+ </v-select>
73
+ </div>
74
+ <div class="col-sm-2 form-group" >
75
+ <label class="font_normal_body">气表型号</label>
76
+ <v-select
77
+ placeholder='气表型号'
78
+ :value.sync="model.f_meter_style"
79
+ v-model="model.f_meter_style"
80
+ :options='$parent.$parent.metertypes'
81
+ close-on-select
82
+ condition="f_meter_style='{}'">
83
+ </v-select>
84
+ </div>
85
+ <div class="col-sm-2 form-group">
86
+ <label for="startDate" class="font_normal_body">插入时间</label>
87
+ <datepicker id="startDate" placeholder="插入时间" style="width:60%"
88
+ v-model="model.startDate"
89
+ :value.sync="model.startDate"
90
+ :format="'yyyy-MM-dd HH:mm:ss'"
91
+ :show-reset-button="true"
92
+ condition="f_insert_date >= '{}'">
93
+ </datepicker>
94
+ </div>
95
+ <div class="col-sm-2 form-group">
96
+ <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
97
+ <datepicker id="endDate" placeholder="插入时间" style="width:60%"
98
+ v-model="model.endDate"
99
+ :value.sync="model.endDate"
100
+ :format="'yyyy-MM-dd HH:mm:ss'"
101
+ :show-reset-button="true"
102
+ condition="f_insert_date <= '{}'">
103
+ </datepicker>
104
+ </div>
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">客户类型</label>
107
+ <v-select :value.sync="model.f_user_type"
108
+ @change="$parent.$parent.userTypeChange()"
109
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
110
+ condition="f_user_type = '{}'"
111
+ close-on-select></v-select>
112
+ </div>
113
+ <div class="col-sm-2 form-group">
114
+ <label class="font_normal_body">用气性质</label>
115
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
116
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
117
+ condition="f_gasproperties = '{}'"
118
+ close-on-select></v-select>
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body">用气类型</label>
122
+ <v-select :value.sync="model.f_user_nature" v-model="model.f_user_nature"
123
+ :options='$parent.$parent.usernatures' placeholder='请选择'
124
+ condition="f_user_nature = '{}'"
125
+ close-on-select></v-select>
126
+ </div>
127
+ </div>
128
+
129
+ </div>
130
+ </criteria>
131
+
132
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
133
+ <template partial='head'>
134
+ <tr>
135
+ <th v-for="row in $parent.$parent.$parent.headData">
136
+ <nobr>{{row}}</nobr>
137
+ </th>
138
+ </tr>
139
+ </template>
140
+ <template partial='body'>
141
+ <tr v-for="row in $parent.$parent.$parent.model.rows">
142
+ <td style="text-align: center;" v-for="item in $parent.$parent.$parent.config.fieldMapping">
143
+ <nobr v-if="item == 'f_lowlithiumbattery'">{{row[item] == 1 ? '是' : '否'}}</nobr>
144
+ <nobr v-if="item == 'f_magneticinterference'">{{row[item] == 1 ? '异常' : '正常'}}</nobr>
145
+ <nobr v-if="item != 'f_magneticinterference' && item != 'f_lowlithiumbattery'">{{row[item]}}</nobr>
146
+ </td>
147
+ </tr>
148
+ </template>
149
+ <template partial='foot'></template>
150
+ </data-grid>
151
+ </criteria-paged>
152
+ </div>
153
+ </div>
154
+ </div>
155
+ </template>
156
+
157
+ <script>
158
+ import {HttpResetClass, PagedList} from 'vue-client'
159
+ import tableConfig from './../../sale/config/tableConfig'
160
+ import exportConfig from '../../sale/config/exportConfig'
161
+ import plugins from '../../../plugins/GetLoginInfoService'
162
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
163
+
164
+ let readySomething = async function (self) {
165
+ await self.$MagLoadParams.loadParam()
166
+ self.initParams()
167
+ // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
168
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
169
+ }
170
+ export default {
171
+ title: '上报数据查询',
172
+ data() {
173
+ return {
174
+ other:[],
175
+ sumsmodel: {},
176
+ footer:[],
177
+ model: new PagedList('api/af-revenue/sql/manage_getReportDataQuery', 20, {}),
178
+ criteriaShow: false,
179
+ config: {
180
+ fieldMapping: {
181
+ f_userinfo_code: '客户编号',
182
+ f_user_name: '客户名称'
183
+ }
184
+ },
185
+ WarningType: [
186
+ {label: '全部', value: ''}
187
+ ],
188
+ Warningstyles: [
189
+ {label: '全部', value: ''}
190
+ ],
191
+ styles:false,
192
+ headData: [],
193
+ bodyData: [],
194
+ gasproperties:[],
195
+ orgCondtionStr: " and f_filialeid in (" + this.$login.f.orgid+")",
196
+ resshow:['company'],
197
+ org:[this.$login.f.orgid],
198
+ meterbrands:[]
199
+ }
200
+ },
201
+ created () {
202
+ this.config.fieldMapping=tableConfig.ReportDataQuery
203
+ console.log("========================")
204
+ console.log(this.config.fieldMapping)
205
+ var item="用户编号"
206
+ console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
207
+ console.log(this.config.fieldMapping[item])
208
+ this.headData=Object.keys(this.config.fieldMapping)
209
+ // for(var i=0;i<this.config.fieldMapping;i++){
210
+ // this.headData.push(this.config.fieldMapping[i])
211
+ // }
212
+
213
+ },
214
+ ready() {
215
+ this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
216
+ this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
217
+ console.log(this.$refs.paged.$refs.cri.model.startDate)
218
+ console.log(this.$refs.paged.$refs.cri.model.endDate)
219
+ readySomething(this).then(() => {
220
+ this.$emit('ready')
221
+ }).catch((error) => {
222
+ this.$emit('error', error)
223
+ })
224
+ },
225
+ methods: {
226
+ userTypeChange () {
227
+ this.gasproperties=[]
228
+ if(this.$refs.paged.$refs.cri.model !==null) {
229
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
230
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
231
+ }
232
+ else{
233
+ this.gasproperties =[{label: '全部', value: ''}]
234
+ }
235
+ },
236
+ initParams() {
237
+ // 初始化气表品牌
238
+ let brandArr = []
239
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
240
+ let temp = {}
241
+ if(item.value.f_meter_type==='物联网表'){
242
+ temp.label = item.label
243
+ temp.value = item.value.f_meter_brand
244
+ brandArr.push(temp )
245
+ }
246
+ })
247
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
248
+ //初始化气表价格
249
+ this.prices = this.$MagGetSaleParam.getPrices();
250
+ },
251
+ showMeterStyle() {
252
+ this.styles = true
253
+ },
254
+ search() {
255
+ this.$refs.paged.$refs.cri.search()
256
+ },
257
+ async selfSearch(args) {
258
+ args.condition = `${args.condition}` + this.orgCondtionStr
259
+ await this.model.search(args.condition, args.model)
260
+ // 查询到数据进行处理
261
+ // if (this.model.rows.length > 0) {
262
+ // this.bodyData = Object.keys(this.model.rows[0])
263
+ // }
264
+ },
265
+ getorg(obj) {
266
+ if (obj.resids.length>0) {
267
+ this.orgCondtionStr = " and f_filialeid in " + plugin.convertToIn(obj.resids)
268
+ }else
269
+ {
270
+ this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
271
+ }
272
+ },
273
+ // getorg(obj) {
274
+ // // if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
275
+ // // this.orgCondtionStr = " and f_filialeid in " + plugins.convertToIn(obj)
276
+ // // }else{
277
+ // // this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
278
+ // // }
279
+ // // this.orgname = obj.res
280
+ // },
281
+ clear() {
282
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
283
+ this.$refs.paged.$refs.cri.model[key] = []
284
+ })
285
+ },
286
+ hidden() {
287
+ this.criteriaShow = !this.criteriaShow
288
+ },
289
+
290
+ // getRes(obj) {
291
+ // this.orgCondtionStr = obj
292
+ // }
293
+ getotherfooter() {
294
+ this.other = [];
295
+ this.footer = [];
296
+ let otherInData = [];
297
+ let secondLine = [
298
+ `开始时间: ${this.$refs.paged.$refs.cri.model.startDate}`,
299
+ `结束时间: ${this.$refs.paged.$refs.cri.model.startDate}`
300
+ ];
301
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
302
+ let footerData = []
303
+
304
+ this.footer.push(footerData);
305
+ this.other.push(otherInData);
306
+ this.other.push(secondLine);
307
+ }
308
+ },
309
+ watch: {
310
+ sumsmodel:{
311
+ handler: function(val) {
312
+ this.getotherfooter();
313
+ },
314
+ deep: true
315
+ },
316
+ },
317
+ computed: {
318
+ metertypes() {
319
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
320
+ },
321
+ usernatures(){
322
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
323
+ },
324
+ usertypes() {
325
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
326
+ },
327
+ getCondition() {
328
+ return {
329
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
330
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
331
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
332
+ }
333
+ },
334
+ getfield() {
335
+ return exportConfig.ReportDataConfig
336
+ }
337
+ }
338
+ }
339
+ </script>