apply-clients 3.5.6-21 → 3.5.6-23

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 (56) hide show
  1. package/build/dev-server.js +5 -5
  2. package/package.json +1 -1
  3. package/src/components/android/Process/AppServiceControl.vue +1760 -1760
  4. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  5. package/src/components/product/Install/ContractCharge.vue +210 -210
  6. package/src/filiale/dingcheng/android/AppInstallationDetails.vue +477 -477
  7. package/src/filiale/dingcheng/pc/InstallationDetails.vue +607 -607
  8. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  9. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -512
  10. package/src/filiale/fugou/android/AppDevicesManagement.vue +516 -516
  11. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  12. package/src/filiale/fugou/android/AppZhihuanManagement.vue +242 -242
  13. package/src/filiale/fugou/pc/AddReplacement.vue +511 -511
  14. package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -554
  15. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -754
  16. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  17. package/src/filiale/fugou/pc/ServiceControl.vue +1741 -1741
  18. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  19. package/src/filiale/fugou/pc.js +19 -19
  20. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -187
  21. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  22. package/src/filiale/gongyi/pc.js +25 -25
  23. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  24. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -635
  25. package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -1842
  26. package/src/filiale/jinhuang/android.js +7 -7
  27. package/src/filiale/jinhuang/pc/Applybatchdispatch.vue +770 -770
  28. package/src/filiale/jinhuang/pc/ContractList.vue +222 -222
  29. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -511
  30. package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
  31. package/src/filiale/jinhuang/pc/SupervisoryList.vue +478 -478
  32. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -638
  33. package/src/filiale/jinhuang/pc.js +13 -13
  34. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -786
  35. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1387
  36. package/src/filiale/ruihua/pc/ServiceControl.vue +1973 -1973
  37. package/src/filiale/shexian/android/AppServiceControl.vue +1786 -1786
  38. package/src/filiale/shexian/android/AppSign.vue +152 -152
  39. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  40. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +222 -222
  41. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1144 -1144
  42. package/src/filiale/yangchunboneng/android/AppOtherChargeList.vue +281 -281
  43. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1883 -1883
  44. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +179 -176
  45. package/src/filiale/yangchunboneng/android.js +22 -22
  46. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  47. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +622 -622
  48. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +400 -400
  49. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2118 -2118
  50. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -141
  51. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +652 -644
  52. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -421
  53. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1060 -1060
  54. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
  55. package/src/filiale/yangchunboneng/pc.js +29 -29
  56. package/src/main.js +3 -3
