apply-clients 7.1.36-yuchuan-13 → 7.1.36-yuchuan-15

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 (68) hide show
  1. package/android.html +28 -28
  2. package/build/dev-server.js +172 -190
  3. package/index.html +39 -39
  4. package/package.json +2 -3
  5. package/src/apply.js +162 -162
  6. package/src/applyAndroid.js +97 -97
  7. package/src/components/android/AppSign.vue +0 -1
  8. package/src/components/android/AppUpload.vue +275 -275
  9. package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
  10. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +1 -1
  11. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  12. package/src/components/android/Process/AppServiceControl.vue +6 -6
  13. package/src/components/android/Process/Processes/AppInstallationDetails.vue +2 -2
  14. package/src/components/android/Sign/AppSignTask.vue +1 -1
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
  16. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +2 -2
  17. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +2 -2
  18. package/src/components/android/Task/yiban/AppShowDone.vue +2 -2
  19. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  20. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  21. package/src/components/android/newPackage/customerServiceManager.vue +1 -1
  22. package/src/components/android/newPackage/projectPrice.vue +1 -1
  23. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +2 -2
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +1 -1
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  29. package/src/components/product/ApplyMap/AMapLocation.vue +870 -870
  30. package/src/components/product/ApplyMap/AmapUtil.js +37 -37
  31. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  32. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -212
  33. package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -82
  34. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  35. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  36. package/src/components/product/Function/InstallFunction.vue +1 -1
  37. package/src/components/product/Function/InstallInfoSelect.vue +2 -2
  38. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  39. package/src/components/product/GongJianPush/ApplyPushManage.vue +91 -91
  40. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  41. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  42. package/src/components/product/List/OldShowDevices.vue +2 -2
  43. package/src/components/product/List/ShowAllActivity.vue +2 -2
  44. package/src/components/product/List/ShowDevices.vue +2 -2
  45. package/src/components/product/Process/ExplorationSelect.vue +2 -2
  46. package/src/components/product/Process/ExplorationUser.vue +1 -1
  47. package/src/components/product/Process/New1ExplorationUser.vue +2 -2
  48. package/src/components/product/Process/NewExplorationSelect.vue +2 -2
  49. package/src/components/product/Process/NewExplorationUser.vue +1 -1
  50. package/src/components/product/Process/Processes/InstallationDetails.vue +4 -4
  51. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  52. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  53. package/src/components/product/Process/Processes/chargeManagement.vue +704 -704
  54. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  55. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  56. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +2 -2
  57. package/src/components/product/Process/Processes/selectOldUserinfo.vue +2 -2
  58. package/src/components/product/Process/Processes/selectUserinfo.vue +3 -3
  59. package/src/components/product/Process/Service/ServiceControl.vue +6 -6
  60. package/src/components/product/ServiceView.vue +644 -644
  61. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  62. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +1 -1
  63. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  64. package/src/components/product/Supervisory/SupervisoryList.vue +2 -2
  65. package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -119
  66. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +2 -2
  67. package/src/components/product/VueUtils/ApplyUpload.vue +285 -294
  68. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
