apply-clients 3.5.5-9 → 3.5.5-90

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 (81) hide show
  1. package/build/dev-server.js +7 -6
  2. package/package.json +6 -4
  3. package/src/App.vue +25 -25
  4. package/src/components/QXClient.js +333 -0
  5. package/src/components/SignTools.js +65 -0
  6. package/src/components/android/AppCheckTakePic.vue +168 -168
  7. package/src/components/android/Process/AppChargeList.vue +8 -0
  8. package/src/components/android/Process/AppExplorationUser.vue +1 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  10. package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
  11. package/src/components/product/Install/ContractCharge.vue +210 -210
  12. package/src/components/product/PcZhihuanManagement.vue +160 -160
  13. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  14. package/src/components/product/Process/Processes/contractModel.vue +49 -37
  15. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  16. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  17. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  18. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  19. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  20. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  21. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  22. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  23. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  24. package/src/filiale/fugou/android/AppServiceControl.vue +75 -17
  25. package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
  26. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  27. package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
  28. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  29. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  30. package/src/filiale/fugou/pc/InstallationDetails.vue +1 -1
  31. package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
  32. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  33. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  34. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  35. package/src/filiale/fugou/pc/chargeReport.vue +215 -143
  36. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  37. package/src/filiale/fugou/pc.js +3 -1
  38. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
  39. package/src/filiale/gongyi/pc.js +25 -24
  40. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  41. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  42. package/src/filiale/jinhuang/android.js +6 -0
  43. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  44. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
  45. package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
  46. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  47. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  48. package/src/filiale/jinhuang/pc.js +3 -0
  49. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  50. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  51. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -769
  52. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  53. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  54. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1382
  55. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  56. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
  57. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +210 -210
  58. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  59. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  60. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  61. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
  62. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  63. package/src/filiale/yangchunboneng/android.js +21 -20
  64. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  65. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  66. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
  68. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  69. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  70. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
  71. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  72. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  73. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
  74. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  75. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  76. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  77. package/src/filiale/yangchunboneng/pc.js +29 -24
  78. package/src/main.js +4 -3
  79. package/src/test/SessionTestServlet.java +0 -69
  80. package/webapp/WEB-INF/web.xml +0 -52
  81. package/webapp/session-test.jsp +0 -59
