apply-clients 7.1.36-1 → 7.1.36-yuchuan-1

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 (55) hide show
  1. package/build/dev-server.js +8 -2
  2. package/dist-android.7z +0 -0
  3. package/dist.7z +0 -0
  4. package/package.json +1 -1
  5. package/src/apply.js +31 -4
  6. package/src/applyAndroid.js +5 -0
  7. package/src/components/android/AppSign.vue +13 -10
  8. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  9. package/src/components/android/Process/AppServiceControl.vue +3 -3
  10. package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
  11. package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
  12. package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
  13. package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
  14. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
  16. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
  17. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
  18. package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
  19. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
  20. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
  21. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
  22. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
  23. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
  24. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
  25. package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
  26. package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
  27. package/src/components/product/Function/InstallInfoSelect.vue +3 -4
  28. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  29. package/src/components/product/Ignition/IgnitionList.vue +236 -232
  30. package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
  31. package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
  32. package/src/components/product/List/ShowDevices.vue +279 -277
  33. package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
  34. package/src/components/product/Process/ExplorationSelect.vue +580 -566
  35. package/src/components/product/Process/ExplorationUser.vue +158 -155
  36. package/src/components/product/Process/NewExplorationUser.vue +184 -0
  37. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
  38. package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
  39. package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
  40. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
  41. package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
  42. package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
  43. package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
  44. package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
  45. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
  46. package/src/components/product/Process/Service/ServiceControl.vue +169 -14
  47. package/src/components/product/Report/ReportItems.vue +79 -0
  48. package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
  49. package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
  50. package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
  51. package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
  52. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +37 -8
  53. package/src/components/product/Supervisory/SupervisoryList.vue +77 -26
  54. package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  55. package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
