apply-clients 7.1.36-yuchuan-56 → 7.1.36-yuchuan-57

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 +27 -27
  2. package/build/dev-server.js +192 -192
  3. package/package.json +1 -1
  4. package/src/apply.js +163 -163
  5. package/src/applyAndroid.js +98 -98
  6. package/src/components/android/AppSign.vue +232 -232
  7. package/src/components/android/Ignition/VentilationIgnition.vue +409 -409
  8. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +472 -472
  9. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  10. package/src/components/android/Process/AppServiceControl.vue +1434 -1434
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +1026 -1026
  12. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +671 -671
  13. package/src/components/android/SealBind.vue +382 -382
  14. package/src/components/android/SealManage.vue +278 -278
  15. package/src/components/android/Sign/AppSignTask.vue +183 -183
  16. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  17. package/src/components/android/Task/Build/BuildTsak.vue +117 -117
  18. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -114
  19. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  20. package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -124
  21. package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -124
  22. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  23. package/src/components/android/Task/Survey/SurveyTsak.vue +141 -141
  24. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  25. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  26. package/src/components/android/newPackage/projectPrice.vue +218 -218
  27. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  28. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +325 -325
  29. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +142 -142
  30. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  31. package/src/components/product/ApplyMap/AppMapLocation.vue +829 -829
  32. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  33. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +417 -417
  34. package/src/components/product/Function/InstallFunction.vue +132 -132
  35. package/src/components/product/Function/InstallInfoSelect.vue +374 -374
  36. package/src/components/product/Function/Service/FunctionServiceControl.vue +581 -581
  37. package/src/components/product/Ignition/IgnitionDispatch.vue +90 -90
  38. package/src/components/product/Ignition/IgnitionListManage.vue +604 -604
  39. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  40. package/src/components/product/InsuranceApply/InsuranceReport.vue +188 -188
  41. package/src/components/product/List/OldShowDevices.vue +272 -272
  42. package/src/components/product/List/ShowAllActivity.vue +541 -541
  43. package/src/components/product/List/ShowDevices.vue +279 -279
  44. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  45. package/src/components/product/Process/ExplorationSelect.vue +593 -593
  46. package/src/components/product/Process/ExplorationUser.vue +154 -154
  47. package/src/components/product/Process/New1ExplorationUser.vue +196 -196
  48. package/src/components/product/Process/NewExplorationSelect.vue +587 -587
  49. package/src/components/product/Process/NewExplorationUser.vue +216 -216
  50. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  51. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  52. package/src/components/product/Process/Processes/chargeManagement.vue +2 -1
  53. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  54. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  55. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  56. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  57. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  58. package/src/components/product/ServiceView.vue +644 -644
  59. package/src/components/product/Stop/StopApplyList.vue +224 -224
  60. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  61. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +593 -593
  62. package/src/components/product/Supervisory/SupervisoryControl.vue +114 -114
  63. package/src/components/product/Supervisory/SupervisoryList.vue +586 -586
  64. package/src/components/product/Supervisory/SupervisoryhCart.vue +120 -120
  65. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +111 -111
  66. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  67. package/src/components/product/VueUtils/ApplyUpload.vue +303 -303
  68. package/src/main.js +27 -27
