apply-clients 3.4.3 → 3.4.5

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 (79) hide show
  1. package/package.json +1 -1
  2. package/src/AndroidApp.vue +18 -18
  3. package/src/android.js +1 -1
  4. package/src/apply.js +39 -20
  5. package/src/applyAndroid.js +23 -9
  6. package/src/components/android/AppOnetomany.vue +47 -5
  7. package/src/components/android/AppServiceView.vue +745 -566
  8. package/src/components/android/AppSign.vue +154 -142
  9. package/src/components/android/AppTakePic.vue +11 -11
  10. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  11. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  12. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  13. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  14. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  15. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  16. package/src/components/android/Process/AppExplorationUser.vue +217 -37
  17. package/src/components/android/Process/AppServiceControl.vue +1708 -757
  18. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  19. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  20. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  21. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  22. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -456
  23. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  24. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  25. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  26. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  27. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -121
  28. package/src/components/common/TabButton.vue +149 -0
  29. package/src/components/common/Tabs.vue +67 -0
  30. package/src/components/image/dwg.jpg +0 -0
  31. package/src/components/image/txt.jpg +0 -0
  32. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  33. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  34. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  35. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  36. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  37. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  38. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  39. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  40. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  41. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  42. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  43. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  44. package/src/components/product/Function/InstallFunction.vue +3 -2
  45. package/src/components/product/Function/InstallInfoSelect.vue +41 -21
  46. package/src/components/product/Function/Service/FunctionServiceControl.vue +96 -71
  47. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  48. package/src/components/product/Install/InstallProject.vue +194 -0
  49. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  50. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  51. package/src/components/product/OldApply/OldApply.vue +209 -0
  52. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  53. package/src/components/product/Onetomany.vue +40 -11
  54. package/src/components/product/Process/ExplorationSelect.vue +495 -417
  55. package/src/components/product/Process/ExplorationUser.vue +145 -94
  56. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -592
  57. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -142
  58. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  59. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  60. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  61. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  62. package/src/components/product/Process/Processes/chargeManagement.vue +656 -638
  63. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  64. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  65. package/src/components/product/Process/Service/ServiceControl.vue +1709 -1081
  66. package/src/components/product/Process/ShowBackReason.vue +33 -0
  67. package/src/components/product/ServiceView.vue +981 -631
  68. package/src/components/product/Stop/StopApply.vue +26 -30
  69. package/src/components/product/Stop/StopApplyList.vue +27 -25
  70. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +732 -34
  71. package/src/components/product/Supervisory/SupervisoryControl.vue +38 -1
  72. package/src/components/product/Supervisory/SupervisoryList.vue +404 -233
  73. package/src/components/product/Supervisory/SupervisoryhCart.vue +51 -28
  74. package/src/components/product/VueUtils/ApplyUpload.vue +40 -38
  75. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  76. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  77. package/src/components/product/VueUtils/Tree.vue +330 -0
  78. package/src/expandcssAndroid.less +362 -879
  79. package/src/main.js +3 -0
