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.
- package/build/dev-server.js +7 -6
- package/package.json +6 -4
- package/src/App.vue +25 -25
- package/src/components/QXClient.js +333 -0
- package/src/components/SignTools.js +65 -0
- package/src/components/android/AppCheckTakePic.vue +168 -168
- package/src/components/android/Process/AppChargeList.vue +8 -0
- package/src/components/android/Process/AppExplorationUser.vue +1 -2
- package/src/components/android/Process/AppServiceControl.vue +1755 -1755
- package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
- package/src/components/product/Install/ContractCharge.vue +210 -210
- package/src/components/product/PcZhihuanManagement.vue +160 -160
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
- package/src/components/product/Process/Processes/contractModel.vue +49 -37
- package/src/components/product/Process/Processes/selectApply.vue +251 -251
- package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
- package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
- package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
- package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
- package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
- package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
- package/src/filiale/fugou/android/AppServiceControl.vue +75 -17
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
- package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
- package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
- package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
- package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
- package/src/filiale/fugou/pc/InstallationDetails.vue +1 -1
- package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
- package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
- package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
- package/src/filiale/fugou/pc/chargeReport.vue +215 -143
- package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
- package/src/filiale/fugou/pc.js +3 -1
- package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
- package/src/filiale/gongyi/pc.js +25 -24
- package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
- package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
- package/src/filiale/jinhuang/android.js +6 -0
- package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
- package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
- package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
- package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
- package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
- package/src/filiale/jinhuang/pc.js +3 -0
- package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
- package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -769
- package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
- package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
- package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1382
- package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
- package/src/filiale/yangchunboneng/android/AppContractCharge.vue +210 -210
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
- package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
- package/src/filiale/yangchunboneng/android.js +21 -20
- package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
- package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
- package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
- package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
- package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
- package/src/filiale/yangchunboneng/pc.js +29 -24
- package/src/main.js +4 -3
- package/src/test/SessionTestServlet.java +0 -69
- package/webapp/WEB-INF/web.xml +0 -52
- 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"
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
this.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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">部  门:</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">人  员:</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 }}
|
|
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>
|
package/src/filiale/fugou/pc.js
CHANGED
|
@@ -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
|
-
'
|
|
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>×</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>
|
package/src/filiale/gongyi/pc.js
CHANGED
|
@@ -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
|
-
|
|
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
|