apply-clients 3.5.4-95 → 3.5.4-96

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 (52) hide show
  1. package/build/dev-server.js +11 -6
  2. package/package.json +1 -1
  3. package/src/apply.js +139 -139
  4. package/src/components/android/AppCheckTakePic.vue +168 -168
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/PcZhihuanManagement.vue +160 -160
  9. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  10. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  11. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  12. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  13. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  14. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  15. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  16. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  17. package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
  18. package/src/filiale/fugou/android/AppZhihuanManagement.vue +230 -230
  19. package/src/filiale/fugou/android/printCharge.vue +162 -162
  20. package/src/filiale/fugou/android.js +16 -16
  21. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  22. package/src/filiale/fugou/pc/ApplyChargeList.vue +480 -480
  23. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  24. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  25. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  26. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  27. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  28. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  29. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  30. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  31. package/src/filiale/fugou/pc.js +16 -16
  32. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  33. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  34. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  35. package/src/filiale/qianneng/android.js +15 -15
  36. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  37. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  38. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  39. package/src/filiale/qianneng/pc.js +29 -29
  40. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  41. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  42. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1703
  43. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  44. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  45. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  46. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  47. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  48. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  49. package/src/main.js +4 -3
  50. package/src/test/SessionTestServlet.java +0 -69
  51. package/webapp/WEB-INF/web.xml +0 -52
  52. package/webapp/session-test.jsp +0 -59