@@ -0,0 +1,260 @@
1
+ <template>
2
+ <style id="printGaiXianOrderStyle">
3
+ td{
4
+ height: 30px;
5
+ text-align: center;
6
+ }
7
+ table{
8
+ width: 100%;
9
+ margin: 0;
10
+ padding: 0;
11
+ border: 1px solid black;
12
+ border-collapse:collapse;
13
+ }
14
+ h1,h2,h3,h4,h5,h6 {
15
+ text-align: center;
16
+ }
17
+ .merge-content {
18
+ text-align: left;
19
+ vertical-align: top;
20
+ padding: 10px;
21
+ }
22
+ .sign {
23
+ height: 80px;
24
+ }
25
+ .sign_img {
26
+ width: 60px;
27
+ transform: rotate(0deg);
28
+ }
29
+ .replace_img{
30
+ width: 60px;
31
+ transform: rotate(0deg);
32
+ }
33
+ </style>
34
+ <div style="margin-bottom: 20px" class="form-group select-overspread">
35
+ <label class="control-label-justify control-label col-sm-10">打印派工单</label>
36
+ <div class="col-sm-2">
37
+ <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute"
38
+ @click="openModal()">打印预览
39
+ </button>
40
+ </div>
41
+ </div>
42
+ <modal v-if="showModal" :show.sync="showModal" title="打印预览" v-ref:modal large backdrop="false">
43
+ <header slot="modal-header" class="modal-header">
44
+ <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
45
+ <h4 class="modal-title">打印预览</h4>
46
+ </header>
47
+ <article slot="modal-body" class="modal-body">
48
+ <div id="printGaiXianOrder">
49
+ <h2><span style="letter-spacing: 0px">天然气用户拆除申请表</span></h2>
50
+ <table>编号:{{ selectdata.f_apply_num }}</table>
51
+ <table border="1" cellspacing="0" cellpadding="0">
52
+ <tr>
53
+ <td colspan="2">用户联系人</td>
54
+ <td colspan="2">{{ selectdata.f_contact }}</td>
55
+ <td colspan="2">单位</td>
56
+ <td colspan="2">{{ selectdata.f_user_name }}</td>
57
+ <td colspan="2">联系电话</td>
58
+ <td colspan="2">{{ selectdata.f_phone }}</td>
59
+ </tr>
60
+ <tr>
61
+ <td colspan="2">申请时间</td>
62
+ <td colspan="2">{{ selectdata.f_apply_date }}</td>
63
+ <td colspan="2">用户编号</td>
64
+ <td colspan="2">{{ selectdata.f_userinfo_id }}</td>
65
+ <td colspan="2">用气性质</td>
66
+ <td colspan="2">{{ selectdata.f_apply_nature }}</td>
67
+ </tr>
68
+ <tr>
69
+ <td colspan="2">详细地址</td>
70
+ <td colspan="6">{{ selectdata.f_address }}</td>
71
+ <td colspan="2" v-if="selectdata.f_meter_style">气表型号</td>
72
+ <td colspan="2" v-if="selectdata.f_meter_style">{{ selectdata.f_meter_style }}</td>
73
+ </tr>
74
+ <tr>
75
+ <td colspan="3">申请类别</td>
76
+ <td colspan="3">{{ selectdata.f_user_classification }}</td>
77
+ <td colspan="3">维修意见</td>
78
+ <td colspan="3">{{ selectdata.f_prospecting_result }}</td>
79
+ </tr>
80
+ <tr>
81
+ <td colspan="2">工程整改方案</td>
82
+ <td colspan="10">
83
+ <p style="margin: 0px 0px 30px 0px">{{ selectdata.f_modify_plan }}</p>
84
+ </td>
85
+ </tr>
86
+ <!-- <tr>-->
87
+ <!-- <td colspan="6" class="merge-content">-->
88
+ <!-- <p style="margin: 0px 0px 10px 0px">工程部审核意见:</p>-->
89
+ <!-- <p style="margin: 0px 0px 30px 0px"></p>-->
90
+ <!-- </td>-->
91
+ <!-- </tr>-->
92
+ <tr v-if="selectdata.f_due_money">
93
+ <td colspan="2">整改收费</td>
94
+ <td colspan="10">
95
+ <p>金额小写:{{ selectdata.f_due_money}},金额大写:{{ selectdata.f_amount_words}}</p>
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td colspan="12"><h4>审批流程</h4></td>
100
+ </tr>
101
+ <tr>
102
+ <td colspan="3">工程部意见</td>
103
+ <td colspan="3">
104
+ <p>&emsp;</p>
105
+ </td>
106
+ <td colspan="3">分管领导意见</td>
107
+ <td colspan="3">
108
+ <p>&emsp;</p>
109
+ </td>
110
+ </tr>
111
+ <tr v-if="selectdata.f_due_money">
112
+ <td colspan="3">用户管理部收费情况</td>
113
+ <td colspan="3">
114
+ <p>已收费</p>
115
+ <p>{{ selectdata.f_charge_user }}</p>
116
+ <p>{{ selectdata.f_charge_date }}</p>
117
+ </td>
118
+ <td colspan="3">开材料意见</td>
119
+ <td colspan="3">
120
+ <p>{{ selectdata.f_material_number }}</p>
121
+ <p>{{ selectdata.pgname }}</p>
122
+ <p>{{ selectdata.finishtime }}</p>
123
+ </td>
124
+ </tr>
125
+ <tr>
126
+ <td colspan="3">维修中心意见</td>
127
+ <td colspan="3">
128
+ <p>&emsp;</p>
129
+ </td>
130
+ <td colspan="3">省安一/二/三意见</td>
131
+ <td colspan="3">
132
+ <p>&emsp;</p>
133
+ </td>
134
+ </tr>
135
+ <tr>
136
+ <td colspan="3">用户确认签字</td>
137
+ <td colspan="9">
138
+ <p>&emsp;</p>
139
+ </td>
140
+ </tr>
141
+ </table>
142
+ </div>
143
+ </article>
144
+ <footer slot="modal-footer" class="modal-footer">
145
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
146
+ </footer>
147
+ </modal>
148
+
149
+ <print-element v-show="false" v-ref:print id='printGaiXianOrder' styleid='printGaiXianOrderStyle'
150
+ top='20' left='30' width='100%' height='100%'>
151
+ </print-element>
152
+ </template>
153
+
154
+ <script>
155
+ import {isEmpty} from '../../../Util'
156
+ import {HttpResetClass} from "vue-client";
157
+
158
+ Date.prototype.Format = function (fmt) {
159
+ var o = {
160
+ 'M+': this.getMonth() + 1, // 月份
161
+ 'd+': this.getDate(), // 日
162
+ 'H+': this.getHours(), // 小时
163
+ 'm+': this.getMinutes(), // 分
164
+ 's+': this.getSeconds(), // 秒
165
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
166
+ 'S': this.getMilliseconds() // 毫秒
167
+ }
168
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
169
+ for (var k in o)
170
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
171
+ return fmt
172
+ }
173
+ export default {
174
+ title: '打印派工单',
175
+ props: ['selectdata'],
176
+ data () {
177
+ return {
178
+ showModal: false,
179
+ device: null
180
+ }
181
+ },
182
+ ready () {
183
+ this.getGaiXianData(this.selectdata.f_process_id)
184
+ },
185
+ methods: {
186
+ openModal () {
187
+ if (this.selectdata.f_due_money >= 0 ) {
188
+ this.smalltoBIG(this.selectdata.f_due_money)
189
+ }
190
+ this.showModal = true
191
+ },
192
+ colseModal () {
193
+ this.showModal = false
194
+ },
195
+ print () {
196
+ this.showInput = false
197
+ setTimeout(() => {
198
+ this.$refs.print.PrintTable()
199
+ }, 10)
200
+ },
201
+ // 金额转大写
202
+ smalltoBIG (n) {
203
+ let fraction = ['角', '分']
204
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
205
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
206
+ let head = n < 0 ? '欠' : ''
207
+ n = Math.abs(n)
208
+
209
+ let s = ''
210
+
211
+ for (var i = 0; i < fraction.length; i++) {
212
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
213
+ }
214
+ s = s || '整'
215
+ n = Math.floor(n)
216
+
217
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
218
+ let p = ''
219
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
220
+ p = digit[n % 10] + unit[1][j] + p
221
+ n = Math.floor(n / 10)
222
+ }
223
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
224
+ }
225
+ let result = head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
226
+ console.log('当前大写', result)
227
+ this.selectdata.f_amount_words = result
228
+ },
229
+ async getGaiXianData(index) {
230
+ let data = {
231
+ condition: `1=1`,
232
+ f_process_id: index
233
+ }
234
+ let http = new HttpResetClass()
235
+ let res = await http.load(
236
+ 'POST',
237
+ `rs/sql/applyGetGaixian`,
238
+ {data: data},
239
+ {resolveMsg: null, rejectMsg: '改线数据查询失败!!!'}
240
+ )
241
+ this.selectdata.f_charge_user = res.data[0].jfname
242
+ this.selectdata.f_charge_date = res.data[0].finishtime
243
+ this.selectdata.pgname = res.data[0].pgname
244
+ this.selectdata.user_dep = res.data[0].departmentname
245
+ }
246
+ },
247
+ computed: {
248
+ orgs () {
249
+ return this.$login.f.f_fengongsi
250
+ },
251
+ src () {
252
+ // return require(`./img/${this.$login.f.number}.png`)
253
+ }
254
+ }
255
+ }
256
+ </script>
257
+
258
+ <style scoped>
259
+
260
+ </style>