@@ -1,207 +1,211 @@
1
- <template>
2
- <work-busy :is-busy="showWork" v-show="showWork"></work-busy>
3
-
4
- <div class="col-sm-12" style="margin: 20px 0px;">
5
- <criteria-paged :model="model" v-ref:cp>
6
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- </div>
9
- </criteria>
10
- <data-grid :model="model" v-ref:grid partial='list' class="list_area table_sy" style="padding: 0px">
11
- <template partial='head'>
12
- <tr>
13
- <th class="textNoLineBreak">序号</th>
14
- <th class="textNoLineBreak">区/县</th>
15
- <th class="textNoLineBreak">片区</th>
16
- <th class="textNoLineBreak">街道</th>
17
- <th class="textNoLineBreak">小区</th>
18
- <th class="textNoLineBreak">详细地址</th>
19
- <th class="textNoLineBreak">地址状态</th>
20
- <th class="textNoLineBreak">客户编号</th>
21
- <th class="textNoLineBreak">用户姓名</th>
22
- <th class="textNoLineBreak">电话</th>
23
- <th class="textNoLineBreak">证件类型</th>
24
- <th class="textNoLineBreak">证件号码</th>
25
- <th class="textNoLineBreak">时间</th>
26
- <th class="textNoLineBreak">
27
- <button type="button" class="btn btn-info head-but"
28
- :disabled="$parent.$parent.$parent.mark === 1"
29
- @click="$parent.$parent.$parent.showFileModal()">导入</button>
30
- <a type="button" class="btn btn-info head-but"
31
- href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
32
- </th>
33
- </tr>
34
- </template>
35
- <template partial='body'>
36
- <tr>
37
- <td style="text-align: center;">
38
- <nobr>{{$index+1}}</nobr>
39
- </td>
40
- <td style="text-align: center;">
41
- <nobr>{{row.f_pcd}}</nobr>
42
- </td>
43
- <td style="text-align: center;">
44
- <nobr>{{row.f_slice_area}}</nobr>
45
- </td>
46
- <td style="text-align: center;">
47
- <nobr>{{row.f_street}}</nobr>
48
- </td>
49
- <td style="text-align: center;">
50
- <nobr>{{row.f_residential_area}}</nobr>
51
- </td>
52
- <td style="text-align: center;">
53
- <nobr>{{row.f_address}}</nobr>
54
- </td>
55
- <td style="text-align: center;">
56
- <nobr>{{row.f_address_state}}</nobr>
57
- </td>
58
- <td style="text-align: center;">
59
- <nobr>{{row.f_userinfo_code}}</nobr>
60
- </td>
61
- <td style="text-align: center;">
62
- <nobr>{{row.f_user_name}}</nobr>
63
- </td>
64
- <td style="text-align: center;">
65
- <nobr>{{row.f_user_phone}}</nobr>
66
- </td>
67
- <td style="text-align: center;">
68
- <nobr>{{row.f_credentials}}</nobr>
69
- </td>
70
- <td style="text-align: center;">
71
- <nobr>{{row.f_idnumber}}</nobr>
72
- </td>
73
- <td style="text-align: center;">
74
- <nobr>{{row.f_create_date}}</nobr>
75
- </td>
76
- <td style="text-align: center;">
77
- <nobr>
78
-
79
- </nobr>
80
- </td>
81
- </tr>
82
- </template>
83
- </data-grid>
84
- </criteria-paged>
85
- </div>
86
- <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
87
- <header slot="modal-header" class="modal-header">
88
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
89
- <h4 class="modal-title">选择文件</h4>
90
- </header>
91
- <article slot="modal-body" class="modal-body">
92
- <div class="form-group">
93
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
94
- </div>
95
- </article>
96
- <footer slot="modal-footer" class="modal-footer"></footer>
97
- </modal>
98
- </template>
99
- <script>
100
- import {PagedList} from 'vue-client'
101
- import {HttpResetClass} from 'vue-client'
102
-
103
- export default {
104
- title: '地址管理',
105
- props: {
106
- selectdata: {
107
- type: Object
108
- },
109
- mark: {
110
- type: Number,
111
- default: 0 // 0:正常 1:禁用
112
- }
113
- },
114
- data () {
115
- return {
116
- showFile: false,
117
- model: new PagedList('rs/sql/getAddressAanUserinfo', 20, {
118
- data: {
119
- f_filialeid: this.$login.f.orgid,
120
- f_process_id: this.selectdata.f_process_id
121
- }
122
- }),
123
- showWork: false
124
- }
125
- },
126
- ready () {
127
- this.search()
128
- },
129
- methods: {
130
- showFileModal() {
131
- this.showFile = !this.showFile
132
- },
133
- async search () {
134
- this.$refs.cp.$refs.cri.search()
135
- },
136
- // 关闭文件上传对话框
137
- closeFile() {
138
- this.showWork = false
139
- this.showFile = false
140
- // 将选的文件清空
141
- this.$refs.file.$el.querySelector('input').value = ''
142
- this.search()
143
- }
144
- },
145
- events: {
146
- 'beforeFileUpload' (file) {
147
- this.showWork = true
148
- },
149
- async 'onFileUpload'(file, result) {
150
- let data = {
151
- selectdata: this.selectdata,
152
- filepath: result.f_downloadpath,
153
- user: this.$login.f,
154
- mark: this.mark
155
- }
156
-
157
- try {
158
- let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
159
- resolveMsg: null,
160
- rejectMsg: '导入失败!!!',
161
- silent: true
162
- }, 0)
163
- } catch (e) {
164
- // this.closeFile()
165
- } finally {
166
- this.closeFile()
167
- }
168
-
169
- }
170
- },
171
- computed: {
172
- },
173
- watch: {
174
- 'model.count': {
175
- handler: function () {
176
- if (this.model.count != this.selectdata.f_apply_count) {
177
- console.log(this.model.count)
178
- console.log(this.selectdata.f_apply_count)
179
- console.log(this.model.count !== this.selectdata.f_apply_count)
180
- this.selectdata.f_apply_count = this.model.count
181
-
182
- this.$resetpost(
183
- 'rs/entity/t_apply',
184
- this.selectdata,
185
- {resolveMsg: null, rejectMsg: '数据更新失败!!!'}
186
- ).then(res => {
187
- this.$dispatch('breakControl', this.selectdata)
188
- })
189
- }
190
- }
191
- }
192
- }
193
- }
194
- </script>
195
- <style scoped>
196
- .textNoLineBreak {
197
- white-space: nowrap;
198
- }
199
- .head-but{
200
- margin-left: 5px;
201
- height: 34px;
202
- /*background-color: #6aa6e2;*/
203
- border-radius: 4px;
204
- font-family: PingFang;
205
- color: #ffffff;
206
- }
207
- </style>
1
+ <template>
2
+ <work-busy :is-busy="showWork" v-show="showWork"></work-busy>
3
+
4
+ <div class="col-sm-12" style="margin: 20px 0px;">
5
+ <criteria-paged :model="model" v-ref:cp>
6
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ </div>
9
+ </criteria>
10
+ <data-grid :model="model" v-ref:grid partial='list' class="list_area table_sy" style="padding: 0px">
11
+ <template partial='head'>
12
+ <tr>
13
+ <th class="textNoLineBreak">序号</th>
14
+ <th class="textNoLineBreak">区/县</th>
15
+ <th class="textNoLineBreak">片区</th>
16
+ <th class="textNoLineBreak">街道</th>
17
+ <th class="textNoLineBreak">小区</th>
18
+ <th class="textNoLineBreak">详细地址</th>
19
+ <th class="textNoLineBreak">地址状态</th>
20
+ <th class="textNoLineBreak">客户编号</th>
21
+ <th class="textNoLineBreak">用户姓名</th>
22
+ <th class="textNoLineBreak">电话</th>
23
+ <th class="textNoLineBreak">证件类型</th>
24
+ <th class="textNoLineBreak">证件号码</th>
25
+ <th class="textNoLineBreak">时间</th>
26
+ <th class="textNoLineBreak">备注</th>
27
+ <th class="textNoLineBreak">
28
+ <button type="button" class="btn btn-info head-but"
29
+ :disabled="$parent.$parent.$parent.mark === 1"
30
+ @click="$parent.$parent.$parent.showFileModal()">导入</button>
31
+ <a type="button" class="btn btn-info head-but"
32
+ href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
33
+ </th>
34
+ </tr>
35
+ </template>
36
+ <template partial='body'>
37
+ <tr>
38
+ <td style="text-align: center;">
39
+ <nobr>{{$index+1}}</nobr>
40
+ </td>
41
+ <td style="text-align: center;">
42
+ <nobr>{{row.f_pcd}}</nobr>
43
+ </td>
44
+ <td style="text-align: center;">
45
+ <nobr>{{row.f_slice_area}}</nobr>
46
+ </td>
47
+ <td style="text-align: center;">
48
+ <nobr>{{row.f_street}}</nobr>
49
+ </td>
50
+ <td style="text-align: center;">
51
+ <nobr>{{row.f_residential_area}}</nobr>
52
+ </td>
53
+ <td style="text-align: center;">
54
+ <nobr>{{row.f_address}}</nobr>
55
+ </td>
56
+ <td style="text-align: center;">
57
+ <nobr>{{row.f_address_state}}</nobr>
58
+ </td>
59
+ <td style="text-align: center;">
60
+ <nobr>{{row.f_userinfo_code}}</nobr>
61
+ </td>
62
+ <td style="text-align: center;">
63
+ <nobr>{{row.f_user_name}}</nobr>
64
+ </td>
65
+ <td style="text-align: center;">
66
+ <nobr>{{row.f_user_phone}}</nobr>
67
+ </td>
68
+ <td style="text-align: center;">
69
+ <nobr>{{row.f_credentials}}</nobr>
70
+ </td>
71
+ <td style="text-align: center;">
72
+ <nobr>{{row.f_idnumber}}</nobr>
73
+ </td>
74
+ <td style="text-align: center;">
75
+ <nobr>{{row.f_create_date}}</nobr>
76
+ </td>
77
+ <td style="text-align: center;">
78
+ <nobr>{{row.f_userinfo_comments}}</nobr>
79
+ </td>
80
+ <td style="text-align: center;">
81
+ <nobr>
82
+
83
+ </nobr>
84
+ </td>
85
+ </tr>
86
+ </template>
87
+ </data-grid>
88
+ </criteria-paged>
89
+ </div>
90
+ <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
91
+ <header slot="modal-header" class="modal-header">
92
+ <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
93
+ <h4 class="modal-title">选择文件</h4>
94
+ </header>
95
+ <article slot="modal-body" class="modal-body">
96
+ <div class="form-group">
97
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
98
+ </div>
99
+ </article>
100
+ <footer slot="modal-footer" class="modal-footer"></footer>
101
+ </modal>
102
+ </template>
103
+ <script>
104
+ import {PagedList} from 'vue-client'
105
+ import {HttpResetClass} from 'vue-client'
106
+
107
+ export default {
108
+ title: '地址管理',
109
+ props: {
110
+ selectdata: {
111
+ type: Object
112
+ },
113
+ mark: {
114
+ type: Number,
115
+ default: 0 // 0:正常 1:禁用
116
+ }
117
+ },
118
+ data () {
119
+ return {
120
+ showFile: false,
121
+ model: new PagedList('rs/sql/getAddressAanUserinfo', 20, {
122
+ data: {
123
+ f_filialeid: this.$login.f.orgid,
124
+ f_process_id: this.selectdata.f_process_id
125
+ }
126
+ }),
127
+ showWork: false
128
+ }
129
+ },
130
+ ready () {
131
+ this.search()
132
+ },
133
+ methods: {
134
+ showFileModal() {
135
+ this.showFile = !this.showFile
136
+ },
137
+ async search () {
138
+ this.$refs.cp.$refs.cri.search()
139
+ },
140
+ // 关闭文件上传对话框
141
+ closeFile() {
142
+ this.showWork = false
143
+ this.showFile = false
144
+ // 将选的文件清空
145
+ this.$refs.file.$el.querySelector('input').value = ''
146
+ this.search()
147
+ }
148
+ },
149
+ events: {
150
+ 'beforeFileUpload' (file) {
151
+ this.showWork = true
152
+ },
153
+ async 'onFileUpload'(file, result) {
154
+ let data = {
155
+ selectdata: this.selectdata,
156
+ filepath: result.f_downloadpath,
157
+ user: this.$login.f,
158
+ mark: this.mark
159
+ }
160
+
161
+ try {
162
+ let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
163
+ resolveMsg: null,
164
+ rejectMsg: '导入失败!!!',
165
+ silent: true
166
+ }, 0)
167
+ } catch (e) {
168
+ // this.closeFile()
169
+ } finally {
170
+ this.closeFile()
171
+ }
172
+
173
+ }
174
+ },
175
+ computed: {
176
+ },
177
+ watch: {
178
+ 'model.count': {
179
+ handler: function () {
180
+ if (this.model.count != this.selectdata.f_apply_count) {
181
+ console.log(this.model.count)
182
+ console.log(this.selectdata.f_apply_count)
183
+ console.log(this.model.count !== this.selectdata.f_apply_count)
184
+ this.selectdata.f_apply_count = this.model.count
185
+
186
+ this.$resetpost(
187
+ 'rs/entity/t_apply',
188
+ this.selectdata,
189
+ {resolveMsg: null, rejectMsg: '数据更新失败!!!'}
190
+ ).then(res => {
191
+ this.$dispatch('breakControl', this.selectdata)
192
+ })
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ </script>
199
+ <style scoped>
200
+ .textNoLineBreak {
201
+ white-space: nowrap;
202
+ }
203
+ .head-but{
204
+ margin-left: 5px;
205
+ height: 34px;
206
+ /*background-color: #6aa6e2;*/
207
+ border-radius: 4px;
208
+ font-family: PingFang;
209
+ color: #ffffff;
210
+ }
211
+ </style>