apply-clients 3.4.50 → 3.4.52

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 (57) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/apply.js +113 -113
  4. package/src/applyAndroid.js +53 -53
  5. package/src/components/android/AppServiceView.vue +745 -745
  6. package/src/components/android/AppSign.vue +154 -154
  7. package/src/components/android/Process/AppExplorationUser.vue +507 -507
  8. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  9. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  10. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -482
  12. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  13. package/src/components/product/Business/BusinessApply.vue +269 -269
  14. package/src/components/product/Business/CivilApply.vue +269 -269
  15. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -253
  16. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -53
  17. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -376
  18. package/src/components/product/Material/MaterialDetailed.vue +262 -262
  19. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -360
  20. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -157
  21. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
  22. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
  23. package/src/components/product/Process/ExplorationSelect.vue +495 -495
  24. package/src/components/product/Process/ExplorationUser.vue +189 -189
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -610
  26. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -166
  27. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  28. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  29. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  30. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  31. package/src/components/product/Process/Service/ServiceControl.vue +26 -21
  32. package/src/components/product/ServiceView.vue +981 -981
  33. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  34. package/src/components/product/Supervisory/SupervisoryList.vue +404 -404
  35. package/src/components/product/VueUtils/ApplyUpload.vue +275 -280
  36. package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -483
  37. package/src/filiale/gehua/pc/ServiceControl.vue +1929 -1929
  38. package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -137
  39. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  40. package/src/filiale/gehua/pc/buildOrderList.vue +339 -0
  41. package/src/filiale/gehua/pc/printBuildOrder.vue +243 -0
  42. package/src/filiale/gehua/pc.js +3 -2
  43. package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -503
  44. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +470 -470
  45. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  46. package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -482
  47. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  48. package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -766
  49. package/src/filiale/guangxi/android.js +9 -9
  50. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  51. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +702 -702
  52. package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +538 -538
  53. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  54. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  55. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +482 -482
  56. package/src/filiale/guangxi/pc.js +15 -15
  57. package/src/main.js +23 -23
@@ -1,211 +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">备注</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>
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>