apply-clients 3.4.1 → 3.4.2-FuGu-4

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 (83) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +85 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +51 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/dingding.html +23 -0
  19. package/index.html +33 -33
  20. package/package.json +2 -1
  21. package/src/AndroidApp.vue +35 -35
  22. package/src/DingDingApp.vue +51 -0
  23. package/src/android.js +21 -21
  24. package/src/apply.js +2 -8
  25. package/src/applyAndroid.js +2 -8
  26. package/src/applyDingDing.js +12 -0
  27. package/src/components/android/AppOnetomany.vue +301 -301
  28. package/src/components/android/AppServiceView.vue +566 -566
  29. package/src/components/android/AppSign.vue +142 -142
  30. package/src/components/android/AppTakePic.vue +143 -143
  31. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  32. package/src/components/android/Process/AppServiceControl.vue +757 -757
  33. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  36. package/src/components/android/TaskGraph.vue +125 -125
  37. package/src/components/build/Install/ExplorationUser.vue +304 -0
  38. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  39. package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +2 -2
  40. package/src/components/product/Function/InstallFunction.vue +131 -125
  41. package/src/components/product/Function/InstallInfoSelect.vue +300 -292
  42. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  43. package/src/components/product/Onetomany.vue +377 -377
  44. package/src/components/product/Process/ExplorationSelect.vue +11 -20
  45. package/src/components/product/Process/ExplorationUser.vue +138 -138
  46. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  47. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  48. package/src/components/product/Process/Processes/chargeManagement.vue +23 -28
  49. package/src/components/product/Process/Service/ServiceControl.vue +50 -63
  50. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  51. package/src/components/product/ServiceView.vue +631 -631
  52. package/src/components/product/Stop/StopApply.vue +105 -103
  53. package/src/components/product/Stop/StopApplyList.vue +269 -269
  54. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -186
  55. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  56. package/src/components/product/Supervisory/SupervisoryList.vue +233 -233
  57. package/src/components/product/Supervisory/SupervisoryhCart.vue +14 -11
  58. package/src/components/product/VueUtils/ApplyUpload.vue +3 -3
  59. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  60. package/src/dingding.js +20 -0
  61. package/src/expandcssAndroid.less +1034 -1034
  62. package/src/main.js +23 -23
  63. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  64. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  65. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  66. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  67. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  68. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  69. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  70. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  71. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
  72. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
  73. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
  74. package/src/filiale/yuchuan/android.js +0 -7
  75. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
  76. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
  77. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
  78. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
  79. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
  80. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
  81. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
  82. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
  83. package/src/filiale/yuchuan/pc.js +0 -11
@@ -1,207 +1,207 @@
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">
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>
@@ -140,7 +140,7 @@
140
140
  <div class="form-group col-sm-12" :class="[$v.f_charge_money.required ? 'has-error' : '']">
141
141
  <label class="col-sm-2 control-label">收费金额:</label>
142
142
  <div class="col-sm-10">
143
- <input type="number"
143
+ <input type="input"
144
144
  class="form-control input_view"
145
145
  style="width: 100%"
146
146
  placeholder="0.00"
@@ -477,7 +477,6 @@ export default {
477
477
  resolveMsg: null,
478
478
  rejectMsg: '缴费失败!!!'
479
479
  })
480
- this.selectdata = res.data
481
480
 
482
481
  this.$dispatch('breakControl', this.selectdata)
483
482
  },
@@ -548,37 +547,33 @@ export default {
548
547
  },
549
548
  async getUserAddress() {
550
549
  let http = new HttpResetClass()
551
- let data = {}
552
- let url = null
553
- if (this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建') {
554
- data = {
555
- condition: `ui.f_userinfo_id = ${this.selectdata.f_userinfo_id}`
556
- }
557
- url = 'rs/sql/applyGetUserinfos'
558
- } else {
559
- data = {
560
- condition: this.selectdata.f_apply_type === '散户集体报建' ? `nvl(cr.f_cumulative_payment_money, 0) < ${this.selectdata.f_price}` : '1=1',
561
- f_process_id: this.selectdata.f_process_id
562
- }
563
- url = 'rs/sql/getAddresAndCumulativePayment'
550
+ let data = {
551
+ condition: '1=1',
552
+ f_process_id: this.selectdata.f_process_id
564
553
  }
565
- let res = await http.load('POST', url, {data:data}, {
554
+ let res = await http.load('POST', 'rs/sql/getAddresAndCumulativePayment', {data: data}, {
566
555
  resolveMsg: null,
567
- rejectMsg: '用户获取失败!!!'
556
+ rejectMsg: null
568
557
  })
569
558
 
570
- if (res.data.length <= 0) {
571
- this.$showAlert('暂无需要缴费用户!!!', 'warning', 3000)
572
- }
573
-
574
- this.useraddresList = res.data.map(item => {
575
- return {
576
- // 有用户姓名地址后拼接姓名
577
- label: `${item.f_address} ${isEmpty(item.f_user_name) ? '' : '--- ' + item.f_user_name}`,
578
- value: item
579
- }
580
- })
559
+ this.useraddressList = res.data
560
+ // if (this.selectdata.f_apply_type === '居民集体报建') {
561
+ // // 去除累计缴费金额大于等于单价的用户地址
562
+ // this.useraddressList = res.data.filter(item => {
563
+ // let f_cumulative_payment_money = isEmpty(item.f_cumulative_payment_money) ? 0 : item.f_cumulative_payment_money
564
+ // return Number(f_cumulative_payment_money) < Number(isEmpty(this.selectdata.f_price) ? 0 : this.selectdata.f_price)
565
+ // })
566
+ // }
581
567
 
568
+ if (this.useraddressList.length > 0) {
569
+ this.useraddressList = this.useraddressList.map(item => {
570
+ return {
571
+ // 有用户姓名地址后拼接姓名
572
+ label: `${item.f_address} ${isEmpty(item.f_user_name) ? '' : '--- ' + item.f_user_name}`,
573
+ value: item
574
+ }
575
+ })
576
+ }
582
577
  },
583
578
  async showChargeModal() {
584
579
  this.getUserAddress()