manage-client 3.3.217 → 3.3.218

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 (193) hide show
  1. package/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/7.4/gc.properties +0 -0
  8. package/.npmignore +10 -0
  9. package/build/.npmignore +1 -0
  10. package/build/dev-server.js +190 -190
  11. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  12. package/gradlew +234 -234
  13. package/gradlew.bat +89 -89
  14. package/hs_err_pid13052.log +206 -206
  15. package/package-lock.json +10123 -0
  16. package/package.json +111 -111
  17. package/src/components/SellReport/BusinessClassify.vue +292 -292
  18. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  19. package/src/components/SellReport/ManageSellType.vue +267 -267
  20. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  21. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  22. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  23. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  24. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  25. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  26. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  27. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  28. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  29. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  30. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  31. package/src/components/sale/businessquery/CollectManage.vue +6 -6
  32. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  33. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  34. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  35. package/src/components/sale/businessquery/FMYGasQuery.vue +813 -813
  36. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  37. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  38. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  39. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  40. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  41. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  42. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  43. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  44. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  45. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  46. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  47. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  48. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  49. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  50. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  51. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  52. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  53. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  54. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  55. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  56. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  57. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  58. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  59. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  60. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  61. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  62. package/src/components/sale/businessquery/usergas.vue +315 -315
  63. package/src/components/sale/config/exportConfig.js +2761 -2761
  64. package/src/components/sale/config/tableConfig.js +59 -59
  65. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  66. package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
  67. package/src/components/sale/filesquery/UserQuery.vue +977 -977
  68. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  69. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +695 -695
  70. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +646 -646
  71. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  72. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  73. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  74. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  75. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  76. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +552 -552
  77. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  78. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  79. package/src/components/webmeter/report/ReportList.vue +453 -453
  80. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  81. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  82. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +12 -10
  83. package/src/filiale/ancheng/exportConfig.js +120 -120
  84. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  85. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  86. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  87. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  88. package/src/filiale/bayan/config/tableConfig.js +59 -59
  89. package/src/filiale/bayan/sale.js +8 -8
  90. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  91. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  92. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  93. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  94. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  95. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  96. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  97. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  98. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  99. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  100. package/src/filiale/bayan/webmeterManage.js +26 -26
  101. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  102. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  103. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  104. package/src/filiale/dingcheng/sale.js +9 -9
  105. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  106. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  107. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  108. package/src/filiale/hantou/config/tableConfig.js +54 -54
  109. package/src/filiale/hantou/sale.js +8 -8
  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/GasStatistics.vue +561 -561
  118. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  119. package/src/filiale/kelai/NewGasStatistics.vue +542 -542
  120. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  121. package/src/filiale/kelai/reportManage.js +13 -13
  122. package/src/filiale/kelai/sale.js +17 -17
  123. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  124. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  125. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  126. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  127. package/src/filiale/macheng/config/exportConfig.js +79 -79
  128. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  129. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  130. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  131. package/src/filiale/meihekou/CollectManage.vue +152 -152
  132. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  133. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  134. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  135. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  136. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  137. package/src/filiale/meihekou/sale.js +39 -39
  138. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  139. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  140. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  141. package/src/filiale/qianneng/exportConfig.js +232 -232
  142. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  143. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  144. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  145. package/src/filiale/rizhao/sale.js +13 -13
  146. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  147. package/src/filiale/shangluo/sale.js +17 -17
  148. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  149. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  150. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  151. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  152. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  153. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  154. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  155. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  156. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  157. package/src/filiale/taizhoukesi/sale.js +11 -11
  158. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  159. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  160. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  161. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  162. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  163. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  164. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  165. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  166. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  167. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  168. package/src/filiale/xinjiangdexin/sale.js +7 -7
  169. package/src/filiale/yangchun/ChangeMeterQuery.vue +716 -716
  170. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  171. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  172. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  173. package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -1477
  174. package/src/filiale/yangchun/UserQuery.vue +980 -980
  175. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  176. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  177. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  178. package/src/filiale/yangchun/reportManage.js +6 -6
  179. package/src/filiale/yangchun/sale.js +20 -20
  180. package/src/filiale/yangchun/webmeterManage.js +5 -5
  181. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  182. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  183. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  184. package/src/filiale/yuncheng/MeterQuery.vue +995 -995
  185. package/src/filiale/yuncheng/config/exportConfig.js +2674 -2674
  186. package/src/filiale/yuncheng/sale.js +23 -23
  187. package/src/filiale/zhongyi/GasStatistics.vue +522 -522
  188. package/src/filiale/zhongyi/exportConfig.js +2554 -2554
  189. package/src/main.js +68 -68
  190. package/src/plugins/LodopFuncs.js +159 -159
  191. package/src/reportManage.js +773 -773
  192. package/src/saleManage.js +689 -689
  193. package/src/webmeterManage.js +130 -130