@@ -1,19 +1,19 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
- 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
6
- 'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
7
- 'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
8
- 'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
9
- 'apply-replacement': (resolve) => { require(['./pc/AddReplacement'], resolve) },
10
- 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
11
- 'apply-charge-report': (resolve) => { require(['./pc/chargeReport'], resolve) },
12
- 'service-view': (resolve) => { require(['./pc/serviceview'], resolve) },
13
- 'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
14
- 'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) },
15
- 'stop-apply-list': (resolve) => { require(['./pc/StopApplyList'], resolve) },
16
- 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
17
- 'apply-batch-dispatch': (resolve) => { require(['./pc/Applybatchdispatch'], resolve) }
18
- }
19
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
+ 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
6
+ 'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
7
+ 'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
8
+ 'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
9
+ 'apply-replacement': (resolve) => { require(['./pc/AddReplacement'], resolve) },
10
+ 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
11
+ 'apply-charge-report': (resolve) => { require(['./pc/chargeReport'], resolve) },
12
+ 'service-view': (resolve) => { require(['./pc/serviceview'], resolve) },
13
+ 'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
14
+ 'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) },
15
+ 'stop-apply-list': (resolve) => { require(['./pc/StopApplyList'], resolve) },
16
+ 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
17
+ 'apply-batch-dispatch': (resolve) => { require(['./pc/Applybatchdispatch'], resolve) }
18
+ }
19
+ exports.specialComp = specialComp
@@ -1,187 +1,187 @@
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">
24
- <button type="button" class="btn btn-info head-but"
25
- :disabled="$parent.$parent.$parent.mark === 1"
26
- @click="$parent.$parent.$parent.showFileModal()">导入</button>
27
- <a type="button" class="btn btn-info head-but"
28
- href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
29
- </th>
30
- </tr>
31
- </template>
32
- <template partial='body'>
33
- <tr>
34
- <td style="text-align: center;">
35
- <nobr>{{$index+1}}</nobr>
36
- </td>
37
- <td style="text-align: center;">
38
- <nobr>{{row.f_pcd}}</nobr>
39
- </td>
40
- <td style="text-align: center;">
41
- <nobr>{{row.f_slice_area}}</nobr>
42
- </td>
43
- <td style="text-align: center;">
44
- <nobr>{{row.f_street}}</nobr>
45
- </td>
46
- <td style="text-align: center;">
47
- <nobr>{{row.f_residential_area}}</nobr>
48
- </td>
49
- <td style="text-align: center;">
50
- <nobr>{{row.f_address}}</nobr>
51
- </td>
52
- <td style="text-align: center;">
53
- <nobr>{{row.f_address_state}}</nobr>
54
- </td>
55
- <td style="text-align: center;">
56
- <nobr>{{row.f_userinfo_code}}</nobr>
57
- </td>
58
- <td style="text-align: center;">
59
- <nobr>{{row.f_create_date}}</nobr>
60
- </td>
61
- <td style="text-align: center;">
62
- <nobr>{{row.f_userinfo_comments}}</nobr>
63
- </td>
64
- <td style="text-align: center;">
65
- <nobr>
66
-
67
- </nobr>
68
- </td>
69
- </tr>
70
- </template>
71
- </data-grid>
72
- </criteria-paged>
73
- </div>
74
- <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
75
- <header slot="modal-header" class="modal-header">
76
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
77
- <h4 class="modal-title">选择文件</h4>
78
- </header>
79
- <article slot="modal-body" class="modal-body">
80
- <div class="form-group">
81
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
82
- </div>
83
- </article>
84
- <footer slot="modal-footer" class="modal-footer"></footer>
85
- </modal>
86
- </template>
87
- <script>
88
- import {PagedList} from 'vue-client'
89
- import {HttpResetClass} from 'vue-client'
90
-
91
- export default {
92
- title: '地址管理',
93
- props: {
94
- selectdata: {
95
- type: Object
96
- },
97
- mark: {
98
- type: Number,
99
- default: 0 // 0:正常 1:禁用
100
- }
101
- },
102
- data () {
103
- return {
104
- showFile: false,
105
- model: new PagedList('rs/sql/getAddressAanUserinfo', 20, {
106
- data: {
107
- f_filialeid: this.$login.f.orgid,
108
- f_process_id: this.selectdata.f_process_id
109
- }
110
- }),
111
- showWork: false
112
- }
113
- },
114
- ready () {
115
- this.search()
116
- },
117
- methods: {
118
- showFileModal() {
119
- this.showFile = !this.showFile
120
- },
121
- async search () {
122
- this.$refs.cp.$refs.cri.search()
123
- },
124
- // 关闭文件上传对话框
125
- closeFile() {
126
- this.showWork = false
127
- this.showFile = false
128
- // 将选的文件清空
129
- this.$refs.file.$el.querySelector('input').value = ''
130
- this.search()
131
- }
132
- },
133
- events: {
134
- 'beforeFileUpload' (file) {
135
- this.showWork = true
136
- },
137
- async 'onFileUpload'(file, result) {
138
- let data = {
139
- selectdata: this.selectdata,
140
- filepath: result.f_downloadpath,
141
- user: this.$login.f,
142
- mark: this.mark
143
- }
144
-
145
- try {
146
- let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
147
- resolveMsg: null,
148
- rejectMsg: '导入失败!!!',
149
- silent: true
150
- }, 0)
151
- } catch (e) {
152
- // this.closeFile()
153
- } finally {
154
- this.closeFile()
155
- }
156
-
157
- }
158
- },
159
- computed: {
160
- },
161
- watch: {
162
- 'model.count': {
163
- handler: function () {
164
- if (this.model.count != this.selectdata.f_apply_count) {
165
- console.log(this.model.count)
166
- console.log(this.selectdata.f_apply_count)
167
- console.log(this.model.count !== this.selectdata.f_apply_count)
168
- this.selectdata.f_apply_count = this.model.count
169
- }
170
- }
171
- }
172
- }
173
- }
174
- </script>
175
- <style scoped>
176
- .textNoLineBreak {
177
- white-space: nowrap;
178
- }
179
- .head-but{
180
- margin-left: 5px;
181
- height: 34px;
182
- /*background-color: #6aa6e2;*/
183
- border-radius: 4px;
184
- font-family: PingFang;
185
- color: #ffffff;
186
- }
187
- </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">
24
+ <button type="button" class="btn btn-info head-but"
25
+ :disabled="$parent.$parent.$parent.mark === 1"
26
+ @click="$parent.$parent.$parent.showFileModal()">导入</button>
27
+ <a type="button" class="btn btn-info head-but"
28
+ href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
29
+ </th>
30
+ </tr>
31
+ </template>
32
+ <template partial='body'>
33
+ <tr>
34
+ <td style="text-align: center;">
35
+ <nobr>{{$index+1}}</nobr>
36
+ </td>
37
+ <td style="text-align: center;">
38
+ <nobr>{{row.f_pcd}}</nobr>
39
+ </td>
40
+ <td style="text-align: center;">
41
+ <nobr>{{row.f_slice_area}}</nobr>
42
+ </td>
43
+ <td style="text-align: center;">
44
+ <nobr>{{row.f_street}}</nobr>
45
+ </td>
46
+ <td style="text-align: center;">
47
+ <nobr>{{row.f_residential_area}}</nobr>
48
+ </td>
49
+ <td style="text-align: center;">
50
+ <nobr>{{row.f_address}}</nobr>
51
+ </td>
52
+ <td style="text-align: center;">
53
+ <nobr>{{row.f_address_state}}</nobr>
54
+ </td>
55
+ <td style="text-align: center;">
56
+ <nobr>{{row.f_userinfo_code}}</nobr>
57
+ </td>
58
+ <td style="text-align: center;">
59
+ <nobr>{{row.f_create_date}}</nobr>
60
+ </td>
61
+ <td style="text-align: center;">
62
+ <nobr>{{row.f_userinfo_comments}}</nobr>
63
+ </td>
64
+ <td style="text-align: center;">
65
+ <nobr>
66
+
67
+ </nobr>
68
+ </td>
69
+ </tr>
70
+ </template>
71
+ </data-grid>
72
+ </criteria-paged>
73
+ </div>
74
+ <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
75
+ <header slot="modal-header" class="modal-header">
76
+ <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
77
+ <h4 class="modal-title">选择文件</h4>
78
+ </header>
79
+ <article slot="modal-body" class="modal-body">
80
+ <div class="form-group">
81
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
82
+ </div>
83
+ </article>
84
+ <footer slot="modal-footer" class="modal-footer"></footer>
85
+ </modal>
86
+ </template>
87
+ <script>
88
+ import {PagedList} from 'vue-client'
89
+ import {HttpResetClass} from 'vue-client'
90
+
91
+ export default {
92
+ title: '地址管理',
93
+ props: {
94
+ selectdata: {
95
+ type: Object
96
+ },
97
+ mark: {
98
+ type: Number,
99
+ default: 0 // 0:正常 1:禁用
100
+ }
101
+ },
102
+ data () {
103
+ return {
104
+ showFile: false,
105
+ model: new PagedList('rs/sql/getAddressAanUserinfo', 20, {
106
+ data: {
107
+ f_filialeid: this.$login.f.orgid,
108
+ f_process_id: this.selectdata.f_process_id
109
+ }
110
+ }),
111
+ showWork: false
112
+ }
113
+ },
114
+ ready () {
115
+ this.search()
116
+ },
117
+ methods: {
118
+ showFileModal() {
119
+ this.showFile = !this.showFile
120
+ },
121
+ async search () {
122
+ this.$refs.cp.$refs.cri.search()
123
+ },
124
+ // 关闭文件上传对话框
125
+ closeFile() {
126
+ this.showWork = false
127
+ this.showFile = false
128
+ // 将选的文件清空
129
+ this.$refs.file.$el.querySelector('input').value = ''
130
+ this.search()
131
+ }
132
+ },
133
+ events: {
134
+ 'beforeFileUpload' (file) {
135
+ this.showWork = true
136
+ },
137
+ async 'onFileUpload'(file, result) {
138
+ let data = {
139
+ selectdata: this.selectdata,
140
+ filepath: result.f_downloadpath,
141
+ user: this.$login.f,
142
+ mark: this.mark
143
+ }
144
+
145
+ try {
146
+ let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
147
+ resolveMsg: null,
148
+ rejectMsg: '导入失败!!!',
149
+ silent: true
150
+ }, 0)
151
+ } catch (e) {
152
+ // this.closeFile()
153
+ } finally {
154
+ this.closeFile()
155
+ }
156
+
157
+ }
158
+ },
159
+ computed: {
160
+ },
161
+ watch: {
162
+ 'model.count': {
163
+ handler: function () {
164
+ if (this.model.count != this.selectdata.f_apply_count) {
165
+ console.log(this.model.count)
166
+ console.log(this.selectdata.f_apply_count)
167
+ console.log(this.model.count !== this.selectdata.f_apply_count)
168
+ this.selectdata.f_apply_count = this.model.count
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+ </script>
175
+ <style scoped>
176
+ .textNoLineBreak {
177
+ white-space: nowrap;
178
+ }
179
+ .head-but{
180
+ margin-left: 5px;
181
+ height: 34px;
182
+ /*background-color: #6aa6e2;*/
183
+ border-radius: 4px;
184
+ font-family: PingFang;
185
+ color: #ffffff;
186
+ }
187
+ </style>