@@ -1,216 +1,216 @@
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">操作</th>
28
- <th class="textNoLineBreak">
29
- <button type="button" class="btn btn-info head-but"
30
- :disabled="$parent.$parent.$parent.mark === 1"
31
- @click="$parent.$parent.$parent.showFileModal()">导入</button>
32
- <a type="button" class="btn btn-info head-but"
33
- href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
34
- </th>
35
- </tr>
36
- </template>
37
- <template partial='body'>
38
- <tr>
39
- <td style="text-align: center;">
40
- <nobr>{{$index+1}}</nobr>
41
- </td>
42
- <td style="text-align: center;">
43
- <nobr>{{row.f_pcd}}</nobr>
44
- </td>
45
- <td style="text-align: center;">
46
- <nobr>{{row.f_slice_area}}</nobr>
47
- </td>
48
- <td style="text-align: center;">
49
- <nobr>{{row.f_street}}</nobr>
50
- </td>
51
- <td style="text-align: center;">
52
- <nobr>{{row.f_residential_area}}</nobr>
53
- </td>
54
- <td style="text-align: center;">
55
- <nobr>{{row.f_address}}</nobr>
56
- </td>
57
- <td style="text-align: center;">
58
- <nobr>{{row.f_address_state}}</nobr>
59
- </td>
60
- <td style="text-align: center;">
61
- <nobr>{{row.f_userinfo_code}}</nobr>
62
- </td>
63
- <td style="text-align: center;">
64
- <nobr>{{row.f_user_name}}</nobr>
65
- </td>
66
- <td style="text-align: center;">
67
- <nobr>{{row.f_user_phone}}</nobr>
68
- </td>
69
- <td style="text-align: center;">
70
- <nobr>{{row.f_credentials}}</nobr>
71
- </td>
72
- <td style="text-align: center;">
73
- <nobr>{{row.f_idnumber}}</nobr>
74
- </td>
75
- <td style="text-align: center;">
76
- <nobr>{{row.f_create_date}}</nobr>
77
- </td>
78
- <td style="text-align: center;">
79
- <nobr>{{row.f_userinfo_comments}}</nobr>
80
- </td>
81
- <td style="text-align: center;">
82
- <nobr>
83
- <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.zuofei(row)">作废</button>
84
- </nobr>
85
- </td>
86
- </tr>
87
- </template>
88
- </data-grid>
89
- </criteria-paged>
90
- </div>
91
- <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
92
- <header slot="modal-header" class="modal-header">
93
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
94
- <h4 class="modal-title">选择文件</h4>
95
- </header>
96
- <article slot="modal-body" class="modal-body">
97
- <div class="form-group">
98
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
99
- </div>
100
- </article>
101
- <footer slot="modal-footer" class="modal-footer"></footer>
102
- </modal>
103
- </template>
104
- <script>
105
- import {PagedList} from 'vue-client'
106
- import {HttpResetClass} from 'vue-client'
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
- async zuofei(row) {
135
- this.$showMessage('作废后不可恢复,确认作废吗?', ['confirm', 'cancel']).then(async (res) => {
136
- if (res === 'confirm') {
137
- let http = new HttpResetClass()
138
- let sql = `update t_userinfo set f_user_state= '销户' where f_userinfo_id= '${row.f_userinfo_id}'`
139
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/runSQL`, {data: {sql: sql}}, {
140
- resolveMsg: null,
141
- rejectMsg: '作废失败!!!'
142
- })
143
- await this.search()
144
- }
145
- })
146
- },
147
- showFileModal() {
148
- this.showFile = !this.showFile
149
- },
150
- async search () {
151
- this.$refs.cp.$refs.cri.search()
152
- },
153
- // 关闭文件上传对话框
154
- closeFile() {
155
- this.showWork = false
156
- this.showFile = false
157
- // 将选的文件清空
158
- this.$refs.file.$el.querySelector('input').value = ''
159
- this.search()
160
- }
161
- },
162
- events: {
163
- 'beforeFileUpload' (file) {
164
- this.showWork = true
165
- },
166
- async 'onFileUpload'(file, result) {
167
- let data = {
168
- selectdata: this.selectdata,
169
- filepath: result.f_downloadpath,
170
- user: this.$login.f,
171
- mark: this.mark
172
- }
173
-
174
- try {
175
- let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
176
- resolveMsg: null,
177
- rejectMsg: '导入失败!!!',
178
- silent: true
179
- }, 0)
180
- } catch (e) {
181
- // this.closeFile()
182
- } finally {
183
- this.closeFile()
184
- }
185
-
186
- }
187
- },
188
- computed: {
189
- },
190
- watch: {
191
- 'model.count': {
192
- handler: function () {
193
- if (this.model.count != this.selectdata.f_apply_count) {
194
- console.log(this.model.count)
195
- console.log(this.selectdata.f_apply_count)
196
- console.log(this.model.count !== this.selectdata.f_apply_count)
197
- this.selectdata.f_apply_count = this.model.count
198
- }
199
- }
200
- }
201
- }
202
- }
203
- </script>
204
- <style scoped>
205
- .textNoLineBreak {
206
- white-space: nowrap;
207
- }
208
- .head-but{
209
- margin-left: 5px;
210
- height: 34px;
211
- /*background-color: #6aa6e2;*/
212
- border-radius: 4px;
213
- font-family: PingFang;
214
- color: #ffffff;
215
- }
216
- </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">操作</th>
28
+ <th class="textNoLineBreak">
29
+ <button type="button" class="btn btn-info head-but"
30
+ :disabled="$parent.$parent.$parent.mark === 1"
31
+ @click="$parent.$parent.$parent.showFileModal()">导入</button>
32
+ <a type="button" class="btn btn-info head-but"
33
+ href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
34
+ </th>
35
+ </tr>
36
+ </template>
37
+ <template partial='body'>
38
+ <tr>
39
+ <td style="text-align: center;">
40
+ <nobr>{{$index+1}}</nobr>
41
+ </td>
42
+ <td style="text-align: center;">
43
+ <nobr>{{row.f_pcd}}</nobr>
44
+ </td>
45
+ <td style="text-align: center;">
46
+ <nobr>{{row.f_slice_area}}</nobr>
47
+ </td>
48
+ <td style="text-align: center;">
49
+ <nobr>{{row.f_street}}</nobr>
50
+ </td>
51
+ <td style="text-align: center;">
52
+ <nobr>{{row.f_residential_area}}</nobr>
53
+ </td>
54
+ <td style="text-align: center;">
55
+ <nobr>{{row.f_address}}</nobr>
56
+ </td>
57
+ <td style="text-align: center;">
58
+ <nobr>{{row.f_address_state}}</nobr>
59
+ </td>
60
+ <td style="text-align: center;">
61
+ <nobr>{{row.f_userinfo_code}}</nobr>
62
+ </td>
63
+ <td style="text-align: center;">
64
+ <nobr>{{row.f_user_name}}</nobr>
65
+ </td>
66
+ <td style="text-align: center;">
67
+ <nobr>{{row.f_user_phone}}</nobr>
68
+ </td>
69
+ <td style="text-align: center;">
70
+ <nobr>{{row.f_credentials}}</nobr>
71
+ </td>
72
+ <td style="text-align: center;">
73
+ <nobr>{{row.f_idnumber}}</nobr>
74
+ </td>
75
+ <td style="text-align: center;">
76
+ <nobr>{{row.f_create_date}}</nobr>
77
+ </td>
78
+ <td style="text-align: center;">
79
+ <nobr>{{row.f_userinfo_comments}}</nobr>
80
+ </td>
81
+ <td style="text-align: center;">
82
+ <nobr>
83
+ <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.zuofei(row)">作废</button>
84
+ </nobr>
85
+ </td>
86
+ </tr>
87
+ </template>
88
+ </data-grid>
89
+ </criteria-paged>
90
+ </div>
91
+ <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
92
+ <header slot="modal-header" class="modal-header">
93
+ <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
94
+ <h4 class="modal-title">选择文件</h4>
95
+ </header>
96
+ <article slot="modal-body" class="modal-body">
97
+ <div class="form-group">
98
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
99
+ </div>
100
+ </article>
101
+ <footer slot="modal-footer" class="modal-footer"></footer>
102
+ </modal>
103
+ </template>
104
+ <script>
105
+ import {PagedList} from 'vue-client'
106
+ import {HttpResetClass} from 'vue-client'
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
+ async zuofei(row) {
135
+ this.$showMessage('作废后不可恢复,确认作废吗?', ['confirm', 'cancel']).then(async (res) => {
136
+ if (res === 'confirm') {
137
+ let http = new HttpResetClass()
138
+ let sql = `update t_userinfo set f_user_state= '销户' where f_userinfo_id= '${row.f_userinfo_id}'`
139
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/runSQL`, {data: {sql: sql}}, {
140
+ resolveMsg: null,
141
+ rejectMsg: '作废失败!!!'
142
+ })
143
+ await this.search()
144
+ }
145
+ })
146
+ },
147
+ showFileModal() {
148
+ this.showFile = !this.showFile
149
+ },
150
+ async search () {
151
+ this.$refs.cp.$refs.cri.search()
152
+ },
153
+ // 关闭文件上传对话框
154
+ closeFile() {
155
+ this.showWork = false
156
+ this.showFile = false
157
+ // 将选的文件清空
158
+ this.$refs.file.$el.querySelector('input').value = ''
159
+ this.search()
160
+ }
161
+ },
162
+ events: {
163
+ 'beforeFileUpload' (file) {
164
+ this.showWork = true
165
+ },
166
+ async 'onFileUpload'(file, result) {
167
+ let data = {
168
+ selectdata: this.selectdata,
169
+ filepath: result.f_downloadpath,
170
+ user: this.$login.f,
171
+ mark: this.mark
172
+ }
173
+
174
+ try {
175
+ let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
176
+ resolveMsg: null,
177
+ rejectMsg: '导入失败!!!',
178
+ silent: true
179
+ }, 0)
180
+ } catch (e) {
181
+ // this.closeFile()
182
+ } finally {
183
+ this.closeFile()
184
+ }
185
+
186
+ }
187
+ },
188
+ computed: {
189
+ },
190
+ watch: {
191
+ 'model.count': {
192
+ handler: function () {
193
+ if (this.model.count != this.selectdata.f_apply_count) {
194
+ console.log(this.model.count)
195
+ console.log(this.selectdata.f_apply_count)
196
+ console.log(this.model.count !== this.selectdata.f_apply_count)
197
+ this.selectdata.f_apply_count = this.model.count
198
+ }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ </script>
204
+ <style scoped>
205
+ .textNoLineBreak {
206
+ white-space: nowrap;
207
+ }
208
+ .head-but{
209
+ margin-left: 5px;
210
+ height: 34px;
211
+ /*background-color: #6aa6e2;*/
212
+ border-radius: 4px;
213
+ font-family: PingFang;
214
+ color: #ffffff;
215
+ }
216
+ </style>