@@ -1,539 +1,539 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <div style="flex:1;" class="flex" v-if="!show">
6
- <criteria-paged :model="model" v-ref:paged @sort="sort">
7
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
- <div class="row">
10
- <div class="col-sm-2 form-group" >
11
- <label class="font_normal_body">客户编号</label>
12
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
14
- </div>
15
- <div class="col-sm-2 form-group" >
16
- <label class="font_normal_body">客户名称</label>
17
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
- condition="f_user_name like '%{}%'" placeholder="客户名称">
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label class="font_normal_body" title="旧客户编号">档案编号</label>
22
- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
24
- </div>
25
- <div class="col-sm-2 form-group" >
26
- <label class="font_normal_body">客户电话</label>
27
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
28
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
29
- </div>
30
- <div class="span" style = "float:right;">
31
- <button class="button_search button_spacing" @click="search()">查询</button>
32
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
34
-
35
- <!-- <export-excel :data="$parent.$parent.getCondition"-->
36
- <!-- :field="$parent.$parent.getExportField"-->
37
- <!-- :header="$parent.$parent.other"-->
38
- <!-- v-if="$parent.$parent.authArr.includes('档案查询导出')"-->
39
- <!-- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="deviceQuery" template-name='表具设备查询导出' :choose-col="true"></export-excel>-->
40
- <!-- <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"-->
41
- <!-- :defaultfield="$parent.$parent.defaultfield"-->
42
- <!-- titletable="表具设备查询"-->
43
- <!-- :sumsmodel="$parent.$parent.sumsmodel"></print-data>-->
44
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
45
- </div>
46
- </div>
47
- <div class="row" v-show="$parent.$parent.criteriaShow">
48
-
49
- <div class="col-sm-2 form-group" >
50
- <label class="font_normal_body">客户地址</label>
51
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
52
- condition="f_address like '%{}%'" placeholder='客户地址'>
53
- </div>
54
- <!-- <div class="col-sm-2 form-group" >-->
55
- <!-- <label class="font_normal_body">客户状态</label>-->
56
- <!-- <v-select :value.sync="model.f_user_state"-->
57
- <!-- v-model="model.f_user_state"-->
58
- <!-- :options='$parent.$parent.userstates' placeholder='请选择'-->
59
- <!-- condition="f_user_state = '{}'"-->
60
- <!-- close-on-select></v-select>-->
61
- <!-- </div>-->
62
- <div class="col-sm-2 form-group">
63
- <label class="font_normal_body">客户类型</label>
64
- <v-select :value.sync="model.f_user_type"
65
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
66
- condition="f_user_type = '{}'"
67
- close-on-select></v-select>
68
- </div>
69
- <div class="col-sm-2 form-group" >
70
- <label class="font_normal_body">表&emsp;&emsp;号</label>
71
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
72
- condition="f_meternumber = '{}'" placeholder='表号'>
73
- </div>
74
-
75
- <div class="col-sm-2 form-group" >
76
- <label class="font_normal_body">卡&emsp;&emsp;号</label>
77
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
78
- condition="f_card_id like '%{}%'" placeholder='表号'>
79
- </div>
80
- <div class="col-sm-2 form-group" >
81
- <label class="font_normal_body" title="交付日期大于">交付日期</label>
82
- <datepicker placeholder="交付日期大于" style="width:60%"
83
- v-model="model.f_input_start_date"
84
- :value.sync="model.f_input_start_date"
85
- :format="'yyyy-MM-dd'"
86
- :show-reset-button="true"
87
- condition="f_deliver_date >= '{} 00:00:00'">
88
- </datepicker>
89
- </div>
90
- <div class="col-sm-2 form-group" >
91
- <label class="font_normal_body" title="交付日期小于">交付日期</label>
92
- <datepicker placeholder="交付日期小于" style="width:60%"
93
- v-model="model.f_input_end_date"
94
- :value.sync="model.f_input_end_date"
95
- :format="'yyyy-MM-dd'"
96
- :show-reset-button="true"
97
- condition="f_deliver_date <= '{} 23:59:59'">
98
- </datepicker>
99
- </div>
100
- <div class="col-sm-2 form-group" >
101
- <label class="font_normal_body" title="点火日期大于">点火日期</label>
102
- <datepicker placeholder="点火日期大于" style="width:60%"
103
- v-model="model.f_operate_start_date"
104
- :value.sync="model.f_operate_start_date"
105
- :format="'yyyy-MM-dd'"
106
- :show-reset-button="true"
107
- condition="f_operate_date >= '{} 00:00:00'">
108
- </datepicker>
109
- </div>
110
- <div class="col-sm-2 form-group" >
111
- <label class="font_normal_body" title="点火日期小于">点火日期</label>
112
- <datepicker placeholder="点火日期小于" style="width:60%"
113
- v-model="model.f_operate_end_date"
114
- :value.sync="model.f_operate_end_date"
115
- :format="'yyyy-MM-dd'"
116
- :show-reset-button="true"
117
- condition="f_operate_date <= '{} 23:59:59'">
118
- </datepicker>
119
- </div>
120
- <div class="col-sm-2 form-group">
121
- <label class="font_normal_body" >抄表员&emsp;</label>
122
- <v-select :value.sync="model.f_inputtor"
123
- v-model="model.f_inputtor"
124
- :options='$parent.$parent.inputtores' placeholder='请选择'
125
- condition="f_inputtor = '{}'"
126
- close-on-select :search="false">
127
- </v-select>
128
- </div>
129
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
130
- </div>
131
- </div>
132
- </criteria>
133
-
134
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
135
- <template partial='head'>
136
- <tr>
137
- <th>
138
- <!--<nobr>客户编号</nobr>-->
139
- <data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
140
- </th>
141
- <th><nobr>客户名称</nobr></th>
142
- <th><nobr>档案编号</nobr></th>
143
- <th><nobr>客户电话</nobr></th>
144
- <th>
145
- <!--<nobr>客户地址</nobr>-->
146
- <data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
147
- </th>
148
- <th><nobr>客户状态</nobr></th>
149
-
150
- <th><nobr>表号</nobr></th>
151
- <th><nobr>卡号</nobr></th>
152
- <th><nobr>气表品牌</nobr></th>
153
- <th><nobr>气表型号</nobr></th>
154
- <th><nobr>表向</nobr></th>
155
- <!--民用-->
156
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>镀锌管</nobr></th>
157
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>三通</nobr></th>
158
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>对丝</nobr></th>
159
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>弯头</nobr></th>
160
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>表前阀</nobr></th>
161
-
162
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>管卡</nobr></th>
163
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>灶前阀</nobr></th>
164
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>胶管</nobr></th>
165
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>自闭阀</nobr></th>
166
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>燃气具</nobr></th>
167
-
168
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>报警器</nobr></th>
169
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>热水器</nobr></th>
170
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>壁挂锅炉</nobr></th>
171
- <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>型号</nobr></th>
172
-
173
- <!-- 非民用-->
174
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>非民用气表品牌</nobr></th>
175
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>非民用气表型号</nobr></th>
176
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>流量计范围</nobr></th>
177
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器品牌</nobr></th>
178
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器型号</nobr></th>
179
-
180
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器出厂日期</nobr></th>
181
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器表编码</nobr></th>
182
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器表封号</nobr></th>
183
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>燃气具类型</nobr></th>
184
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>燃气具品牌</nobr></th>
185
-
186
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>燃气具型号</nobr></th>
187
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>报警控制箱品牌、数量</nobr></th>
188
- <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>探测器数量</nobr></th>
189
- <!--公共-->
190
- <th><nobr>设施检验结论</nobr></th>
191
- <th>
192
- <!--<nobr>交付日期</nobr>-->
193
- <data-order field="f_deliver_date" name="交付日期" :order.sync="$parent.$parent.$parent.orderFields.f_deliver_date"></data-order>
194
- </th>
195
- <th><nobr>操作人</nobr></th>
196
- <th>
197
- <!--<nobr>操作日期</nobr>-->
198
- <data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
199
- </th>
200
- </tr>
201
- </template>
202
- <template partial='body'>
203
- <td style="text-align: center;"><nobr>
204
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
205
- </nobr> </td>
206
- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
207
- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
208
- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
209
- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
210
- <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
211
- <!--民用-->
212
- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
213
- <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
214
- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
215
- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
216
- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
217
-
218
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_galvanize_pipe}}</nobr></td>
219
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_tee}}</nobr></td>
220
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_nipple}}</nobr></td>
221
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_elbow}}</nobr></td>
222
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_bqf_type}}</nobr></td>
223
-
224
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_pipe_strap}}</nobr></td>
225
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_zqf}}</nobr></td>
226
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_sebific_duct}}</nobr></td>
227
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
228
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_zbf}}</nobr></td>
229
-
230
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_gas_appliance}}</nobr></td>
231
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_geyser}}</nobr></td>
232
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_bgl}}</nobr></td>
233
- <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_bgl_style}}</nobr></td>
234
-
235
- <!--非民用-->
236
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_fire_gasbrand}}</nobr></td>
237
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_fire_gasmodel}}</nobr></td>
238
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_llj_scope}}</nobr></td>
239
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_brand}}</nobr></td>
240
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_model}}</nobr></td>
241
-
242
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_date}}</nobr></td>
243
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_code}}</nobr></td>
244
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_number}}</nobr></td>
245
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_appliance_type}}</nobr></td>
246
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_appliance_brand}}</nobr></td>
247
-
248
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_appliance_model}}</nobr></td>
249
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_alarm_info}}</nobr></td>
250
- <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_detector_number}}</nobr></td>
251
-
252
- <td style="text-align: center;"><nobr>{{row.f_fic}}</nobr></td>
253
- <td style="text-align: center;"><nobr>{{row.f_deliver_date}}</nobr></td>
254
- <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
255
- <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
256
- </template>
257
- <template partial='foot'>
258
-
259
- </template>
260
- </data-grid>
261
- </criteria-paged>
262
-
263
- <table class="table-hover">
264
- <tr style="position: relative" class="table-bordered">
265
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
266
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">暂无合计字段</td>
267
- </tr>
268
- </table>
269
-
270
- <modal :show.sync="printshow" v-ref:modal backdrop="false">
271
- <header slot="modal-header" class="modal-header text-center">
272
- <h4 class="modal-title">打印列选择</h4>
273
- <input type="checkbox" class="" id="f_generations" v-model="all">
274
- <label for="f_generations" class="font-size">全选</label>
275
- </header>
276
- <article slot="modal-body">
277
- <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
278
- <div class="col-sm-3" v-for="f in fields">
279
- <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
280
- <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
281
- </div>
282
- </div>
283
- </article>
284
- <footer slot="modal-footer" class="modal-footer">
285
- <center>
286
- <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
287
- <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
288
- <print-table :model='model' v-show="false" v-ref:print
289
- :top='40' :left='60' :right='40' :bottom='60'
290
- :thead="thead" :tfoot='tfoot' :attach="yangsen"
291
- :fields="modelval" :printpage="true">
292
- </print-table>
293
- </center>
294
- </footer>
295
- </modal>
296
- </div>
297
- <div class="flex" v-if="show">
298
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
299
- </div>
300
- </div></div></div>
301
- </template>
302
-
303
- <script>
304
- import { PagedList } from 'vue-client'
305
- import defaultPrint from '../config/DefaultPrint'
306
- import exportConfig from '../config/exportConfig'
307
-
308
- let readySomething = async function (self) {
309
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
310
- self.$MagGetSaleParam.initinputtor();
311
- self.getinputtores();
312
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
313
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
314
- // await self.$refs.paged.$refs.cri.search()
315
- }
316
- export default {
317
- title: '表具用气查询',
318
- data() {
319
- return {
320
- other:[],
321
- footer:[],
322
- model: new PagedList('api/af-revenue/sql/fireQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'id desc'`}),
323
- criteriaShow: false,
324
- orgCondtionStr: '',
325
- modelval: [],
326
- printshow: false,
327
- all: false,
328
- fields: {},
329
- //排序
330
- orderitem:'id desc',
331
- orderFields: {
332
- f_userinfo_id: 'no'
333
- },
334
- thead: '',
335
- tfoot: '',
336
- defaultfield: [],
337
- config: {
338
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
339
- },
340
- show:false,
341
- rowdata:{},
342
- // 下拉框参数
343
- inputtores:[],
344
- usertypes:this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : [],
345
- userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
346
- deviceTypes: this.$appdata.getParam('设备类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('设备类型')] : [],
347
- // brand: this.$appdata.getParam('设备品牌') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('设备品牌')] : [],
348
- watchpurchases: this.$appdata.getParam('购买方式') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('购买方式')] : [],
349
- pipetype: this.$appdata.getParam('管道类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('管道类型')] : [],
350
- initres: {
351
- org:[this.$login.f.orgid],
352
- dep:[],
353
- user:[],
354
- },
355
- // 合计数据
356
- sumsmodel: {},
357
- usertype:'全部'
358
- }
359
- },
360
- ready(){
361
- readySomething(this).then(() => {
362
- this.$emit('ready')
363
- }).catch((error) => {
364
- this.$emit('error', error)
365
- })
366
- },
367
- methods: {
368
- async getinputtores () {
369
- // 获取抄表员
370
- let rs = []
371
- if (this.$login.f.f_gasman.length > 0) {
372
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
373
- let temp = {
374
- label: this.$login.f.f_gasman[i].name,
375
- value: this.$login.f.f_gasman[i].name
376
- }
377
- rs.push(temp)
378
- }
379
- }
380
- this.inputtores = [{label: '全部', value: ''}, ...rs]
381
- },
382
- getotherfooter () {
383
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
384
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
385
- this.other = [];
386
- this.footer = [];
387
- let exportdata = this.getCondition;
388
- let otherInData = [];
389
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
390
- // let footerData = [], exportfield = this.getExportField;
391
- // footerData.push("合计");
392
- // let self = this;
393
- // for (var field in self.sumsmodel) {
394
- // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
395
- // }
396
- // this.footer.push(footerData);
397
- this.other.push(otherInData);
398
- },
399
- search(){
400
- this.$refs.paged.$refs.cri.search()
401
- },
402
- cancel() {
403
- this.show = false
404
- },
405
- showmsg(obj){
406
- this.rowdata=obj
407
- this.show=true
408
- },
409
- selfSearch (args) {
410
- if (!this.orgCondtionStr) {
411
- args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
412
- } else {
413
- args.condition = `${args.condition}` + this.orgCondtionStr
414
- }
415
- if(this.$refs.paged.$refs.cri.model.f_user_type){
416
- this.usertype=this.$refs.paged.$refs.cri.model.f_user_type
417
- }else{
418
- this.usertype='全部'
419
- }
420
- this.model.search(args.condition, args.model)
421
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
422
- console.log('合计字段',this.sumsmodel)
423
- },
424
- clear(){
425
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
426
- this.$refs.paged.$refs.cri.model[key] = []
427
- })
428
- },
429
- hidden(){
430
- this.criteriaShow = !this.criteriaShow
431
- },
432
- getRes(obj) {
433
- this.orgCondtionStr = obj
434
- },
435
- stamp () {
436
- this.all = false
437
- //默认选择要打印的列
438
- this.modelval = defaultPrint.config
439
- this.fields = this.getfield
440
- console.log('所有打印字段',this.fields)
441
- this.printshow = true
442
- this.put()
443
- },
444
- put () {
445
- // 对Modelval进行排序
446
- this.sortModelval()
447
- this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
448
- for (let key of this.modelval) {
449
- this.thead += '<th>' + this.fields[key] + '</th>'
450
- }
451
- this.thead += '</tr>'
452
- },
453
- print () {
454
- this.$refs.print.PrintAsFile()
455
- this.printshow = false
456
- },
457
- close () {
458
- this.printshow = false
459
- this.all = false
460
- },
461
- // 对选择的列进行排序
462
- sortModelval () {
463
- let sortModel = []
464
- Object.keys(this.fields).forEach((key) => {
465
- if (this.modelval.includes(key)) {
466
- sortModel.push(key)
467
- }
468
- })
469
- this.modelval = sortModel
470
- console.log('选择的打印的字段', this.modelval)
471
- },
472
- sort (field, rule) {
473
- // 将所有排序方式设为不排序,实现相互排斥
474
- for (let key in this.orderFields) {
475
- if (key === field) {
476
- this.orderFields[key] = rule
477
- } else {
478
- this.orderFields[key] = 'no'
479
- }
480
- }
481
- // 如果新规则不排序,还原为默认排序
482
- if (rule === 'no') {
483
- this.model.paramSource.orderitem = `'${this.orderitem}'`
484
- } else {
485
- this.model.paramSource.orderitem = `'${field} ${rule}'`
486
- }
487
-
488
- this.search()
489
- }
490
- },
491
- watch:{
492
- 'all' (val) {
493
- if (val) {
494
- this.modelval = this.bodyData
495
- } else {
496
- this.modelval = defaultPrint.config
497
- this.put()
498
- }
499
- },
500
- sumsmodel:{
501
- handler: function(val) {
502
- this.getotherfooter();
503
- },
504
- deep: true
505
- },
506
- 'modelval.length' () {
507
- this.put()
508
- },
509
- },
510
- computed:{
511
- authArr () {
512
- return this.$login.r ? this.$login.r : []
513
- },
514
- getCondition(){
515
- return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,orderitem:this.orderitem}
516
- },
517
- getfield(){
518
- let data = {}
519
- this.bodyData.forEach((value, index)=>{
520
- data[this.bodyData[index]] = this.headData[index]
521
- })
522
- //合计字段打印
523
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
524
- if(this.sumsmodel){
525
- Object.keys(this.sumsmodel).forEach((key) => {
526
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
527
- })
528
- }else{
529
- this.tfoot += '暂无'
530
- }
531
- this.tfoot += '</th></tr>'
532
- return data
533
- },
534
- getExportField() {
535
- return exportConfig.deviceConfig
536
- }
537
- }
538
- }
539
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
6
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group" >
11
+ <label class="font_normal_body">客户编号</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
14
+ </div>
15
+ <div class="col-sm-2 form-group" >
16
+ <label class="font_normal_body">客户名称</label>
17
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
24
+ </div>
25
+ <div class="col-sm-2 form-group" >
26
+ <label class="font_normal_body">客户电话</label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
28
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
29
+ </div>
30
+ <div class="span" style = "float:right;">
31
+ <button class="button_search button_spacing" @click="search()">查询</button>
32
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
34
+
35
+ <!-- <export-excel :data="$parent.$parent.getCondition"-->
36
+ <!-- :field="$parent.$parent.getExportField"-->
37
+ <!-- :header="$parent.$parent.other"-->
38
+ <!-- v-if="$parent.$parent.authArr.includes('档案查询导出')"-->
39
+ <!-- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="deviceQuery" template-name='表具设备查询导出' :choose-col="true"></export-excel>-->
40
+ <!-- <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"-->
41
+ <!-- :defaultfield="$parent.$parent.defaultfield"-->
42
+ <!-- titletable="表具设备查询"-->
43
+ <!-- :sumsmodel="$parent.$parent.sumsmodel"></print-data>-->
44
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
45
+ </div>
46
+ </div>
47
+ <div class="row" v-show="$parent.$parent.criteriaShow">
48
+
49
+ <div class="col-sm-2 form-group" >
50
+ <label class="font_normal_body">客户地址</label>
51
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
52
+ condition="f_address like '%{}%'" placeholder='客户地址'>
53
+ </div>
54
+ <!-- <div class="col-sm-2 form-group" >-->
55
+ <!-- <label class="font_normal_body">客户状态</label>-->
56
+ <!-- <v-select :value.sync="model.f_user_state"-->
57
+ <!-- v-model="model.f_user_state"-->
58
+ <!-- :options='$parent.$parent.userstates' placeholder='请选择'-->
59
+ <!-- condition="f_user_state = '{}'"-->
60
+ <!-- close-on-select></v-select>-->
61
+ <!-- </div>-->
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">客户类型</label>
64
+ <v-select :value.sync="model.f_user_type"
65
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
66
+ condition="f_user_type = '{}'"
67
+ close-on-select></v-select>
68
+ </div>
69
+ <div class="col-sm-2 form-group" >
70
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
71
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
72
+ condition="f_meternumber = '{}'" placeholder='表号'>
73
+ </div>
74
+
75
+ <div class="col-sm-2 form-group" >
76
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
77
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
78
+ condition="f_card_id like '%{}%'" placeholder='表号'>
79
+ </div>
80
+ <div class="col-sm-2 form-group" >
81
+ <label class="font_normal_body" title="交付日期大于">交付日期</label>
82
+ <datepicker placeholder="交付日期大于" style="width:60%"
83
+ v-model="model.f_input_start_date"
84
+ :value.sync="model.f_input_start_date"
85
+ :format="'yyyy-MM-dd'"
86
+ :show-reset-button="true"
87
+ condition="f_deliver_date >= '{} 00:00:00'">
88
+ </datepicker>
89
+ </div>
90
+ <div class="col-sm-2 form-group" >
91
+ <label class="font_normal_body" title="交付日期小于">交付日期</label>
92
+ <datepicker placeholder="交付日期小于" style="width:60%"
93
+ v-model="model.f_input_end_date"
94
+ :value.sync="model.f_input_end_date"
95
+ :format="'yyyy-MM-dd'"
96
+ :show-reset-button="true"
97
+ condition="f_deliver_date <= '{} 23:59:59'">
98
+ </datepicker>
99
+ </div>
100
+ <div class="col-sm-2 form-group" >
101
+ <label class="font_normal_body" title="点火日期大于">点火日期</label>
102
+ <datepicker placeholder="点火日期大于" style="width:60%"
103
+ v-model="model.f_operate_start_date"
104
+ :value.sync="model.f_operate_start_date"
105
+ :format="'yyyy-MM-dd'"
106
+ :show-reset-button="true"
107
+ condition="f_operate_date >= '{} 00:00:00'">
108
+ </datepicker>
109
+ </div>
110
+ <div class="col-sm-2 form-group" >
111
+ <label class="font_normal_body" title="点火日期小于">点火日期</label>
112
+ <datepicker placeholder="点火日期小于" style="width:60%"
113
+ v-model="model.f_operate_end_date"
114
+ :value.sync="model.f_operate_end_date"
115
+ :format="'yyyy-MM-dd'"
116
+ :show-reset-button="true"
117
+ condition="f_operate_date <= '{} 23:59:59'">
118
+ </datepicker>
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body" >抄表员&emsp;</label>
122
+ <v-select :value.sync="model.f_inputtor"
123
+ v-model="model.f_inputtor"
124
+ :options='$parent.$parent.inputtores' placeholder='请选择'
125
+ condition="f_inputtor = '{}'"
126
+ close-on-select :search="false">
127
+ </v-select>
128
+ </div>
129
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
130
+ </div>
131
+ </div>
132
+ </criteria>
133
+
134
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
135
+ <template partial='head'>
136
+ <tr>
137
+ <th>
138
+ <!--<nobr>客户编号</nobr>-->
139
+ <data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
140
+ </th>
141
+ <th><nobr>客户名称</nobr></th>
142
+ <th><nobr>档案编号</nobr></th>
143
+ <th><nobr>客户电话</nobr></th>
144
+ <th>
145
+ <!--<nobr>客户地址</nobr>-->
146
+ <data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
147
+ </th>
148
+ <th><nobr>客户状态</nobr></th>
149
+
150
+ <th><nobr>表号</nobr></th>
151
+ <th><nobr>卡号</nobr></th>
152
+ <th><nobr>气表品牌</nobr></th>
153
+ <th><nobr>气表型号</nobr></th>
154
+ <th><nobr>表向</nobr></th>
155
+ <!--民用-->
156
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>镀锌管</nobr></th>
157
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>三通</nobr></th>
158
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>对丝</nobr></th>
159
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>弯头</nobr></th>
160
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>表前阀</nobr></th>
161
+
162
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>管卡</nobr></th>
163
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>灶前阀</nobr></th>
164
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>胶管</nobr></th>
165
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>自闭阀</nobr></th>
166
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>燃气具</nobr></th>
167
+
168
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>报警器</nobr></th>
169
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>热水器</nobr></th>
170
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>壁挂锅炉</nobr></th>
171
+ <th v-if="$parent.$parent.$parent.usertype!='非民用'"><nobr>型号</nobr></th>
172
+
173
+ <!-- 非民用-->
174
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>非民用气表品牌</nobr></th>
175
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>非民用气表型号</nobr></th>
176
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>流量计范围</nobr></th>
177
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器品牌</nobr></th>
178
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器型号</nobr></th>
179
+
180
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器出厂日期</nobr></th>
181
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器表编码</nobr></th>
182
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>控制器表封号</nobr></th>
183
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>燃气具类型</nobr></th>
184
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>燃气具品牌</nobr></th>
185
+
186
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>燃气具型号</nobr></th>
187
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>报警控制箱品牌、数量</nobr></th>
188
+ <th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>探测器数量</nobr></th>
189
+ <!--公共-->
190
+ <th><nobr>设施检验结论</nobr></th>
191
+ <th>
192
+ <!--<nobr>交付日期</nobr>-->
193
+ <data-order field="f_deliver_date" name="交付日期" :order.sync="$parent.$parent.$parent.orderFields.f_deliver_date"></data-order>
194
+ </th>
195
+ <th><nobr>操作人</nobr></th>
196
+ <th>
197
+ <!--<nobr>操作日期</nobr>-->
198
+ <data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
199
+ </th>
200
+ </tr>
201
+ </template>
202
+ <template partial='body'>
203
+ <td style="text-align: center;"><nobr>
204
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
205
+ </nobr> </td>
206
+ <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
207
+ <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
208
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
209
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
210
+ <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
211
+ <!--民用-->
212
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
213
+ <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
214
+ <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
215
+ <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
216
+ <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
217
+
218
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_galvanize_pipe}}</nobr></td>
219
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_tee}}</nobr></td>
220
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_nipple}}</nobr></td>
221
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_elbow}}</nobr></td>
222
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_bqf_type}}</nobr></td>
223
+
224
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_pipe_strap}}</nobr></td>
225
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_zqf}}</nobr></td>
226
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_sebific_duct}}</nobr></td>
227
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
228
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_zbf}}</nobr></td>
229
+
230
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_gas_appliance}}</nobr></td>
231
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_geyser}}</nobr></td>
232
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_bgl}}</nobr></td>
233
+ <td v-if="$parent.$parent.$parent.usertype!='非民用'" style="text-align: center;"><nobr>{{row.f_bgl_style}}</nobr></td>
234
+
235
+ <!--非民用-->
236
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_fire_gasbrand}}</nobr></td>
237
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_fire_gasmodel}}</nobr></td>
238
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_llj_scope}}</nobr></td>
239
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_brand}}</nobr></td>
240
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_model}}</nobr></td>
241
+
242
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_date}}</nobr></td>
243
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_code}}</nobr></td>
244
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_control_number}}</nobr></td>
245
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_appliance_type}}</nobr></td>
246
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_appliance_brand}}</nobr></td>
247
+
248
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_appliance_model}}</nobr></td>
249
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_alarm_info}}</nobr></td>
250
+ <td v-if="$parent.$parent.$parent.usertype!='民用'" style="text-align: center;"><nobr>{{row.f_detector_number}}</nobr></td>
251
+
252
+ <td style="text-align: center;"><nobr>{{row.f_fic}}</nobr></td>
253
+ <td style="text-align: center;"><nobr>{{row.f_deliver_date}}</nobr></td>
254
+ <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
255
+ <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
256
+ </template>
257
+ <template partial='foot'>
258
+
259
+ </template>
260
+ </data-grid>
261
+ </criteria-paged>
262
+
263
+ <table class="table-hover">
264
+ <tr style="position: relative" class="table-bordered">
265
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
266
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">暂无合计字段</td>
267
+ </tr>
268
+ </table>
269
+
270
+ <modal :show.sync="printshow" v-ref:modal backdrop="false">
271
+ <header slot="modal-header" class="modal-header text-center">
272
+ <h4 class="modal-title">打印列选择</h4>
273
+ <input type="checkbox" class="" id="f_generations" v-model="all">
274
+ <label for="f_generations" class="font-size">全选</label>
275
+ </header>
276
+ <article slot="modal-body">
277
+ <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
278
+ <div class="col-sm-3" v-for="f in fields">
279
+ <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
280
+ <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
281
+ </div>
282
+ </div>
283
+ </article>
284
+ <footer slot="modal-footer" class="modal-footer">
285
+ <center>
286
+ <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
287
+ <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
288
+ <print-table :model='model' v-show="false" v-ref:print
289
+ :top='40' :left='60' :right='40' :bottom='60'
290
+ :thead="thead" :tfoot='tfoot' :attach="yangsen"
291
+ :fields="modelval" :printpage="true">
292
+ </print-table>
293
+ </center>
294
+ </footer>
295
+ </modal>
296
+ </div>
297
+ <div class="flex" v-if="show">
298
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
299
+ </div>
300
+ </div></div></div>
301
+ </template>
302
+
303
+ <script>
304
+ import { PagedList } from 'vue-client'
305
+ import defaultPrint from '../config/DefaultPrint'
306
+ import exportConfig from '../config/exportConfig'
307
+
308
+ let readySomething = async function (self) {
309
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
310
+ self.$MagGetSaleParam.initinputtor();
311
+ self.getinputtores();
312
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
313
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
314
+ // await self.$refs.paged.$refs.cri.search()
315
+ }
316
+ export default {
317
+ title: '表具用气查询',
318
+ data() {
319
+ return {
320
+ other:[],
321
+ footer:[],
322
+ model: new PagedList('api/af-revenue/sql/fireQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'id desc'`}),
323
+ criteriaShow: false,
324
+ orgCondtionStr: '',
325
+ modelval: [],
326
+ printshow: false,
327
+ all: false,
328
+ fields: {},
329
+ //排序
330
+ orderitem:'id desc',
331
+ orderFields: {
332
+ f_userinfo_id: 'no'
333
+ },
334
+ thead: '',
335
+ tfoot: '',
336
+ defaultfield: [],
337
+ config: {
338
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
339
+ },
340
+ show:false,
341
+ rowdata:{},
342
+ // 下拉框参数
343
+ inputtores:[],
344
+ usertypes:this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : [],
345
+ userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
346
+ deviceTypes: this.$appdata.getParam('设备类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('设备类型')] : [],
347
+ // brand: this.$appdata.getParam('设备品牌') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('设备品牌')] : [],
348
+ watchpurchases: this.$appdata.getParam('购买方式') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('购买方式')] : [],
349
+ pipetype: this.$appdata.getParam('管道类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('管道类型')] : [],
350
+ initres: {
351
+ org:[this.$login.f.orgid],
352
+ dep:[],
353
+ user:[],
354
+ },
355
+ // 合计数据
356
+ sumsmodel: {},
357
+ usertype:'全部'
358
+ }
359
+ },
360
+ ready(){
361
+ readySomething(this).then(() => {
362
+ this.$emit('ready')
363
+ }).catch((error) => {
364
+ this.$emit('error', error)
365
+ })
366
+ },
367
+ methods: {
368
+ async getinputtores () {
369
+ // 获取抄表员
370
+ let rs = []
371
+ if (this.$login.f.f_gasman.length > 0) {
372
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
373
+ let temp = {
374
+ label: this.$login.f.f_gasman[i].name,
375
+ value: this.$login.f.f_gasman[i].name
376
+ }
377
+ rs.push(temp)
378
+ }
379
+ }
380
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
381
+ },
382
+ getotherfooter () {
383
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
384
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
385
+ this.other = [];
386
+ this.footer = [];
387
+ let exportdata = this.getCondition;
388
+ let otherInData = [];
389
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
390
+ // let footerData = [], exportfield = this.getExportField;
391
+ // footerData.push("合计");
392
+ // let self = this;
393
+ // for (var field in self.sumsmodel) {
394
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
395
+ // }
396
+ // this.footer.push(footerData);
397
+ this.other.push(otherInData);
398
+ },
399
+ search(){
400
+ this.$refs.paged.$refs.cri.search()
401
+ },
402
+ cancel() {
403
+ this.show = false
404
+ },
405
+ showmsg(obj){
406
+ this.rowdata=obj
407
+ this.show=true
408
+ },
409
+ selfSearch (args) {
410
+ if (!this.orgCondtionStr) {
411
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
412
+ } else {
413
+ args.condition = `${args.condition}` + this.orgCondtionStr
414
+ }
415
+ if(this.$refs.paged.$refs.cri.model.f_user_type){
416
+ this.usertype=this.$refs.paged.$refs.cri.model.f_user_type
417
+ }else{
418
+ this.usertype='全部'
419
+ }
420
+ this.model.search(args.condition, args.model)
421
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
422
+ console.log('合计字段',this.sumsmodel)
423
+ },
424
+ clear(){
425
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
426
+ this.$refs.paged.$refs.cri.model[key] = []
427
+ })
428
+ },
429
+ hidden(){
430
+ this.criteriaShow = !this.criteriaShow
431
+ },
432
+ getRes(obj) {
433
+ this.orgCondtionStr = obj
434
+ },
435
+ stamp () {
436
+ this.all = false
437
+ //默认选择要打印的列
438
+ this.modelval = defaultPrint.config
439
+ this.fields = this.getfield
440
+ console.log('所有打印字段',this.fields)
441
+ this.printshow = true
442
+ this.put()
443
+ },
444
+ put () {
445
+ // 对Modelval进行排序
446
+ this.sortModelval()
447
+ this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
448
+ for (let key of this.modelval) {
449
+ this.thead += '<th>' + this.fields[key] + '</th>'
450
+ }
451
+ this.thead += '</tr>'
452
+ },
453
+ print () {
454
+ this.$refs.print.PrintAsFile()
455
+ this.printshow = false
456
+ },
457
+ close () {
458
+ this.printshow = false
459
+ this.all = false
460
+ },
461
+ // 对选择的列进行排序
462
+ sortModelval () {
463
+ let sortModel = []
464
+ Object.keys(this.fields).forEach((key) => {
465
+ if (this.modelval.includes(key)) {
466
+ sortModel.push(key)
467
+ }
468
+ })
469
+ this.modelval = sortModel
470
+ console.log('选择的打印的字段', this.modelval)
471
+ },
472
+ sort (field, rule) {
473
+ // 将所有排序方式设为不排序,实现相互排斥
474
+ for (let key in this.orderFields) {
475
+ if (key === field) {
476
+ this.orderFields[key] = rule
477
+ } else {
478
+ this.orderFields[key] = 'no'
479
+ }
480
+ }
481
+ // 如果新规则不排序,还原为默认排序
482
+ if (rule === 'no') {
483
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
484
+ } else {
485
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
486
+ }
487
+
488
+ this.search()
489
+ }
490
+ },
491
+ watch:{
492
+ 'all' (val) {
493
+ if (val) {
494
+ this.modelval = this.bodyData
495
+ } else {
496
+ this.modelval = defaultPrint.config
497
+ this.put()
498
+ }
499
+ },
500
+ sumsmodel:{
501
+ handler: function(val) {
502
+ this.getotherfooter();
503
+ },
504
+ deep: true
505
+ },
506
+ 'modelval.length' () {
507
+ this.put()
508
+ },
509
+ },
510
+ computed:{
511
+ authArr () {
512
+ return this.$login.r ? this.$login.r : []
513
+ },
514
+ getCondition(){
515
+ return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,orderitem:this.orderitem}
516
+ },
517
+ getfield(){
518
+ let data = {}
519
+ this.bodyData.forEach((value, index)=>{
520
+ data[this.bodyData[index]] = this.headData[index]
521
+ })
522
+ //合计字段打印
523
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
524
+ if(this.sumsmodel){
525
+ Object.keys(this.sumsmodel).forEach((key) => {
526
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
527
+ })
528
+ }else{
529
+ this.tfoot += '暂无'
530
+ }
531
+ this.tfoot += '</th></tr>'
532
+ return data
533
+ },
534
+ getExportField() {
535
+ return exportConfig.deviceConfig
536
+ }
537
+ }
538
+ }
539
+ </script>