apply-clients 7.1.36-yuchuan-5 → 7.1.36-yuchuan-7

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 (44) hide show
  1. package/build/dev-server.js +187 -172
  2. package/index.html +39 -39
  3. package/package.json +2 -1
  4. package/src/apply.js +7 -0
  5. package/src/components/android/AppSign.vue +234 -234
  6. package/src/components/android/AppUpload.vue +275 -275
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  8. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  9. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  10. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  11. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  12. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  13. package/src/components/product/ApplyCharge/ApplyChargeList.vue +2 -2
  14. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  15. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  16. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  17. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  18. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  19. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  20. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +2 -2
  21. package/src/components/product/Function/InstallInfoSelect.vue +2 -2
  22. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  23. package/src/components/product/GongJianPush/ApplyPushDispose.vue +206 -0
  24. package/src/components/product/GongJianPush/ApplyPushList.vue +196 -0
  25. package/src/components/product/GongJianPush/ApplyPushManage.vue +90 -0
  26. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  27. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  28. package/src/components/product/List/OldShowDevices.vue +2 -2
  29. package/src/components/product/List/ShowAllActivity.vue +2 -2
  30. package/src/components/product/List/ShowDevices.vue +2 -2
  31. package/src/components/product/Print/BuildOrder/buildOrderList.vue +1 -1
  32. package/src/components/product/Process/ExplorationSelect.vue +4 -4
  33. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  34. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  35. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  36. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  37. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  38. package/src/components/product/Stop/StopApplyList.vue +1 -1
  39. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  40. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  41. package/src/components/product/Supervisory/SupervisoryList.vue +3 -3
  42. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +3 -3
  43. package/src/components/product/VueUtils/ApplyUpload.vue +285 -285
  44. 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>