@@ -1,272 +1,272 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body"><strong>工程编号:</strong></label>
10
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
11
- v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_apply_num like '%{}%'" placeholder='工程编号'>
12
- </div>
13
- <div class="form-group col-sm-3">
14
- <label class="font_normal_body"><strong>用户编号:</strong></label>
15
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_id"
16
- v-on:keyup.enter="$parent.$parent.search()" condition="tu.f_userinfo_id ='{}'" placeholder='用户编号'>
17
- </div>
18
- <div class="form-group col-sm-3">
19
- <label class="font_normal_body"><strong>工程名称:</strong></label>
20
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
21
- v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_user_name like '%{}%'" placeholder='工程名称'>
22
- </div>
23
- <div class="form-group col-sm-3 button-range">
24
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
25
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
26
- <export-excel :data="$parent.$parent.getCondition"
27
- :field="$parent.$parent.getfield"
28
- sqlurl="rs/logic/applyExportfile"
29
- sql-name="getGaiXianViewList"
30
- template-name='改线记录信息导出'
31
- :choose-col="true"></export-excel>
32
- <div
33
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
34
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
35
- class="button_spacing"
36
- style="float: right">
37
- </div>
38
- </div>
39
- </div>
40
- <div class="row" v-show="$parent.$parent.criteriaShow">
41
- <div class="form-group col-sm-3">
42
- <label class="font_normal_body"><strong>用户名称:</strong></label>
43
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_contact"
44
- v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_contact like '%{}%'" placeholder='用户名称'>
45
- </div>
46
- <div class="form-group col-sm-3">
47
- <label class="font_normal_body"><strong>电&emsp;&emsp;话:</strong></label>
48
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
49
- v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_phone like '%{}%'" placeholder='电话'>
50
- </div>
51
- <div class="form-group col-sm-3">
52
- <label class="font_normal_body"><strong>详细地址:</strong></label>
53
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_address"
54
- v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_address like '%{}%'" placeholder='详细地址'>
55
- </div>
56
- <div class="form-group col-sm-3">
57
- <label for="startDate" class="font_normal_body"><strong>缴费时间:</strong></label>
58
- <datepicker id="startDate" placeholder="缴费时间"
59
- style="width: 60%!important;"
60
- v-model="model.startDate"
61
- :value.sync="model.startDate"
62
- :format="'yyyy-MM-dd 00:00:00'"
63
- :show-reset-button="true"
64
- condition="cr.f_charge_date >= '{}'">
65
- </datepicker>
66
- </div>
67
- <div class="form-group col-sm-3">
68
- <label for="endDate" class="font_normal_body"><strong>缴费时间:</strong></label>
69
- <datepicker id="endDate" placeholder="缴费时间"
70
- style="width: 60%!important;"
71
- v-model="model.endDate"
72
- :value.sync="model.endDate"
73
- :format="'yyyy-MM-dd 23:59:59'"
74
- :show-reset-button="true"
75
- condition="cr.f_charge_date <= '{}'">
76
- </datepicker>
77
- </div>
78
- </div>
79
- </div>
80
- </criteria>
81
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
82
- <template partial='head'>
83
- <tr>
84
- <th style="white-space: nowrap;">序号</th>
85
- <th style="white-space: nowrap;">报建编号</th>
86
- <th style="white-space: nowrap;">核算费用</th>
87
- <th style="white-space: nowrap;">报建申请时间</th>
88
- <th style="white-space: nowrap;">联系人</th>
89
- <th style="white-space: nowrap;">工程名称</th>
90
- <th style="white-space: nowrap;">联系电话</th>
91
- <th style="white-space: nowrap;">缴费时间</th>
92
- <th style="white-space: nowrap;">改线类型</th>
93
- <th style="white-space: nowrap;">用户编号</th>
94
- <th style="white-space: nowrap;">用气性质</th>
95
- <th style="white-space: nowrap;">详细地址</th>
96
- <th style="white-space: nowrap;">用户分类</th>
97
- <th style="white-space: nowrap;">整改费用(小写)</th>
98
- <th style="white-space: nowrap;">整改费用(大写)</th>
99
- <th style="white-space: nowrap;">改线原因</th>
100
- <th style="white-space: nowrap;">整改方案</th>
101
- <th style="white-space: nowrap;">安装单位</th>
102
- <th style="white-space: nowrap;">高空作业</th>
103
- <th style="white-space: nowrap;">土建单位</th>
104
- <th style="white-space: nowrap;">检测单位</th>
105
- </tr>
106
- </template>
107
- <template partial='body'>
108
- <tr >
109
- <td style="text-align: center;">
110
- <nobr><font>{{$index+1}}</font></nobr>
111
- </td>
112
- <td style="text-align: center;">
113
- <nobr><font>{{row.f_apply_num}}</font></nobr>
114
- </td>
115
- <td style="text-align: center;">
116
- <nobr><font>{{row.person}}</font></nobr>
117
- </td>
118
- <td style="text-align: center;">
119
- <nobr><font>{{row.f_apply_date}}</font></nobr>
120
- </td>
121
- <td style="text-align: center;">
122
- <nobr><font>{{row.f_contact}}</font></nobr>
123
- </td>
124
- <td style="text-align: center;">
125
- <nobr><font>{{row.f_user_name}}</font></nobr>
126
- </td>
127
- <td style="text-align: center;">
128
- <nobr><font>{{row.f_phone}}</font></nobr>
129
- </td>
130
- <td style="text-align: center;">
131
- <nobr><font>{{row.f_charge_date}}</font></nobr>
132
- </td>
133
- <td style="text-align: center;">
134
- <nobr><font>{{row.f_gaixian_number}}</font></nobr>
135
- </td>
136
- <td style="text-align: center;">
137
- <nobr><font>{{row.f_userinfo_id}}</font></nobr>
138
- </td>
139
- <td style="text-align: center;">
140
- <nobr><font>{{row.f_gasproperties}}</font></nobr>
141
- </td>
142
- <td style="text-align: center;">
143
- <nobr><font>{{row.f_address}}</font></nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr><font>{{row.f_user_classification}}</font></nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr><font>{{row.f_due_money}}</font></nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr><font>{{row.f_capitalized_amount?row.f_capitalized_amount:$parent.$parent.$parent.smalltoBIG(row.f_due_money)}}</font></nobr>
153
- </td>
154
-
155
- <td style="text-align: center;">
156
- <nobr><font>{{row.f_cause}}</font></nobr>
157
- </td>
158
- <td style="text-align: center;">
159
- <nobr><font>{{row.f_modify_plan}}</font></nobr>
160
- </td>
161
- <td style="text-align: center;">
162
- <nobr><font>{{row.f_construction_name}}</font></nobr>
163
- </td>
164
- <td style="text-align: center;">
165
- <nobr><font>{{row.f_high_work}}</font></nobr>
166
- </td>
167
- <td style="text-align: center;">
168
- <nobr><font>{{row.f_engineering_operator}}</font></nobr>
169
- </td>
170
- <td style="text-align: center;">
171
- <nobr><font>{{row.f_check_operator}}</font></nobr>
172
- </td>
173
- </tr>
174
- </template>
175
- </data-grid>
176
- </criteria-paged>
177
- </div>
178
- </div>
179
- </template>
180
-
181
- <script>
182
- import {PagedList} from 'vue-client'
183
- import {HttpResetClass} from 'vue-client'
184
- import {isEmpty} from '../../Util'
185
- import Vue from "vue";
186
- export default {
187
- title: '改线业务查看',
188
- data () {
189
- return {
190
- model: new PagedList('rs/sql/getGaiXianViewList', 30, {
191
- }),
192
- criteriaShow: false,
193
- showStatus: true,
194
- getfield: {
195
- 'f_apply_num': '报建编号',
196
- 'f_apply_date': '报建申请时间',
197
- 'person': '核算费用',
198
- 'f_user_name': '工程名称',
199
- 'f_contact': '用户名称',
200
- 'f_phone': '电话',
201
- 'f_charge_date': '收费日期',
202
- 'f_gaixian_number': '改线类型',
203
- 'f_userinfo_id': '用户编号',
204
- 'f_gasproperties': '用气性质',
205
- 'f_address': '详细地址',
206
- 'f_user_classification': '用户分类',
207
- 'f_due_money': '整改费用',
208
- 'f_cause': '改线原因',
209
- 'f_modify_plan': '整改方案',
210
- 'f_construction_name': '安装单位',
211
- 'f_high_work': '高空作业',
212
- 'f_engineering_operator': '土建单位',
213
- 'f_check_operator': '检测单位'
214
- }
215
- }
216
- },
217
- ready () {
218
- // 调用查询
219
- this.search()
220
- },
221
- methods: {
222
- clear () {
223
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
224
- this.$refs.cp.$refs.cri.model[key] = []
225
- })
226
- },
227
- searchCondition (args) {
228
- this.model.search(args.condition, args.model)
229
- },
230
- // 查询
231
- search () {
232
- this.$refs.cp.$refs.cri.search()
233
- },
234
- // 金额转大写
235
- smalltoBIG(n) {
236
- let fraction = ['角', '分'];
237
- let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
238
- let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
239
- let head = n < 0 ? '欠' : '';
240
- n = Math.abs(n);
241
-
242
- let s = '';
243
-
244
- for (var i = 0; i < fraction.length; i++) {
245
- s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
246
- }
247
- s = s || '整';
248
- n = Math.floor(n);
249
-
250
- for (var i = 0; i < unit[0].length && n > 0; i++) {
251
- let p = '';
252
- for (var j = 0; j < unit[1].length && n > 0; j++) {
253
- p = digit[n % 10] + unit[1][j] + p;
254
- n = Math.floor(n / 10);
255
- }
256
- s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
257
- }
258
- return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
259
- },
260
- },
261
- computed: {
262
- getCondition () {
263
- return {
264
- condition: this.$refs.cp.$refs.cri.condition
265
- }
266
- }
267
- }
268
- }
269
- </script>
270
-
271
- <style scoped>
272
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body"><strong>工程编号:</strong></label>
10
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
11
+ v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_apply_num like '%{}%'" placeholder='工程编号'>
12
+ </div>
13
+ <div class="form-group col-sm-3">
14
+ <label class="font_normal_body"><strong>用户编号:</strong></label>
15
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_id"
16
+ v-on:keyup.enter="$parent.$parent.search()" condition="tu.f_userinfo_id ='{}'" placeholder='用户编号'>
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body"><strong>工程名称:</strong></label>
20
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
21
+ v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_user_name like '%{}%'" placeholder='工程名称'>
22
+ </div>
23
+ <div class="form-group col-sm-3 button-range">
24
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
25
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
26
+ <export-excel :data="$parent.$parent.getCondition"
27
+ :field="$parent.$parent.getfield"
28
+ sqlurl="rs/logic/applyExportfile"
29
+ sql-name="getGaiXianViewList"
30
+ template-name='改线记录信息导出'
31
+ :choose-col="true"></export-excel>
32
+ <div
33
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
34
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
35
+ class="button_spacing"
36
+ style="float: right">
37
+ </div>
38
+ </div>
39
+ </div>
40
+ <div class="row" v-show="$parent.$parent.criteriaShow">
41
+ <div class="form-group col-sm-3">
42
+ <label class="font_normal_body"><strong>用户名称:</strong></label>
43
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_contact"
44
+ v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_contact like '%{}%'" placeholder='用户名称'>
45
+ </div>
46
+ <div class="form-group col-sm-3">
47
+ <label class="font_normal_body"><strong>电&emsp;&emsp;话:</strong></label>
48
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
49
+ v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_phone like '%{}%'" placeholder='电话'>
50
+ </div>
51
+ <div class="form-group col-sm-3">
52
+ <label class="font_normal_body"><strong>详细地址:</strong></label>
53
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_address"
54
+ v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_address like '%{}%'" placeholder='详细地址'>
55
+ </div>
56
+ <div class="form-group col-sm-3">
57
+ <label for="startDate" class="font_normal_body"><strong>缴费时间:</strong></label>
58
+ <datepicker id="startDate" placeholder="缴费时间"
59
+ style="width: 60%!important;"
60
+ v-model="model.startDate"
61
+ :value.sync="model.startDate"
62
+ :format="'yyyy-MM-dd 00:00:00'"
63
+ :show-reset-button="true"
64
+ condition="cr.f_charge_date >= '{}'">
65
+ </datepicker>
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label for="endDate" class="font_normal_body"><strong>缴费时间:</strong></label>
69
+ <datepicker id="endDate" placeholder="缴费时间"
70
+ style="width: 60%!important;"
71
+ v-model="model.endDate"
72
+ :value.sync="model.endDate"
73
+ :format="'yyyy-MM-dd 23:59:59'"
74
+ :show-reset-button="true"
75
+ condition="cr.f_charge_date <= '{}'">
76
+ </datepicker>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </criteria>
81
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
82
+ <template partial='head'>
83
+ <tr>
84
+ <th style="white-space: nowrap;">序号</th>
85
+ <th style="white-space: nowrap;">报建编号</th>
86
+ <th style="white-space: nowrap;">核算费用</th>
87
+ <th style="white-space: nowrap;">报建申请时间</th>
88
+ <th style="white-space: nowrap;">联系人</th>
89
+ <th style="white-space: nowrap;">工程名称</th>
90
+ <th style="white-space: nowrap;">联系电话</th>
91
+ <th style="white-space: nowrap;">缴费时间</th>
92
+ <th style="white-space: nowrap;">改线类型</th>
93
+ <th style="white-space: nowrap;">用户编号</th>
94
+ <th style="white-space: nowrap;">用气性质</th>
95
+ <th style="white-space: nowrap;">详细地址</th>
96
+ <th style="white-space: nowrap;">用户分类</th>
97
+ <th style="white-space: nowrap;">整改费用(小写)</th>
98
+ <th style="white-space: nowrap;">整改费用(大写)</th>
99
+ <th style="white-space: nowrap;">改线原因</th>
100
+ <th style="white-space: nowrap;">整改方案</th>
101
+ <th style="white-space: nowrap;">安装单位</th>
102
+ <th style="white-space: nowrap;">高空作业</th>
103
+ <th style="white-space: nowrap;">土建单位</th>
104
+ <th style="white-space: nowrap;">检测单位</th>
105
+ </tr>
106
+ </template>
107
+ <template partial='body'>
108
+ <tr >
109
+ <td style="text-align: center;">
110
+ <nobr><font>{{$index+1}}</font></nobr>
111
+ </td>
112
+ <td style="text-align: center;">
113
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
114
+ </td>
115
+ <td style="text-align: center;">
116
+ <nobr><font>{{row.person}}</font></nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr><font>{{row.f_apply_date}}</font></nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr><font>{{row.f_contact}}</font></nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr><font>{{row.f_user_name}}</font></nobr>
126
+ </td>
127
+ <td style="text-align: center;">
128
+ <nobr><font>{{row.f_phone}}</font></nobr>
129
+ </td>
130
+ <td style="text-align: center;">
131
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
132
+ </td>
133
+ <td style="text-align: center;">
134
+ <nobr><font>{{row.f_gaixian_number}}</font></nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr><font>{{row.f_userinfo_id}}</font></nobr>
138
+ </td>
139
+ <td style="text-align: center;">
140
+ <nobr><font>{{row.f_gasproperties}}</font></nobr>
141
+ </td>
142
+ <td style="text-align: center;">
143
+ <nobr><font>{{row.f_address}}</font></nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr><font>{{row.f_user_classification}}</font></nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr><font>{{row.f_due_money}}</font></nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr><font>{{row.f_capitalized_amount?row.f_capitalized_amount:$parent.$parent.$parent.smalltoBIG(row.f_due_money)}}</font></nobr>
153
+ </td>
154
+
155
+ <td style="text-align: center;">
156
+ <nobr><font>{{row.f_cause}}</font></nobr>
157
+ </td>
158
+ <td style="text-align: center;">
159
+ <nobr><font>{{row.f_modify_plan}}</font></nobr>
160
+ </td>
161
+ <td style="text-align: center;">
162
+ <nobr><font>{{row.f_construction_name}}</font></nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <nobr><font>{{row.f_high_work}}</font></nobr>
166
+ </td>
167
+ <td style="text-align: center;">
168
+ <nobr><font>{{row.f_engineering_operator}}</font></nobr>
169
+ </td>
170
+ <td style="text-align: center;">
171
+ <nobr><font>{{row.f_check_operator}}</font></nobr>
172
+ </td>
173
+ </tr>
174
+ </template>
175
+ </data-grid>
176
+ </criteria-paged>
177
+ </div>
178
+ </div>
179
+ </template>
180
+
181
+ <script>
182
+ import {PagedList} from 'vue-client'
183
+ import {HttpResetClass} from 'vue-client'
184
+ import {isEmpty} from '../../Util'
185
+ import Vue from "vue";
186
+ export default {
187
+ title: '改线业务查看',
188
+ data () {
189
+ return {
190
+ model: new PagedList('rs/sql/getGaiXianViewList', 30, {
191
+ }),
192
+ criteriaShow: false,
193
+ showStatus: true,
194
+ getfield: {
195
+ 'f_apply_num': '报建编号',
196
+ 'f_apply_date': '报建申请时间',
197
+ 'person': '核算费用',
198
+ 'f_user_name': '工程名称',
199
+ 'f_contact': '用户名称',
200
+ 'f_phone': '电话',
201
+ 'f_charge_date': '收费日期',
202
+ 'f_gaixian_number': '改线类型',
203
+ 'f_userinfo_id': '用户编号',
204
+ 'f_gasproperties': '用气性质',
205
+ 'f_address': '详细地址',
206
+ 'f_user_classification': '用户分类',
207
+ 'f_due_money': '整改费用',
208
+ 'f_cause': '改线原因',
209
+ 'f_modify_plan': '整改方案',
210
+ 'f_construction_name': '安装单位',
211
+ 'f_high_work': '高空作业',
212
+ 'f_engineering_operator': '土建单位',
213
+ 'f_check_operator': '检测单位'
214
+ }
215
+ }
216
+ },
217
+ ready () {
218
+ // 调用查询
219
+ this.search()
220
+ },
221
+ methods: {
222
+ clear () {
223
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
224
+ this.$refs.cp.$refs.cri.model[key] = []
225
+ })
226
+ },
227
+ searchCondition (args) {
228
+ this.model.search(args.condition, args.model)
229
+ },
230
+ // 查询
231
+ search () {
232
+ this.$refs.cp.$refs.cri.search()
233
+ },
234
+ // 金额转大写
235
+ smalltoBIG(n) {
236
+ let fraction = ['角', '分'];
237
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
238
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
239
+ let head = n < 0 ? '欠' : '';
240
+ n = Math.abs(n);
241
+
242
+ let s = '';
243
+
244
+ for (var i = 0; i < fraction.length; i++) {
245
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
246
+ }
247
+ s = s || '整';
248
+ n = Math.floor(n);
249
+
250
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
251
+ let p = '';
252
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
253
+ p = digit[n % 10] + unit[1][j] + p;
254
+ n = Math.floor(n / 10);
255
+ }
256
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
257
+ }
258
+ return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
259
+ },
260
+ },
261
+ computed: {
262
+ getCondition () {
263
+ return {
264
+ condition: this.$refs.cp.$refs.cri.condition
265
+ }
266
+ }
267
+ }
268
+ }
269
+ </script>
270
+
271
+ <style scoped>
272
+ </style>