@@ -1,143 +1,215 @@
1
- <template>
2
- <div class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
- <div class="row">
7
- <div class="col-sm-2" >
8
- <label class="font_normal_body" for="startDate">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
- v-model="model.startDate"
11
- :value.sync="model.startDate"
12
- :disabled-days-of-Week="[]"
13
- :format="'yyyy-MM-dd HH:mm:ss'"
14
- condition="cr.f_charge_date > '{}'"
15
- :show-reset-button="reset">
16
- </datepicker>
17
- </div>
18
- <div class="col-sm-2" >
19
- <label class="font_normal_body" for="endDate">结束日期:</label>
20
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
21
- v-model="model.endDate"
22
- :value.sync="model.endDate"
23
- :disabled-days-of-Week="[]"
24
- :format="'yyyy-MM-dd HH:mm:ss'"
25
- condition="cr.f_charge_date < '{}'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div><br>
29
- </div>
30
- <div class="span" style = "float:right;">
31
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
32
- <report-print id='gasprice1' top='1cm' left='0' width='100%' height='100%' :preview="true"></report-print>
33
- <report-excel id='gasprice1'></report-excel>
34
- </div>
35
- </div>
36
- </criteria>
37
- <div partial='list' v-el:handcollect id='gasprice1' style="overflow-y: scroll">
38
- <table class='tableprint' style="margin: 0px auto">
39
- <thead>
40
- <tr>
41
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
42
- <h3 style="text-align: center">报建收费报表</h3>
43
- </th>
44
- </tr>
45
- <tr>
46
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
47
- 开始时间:{{ $refs.criteria.model.startDate }}&nbsp;&nbsp;&nbsp;
48
- 结束时间:{{ $refs.criteria.model.endDate }}
49
- </th>
50
- </tr>
51
- <tr>
52
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
53
- 打印时间:{{{$parent.printTime}}}
54
- </th>
55
- </tr>
56
- <tr>
57
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
58
- <div>
59
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
60
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
61
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
62
- </div>
63
- </th>
64
- </tr>
65
- </thead>
66
- <tr>
67
- <td :colspan='$parent.spans' class="norder">
68
- {{{ model.data.substring(26,model.data.length-8) }}}
69
- </td>
70
- </tr>
71
- <tfoot>
72
- </tfoot>
73
- </table>
74
- </div>
75
- </criteria-paged>
76
- </div>
77
- </template>
78
- <script>
79
- import { DataModel } from 'vue-client'
80
- export default {
81
- title: '报建收费报表',
82
- props: ['data'],
83
- data () {
84
- return {
85
- printTime: this.$login.toStandardTimeString(),
86
- depresid: [],
87
- userresid: [],
88
- f_orgid: this.$login.f.orgid,
89
- f_depid: this.$login.f.depids,
90
- f_operatorid: this.$login.f.id,
91
- operatorid: [],
92
- depid: [],
93
- orgname: '',
94
- depname: '',
95
- operatorname: '',
96
- f_inputtor: [],
97
- f_user_type: '',
98
- orgCondtionStr: '1=1',
99
- model: new DataModel('rs/report/fgChargeRecord', {
100
- startDate: 'this.model.startDate', endDate: 'this.model.endDate',
101
- f_orgid: 'this.model.f_orgid'
102
- }),
103
- reportStr: null,
104
- spans: 0,
105
- }
106
- },
107
- ready () {
108
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
109
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
110
- this.searchData()
111
- },
112
- created () {
113
- },
114
- methods: {
115
- searchData () {
116
- this.$refs.paged.$refs.criteria.search()
117
- },
118
- selfSearch(args) {
119
- console.log(args)
120
- let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
121
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
122
- this.$refs.paged.search(args)
123
- },
124
- getRes (obj) {
125
- this.orgname = obj.res[0]
126
- this.f_orgid = obj.resids
127
- }
128
- },
129
- watch: {
130
- 'model.data' (val) {
131
- this.spans = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
132
- },
133
- 'this.$refs.paged.$refs.criteria.model.f_insurance_company' (val) {
134
- console.log(val)
135
- }
136
- }
137
- }
138
- </script>
139
- <style scoped>
140
- .noborder {
141
- border: none;
142
- }
143
- </style>
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2">
8
+ <label class="font_normal_body">组织机构:</label>
9
+ <res-select
10
+ restype='organization'
11
+ :initresid='$parent.$parent.curorgid'
12
+ @res-select="$parent.$parent.getorg"
13
+ :is-mul="false"
14
+ ></res-select>
15
+ </div>
16
+ <div class="col-sm-2">
17
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
18
+ <res-select
19
+ restype='department'
20
+ :parentresid="$parent.$parent.curorgid"
21
+ :initresid='$parent.$parent.curdepid'
22
+ @res-select="$parent.$parent.getdep"
23
+ :is-mul="true"
24
+ ></res-select>
25
+ </div>
26
+ <div class="col-sm-2">
27
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
28
+ <res-select
29
+ restype='user'
30
+ :parentresid="$parent.$parent.curdepid"
31
+ :initresid='$parent.$parent.curuserid'
32
+ @res-select="$parent.$parent.getuser"
33
+ :is-mul="true"></res-select>
34
+ </div>
35
+ <div class="col-sm-2" >
36
+ <label class="font_normal_body" for="startDate">分组项:</label>
37
+ <v-select
38
+ :value.sync="model.f_public_group1"
39
+ v-model="model.f_public_group1"
40
+ v-ref:groupone
41
+ :options='$parent.$parent.group1'
42
+ placeholder='请选择'
43
+ close-on-select
44
+ ></v-select>
45
+ </div>
46
+ <div class="col-sm-2" >
47
+ <label class="font_normal_body" for="startDate">开始日期:</label>
48
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
49
+ v-model="model.startDate"
50
+ :value.sync="model.startDate"
51
+ :disabled-days-of-Week="[]"
52
+ :format="'yyyy-MM-dd HH:mm:ss'"
53
+ condition="cr.f_charge_date > '{}'"
54
+ :show-reset-button="reset">
55
+ </datepicker>
56
+ </div>
57
+ <div class="col-sm-2" >
58
+ <label class="font_normal_body" for="endDate">结束日期:</label>
59
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
60
+ v-model="model.endDate"
61
+ :value.sync="model.endDate"
62
+ :disabled-days-of-Week="[]"
63
+ :format="'yyyy-MM-dd HH:mm:ss'"
64
+ condition="cr.f_charge_date < '{}'"
65
+ :show-reset-button="reset">
66
+ </datepicker>
67
+ </div><br>
68
+ </div>
69
+ <div class="span" style = "float:right;">
70
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
71
+ <report-print id='gasprice1' top='1cm' left='0' width='100%' height='100%' :preview="true"></report-print>
72
+ <report-excel id='gasprice1'></report-excel>
73
+ </div>
74
+ </div>
75
+ </criteria>
76
+ <div partial='list' v-el:handcollect id='gasprice1' style="overflow-y: scroll">
77
+ <table class='tableprint' style="margin: 0px auto">
78
+ <thead>
79
+ <tr>
80
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
81
+ <h3 style="text-align: center">报建收费报表</h3>
82
+ </th>
83
+ </tr>
84
+ <tr>
85
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
86
+ 开始时间:{{ $refs.criteria.model.startDate }}&nbsp;&nbsp;&nbsp;
87
+ 结束时间:{{ $refs.criteria.model.endDate }}
88
+ </th>
89
+ </tr>
90
+ <tr>
91
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
92
+ 打印时间:{{{$parent.printTime}}}
93
+ </th>
94
+ </tr>
95
+ <tr>
96
+ <th :colspan='$par ent.spans' style="font-weight: normal; text-align: center;">
97
+ <div>
98
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
99
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
100
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
101
+ </div>
102
+ </th>
103
+ </tr>
104
+ </thead>
105
+ <tr>
106
+ <td :colspan='$parent.spans' class="norder">
107
+ {{{ model.data.substring(26,model.data.length-8) }}}
108
+ </td>
109
+ </tr>
110
+ <tfoot>
111
+ </tfoot>
112
+ </table>
113
+ </div>
114
+ </criteria-page d>
115
+ </div>
116
+ </template>
117
+ <script>
118
+ import { DataModel } from 'vue-client'
119
+ export default {
120
+ title: '报建收费报表',
121
+ props: ['data'],
122
+ data () {
123
+ return {
124
+ printTime: this.$login.toStandardTimeString(),
125
+ curorgid: [this.$login.f.orgid],
126
+ curdepid: [],
127
+ curuserid: [],
128
+ depresid: [],
129
+ userresid: [],
130
+ f_orgid: this.$login.f.orgid,
131
+ f_depid: this.$login.f.depids,
132
+ f_operatorid: this.$login.f.id,
133
+ operatorid: [],
134
+ depid: [],
135
+ orgname: '',
136
+ depname: '',
137
+ operatorname: '',
138
+ f_inputtor: [],
139
+ f_user_type: '',
140
+ orgCondtionStr: '1=1',
141
+ model: new DataModel('rs/report/fgChargeRecord', {
142
+ startDate: 'this.model.startDate', endDate: 'this.model.endDate',
143
+ f_orgid: 'this.model.f_orgid',
144
+ f_public_group1: 'this.model.f_public_group1[0]',
145
+ group1Name: 'this.model.group1Name'
146
+ }),
147
+ reportStr: null,
148
+ spans: 0,
149
+ f_public_group1: '',
150
+ group1Name: ''
151
+ }
152
+ },
153
+ ready () {
154
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
155
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
156
+ },
157
+ created () {
158
+ },
159
+ methods: {
160
+ selfSearch(args) {
161
+ this.$refs.paged.$refs.criteria.model.group1Name = this.$refs.paged.$refs.criteria.$refs.groupone.selectedItems
162
+ if (this.curuserid.length > 0) {
163
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
164
+ }
165
+ let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
166
+ let name1 = args.model.f_public_group1
167
+ if (name1 == null || name1 == ''){
168
+ alert("请选择分组项!!!")
169
+ return
170
+ }
171
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
172
+ this.$refs.paged.search(args)
173
+ },
174
+ getuser (val) {
175
+ if (val.length <= 0) {
176
+ return
177
+ }
178
+ this.curuserid = val
179
+ },
180
+ getdep (val) {
181
+ if (val.length <= 0) {
182
+ return
183
+ }
184
+ this.curdepid = val
185
+ this.curuserid = []
186
+ },
187
+ getorg (val) {
188
+ if (val.length <= 0) {
189
+ return
190
+ }
191
+ this.curorgid = val
192
+ this.curdepid = []
193
+ this.curuserid = []
194
+ },
195
+ searchData () {
196
+ this.$refs.paged.$refs.criteria.search()
197
+ }
198
+ },
199
+ computed: {
200
+ group1() {
201
+ return [{label:'报建类型', value:'f_apply_type'}, {label:'报建性质', value:'f_apply_nature'}]
202
+ }
203
+ },
204
+ watch: {
205
+ 'model.data' (val) {
206
+ this.spans = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
207
+ }
208
+ }
209
+ }
210
+ </script>
211
+ <style scoped>
212
+ .noborder {
213
+ border: none;
214
+ }
215
+ </style>
@@ -414,6 +414,7 @@ export default {
414
414
  this.userfile = null
415
415
 
416
416
  this.search()
417
+ this.$dispatch('breakControl', this.selectdata)
417
418
  }