@@ -1,244 +1,244 @@
1
- <template>
2
- <style id="printChargeStyle">
3
- td {
4
- height: 30px;
5
- text-align: center;
6
- }
7
-
8
- table {
9
- margin: auto;
10
- width: 100%;
11
- border-collapse: collapse;
12
- border: 1px solid black;
13
- }
14
-
15
- h1, h2, h3, h4, h5, h6 {
16
- text-align: center;
17
- }
18
-
19
- .orgs {
20
- border-bottom: 2px solid;
21
- padding: 5px;
22
- }
23
-
24
- .date {
25
- float: left;
26
- padding-left: 10px;
27
- }
28
-
29
- .status {
30
- float: right;
31
- padding-right: 10px;
32
- }
33
-
34
- .seal {
35
- position: absolute;
36
- right: 100px;
37
- top: 120px;
38
- width: 150px;
39
- height: 150px;
40
- /*opacity: 0.5;*/
41
- z-index: -1;
42
- }
43
- </style>
44
- <div style="margin-bottom: 20px" class="form-group select-overspread">
45
- <label class="control-label-justify control-label col-sm-10">打印解款单</label>
46
- <div class="col-sm-2">
47
- <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute"
48
- @click="openModal()">打印预览
49
- </button>
50
- </div>
51
- </div>
52
- <modal v-if="showModal" :show.sync="showModal" title="打印预览" v-ref:modal large backdrop="false">
53
- <header slot="modal-header" class="modal-header">
54
- <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
55
- <h4 class="modal-title">打印预览</h4>
56
- </header>
57
- <article slot="modal-body" class="modal-body">
58
- <div id="printCharge">
59
- <h4>
60
- {{ orgs }}工料费解款单
61
- </h4>
62
- <table border="1" width="100%">
63
- <tr>
64
- <td style="width: 17%">工程编号:</td>
65
- <td colspan="2" style="border: none">
66
- {{ selectdata.f_apply_num }}
67
- </td>
68
- <td style="width: 17%">开单日期:</td>
69
- <td colspan="2" style="border: none">
70
- {{ new Date().Format('yyyy年MM月dd日') }}
71
- </td>
72
- </tr>
73
- <tr>
74
- <td style="width: 17%">用户姓名:</td>
75
- <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
76
- <td style="width: 17%">联系人:</td>
77
- <td colspan="2" style="width: 33%">{{ selectdata.f_contact }}</td>
78
- </tr>
79
- <tr>
80
- <td>用户地址:</td>
81
- <td colspan="5">{{ selectdata.f_address }}</td>
82
- </tr>
83
- <tr>
84
- <td>报装类型:</td>
85
- <td colspan="5">{{selectdata.f_apply_type}}</td>
86
- </tr>
87
- <tr>
88
- <td>金额:</td>
89
- <td colspan="2">{{ selectdata.f_due_money }}元</td>
90
- <td>金额大写:</td>
91
- <td colspan="2">{{ selectdata.f_amount_words }}</td>
92
- </tr>
93
- <tr>
94
- <td>收款单位:</td>
95
- <td colspan="2">榆林榆川天然气有限责任公司</td>
96
- <td>项目来源:</td>
97
- <td colspan="2">天然气工程材料费</td>
98
- </tr>
99
- <tr>
100
- <td>收款账号:</td>
101
- <td colspan="2">1033 0780 0589</td>
102
- <td>解款部门:</td>
103
- <td colspan="2">中国银行 榆林西沙支行</td>
104
- </tr>
105
- <tr>
106
- <td>改线原因:</td>
107
- <td colspan="5">{{ selectdata.f_cause}}</td>
108
- </tr>
109
- <tr>
110
- <td>注:</td>
111
- <td colspan="5" style="color: red">转账用户需榆林大道火车站对面恒丰新世纪一楼取确认收款单后来公司换取发票。</td>
112
- </tr>
113
- </table>
114
- </div>
115
- </article>
116
- <footer slot="modal-footer" class="modal-footer">
117
- <button type="button" class="btn btn-primary" @click="print()">打印</button>
118
- </footer>
119
- </modal>
120
-
121
- <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
122
- top='20' left='30' width='100%' height='100%'>
123
- </print-element>
124
- </template>
125
-
126
- <script>
127
- import {isEmpty} from '../../../../Util'
128
- import {HttpResetClass} from "vue-client";
129
-
130
- Date.prototype.Format = function (fmt) {
131
- var o = {
132
- 'M+': this.getMonth() + 1, // 月份
133
- 'd+': this.getDate(), // 日
134
- 'H+': this.getHours(), // 小时
135
- 'm+': this.getMinutes(), // 分
136
- 's+': this.getSeconds(), // 秒
137
- 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
138
- 'S': this.getMilliseconds() // 毫秒
139
- }
140
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
141
- for (var k in o)
142
- if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
143
- return fmt
144
- }
145
- export default {
146
- title: '打印解款单',
147
- props: ['selectdata'],
148
- data () {
149
- return {
150
- showModal: false,
151
- device: null
152
- }
153
- },
154
- ready () {
155
- this.getDevice(this.selectdata.f_process_id)
156
- },
157
- methods: {
158
- openModal () {
159
- if (this.selectdata.f_due_money >= 0 ) {
160
- this.smalltoBIG(this.selectdata.f_due_money)
161
- }
162
- this.showModal = true
163
- },
164
- colseModal () {
165
- this.showModal = false
166
- },
167
- print () {
168
- this.showInput = false
169
- setTimeout(() => {
170
- this.$refs.print.PrintTable()
171
- }, 10)
172
- },
173
- // 金额转大写
174
- smalltoBIG (n) {
175
- let fraction = ['角', '分']
176
- let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
177
- let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
178
- let head = n < 0 ? '欠' : ''
179
- n = Math.abs(n)
180
-
181
- let s = ''
182
-
183
- for (var i = 0; i < fraction.length; i++) {
184
- s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
185
- }
186
- s = s || '整'
187
- n = Math.floor(n)
188
-
189
- for (var i = 0; i < unit[0].length && n > 0; i++) {
190
- let p = ''
191
- for (var j = 0; j < unit[1].length && n > 0; j++) {
192
- p = digit[n % 10] + unit[1][j] + p
193
- n = Math.floor(n / 10)
194
- }
195
- s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
196
- }
197
- let result = head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
198
- console.log('当前大写', result)
199
- this.selectdata.f_amount_words = result
200
- },
201
- async getDevice (f_process_id) {
202
- let data = {
203
- f_process_id: f_process_id
204
- }
205
- let http = new HttpResetClass()
206
- let res = await http.load(
207
- 'POST',
208
- `rs/sql/getUserDevices`,
209
- {data: data},
210
- {resolveMsg: null, rejectMsg: null}
211
- )
212
- let device = ''
213
- for (let i = 0; i < res.data.length - 1 ; i++){
214
- if (res.data[i].f_devices_type === null){
215
- res.data[i].f_devices_type = '设备'
216
- }
217
- console.log("设备信77息",res.data[i].f_devices_type)
218
- device = device + res.data[i].f_devices_count + '个' + res.data[i].f_devices_type + ','
219
- }
220
- if (res.data.length > 0){
221
- device = device + res.data[res.data.length - 1].f_devices_count + '个' + res.data[res.data.length - 1].f_devices_type
222
- }
223
- if (device === ''){
224
- device = '无设备'
225
- }
226
- console.log("设备信息",device)
227
- this.device = device
228
- return device
229
- }
230
- },
231
- computed: {
232
- orgs () {
233
- return this.$login.f.f_fengongsi
234
- },
235
- src () {
236
- // return require(`./img/${this.$login.f.number}.png`)
237
- }
238
- }
239
- }
240
- </script>
241
-
242
- <style scoped>
243
-
244
- </style>
1
+ <template>
2
+ <style id="printChargeStyle">
3
+ td {
4
+ height: 30px;
5
+ text-align: center;
6
+ }
7
+
8
+ table {
9
+ margin: auto;
10
+ width: 100%;
11
+ border-collapse: collapse;
12
+ border: 1px solid black;
13
+ }
14
+
15
+ h1, h2, h3, h4, h5, h6 {
16
+ text-align: center;
17
+ }
18
+
19
+ .orgs {
20
+ border-bottom: 2px solid;
21
+ padding: 5px;
22
+ }
23
+
24
+ .date {
25
+ float: left;
26
+ padding-left: 10px;
27
+ }
28
+
29
+ .status {
30
+ float: right;
31
+ padding-right: 10px;
32
+ }
33
+
34
+ .seal {
35
+ position: absolute;
36
+ right: 100px;
37
+ top: 120px;
38
+ width: 150px;
39
+ height: 150px;
40
+ /*opacity: 0.5;*/
41
+ z-index: -1;
42
+ }
43
+ </style>
44
+ <div style="margin-bottom: 20px" class="form-group select-overspread">
45
+ <label class="control-label-justify control-label col-sm-10">打印解款单</label>
46
+ <div class="col-sm-2">
47
+ <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute"
48
+ @click="openModal()">打印预览
49
+ </button>
50
+ </div>
51
+ </div>
52
+ <modal v-if="showModal" :show.sync="showModal" title="打印预览" v-ref:modal large backdrop="false">
53
+ <header slot="modal-header" class="modal-header">
54
+ <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
55
+ <h4 class="modal-title">打印预览</h4>
56
+ </header>
57
+ <article slot="modal-body" class="modal-body">
58
+ <div id="printCharge">
59
+ <h4>
60
+ {{ orgs }}工料费解款单
61
+ </h4>
62
+ <table border="1" width="100%">
63
+ <tr>
64
+ <td style="width: 17%">工程编号:</td>
65
+ <td colspan="2" style="border: none">
66
+ {{ selectdata.f_apply_num }}
67
+ </td>
68
+ <td style="width: 17%">开单日期:</td>
69
+ <td colspan="2" style="border: none">
70
+ {{ new Date().Format('yyyy年MM月dd日') }}
71
+ </td>
72
+ </tr>
73
+ <tr>
74
+ <td style="width: 17%">用户姓名:</td>
75
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
76
+ <td style="width: 17%">联系人:</td>
77
+ <td colspan="2" style="width: 33%">{{ selectdata.f_contact }}</td>
78
+ </tr>
79
+ <tr>
80
+ <td>用户地址:</td>
81
+ <td colspan="5">{{ selectdata.f_address }}</td>
82
+ </tr>
83
+ <tr>
84
+ <td>报装类型:</td>
85
+ <td colspan="5">{{selectdata.f_apply_type}}</td>
86
+ </tr>
87
+ <tr>
88
+ <td>金额:</td>
89
+ <td colspan="2">{{ selectdata.f_due_money }}元</td>
90
+ <td>金额大写:</td>
91
+ <td colspan="2">{{ selectdata.f_amount_words }}</td>
92
+ </tr>
93
+ <tr>
94
+ <td>收款单位:</td>
95
+ <td colspan="2">榆林榆川天然气有限责任公司</td>
96
+ <td>项目来源:</td>
97
+ <td colspan="2">天然气工程材料费</td>
98
+ </tr>
99
+ <tr>
100
+ <td>收款账号:</td>
101
+ <td colspan="2">1033 0780 0589</td>
102
+ <td>解款部门:</td>
103
+ <td colspan="2">中国银行 榆林西沙支行</td>
104
+ </tr>
105
+ <tr>
106
+ <td>改线原因:</td>
107
+ <td colspan="5">{{ selectdata.f_cause}}</td>
108
+ </tr>
109
+ <tr>
110
+ <td>注:</td>
111
+ <td colspan="5" style="color: red">转账用户需榆林大道火车站对面恒丰新世纪一楼取确认收款单后来公司换取发票。</td>
112
+ </tr>
113
+ </table>
114
+ </div>
115
+ </article>
116
+ <footer slot="modal-footer" class="modal-footer">
117
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
118
+ </footer>
119
+ </modal>
120
+
121
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
122
+ top='20' left='30' width='100%' height='100%'>
123
+ </print-element>
124
+ </template>
125
+
126
+ <script>
127
+ import {isEmpty} from '../../../../Util'
128
+ import {HttpResetClass} from "vue-client";
129
+
130
+ Date.prototype.Format = function (fmt) {
131
+ var o = {
132
+ 'M+': this.getMonth() + 1, // 月份
133
+ 'd+': this.getDate(), // 日
134
+ 'H+': this.getHours(), // 小时
135
+ 'm+': this.getMinutes(), // 分
136
+ 's+': this.getSeconds(), // 秒
137
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
138
+ 'S': this.getMilliseconds() // 毫秒
139
+ }
140
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
141
+ for (var k in o)
142
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
143
+ return fmt
144
+ }
145
+ export default {
146
+ title: '打印解款单',
147
+ props: ['selectdata'],
148
+ data () {
149
+ return {
150
+ showModal: false,
151
+ device: null
152
+ }
153
+ },
154
+ ready () {
155
+ this.getDevice(this.selectdata.f_process_id)
156
+ },
157
+ methods: {
158
+ openModal () {
159
+ if (this.selectdata.f_due_money >= 0 ) {
160
+ this.smalltoBIG(this.selectdata.f_due_money)
161
+ }
162
+ this.showModal = true
163
+ },
164
+ colseModal () {
165
+ this.showModal = false
166
+ },
167
+ print () {
168
+ this.showInput = false
169
+ setTimeout(() => {
170
+ this.$refs.print.PrintTable()
171
+ }, 10)
172
+ },
173
+ // 金额转大写
174
+ smalltoBIG (n) {
175
+ let fraction = ['角', '分']
176
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
177
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
178
+ let head = n < 0 ? '欠' : ''
179
+ n = Math.abs(n)
180
+
181
+ let s = ''
182
+
183
+ for (var i = 0; i < fraction.length; i++) {
184
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
185
+ }
186
+ s = s || '整'
187
+ n = Math.floor(n)
188
+
189
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
190
+ let p = ''
191
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
192
+ p = digit[n % 10] + unit[1][j] + p
193
+ n = Math.floor(n / 10)
194
+ }
195
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
196
+ }
197
+ let result = head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
198
+ console.log('当前大写', result)
199
+ this.selectdata.f_amount_words = result
200
+ },
201
+ async getDevice (f_process_id) {
202
+ let data = {
203
+ f_process_id: f_process_id
204
+ }
205
+ let http = new HttpResetClass()
206
+ let res = await http.load(
207
+ 'POST',
208
+ `rs/sql/getUserDevices`,
209
+ {data: data},
210
+ {resolveMsg: null, rejectMsg: null}
211
+ )
212
+ let device = ''
213
+ for (let i = 0; i < res.data.length - 1 ; i++){
214
+ if (res.data[i].f_devices_type === null){
215
+ res.data[i].f_devices_type = '设备'
216
+ }
217
+ console.log("设备信77息",res.data[i].f_devices_type)
218
+ device = device + res.data[i].f_devices_count + '个' + res.data[i].f_devices_type + ','
219
+ }
220
+ if (res.data.length > 0){
221
+ device = device + res.data[res.data.length - 1].f_devices_count + '个' + res.data[res.data.length - 1].f_devices_type
222
+ }
223
+ if (device === ''){
224
+ device = '无设备'
225
+ }
226
+ console.log("设备信息",device)
227
+ this.device = device
228
+ return device
229
+ }
230
+ },
231
+ computed: {
232
+ orgs () {
233
+ return this.$login.f.f_fengongsi
234
+ },
235
+ src () {
236
+ // return require(`./img/${this.$login.f.number}.png`)
237
+ }
238
+ }
239
+ }
240
+ </script>
241
+
242
+ <style scoped>
243
+
244
+ </style>
@@ -368,7 +368,8 @@ export default {
368
368
  rejectMsg: '作废失败!!!'
369
369
  })
370
370
  this.selectdata = res.data
371
-
371
+ this.showInvalid=false
372
+ this.charge = {}
372
373
  this.$dispatch('breakControl', this.selectdata)
373
374
  },
374
375
  // 打开作废收费