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,650 +1,650 @@
1
- <template>
2
- <div class="flex-row">
3
- <div @keyup.enter="search1" class="basic-main">
4
- <criteria-paged :model="model" v-ref:paged>
5
- <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
- <div class="row">
8
- <res-select-group :show-component="['company','department']"
9
- :initres="$parent.$parent.org"
10
- @re-res="$parent.$parent.getorg">
11
- </res-select-group>
12
- <div class="col-sm-2 form-group ">
13
- <label class="font_normal_body">客户编号</label>
14
- <input
15
- class="input_search" condition="f_userinfo_code = '{}'"
16
- placeholder='客户编号'
17
- style="width:60%"
18
- type="text"
19
- v-model="model.f_userinfo_code">
20
- </div>
21
-
22
- <div class="col-sm-2 form-group">
23
- <label class="font_normal_body">客户名称</label>
24
- <input
25
- class="input_search" condition="f_user_name like '%{}%'"
26
- placeholder='客户名称'
27
- style="width:60%"
28
- type="text"
29
- v-model="model.f_user_name"
30
- >
31
- </div>
32
- <div class="col-sm-2 form-group">
33
- <label class="font_normal_body">客户地址</label>
34
- <input class="input_search"
35
- condition="f_address like '%{}%'"
36
- placeholder='客户地址'
37
- style="width:60%"
38
- type="text"
39
- v-model="model.f_address"
40
- >
41
- </div>
42
-
43
- <div style="float:right">
44
- <button @click="search()" class="button_search" v-el:cba>查询</button>
45
- <button @click="$parent.$parent.clearmsg" class="button_clear">清空</button>
46
- <export-excel
47
- :choose-col="true"
48
- :data="{condition: $parent.$parent.condition,
49
- f_orgid: $parent.$parent.f_orgid,
50
- f_start_date: $parent.$parent.f_start_date,
51
- f_end_date: $parent.$parent.f_end_date
52
- }"
53
- :header="$parent.$parent.other"
54
- :field="$parent.$parent.getfield" sql-name="manage_getNewQueryInstruct"
55
- sqlurl="api/af-revenue/logic/openapi/exportfile"
56
- template-name='指令查看'></export-excel>
57
- <div
58
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
59
- @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
60
- </div>
61
- </div>
62
- <div class="row" v-show="$parent.$parent.criteriaShow">
63
-
64
- <!-- <div class="col-sm-2">-->
65
- <!-- <label class="font_normal_body">组织机构</label>-->
66
- <!-- <res-select :initresid="$parent.$parent.org"-->
67
- <!-- style="width:60%"-->
68
- <!-- @res-select="$parent.$parent.getorg"-->
69
- <!-- restype='organization'>-->
70
- <!-- </res-select>-->
71
-
72
- <!-- </div>-->
73
-
74
- <!-- <div class="col-sm-2 form-group">-->
75
- <!-- <label class="font_normal_body">客户类型</label>-->
76
- <!-- <v-select style="width:60%" :value.sync="model.f_user_type" v-model="model.f_user_type"-->
77
- <!-- placeholder='客户类型'-->
78
- <!-- value-single="true"-->
79
- <!-- :options='$parent.$parent.userType'-->
80
- <!-- close-on-select-->
81
- <!-- condition="f_user_type ='{}'"-->
82
- <!-- ></v-select>-->
83
- <!-- </div>-->
84
- <div class="col-sm-2 form-group">
85
- <label class="font_normal_body">用气性质</label>
86
- <v-select style="width:60%" :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
87
- placeholder='用气性质'
88
- value-single="true"
89
- :options='$parent.$parent.Gasproperties'
90
- close-on-select
91
- condition="f_gasproperties = '{}'"
92
- ></v-select>
93
- </div>
94
- <div class="col-sm-2 form-group">
95
- <label class="font_normal_body">表&ensp;&ensp;&ensp;&ensp;号</label>
96
- <input
97
- class="input_search" condition="f_meternumber = '{}'"
98
- placeholder='表号'
99
- style="width:60%"
100
- type="text"
101
- v-model="model.f_meternumber">
102
- </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">气表品牌</label>
105
- <v-select
106
- :options='$parent.$parent.meterbrand'
107
-
108
- :value.sync="model.f_gasbrand"
109
- close-on-select
110
- condition="f_meter_brand='{}'"
111
- placeholder='气表品牌'
112
- style="width:60%"
113
- v-model="model.f_gasbrand">
114
- </v-select>
115
- </div>
116
- <div class="col-sm-2 form-group">
117
- <label class="font_normal_body">指令类型</label>
118
- <v-select :options='$parent.$parent.instructtype' :value.sync="model.f_instruct_type" close-on-select
119
- condition="f_instruct_type='{}'"
120
- placeholder='指令类型'
121
- style="width:60%"
122
- v-model="model.f_instruct_type"></v-select>
123
- </div>
124
- <div class="col-sm-2 form-group">
125
- <label class="font_normal_body">执行状态</label>
126
- <v-select :options='$parent.$parent.instructstate' :value.sync="model.f_instruct_state" close-on-select
127
- condition="f_instruct_state='{}'"
128
- placeholder='执行状态'
129
- style="width:60%"
130
- v-model="model.f_instruct_state"
131
- ></v-select>
132
- </div>
133
-
134
- <div class="col-sm-2 form-group">
135
- <label class="font_normal_body">指令时间</label>
136
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
137
- condition="f_instruct_date >= '{}'"
138
- placeholder="起始时间"
139
- style="width:60%"
140
- v-model="model.f_start_date"
141
- ></datepicker>
142
- </div>
143
- <div class="col-sm-2 form-group">
144
- <label class="font_normal_body">&emsp;&emsp;至&emsp;</label>
145
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
146
- condition="f_instruct_date <= '{}'"
147
- placeholder="结束时间"
148
- style="width:60%"
149
- v-model="model.f_end_date"
150
- ></datepicker>
151
- </div>
152
- <div class="col-sm-2 form-group">
153
- <label class="font_normal_body">指令标题</label>
154
- <v-select :options='$parent.$parent.instructtitle' :value.sync="model.f_instruct_title" close-on-select
155
- condition="f_instruct_title='{}'"
156
- placeholder='指令标题'
157
- style="width:60%"
158
- v-model="model.f_instruct_title"></v-select>
159
- </div>
160
-
161
- <div class="col-sm-2 form-group">
162
- <label class="font_normal_body">操&nbsp;作&nbsp;人</label>
163
- <v-select :options='$parent.$parent.operators' :value.sync="model.f_operator" close-on-select
164
- condition="f_operator='{}'"
165
- placeholder='操作人'
166
- style="width:60%"
167
- v-model="model.f_operator"></v-select>
168
- </div>
169
- </div>
170
- </div>
171
- </criteria>
172
- <data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial='list'
173
- :modelval="$parent.$parent.modelval" v-ref:grid>
174
- <template partial='head'>
175
- <tr>
176
- <th style="text-align:center">
177
- <nobr>序号</nobr>
178
- </th>
179
- <th style="text-align:center">
180
- <nobr>客户编号</nobr>
181
- </th>
182
- <th style="text-align:center">
183
- <nobr>客户名称</nobr>
184
- </th>
185
- <th style="text-align:center">
186
- <nobr>客户地址</nobr>
187
- </th>
188
- <th style="text-align:center">
189
- <nobr>表号</nobr>
190
- </th>
191
- <th style="text-align:center">
192
- <nobr>气表品牌</nobr>
193
- </th>
194
- <th style="text-align:center">
195
- <nobr>指令类型</nobr>
196
- </th>
197
- <th style="text-align:center">
198
- <nobr>指令标题</nobr>
199
- </th>
200
- <th style="text-align:center">
201
- <nobr>执行状态</nobr>
202
- </th>
203
- <th style="text-align:center">
204
- <nobr>执行结果</nobr>
205
- </th>
206
- <th style="text-align:center">
207
- <nobr>指令生成人</nobr>
208
- </th>
209
- <th style="text-align:center">
210
- <nobr>指令生成时间</nobr>
211
- </th>
212
- <th style="text-align:center">
213
- <nobr>指令发送时间</nobr>
214
- </th>
215
- <th style="text-align:center">
216
- <nobr>上表时间</nobr>
217
- </th>
218
- <th style="text-align:center">
219
- <nobr>充值金额</nobr>
220
- </th>
221
- <th style="text-align:center">
222
- <nobr>操作内容</nobr>
223
- </th>
224
- <th style="text-align:center">
225
- <nobr>操作原因</nobr>
226
- </th>
227
- <th style="text-align:center">
228
- <nobr>操作人(记录)</nobr>
229
- </th>
230
- <th style="text-align:center">
231
- <nobr>操作时间(记录)</nobr>
232
- </th>
233
- <th style="text-align:center">
234
- <nobr>操作类型</nobr>
235
- </th>
236
- <th style="text-align:center">
237
- <nobr>记录状态</nobr>
238
- </th>
239
- <th style="text-align:center">
240
- <nobr>组织机构</nobr>
241
- </th>
242
- <th style="text-align:center">
243
- <nobr>部门</nobr>
244
- </th>
245
- <th style="text-align:center;">
246
- <nobr>指令内容</nobr>
247
- </th>
248
- <th style="text-align:center">
249
- <nobr>指令详情</nobr>
250
- </th>
251
- </tr>
252
- </template>
253
- <template partial='body'>
254
- <tr>
255
- <td style="text-align:center">
256
- <nobr>{{ $index + 1 }}</nobr>
257
- </td>
258
- <td style="text-align:center">
259
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
260
- </td>
261
- <td style="text-align:center">
262
- <nobr>{{ row.f_user_name }}</nobr>
263
- </td>
264
- <td style="text-align:center">
265
- <nobr>{{ row.f_address }}</nobr>
266
- </td>
267
- <td style="text-align:center">
268
- <nobr>{{ row.f_meternumber }}</nobr>
269
- </td>
270
- <td style="text-align:center">
271
- <nobr>{{ row.f_meter_brand }}</nobr>
272
- </td>
273
-
274
- <td style="text-align:center">
275
- <nobr>{{ row.f_instruct_type }}</nobr>
276
- </td>
277
- <td style="text-align:center">
278
- <nobr>{{ row.f_instruct_title }}</nobr>
279
- </td>
280
- <td style="text-align:center">
281
- <nobr>{{ row.f_instruct_state }}</nobr>
282
- </td>
283
- <td style="text-align:center">
284
- <nobr>{{ row.f_receive_state }}</nobr>
285
- </td>
286
- <td style="text-align:center">
287
- <nobr>{{ row.f_inputtor }}</nobr>
288
- </td>
289
- <td style="text-align:center">
290
- <nobr>{{ row.f_instruct_date }}</nobr>
291
- </td>
292
- <td style="text-align:center">
293
- <nobr>{{ row.f_send_date }}</nobr>
294
- </td>
295
- <td style="text-align:center">
296
- <nobr>{{ row.f_callback_date }}</nobr>
297
- </td>
298
- <td style="text-align:center">
299
- <nobr>{{ row.f_collection }}</nobr>
300
- </td>
301
- <td style="text-align:center">
302
- <nobr>{{ row.note }}</nobr>
303
- </td>
304
- <td style="text-align:center">
305
- <nobr>{{ row.f_info }}</nobr>
306
- </td>
307
- <td style="text-align:center">
308
- <nobr>{{ row.f_operator }}</nobr>
309
- </td>
310
- <td style="text-align:center">
311
- <nobr>{{ row.f_operate_date }}</nobr>
312
- </td>
313
- <td style="text-align:center">
314
- <nobr>{{ row.f_operate_type }}</nobr>
315
- </td>
316
- <td style="text-align:center">
317
- <nobr>{{ row.f_state }}</nobr>
318
- </td>
319
- <td style="text-align:center">
320
- <nobr>{{ row.f_orgname }}</nobr>
321
- </td>
322
- <td style="text-align:center">
323
- <nobr>{{ row.f_depname }}</nobr>
324
- </td>
325
- <td style="text-align:center;">
326
- <nobr>{{ row.f_instruct_content }}</nobr>
327
- </td>
328
- <td style="text-align:center">
329
- <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60"
330
- @click.stop="$parent.$parent.$parent.instructDetail(row)">指令详情
331
- </button>
332
- </td>
333
- </tr>
334
- </template>
335
- </data-grid>
336
- </criteria-paged>
337
- </div>
338
- <modal :show.sync="detailShow" v-if="detailShow" width="40%" style="width:auto;" v-ref:modal middle
339
- backdrop="false">
340
- <article slot="modal-body">
341
- <p class="text-center" style="font-size: 15px" v-html="f_instruct_content"></p>
342
- </article>
343
- <footer slot="modal-footer" class="modal-footer">
344
- </footer>
345
- </modal>
346
- </div>
347
- </template>
348
- <script>
349
- import {PagedList} from 'vue-client'
350
- import co from 'co'
351
- import * as Util from '../../../Util'
352
- import getLodop from '../../../plugins/LodopFuncs'
353
- import {HttpResetClass} from 'vue-client'
354
- import plugins from '../../../plugins/GetLoginInfoService'
355
-
356
- let readyGen = async function (self) {
357
- await self.$MagLoadParams.loadParam()
358
- await self.$MagGetSaleParam.initinputtor()
359
- self.initQueryParam()
360
- self.getinstructtype()
361
- self.getinstructtitle()
362
- self.getinstructstate()
363
- await self.$getConfig(self, 'NewQueryInstruct')
364
- console.log('指令查看config', self.config)
365
- self.getfield = self.config.excelHeaders
366
- self.getOperators(self.$login.f.orgid)
367
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
368
- // self.reflash()
369
- }
370
- export default {
371
- title: '指令查看',
372
- data() {
373
- return {
374
- model: new PagedList('api/af-revenue/sql/manage_getNewQueryInstruct', 50),
375
- row: null,
376
- isLoading: true,
377
- searchshow: true,
378
- criteriaShow: false,
379
- Gasproperties: [],
380
- meterbrand: [],
381
- operators: [],
382
- other: [],
383
- sumsmodel: {},
384
- userType: [],
385
- instructtype: [],
386
- instructstate: [],
387
- org: {
388
- org: [this.$login.f.orgid],
389
- dep: [],
390
- user: [],
391
- },
392
- orgcondition: '',
393
- show: false,
394
- condition: '',
395
- f_orgid: '',
396
- f_start_date: '',
397
- f_end_date: '',
398
- getfield: {},
399
- config: {
400
- excelHeaders: {
401
- 'f_userinfo_code': '客户编号',
402
- 'f_address': '客户地址',
403
- 'f_user_name': '客户姓名',
404
- 'f_meternumber': '表号',
405
- 'f_meter_brand': '气表品牌',
406
- 'f_instruct_type': '指令类型',
407
- 'f_instruct_state': '执行状态',
408
- 'f_receive_state': '执行结果',
409
- 'f_inputtor': '指令生成人',
410
- 'f_instruct_date': '指令时间',
411
- 'note': '操作内容',
412
- 'f_info': '操作原因',
413
- 'f_operator': '操作人(记录)',
414
- 'f_operate_date': '操作时间(记录)',
415
- 'f_operate_type': '操作类型',
416
- 'f_state': '操作状态',
417
- 'f_orgname': '组织机构',
418
- 'f_depname': '部门'
419
- }
420
- },
421
- instructtitle: [],
422
- detailShow: false,
423
- f_instruct_content: '',
424
- modelval: [
425
- '序号', '客户编号', '客户名称', '客户地址', '表号', '气表品牌', '指令类型', '指令标题', '执行状态', '执行结果', '指令生成人', '指令生成时间',
426
- '指令发送时间', '上表时间', '充值金额', '操作内容', '操作原因', '操作人(记录)', '操作时间(记录)', '操作类型', '记录状态', '组织机构', '部门'
427
- ]
428
- }
429
- },
430
- ready() {
431
- readyGen(this)
432
- this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
433
- this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
434
- this.$refs.paged.$refs.grid.modelval = this.modelval
435
- //this.$refs.paged.$refs.criteria.search()
436
- },
437
- methods: {
438
- instructDetail(row) {
439
- if (row.f_instruct_content != '{}') {
440
- let data = JSON.parse(row.f_instruct_content)
441
- console.log('看下具体的指令详情===>', data)
442
- let str = ''
443
- if (data.hasOwnProperty("Data")) {
444
- console.log('看下具体的指令详情2===>', data.Data)
445
- console.log('看下具体的指令详情2===>', typeof data.Data)
446
- for (let key in data.Data) {
447
- str = str + key + ':' + data.Data[key] + '</br>'
448
- }
449
- }
450
- for (let key in data) {
451
- if (key != 'Data') {
452
- str = str + key + ':' + data[key] + '</br>'
453
- }
454
- }
455
- this.f_instruct_content = str
456
- this.detailShow = true
457
- } else {
458
- this.$showMessage('当前指令没有内容!!!', ['confirm'])
459
- }
460
- },
461
- hidden() {
462
- this.criteriaShow = !this.criteriaShow
463
- },
464
- getorg(condition, obj) {
465
- this.orgcondition = condition
466
- this.orgname = obj.orgnames[0]
467
- },
468
- initQueryParam() {
469
- let arr = []
470
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
471
- let temp = {}
472
- if (item.value.f_meter_type === '物联网表') {
473
- temp.label = item.label
474
- temp.value = item.value.f_meter_brand
475
- arr.push(temp)
476
- }
477
-
478
- })
479
- this.meterbrand = [{label: '全部', value: ''}, ...arr]
480
- },
481
- //获取资源数据
482
- getOperators(orgid) {
483
- this.operators = []
484
- this.$MagGetSaleParam.inputtors.forEach((res) => {
485
- if (res.rolestr != null && res.rolestr != '') {
486
- if (res.f_orgid == orgid) {
487
- let temp = {
488
- label: res.name,
489
- value: res.name,
490
- }
491
- this.operators.push(temp)
492
- }
493
- }
494
- })
495
- },
496
- getinstructtype() {
497
- this.instructtype = []
498
- let load = new HttpResetClass()
499
- load.load('POST', 'api/af-revenue/sql/singleTableParam', {
500
- data: {
501
- items: 'f_instruct_type',
502
- tablename: 't_instruct',
503
- condition: 'f_instruct_type is not null group by f_instruct_type'
504
- }
505
- }, {warnMsg: null, resolveMsg: null}).then((res) => {
506
- this.instructtype.push({label: '全部', value: ''})
507
- res.data.forEach((item) => {
508
- this.instructtype.push({label: item.f_instruct_type, value: item.f_instruct_type})
509
- })
510
- })
511
-
512
- },
513
- getinstructtitle() {
514
- this.instructtype = []
515
- let load = new HttpResetClass()
516
- load.load('POST', 'api/af-revenue/sql/singleTableParam', {
517
- data: {
518
- items: 'f_instruct_title',
519
- tablename: 't_instruct',
520
- condition: 'f_instruct_title is not null group by f_instruct_title'
521
- }
522
- }, {warnMsg: null, resolveMsg: null}).then((res) => {
523
- this.instructtitle.push({label: '全部', value: ''})
524
- res.data.forEach((item) => {
525
- this.instructtitle.push({label: item.f_instruct_title, value: item.f_instruct_title})
526
- })
527
- })
528
-
529
- },
530
- getinstructstate() {
531
- this.instructstate = []
532
- let load = new HttpResetClass()
533
- load.load('POST', 'api/af-revenue/sql/singleTableParam', {
534
- data: {
535
- items: 'f_instruct_state',
536
- tablename: 't_instruct',
537
- condition: 'f_instruct_state is not null group by f_instruct_state'
538
- }
539
- }, {warnMsg: null, resolveMsg: null}).then((res) => {
540
- this.instructstate.push({label: '全部', value: ''})
541
- res.data.forEach((item) => {
542
- this.instructstate.push({label: item.f_instruct_state, value: item.f_instruct_state})
543
- })
544
- })
545
-
546
- },
547
- clearmsg() {
548
- this.$refs.paged.$refs.criteria.model = {}
549
- },
550
- clickshow() {
551
- this.searchshow = !this.searchshow
552
- },
553
- dealmsg(val) {
554
- val.model = this.model.model
555
- this.$emit('deal-msg', val)
556
- },
557
- async search(args) {
558
- // this.obj.resids = this.obj.resids.replace(/\./g, ''),
559
- if (this.orgcondition) {
560
- args.condition = `${args.condition}` + this.orgcondition
561
- } else {
562
- args.condition = `${args.condition} and f_orgid = '${this.$login.f.orgid}'`
563
- }
564
- args.condition = `${args.condition}` + this.orgcondition
565
- console.log(args.condition + "args.condition")
566
- this.condition = args.condition
567
- if (this.$refs.paged.$refs.criteria.model.f_start_date != null && this.$refs.paged.$refs.criteria.model.f_start_date != '') {
568
- this.model.params.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
569
- this.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
570
- } else {
571
- this.model.params.f_start_date = '';
572
- this.f_start_date = '';
573
- }
574
- if (this.$refs.paged.$refs.criteria.model.f_end_date != null && this.$refs.paged.$refs.criteria.model.f_end_date != '') {
575
- this.model.params.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
576
- this.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
577
- } else {
578
- this.model.params.f_end_date = "";
579
- this.f_end_date = "";
580
- }
581
- if (this.f_orgid_new == '' || this.f_orgid_new == null) {
582
- this.model.params.f_orgid = `'${this.$login.f.orgid}'`;
583
- this.f_orgid = `${this.$login.f.orgid}`;
584
- //await this.$LoadParams.loadParam(this.$login.f.orgid)
585
- } else {
586
- this.model.params.f_orgid = `'${this.f_orgid_new}'`;
587
- this.f_orgid = `${this.f_orgid_new}`;
588
- //await this.$LoadParams.loadParam(this.f_orgid_new)
589
- }
590
- await this.model.search(args.condition, args.model)
591
- await this.initQueryParam();
592
- await this.$refs.paged.$refs.grid.InitializedData()
593
- await this.$refs.paged.$refs.grid.displayColumnSettings(undefined)
594
-
595
- },
596
- getotherfooter() {
597
- this.other = [];
598
-
599
- let firstLine = [`导出时间: ${this.$login.toStandardTimeString()}`];
600
-
601
-
602
- let secondLine = [
603
- `开始时间: ${this.$refs.paged.$refs.criteria.model.f_start_date}`,
604
- `结束时间: ${this.$refs.paged.$refs.criteria.model.f_end_date}`
605
- ];
606
-
607
- this.other.push(firstLine);
608
- this.other.push(secondLine);
609
-
610
- console.log('Header Data:', this.other);
611
- },
612
-
613
- },
614
- watch: {
615
- sumsmodel: {
616
- handler: function (val) {
617
- this.getotherfooter();
618
- },
619
- deep: true
620
- },
621
- },
622
- computed: {
623
- userType() {
624
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
625
- },
626
- Gasproperties() {
627
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
628
- },
629
- mounted() {
630
- this.getotherfooter();
631
- }
632
-
633
-
634
- }
635
- }
636
- </script>
637
- <style>
638
- .form-input-group label {
639
- text-align: right;
640
- width: auto;
641
- }
642
-
643
- .datapanel {
644
- color: #333;
645
- background-color: white;
646
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
647
- padding: 10px 30px 10px 30px;
648
- border-radius: 15px;
649
- }
650
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div @keyup.enter="search1" class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <res-select-group :show-component="['company','department']"
9
+ :initres="$parent.$parent.org"
10
+ @re-res="$parent.$parent.getorg">
11
+ </res-select-group>
12
+ <div class="col-sm-2 form-group ">
13
+ <label class="font_normal_body">客户编号</label>
14
+ <input
15
+ class="input_search" condition="f_userinfo_code = '{}'"
16
+ placeholder='客户编号'
17
+ style="width:60%"
18
+ type="text"
19
+ v-model="model.f_userinfo_code">
20
+ </div>
21
+
22
+ <div class="col-sm-2 form-group">
23
+ <label class="font_normal_body">客户名称</label>
24
+ <input
25
+ class="input_search" condition="f_user_name like '%{}%'"
26
+ placeholder='客户名称'
27
+ style="width:60%"
28
+ type="text"
29
+ v-model="model.f_user_name"
30
+ >
31
+ </div>
32
+ <div class="col-sm-2 form-group">
33
+ <label class="font_normal_body">客户地址</label>
34
+ <input class="input_search"
35
+ condition="f_address like '%{}%'"
36
+ placeholder='客户地址'
37
+ style="width:60%"
38
+ type="text"
39
+ v-model="model.f_address"
40
+ >
41
+ </div>
42
+
43
+ <div style="float:right">
44
+ <button @click="search()" class="button_search" v-el:cba>查询</button>
45
+ <button @click="$parent.$parent.clearmsg" class="button_clear">清空</button>
46
+ <export-excel
47
+ :choose-col="true"
48
+ :data="{condition: $parent.$parent.condition,
49
+ f_orgid: $parent.$parent.f_orgid,
50
+ f_start_date: $parent.$parent.f_start_date,
51
+ f_end_date: $parent.$parent.f_end_date
52
+ }"
53
+ :header="$parent.$parent.other"
54
+ :field="$parent.$parent.getfield" sql-name="manage_getNewQueryInstruct"
55
+ sqlurl="api/af-revenue/logic/openapi/exportfile"
56
+ template-name='指令查看'></export-excel>
57
+ <div
58
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
59
+ @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
60
+ </div>
61
+ </div>
62
+ <div class="row" v-show="$parent.$parent.criteriaShow">
63
+
64
+ <!-- <div class="col-sm-2">-->
65
+ <!-- <label class="font_normal_body">组织机构</label>-->
66
+ <!-- <res-select :initresid="$parent.$parent.org"-->
67
+ <!-- style="width:60%"-->
68
+ <!-- @res-select="$parent.$parent.getorg"-->
69
+ <!-- restype='organization'>-->
70
+ <!-- </res-select>-->
71
+
72
+ <!-- </div>-->
73
+
74
+ <!-- <div class="col-sm-2 form-group">-->
75
+ <!-- <label class="font_normal_body">客户类型</label>-->
76
+ <!-- <v-select style="width:60%" :value.sync="model.f_user_type" v-model="model.f_user_type"-->
77
+ <!-- placeholder='客户类型'-->
78
+ <!-- value-single="true"-->
79
+ <!-- :options='$parent.$parent.userType'-->
80
+ <!-- close-on-select-->
81
+ <!-- condition="f_user_type ='{}'"-->
82
+ <!-- ></v-select>-->
83
+ <!-- </div>-->
84
+ <div class="col-sm-2 form-group">
85
+ <label class="font_normal_body">用气性质</label>
86
+ <v-select style="width:60%" :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
87
+ placeholder='用气性质'
88
+ value-single="true"
89
+ :options='$parent.$parent.Gasproperties'
90
+ close-on-select
91
+ condition="f_gasproperties = '{}'"
92
+ ></v-select>
93
+ </div>
94
+ <div class="col-sm-2 form-group">
95
+ <label class="font_normal_body">表&ensp;&ensp;&ensp;&ensp;号</label>
96
+ <input
97
+ class="input_search" condition="f_meternumber = '{}'"
98
+ placeholder='表号'
99
+ style="width:60%"
100
+ type="text"
101
+ v-model="model.f_meternumber">
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">气表品牌</label>
105
+ <v-select
106
+ :options='$parent.$parent.meterbrand'
107
+
108
+ :value.sync="model.f_gasbrand"
109
+ close-on-select
110
+ condition="f_meter_brand='{}'"
111
+ placeholder='气表品牌'
112
+ style="width:60%"
113
+ v-model="model.f_gasbrand">
114
+ </v-select>
115
+ </div>
116
+ <div class="col-sm-2 form-group">
117
+ <label class="font_normal_body">指令类型</label>
118
+ <v-select :options='$parent.$parent.instructtype' :value.sync="model.f_instruct_type" close-on-select
119
+ condition="f_instruct_type='{}'"
120
+ placeholder='指令类型'
121
+ style="width:60%"
122
+ v-model="model.f_instruct_type"></v-select>
123
+ </div>
124
+ <div class="col-sm-2 form-group">
125
+ <label class="font_normal_body">执行状态</label>
126
+ <v-select :options='$parent.$parent.instructstate' :value.sync="model.f_instruct_state" close-on-select
127
+ condition="f_instruct_state='{}'"
128
+ placeholder='执行状态'
129
+ style="width:60%"
130
+ v-model="model.f_instruct_state"
131
+ ></v-select>
132
+ </div>
133
+
134
+ <div class="col-sm-2 form-group">
135
+ <label class="font_normal_body">指令时间</label>
136
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
137
+ condition="f_instruct_date >= '{}'"
138
+ placeholder="起始时间"
139
+ style="width:60%"
140
+ v-model="model.f_start_date"
141
+ ></datepicker>
142
+ </div>
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body">&emsp;&emsp;至&emsp;</label>
145
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
146
+ condition="f_instruct_date <= '{}'"
147
+ placeholder="结束时间"
148
+ style="width:60%"
149
+ v-model="model.f_end_date"
150
+ ></datepicker>
151
+ </div>
152
+ <div class="col-sm-2 form-group">
153
+ <label class="font_normal_body">指令标题</label>
154
+ <v-select :options='$parent.$parent.instructtitle' :value.sync="model.f_instruct_title" close-on-select
155
+ condition="f_instruct_title='{}'"
156
+ placeholder='指令标题'
157
+ style="width:60%"
158
+ v-model="model.f_instruct_title"></v-select>
159
+ </div>
160
+
161
+ <div class="col-sm-2 form-group">
162
+ <label class="font_normal_body">操&nbsp;作&nbsp;人</label>
163
+ <v-select :options='$parent.$parent.operators' :value.sync="model.f_operator" close-on-select
164
+ condition="f_operator='{}'"
165
+ placeholder='操作人'
166
+ style="width:60%"
167
+ v-model="model.f_operator"></v-select>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </criteria>
172
+ <data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial='list'
173
+ :modelval="$parent.$parent.modelval" v-ref:grid>
174
+ <template partial='head'>
175
+ <tr>
176
+ <th style="text-align:center">
177
+ <nobr>序号</nobr>
178
+ </th>
179
+ <th style="text-align:center">
180
+ <nobr>客户编号</nobr>
181
+ </th>
182
+ <th style="text-align:center">
183
+ <nobr>客户名称</nobr>
184
+ </th>
185
+ <th style="text-align:center">
186
+ <nobr>客户地址</nobr>
187
+ </th>
188
+ <th style="text-align:center">
189
+ <nobr>表号</nobr>
190
+ </th>
191
+ <th style="text-align:center">
192
+ <nobr>气表品牌</nobr>
193
+ </th>
194
+ <th style="text-align:center">
195
+ <nobr>指令类型</nobr>
196
+ </th>
197
+ <th style="text-align:center">
198
+ <nobr>指令标题</nobr>
199
+ </th>
200
+ <th style="text-align:center">
201
+ <nobr>执行状态</nobr>
202
+ </th>
203
+ <th style="text-align:center">
204
+ <nobr>执行结果</nobr>
205
+ </th>
206
+ <th style="text-align:center">
207
+ <nobr>指令生成人</nobr>
208
+ </th>
209
+ <th style="text-align:center">
210
+ <nobr>指令生成时间</nobr>
211
+ </th>
212
+ <th style="text-align:center">
213
+ <nobr>指令发送时间</nobr>
214
+ </th>
215
+ <th style="text-align:center">
216
+ <nobr>上表时间</nobr>
217
+ </th>
218
+ <th style="text-align:center">
219
+ <nobr>充值金额</nobr>
220
+ </th>
221
+ <th style="text-align:center">
222
+ <nobr>操作内容</nobr>
223
+ </th>
224
+ <th style="text-align:center">
225
+ <nobr>操作原因</nobr>
226
+ </th>
227
+ <th style="text-align:center">
228
+ <nobr>操作人(记录)</nobr>
229
+ </th>
230
+ <th style="text-align:center">
231
+ <nobr>操作时间(记录)</nobr>
232
+ </th>
233
+ <th style="text-align:center">
234
+ <nobr>操作类型</nobr>
235
+ </th>
236
+ <th style="text-align:center">
237
+ <nobr>记录状态</nobr>
238
+ </th>
239
+ <th style="text-align:center">
240
+ <nobr>组织机构</nobr>
241
+ </th>
242
+ <th style="text-align:center">
243
+ <nobr>部门</nobr>
244
+ </th>
245
+ <th style="text-align:center;">
246
+ <nobr>指令内容</nobr>
247
+ </th>
248
+ <th style="text-align:center">
249
+ <nobr>指令详情</nobr>
250
+ </th>
251
+ </tr>
252
+ </template>
253
+ <template partial='body'>
254
+ <tr>
255
+ <td style="text-align:center">
256
+ <nobr>{{ $index + 1 }}</nobr>
257
+ </td>
258
+ <td style="text-align:center">
259
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
260
+ </td>
261
+ <td style="text-align:center">
262
+ <nobr>{{ row.f_user_name }}</nobr>
263
+ </td>
264
+ <td style="text-align:center">
265
+ <nobr>{{ row.f_address }}</nobr>
266
+ </td>
267
+ <td style="text-align:center">
268
+ <nobr>{{ row.f_meternumber }}</nobr>
269
+ </td>
270
+ <td style="text-align:center">
271
+ <nobr>{{ row.f_meter_brand }}</nobr>
272
+ </td>
273
+
274
+ <td style="text-align:center">
275
+ <nobr>{{ row.f_instruct_type }}</nobr>
276
+ </td>
277
+ <td style="text-align:center">
278
+ <nobr>{{ row.f_instruct_title }}</nobr>
279
+ </td>
280
+ <td style="text-align:center">
281
+ <nobr>{{ row.f_instruct_state }}</nobr>
282
+ </td>
283
+ <td style="text-align:center">
284
+ <nobr>{{ row.f_receive_state }}</nobr>
285
+ </td>
286
+ <td style="text-align:center">
287
+ <nobr>{{ row.f_inputtor }}</nobr>
288
+ </td>
289
+ <td style="text-align:center">
290
+ <nobr>{{ row.f_instruct_date }}</nobr>
291
+ </td>
292
+ <td style="text-align:center">
293
+ <nobr>{{ row.f_send_date }}</nobr>
294
+ </td>
295
+ <td style="text-align:center">
296
+ <nobr>{{ row.f_callback_date }}</nobr>
297
+ </td>
298
+ <td style="text-align:center">
299
+ <nobr>{{ row.f_collection }}</nobr>
300
+ </td>
301
+ <td style="text-align:center">
302
+ <nobr>{{ row.note }}</nobr>
303
+ </td>
304
+ <td style="text-align:center">
305
+ <nobr>{{ row.f_info }}</nobr>
306
+ </td>
307
+ <td style="text-align:center">
308
+ <nobr>{{ row.f_operator }}</nobr>
309
+ </td>
310
+ <td style="text-align:center">
311
+ <nobr>{{ row.f_operate_date }}</nobr>
312
+ </td>
313
+ <td style="text-align:center">
314
+ <nobr>{{ row.f_operate_type }}</nobr>
315
+ </td>
316
+ <td style="text-align:center">
317
+ <nobr>{{ row.f_state }}</nobr>
318
+ </td>
319
+ <td style="text-align:center">
320
+ <nobr>{{ row.f_orgname }}</nobr>
321
+ </td>
322
+ <td style="text-align:center">
323
+ <nobr>{{ row.f_depname }}</nobr>
324
+ </td>
325
+ <td style="text-align:center;">
326
+ <nobr>{{ row.f_instruct_content }}</nobr>
327
+ </td>
328
+ <td style="text-align:center">
329
+ <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60"
330
+ @click.stop="$parent.$parent.$parent.instructDetail(row)">指令详情
331
+ </button>
332
+ </td>
333
+ </tr>
334
+ </template>
335
+ </data-grid>
336
+ </criteria-paged>
337
+ </div>
338
+ <modal :show.sync="detailShow" v-if="detailShow" width="40%" style="width:auto;" v-ref:modal middle
339
+ backdrop="false">
340
+ <article slot="modal-body">
341
+ <p class="text-center" style="font-size: 15px" v-html="f_instruct_content"></p>
342
+ </article>
343
+ <footer slot="modal-footer" class="modal-footer">
344
+ </footer>
345
+ </modal>
346
+ </div>
347
+ </template>
348
+ <script>
349
+ import {PagedList} from 'vue-client'
350
+ import co from 'co'
351
+ import * as Util from '../../../Util'
352
+ import getLodop from '../../../plugins/LodopFuncs'
353
+ import {HttpResetClass} from 'vue-client'
354
+ import plugins from '../../../plugins/GetLoginInfoService'
355
+
356
+ let readyGen = async function (self) {
357
+ await self.$MagLoadParams.loadParam()
358
+ await self.$MagGetSaleParam.initinputtor()
359
+ self.initQueryParam()
360
+ self.getinstructtype()
361
+ self.getinstructtitle()
362
+ self.getinstructstate()
363
+ await self.$getConfig(self, 'NewQueryInstruct')
364
+ console.log('指令查看config', self.config)
365
+ self.getfield = self.config.excelHeaders
366
+ self.getOperators(self.$login.f.orgid)
367
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
368
+ // self.reflash()
369
+ }
370
+ export default {
371
+ title: '指令查看',
372
+ data() {
373
+ return {
374
+ model: new PagedList('api/af-revenue/sql/manage_getNewQueryInstruct', 50),
375
+ row: null,
376
+ isLoading: true,
377
+ searchshow: true,
378
+ criteriaShow: false,
379
+ Gasproperties: [],
380
+ meterbrand: [],
381
+ operators: [],
382
+ other: [],
383
+ sumsmodel: {},
384
+ userType: [],
385
+ instructtype: [],
386
+ instructstate: [],
387
+ org: {
388
+ org: [this.$login.f.orgid],
389
+ dep: [],
390
+ user: [],
391
+ },
392
+ orgcondition: '',
393
+ show: false,
394
+ condition: '',
395
+ f_orgid: '',
396
+ f_start_date: '',
397
+ f_end_date: '',
398
+ getfield: {},
399
+ config: {
400
+ excelHeaders: {
401
+ 'f_userinfo_code': '客户编号',
402
+ 'f_address': '客户地址',
403
+ 'f_user_name': '客户姓名',
404
+ 'f_meternumber': '表号',
405
+ 'f_meter_brand': '气表品牌',
406
+ 'f_instruct_type': '指令类型',
407
+ 'f_instruct_state': '执行状态',
408
+ 'f_receive_state': '执行结果',
409
+ 'f_inputtor': '指令生成人',
410
+ 'f_instruct_date': '指令时间',
411
+ 'note': '操作内容',
412
+ 'f_info': '操作原因',
413
+ 'f_operator': '操作人(记录)',
414
+ 'f_operate_date': '操作时间(记录)',
415
+ 'f_operate_type': '操作类型',
416
+ 'f_state': '操作状态',
417
+ 'f_orgname': '组织机构',
418
+ 'f_depname': '部门'
419
+ }
420
+ },
421
+ instructtitle: [],
422
+ detailShow: false,
423
+ f_instruct_content: '',
424
+ modelval: [
425
+ '序号', '客户编号', '客户名称', '客户地址', '表号', '气表品牌', '指令类型', '指令标题', '执行状态', '执行结果', '指令生成人', '指令生成时间',
426
+ '指令发送时间', '上表时间', '充值金额', '操作内容', '操作原因', '操作人(记录)', '操作时间(记录)', '操作类型', '记录状态', '组织机构', '部门'
427
+ ]
428
+ }
429
+ },
430
+ ready() {
431
+ readyGen(this)
432
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
433
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
434
+ this.$refs.paged.$refs.grid.modelval = this.modelval
435
+ //this.$refs.paged.$refs.criteria.search()
436
+ },
437
+ methods: {
438
+ instructDetail(row) {
439
+ if (row.f_instruct_content != '{}') {
440
+ let data = JSON.parse(row.f_instruct_content)
441
+ console.log('看下具体的指令详情===>', data)
442
+ let str = ''
443
+ if (data.hasOwnProperty("Data")) {
444
+ console.log('看下具体的指令详情2===>', data.Data)
445
+ console.log('看下具体的指令详情2===>', typeof data.Data)
446
+ for (let key in data.Data) {
447
+ str = str + key + ':' + data.Data[key] + '</br>'
448
+ }
449
+ }
450
+ for (let key in data) {
451
+ if (key != 'Data') {
452
+ str = str + key + ':' + data[key] + '</br>'
453
+ }
454
+ }
455
+ this.f_instruct_content = str
456
+ this.detailShow = true
457
+ } else {
458
+ this.$showMessage('当前指令没有内容!!!', ['confirm'])
459
+ }
460
+ },
461
+ hidden() {
462
+ this.criteriaShow = !this.criteriaShow
463
+ },
464
+ getorg(condition, obj) {
465
+ this.orgcondition = condition
466
+ this.orgname = obj.orgnames[0]
467
+ },
468
+ initQueryParam() {
469
+ let arr = []
470
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
471
+ let temp = {}
472
+ if (item.value.f_meter_type === '物联网表') {
473
+ temp.label = item.label
474
+ temp.value = item.value.f_meter_brand
475
+ arr.push(temp)
476
+ }
477
+
478
+ })
479
+ this.meterbrand = [{label: '全部', value: ''}, ...arr]
480
+ },
481
+ //获取资源数据
482
+ getOperators(orgid) {
483
+ this.operators = []
484
+ this.$MagGetSaleParam.inputtors.forEach((res) => {
485
+ if (res.rolestr != null && res.rolestr != '') {
486
+ if (res.f_orgid == orgid) {
487
+ let temp = {
488
+ label: res.name,
489
+ value: res.name,
490
+ }
491
+ this.operators.push(temp)
492
+ }
493
+ }
494
+ })
495
+ },
496
+ getinstructtype() {
497
+ this.instructtype = []
498
+ let load = new HttpResetClass()
499
+ load.load('POST', 'api/af-revenue/sql/singleTableParam', {
500
+ data: {
501
+ items: 'f_instruct_type',
502
+ tablename: 't_instruct',
503
+ condition: 'f_instruct_type is not null group by f_instruct_type'
504
+ }
505
+ }, {warnMsg: null, resolveMsg: null}).then((res) => {
506
+ this.instructtype.push({label: '全部', value: ''})
507
+ res.data.forEach((item) => {
508
+ this.instructtype.push({label: item.f_instruct_type, value: item.f_instruct_type})
509
+ })
510
+ })
511
+
512
+ },
513
+ getinstructtitle() {
514
+ this.instructtype = []
515
+ let load = new HttpResetClass()
516
+ load.load('POST', 'api/af-revenue/sql/singleTableParam', {
517
+ data: {
518
+ items: 'f_instruct_title',
519
+ tablename: 't_instruct',
520
+ condition: 'f_instruct_title is not null group by f_instruct_title'
521
+ }
522
+ }, {warnMsg: null, resolveMsg: null}).then((res) => {
523
+ this.instructtitle.push({label: '全部', value: ''})
524
+ res.data.forEach((item) => {
525
+ this.instructtitle.push({label: item.f_instruct_title, value: item.f_instruct_title})
526
+ })
527
+ })
528
+
529
+ },
530
+ getinstructstate() {
531
+ this.instructstate = []
532
+ let load = new HttpResetClass()
533
+ load.load('POST', 'api/af-revenue/sql/singleTableParam', {
534
+ data: {
535
+ items: 'f_instruct_state',
536
+ tablename: 't_instruct',
537
+ condition: 'f_instruct_state is not null group by f_instruct_state'
538
+ }
539
+ }, {warnMsg: null, resolveMsg: null}).then((res) => {
540
+ this.instructstate.push({label: '全部', value: ''})
541
+ res.data.forEach((item) => {
542
+ this.instructstate.push({label: item.f_instruct_state, value: item.f_instruct_state})
543
+ })
544
+ })
545
+
546
+ },
547
+ clearmsg() {
548
+ this.$refs.paged.$refs.criteria.model = {}
549
+ },
550
+ clickshow() {
551
+ this.searchshow = !this.searchshow
552
+ },
553
+ dealmsg(val) {
554
+ val.model = this.model.model
555
+ this.$emit('deal-msg', val)
556
+ },
557
+ async search(args) {
558
+ // this.obj.resids = this.obj.resids.replace(/\./g, ''),
559
+ if (this.orgcondition) {
560
+ args.condition = `${args.condition}` + this.orgcondition
561
+ } else {
562
+ args.condition = `${args.condition} and f_orgid = '${this.$login.f.orgid}'`
563
+ }
564
+ args.condition = `${args.condition}` + this.orgcondition
565
+ console.log(args.condition + "args.condition")
566
+ this.condition = args.condition
567
+ if (this.$refs.paged.$refs.criteria.model.f_start_date != null && this.$refs.paged.$refs.criteria.model.f_start_date != '') {
568
+ this.model.params.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
569
+ this.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
570
+ } else {
571
+ this.model.params.f_start_date = '';
572
+ this.f_start_date = '';
573
+ }
574
+ if (this.$refs.paged.$refs.criteria.model.f_end_date != null && this.$refs.paged.$refs.criteria.model.f_end_date != '') {
575
+ this.model.params.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
576
+ this.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
577
+ } else {
578
+ this.model.params.f_end_date = "";
579
+ this.f_end_date = "";
580
+ }
581
+ if (this.f_orgid_new == '' || this.f_orgid_new == null) {
582
+ this.model.params.f_orgid = `'${this.$login.f.orgid}'`;
583
+ this.f_orgid = `${this.$login.f.orgid}`;
584
+ //await this.$LoadParams.loadParam(this.$login.f.orgid)
585
+ } else {
586
+ this.model.params.f_orgid = `'${this.f_orgid_new}'`;
587
+ this.f_orgid = `${this.f_orgid_new}`;
588
+ //await this.$LoadParams.loadParam(this.f_orgid_new)
589
+ }
590
+ await this.model.search(args.condition, args.model)
591
+ await this.initQueryParam();
592
+ await this.$refs.paged.$refs.grid.InitializedData()
593
+ await this.$refs.paged.$refs.grid.displayColumnSettings(undefined)
594
+
595
+ },
596
+ getotherfooter() {
597
+ this.other = [];
598
+
599
+ let firstLine = [`导出时间: ${this.$login.toStandardTimeString()}`];
600
+
601
+
602
+ let secondLine = [
603
+ `开始时间: ${this.$refs.paged.$refs.criteria.model.f_start_date}`,
604
+ `结束时间: ${this.$refs.paged.$refs.criteria.model.f_end_date}`
605
+ ];
606
+
607
+ this.other.push(firstLine);
608
+ this.other.push(secondLine);
609
+
610
+ console.log('Header Data:', this.other);
611
+ },
612
+
613
+ },
614
+ watch: {
615
+ sumsmodel: {
616
+ handler: function (val) {
617
+ this.getotherfooter();
618
+ },
619
+ deep: true
620
+ },
621
+ },
622
+ computed: {
623
+ userType() {
624
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
625
+ },
626
+ Gasproperties() {
627
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
628
+ },
629
+ mounted() {
630
+ this.getotherfooter();
631
+ }
632
+
633
+
634
+ }
635
+ }
636
+ </script>
637
+ <style>
638
+ .form-input-group label {
639
+ text-align: right;
640
+ width: auto;
641
+ }
642
+
643
+ .datapanel {
644
+ color: #333;
645
+ background-color: white;
646
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
647
+ padding: 10px 30px 10px 30px;
648
+ border-radius: 15px;
649
+ }
650
+ </style>