418
419
  },
419
420
  events: {
@@ -12,6 +12,8 @@ let specialComp = {
12
12
  'service-view': (resolve) => { require(['./pc/serviceview'], resolve) },
13
13
  'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
14
14
  'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) },
15
- 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], 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) }
16
18
  }
17
19
  exports.specialComp = specialComp
@@ -0,0 +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,24 +1,25 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
- // 已完成的流程需要能够上传附件
6
- 'supervisory-control': (resolve) => { require(['./pc/SupervisoryControl'], resolve) },
7
- // 删除附件需要权限
8
- 'apply-upload': (resolve) => { require(['./pc/ApplyUpload'], resolve) },
9
- // 签到记录
10
- 'check-records': (resolve) => { require(['./pc/CheckRecords'], resolve) },
11
- 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
12
- 'check-records-list': (resolve) => { require(['./pc/CheckRecordsList'], resolve) },
13
- 'hidden-trouble': (resolve) => { require(['./pc/HiddenTrouble'], resolve) },
14
- 'exploration-user': (resolve) => { require(['./pc/ExplorationUser'], resolve) },
15
- 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
16
- 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
17
- 'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
18
- 'pc-add-logs': (resolve) => { require(['./pc/PcAddLogs'], resolve) },
19
- 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement'], resolve) },
20
- 'pc-disclosure-record': (resolve) => { require(['./pc/PcDisclosurerecord'], resolve) },
21
- 'pc-legacy-issues': (resolve) => { require(['./pc/PcLegacyIssues'], resolve) },
22
- 'supplemental-agreement': (resolve) => { require(['./pc/supplementalAgreement'], resolve) }
23
- }
24
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
+ // 已完成的流程需要能够上传附件
6
+ 'supervisory-control': (resolve) => { require(['./pc/SupervisoryControl'], resolve) },
7
+ // 删除附件需要权限
8
+ 'apply-upload': (resolve) => { require(['./pc/ApplyUpload'], resolve) },
9
+ // 签到记录
10
+ 'check-records': (resolve) => { require(['./pc/CheckRecords'], resolve) },
11
+ 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
12
+ 'check-records-list': (resolve) => { require(['./pc/CheckRecordsList'], resolve) },
13
+ 'hidden-trouble': (resolve) => { require(['./pc/HiddenTrouble'], resolve) },
14
+ 'exploration-user': (resolve) => { require(['./pc/ExplorationUser'], resolve) },
15
+ 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
16
+ 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
17
+ 'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
18
+ 'pc-add-logs': (resolve) => { require(['./pc/PcAddLogs'], resolve) },
19
+ 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement'], resolve) },
20
+ 'pc-disclosure-record': (resolve) => { require(['./pc/PcDisclosurerecord'], resolve) },
21
+ 'pc-legacy-issues': (resolve) => { require(['./pc/PcLegacyIssues'], resolve) },
22
+ 'supplemental-agreement': (resolve) => { require(['./pc/supplementalAgreement'], resolve) },
23
+ 'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) }
24
+ }
25
+ exports.specialComp = specialComp