apply-clients 3.2.32 → 3.2.37
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/package.json +1 -1
- package/src/AndroidApp.vue +26 -26
- package/src/App.vue +20 -20
- package/src/apply.js +67 -67
- package/src/applyAndroid.js +24 -24
- package/src/components/Util.js +359 -359
- package/src/components/app_apply/AppOnetomany.vue +90 -90
- package/src/components/app_apply/AppServiceView.vue +664 -664
- package/src/components/app_apply/AppTakePic.vue +112 -112
- package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
- package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
- package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
- package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +147 -147
- package/src/components/product/Function/InstallInfoSelect.vue +281 -281
- package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
- package/src/components/product/Function/functions/StopInstall.vue +106 -106
- package/src/components/product/Process/ExplorationSelect.vue +346 -346
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
- package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
- package/src/components/product/Process/Processes/printCharge.vue +133 -133
- package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
- package/src/components/product/Process/ShowBackReason.vue +32 -32
- package/src/components/product/ServiceView.vue +759 -759
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
- package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
- package/src/main.js +23 -23
|
@@ -1,201 +1,201 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
-
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
-
<template partial='head'>
|
|
5
|
-
<tr>
|
|
6
|
-
<th class="textNoLineBreak">序号</th>
|
|
7
|
-
<th class="textNoLineBreak">区/县</th>
|
|
8
|
-
<th class="textNoLineBreak">片区</th>
|
|
9
|
-
<th class="textNoLineBreak">街道</th>
|
|
10
|
-
<th class="textNoLineBreak">小区</th>
|
|
11
|
-
<th class="textNoLineBreak">详细地址</th>
|
|
12
|
-
<th class="textNoLineBreak">地址状态</th>
|
|
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">
|
|
20
|
-
<button type="button" class="btn btn-info head-but"
|
|
21
|
-
:disabled="$parent.$parent.mark === 1"
|
|
22
|
-
@click="$parent.$parent.showFileModal()">导入</button>
|
|
23
|
-
<a type="button" class="btn btn-info head-but"
|
|
24
|
-
href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
|
|
25
|
-
</th>
|
|
26
|
-
</tr>
|
|
27
|
-
</template>
|
|
28
|
-
<template partial='body'>
|
|
29
|
-
<tr>
|
|
30
|
-
<td style="text-align: center;">
|
|
31
|
-
<nobr>{{$index+1}}</nobr>
|
|
32
|
-
</td>
|
|
33
|
-
<td style="text-align: center;">
|
|
34
|
-
<nobr>{{row.f_pcd}}</nobr>
|
|
35
|
-
</td>
|
|
36
|
-
<td style="text-align: center;">
|
|
37
|
-
<nobr>{{row.f_slice_area}}</nobr>
|
|
38
|
-
</td>
|
|
39
|
-
<td style="text-align: center;">
|
|
40
|
-
<nobr>{{row.f_street}}</nobr>
|
|
41
|
-
</td>
|
|
42
|
-
<td style="text-align: center;">
|
|
43
|
-
<nobr>{{row.f_residential_area}}</nobr>
|
|
44
|
-
</td>
|
|
45
|
-
<td style="text-align: center;">
|
|
46
|
-
<nobr>{{row.f_address}}</nobr>
|
|
47
|
-
</td>
|
|
48
|
-
<td style="text-align: center;">
|
|
49
|
-
<nobr>{{row.f_address_state}}</nobr>
|
|
50
|
-
</td>
|
|
51
|
-
<td style="text-align: center;">
|
|
52
|
-
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
53
|
-
</td>
|
|
54
|
-
<td style="text-align: center;">
|
|
55
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
56
|
-
</td>
|
|
57
|
-
<td style="text-align: center;">
|
|
58
|
-
<nobr>{{row.f_user_phone}}</nobr>
|
|
59
|
-
</td>
|
|
60
|
-
<td style="text-align: center;">
|
|
61
|
-
<nobr>{{row.f_credentials}}</nobr>
|
|
62
|
-
</td>
|
|
63
|
-
<td style="text-align: center;">
|
|
64
|
-
<nobr>{{row.f_idnumber}}</nobr>
|
|
65
|
-
</td>
|
|
66
|
-
<td style="text-align: center;">
|
|
67
|
-
<nobr>{{row.f_create_date}}</nobr>
|
|
68
|
-
</td>
|
|
69
|
-
<td style="text-align: center;">
|
|
70
|
-
<nobr>
|
|
71
|
-
|
|
72
|
-
</nobr>
|
|
73
|
-
</td>
|
|
74
|
-
</tr>
|
|
75
|
-
</template>
|
|
76
|
-
</data-grid>
|
|
77
|
-
</div>
|
|
78
|
-
<modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
|
|
79
|
-
<header slot="modal-header" class="modal-header">
|
|
80
|
-
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
81
|
-
<h4 class="modal-title">选择文件</h4>
|
|
82
|
-
</header>
|
|
83
|
-
<article slot="modal-body" class="modal-body">
|
|
84
|
-
<div class="form-group">
|
|
85
|
-
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
86
|
-
</div>
|
|
87
|
-
</article>
|
|
88
|
-
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
89
|
-
</modal>
|
|
90
|
-
</template>
|
|
91
|
-
<script>
|
|
92
|
-
import {PagedList} from 'vue-client'
|
|
93
|
-
import {HttpResetClass} from 'vue-client'
|
|
94
|
-
|
|
95
|
-
export default {
|
|
96
|
-
title: '地址管理',
|
|
97
|
-
props: {
|
|
98
|
-
selectdata: {
|
|
99
|
-
type: Object
|
|
100
|
-
},
|
|
101
|
-
mark: {
|
|
102
|
-
type: Number,
|
|
103
|
-
default: 0 // 0:正常 1:禁用 2:追加用户
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
data () {
|
|
107
|
-
return {
|
|
108
|
-
showFile: false,
|
|
109
|
-
model: {
|
|
110
|
-
data: null
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
ready () {
|
|
115
|
-
this.search()
|
|
116
|
-
},
|
|
117
|
-
methods: {
|
|
118
|
-
showFileModal() {
|
|
119
|
-
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
120
|
-
let item = this.selectdata.fields[i]
|
|
121
|
-
if (item.label === '街道' && !item.value) {
|
|
122
|
-
this.$showAlert('街道地址不能为空!!!', 'warning', 3000)
|
|
123
|
-
return
|
|
124
|
-
}
|
|
125
|
-
// if (item.label === '小区' && !item.value) {
|
|
126
|
-
// this.$showAlert('小区不能为空!!!', 'warning', 3000)
|
|
127
|
-
// return
|
|
128
|
-
// }
|
|
129
|
-
}
|
|
130
|
-
this.showFile = !this.showFile
|
|
131
|
-
},
|
|
132
|
-
async search () {
|
|
133
|
-
let http = new HttpResetClass()
|
|
134
|
-
let data = {
|
|
135
|
-
condition: " 1=1",
|
|
136
|
-
f_filialeid: this.$login.f.orgid,
|
|
137
|
-
f_process_id: this.selectdata.f_process_id
|
|
138
|
-
}
|
|
139
|
-
let res = await http.load('POST', 'rs/sql/getAddressAanUserinfo', {data:data}, {
|
|
140
|
-
resolveMsg: null,
|
|
141
|
-
rejectMsg: null
|
|
142
|
-
})
|
|
143
|
-
this.model.data = res.data
|
|
144
|
-
|
|
145
|
-
// 去除户数自动
|
|
146
|
-
if (this.selectdata.f_apply_type !== '开发商集体报建') {
|
|
147
|
-
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
148
|
-
if (this.selectdata.fields[i].label === '户数') {
|
|
149
|
-
this.selectdata.fields[i].value = res.data.length
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
},
|
|
155
|
-
// 关闭文件上传对话框
|
|
156
|
-
closeFile() {
|
|
157
|
-
this.showFile = false
|
|
158
|
-
// 将选的文件清空
|
|
159
|
-
this.$refs.file.$el.querySelector('input').value = ''
|
|
160
|
-
this.search()
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
events: {
|
|
164
|
-
async 'onFileUpload'(file, result) {
|
|
165
|
-
let data = {
|
|
166
|
-
selectdata: this.selectdata,
|
|
167
|
-
filepath: result.f_downloadpath,
|
|
168
|
-
user: this.$login.f,
|
|
169
|
-
mark: this.mark
|
|
170
|
-
}
|
|
171
|
-
let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0)
|
|
172
|
-
if(res.data.type === "success"){
|
|
173
|
-
this.$showAlert("导入信息:"+res.data.msg, res.data.type, 2000);
|
|
174
|
-
}else{
|
|
175
|
-
this.$showMessage(res.data.msg);
|
|
176
|
-
}
|
|
177
|
-
if (this.mark !== 0) {
|
|
178
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
179
|
-
}
|
|
180
|
-
this.closeFile()
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
computed: {
|
|
184
|
-
},
|
|
185
|
-
watch: {
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
</script>
|
|
189
|
-
<style scoped>
|
|
190
|
-
.textNoLineBreak {
|
|
191
|
-
white-space: nowrap;
|
|
192
|
-
}
|
|
193
|
-
.head-but{
|
|
194
|
-
margin-left: 5px;
|
|
195
|
-
height: 34px;
|
|
196
|
-
/*background-color: #6aa6e2;*/
|
|
197
|
-
border-radius: 4px;
|
|
198
|
-
font-family: PingFang;
|
|
199
|
-
color: #ffffff;
|
|
200
|
-
}
|
|
201
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak">区/县</th>
|
|
8
|
+
<th class="textNoLineBreak">片区</th>
|
|
9
|
+
<th class="textNoLineBreak">街道</th>
|
|
10
|
+
<th class="textNoLineBreak">小区</th>
|
|
11
|
+
<th class="textNoLineBreak">详细地址</th>
|
|
12
|
+
<th class="textNoLineBreak">地址状态</th>
|
|
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">
|
|
20
|
+
<button type="button" class="btn btn-info head-but"
|
|
21
|
+
:disabled="$parent.$parent.mark === 1"
|
|
22
|
+
@click="$parent.$parent.showFileModal()">导入</button>
|
|
23
|
+
<a type="button" class="btn btn-info head-but"
|
|
24
|
+
href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
|
|
25
|
+
</th>
|
|
26
|
+
</tr>
|
|
27
|
+
</template>
|
|
28
|
+
<template partial='body'>
|
|
29
|
+
<tr>
|
|
30
|
+
<td style="text-align: center;">
|
|
31
|
+
<nobr>{{$index+1}}</nobr>
|
|
32
|
+
</td>
|
|
33
|
+
<td style="text-align: center;">
|
|
34
|
+
<nobr>{{row.f_pcd}}</nobr>
|
|
35
|
+
</td>
|
|
36
|
+
<td style="text-align: center;">
|
|
37
|
+
<nobr>{{row.f_slice_area}}</nobr>
|
|
38
|
+
</td>
|
|
39
|
+
<td style="text-align: center;">
|
|
40
|
+
<nobr>{{row.f_street}}</nobr>
|
|
41
|
+
</td>
|
|
42
|
+
<td style="text-align: center;">
|
|
43
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
44
|
+
</td>
|
|
45
|
+
<td style="text-align: center;">
|
|
46
|
+
<nobr>{{row.f_address}}</nobr>
|
|
47
|
+
</td>
|
|
48
|
+
<td style="text-align: center;">
|
|
49
|
+
<nobr>{{row.f_address_state}}</nobr>
|
|
50
|
+
</td>
|
|
51
|
+
<td style="text-align: center;">
|
|
52
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
53
|
+
</td>
|
|
54
|
+
<td style="text-align: center;">
|
|
55
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
56
|
+
</td>
|
|
57
|
+
<td style="text-align: center;">
|
|
58
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
59
|
+
</td>
|
|
60
|
+
<td style="text-align: center;">
|
|
61
|
+
<nobr>{{row.f_credentials}}</nobr>
|
|
62
|
+
</td>
|
|
63
|
+
<td style="text-align: center;">
|
|
64
|
+
<nobr>{{row.f_idnumber}}</nobr>
|
|
65
|
+
</td>
|
|
66
|
+
<td style="text-align: center;">
|
|
67
|
+
<nobr>{{row.f_create_date}}</nobr>
|
|
68
|
+
</td>
|
|
69
|
+
<td style="text-align: center;">
|
|
70
|
+
<nobr>
|
|
71
|
+
|
|
72
|
+
</nobr>
|
|
73
|
+
</td>
|
|
74
|
+
</tr>
|
|
75
|
+
</template>
|
|
76
|
+
</data-grid>
|
|
77
|
+
</div>
|
|
78
|
+
<modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
|
|
79
|
+
<header slot="modal-header" class="modal-header">
|
|
80
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
81
|
+
<h4 class="modal-title">选择文件</h4>
|
|
82
|
+
</header>
|
|
83
|
+
<article slot="modal-body" class="modal-body">
|
|
84
|
+
<div class="form-group">
|
|
85
|
+
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
86
|
+
</div>
|
|
87
|
+
</article>
|
|
88
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
89
|
+
</modal>
|
|
90
|
+
</template>
|
|
91
|
+
<script>
|
|
92
|
+
import {PagedList} from 'vue-client'
|
|
93
|
+
import {HttpResetClass} from 'vue-client'
|
|
94
|
+
|
|
95
|
+
export default {
|
|
96
|
+
title: '地址管理',
|
|
97
|
+
props: {
|
|
98
|
+
selectdata: {
|
|
99
|
+
type: Object
|
|
100
|
+
},
|
|
101
|
+
mark: {
|
|
102
|
+
type: Number,
|
|
103
|
+
default: 0 // 0:正常 1:禁用 2:追加用户
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
data () {
|
|
107
|
+
return {
|
|
108
|
+
showFile: false,
|
|
109
|
+
model: {
|
|
110
|
+
data: null
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
ready () {
|
|
115
|
+
this.search()
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
showFileModal() {
|
|
119
|
+
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
120
|
+
let item = this.selectdata.fields[i]
|
|
121
|
+
if (item.label === '街道' && !item.value) {
|
|
122
|
+
this.$showAlert('街道地址不能为空!!!', 'warning', 3000)
|
|
123
|
+
return
|
|
124
|
+
}
|
|
125
|
+
// if (item.label === '小区' && !item.value) {
|
|
126
|
+
// this.$showAlert('小区不能为空!!!', 'warning', 3000)
|
|
127
|
+
// return
|
|
128
|
+
// }
|
|
129
|
+
}
|
|
130
|
+
this.showFile = !this.showFile
|
|
131
|
+
},
|
|
132
|
+
async search () {
|
|
133
|
+
let http = new HttpResetClass()
|
|
134
|
+
let data = {
|
|
135
|
+
condition: " 1=1",
|
|
136
|
+
f_filialeid: this.$login.f.orgid,
|
|
137
|
+
f_process_id: this.selectdata.f_process_id
|
|
138
|
+
}
|
|
139
|
+
let res = await http.load('POST', 'rs/sql/getAddressAanUserinfo', {data:data}, {
|
|
140
|
+
resolveMsg: null,
|
|
141
|
+
rejectMsg: null
|
|
142
|
+
})
|
|
143
|
+
this.model.data = res.data
|
|
144
|
+
|
|
145
|
+
// 去除户数自动
|
|
146
|
+
if (this.selectdata.f_apply_type !== '开发商集体报建') {
|
|
147
|
+
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
148
|
+
if (this.selectdata.fields[i].label === '户数') {
|
|
149
|
+
this.selectdata.fields[i].value = res.data.length
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
},
|
|
155
|
+
// 关闭文件上传对话框
|
|
156
|
+
closeFile() {
|
|
157
|
+
this.showFile = false
|
|
158
|
+
// 将选的文件清空
|
|
159
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
160
|
+
this.search()
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
events: {
|
|
164
|
+
async 'onFileUpload'(file, result) {
|
|
165
|
+
let data = {
|
|
166
|
+
selectdata: this.selectdata,
|
|
167
|
+
filepath: result.f_downloadpath,
|
|
168
|
+
user: this.$login.f,
|
|
169
|
+
mark: this.mark
|
|
170
|
+
}
|
|
171
|
+
let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0)
|
|
172
|
+
if(res.data.type === "success"){
|
|
173
|
+
this.$showAlert("导入信息:"+res.data.msg, res.data.type, 2000);
|
|
174
|
+
}else{
|
|
175
|
+
this.$showMessage(res.data.msg);
|
|
176
|
+
}
|
|
177
|
+
if (this.mark !== 0) {
|
|
178
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
179
|
+
}
|
|
180
|
+
this.closeFile()
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
computed: {
|
|
184
|
+
},
|
|
185
|
+
watch: {
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
</script>
|
|
189
|
+
<style scoped>
|
|
190
|
+
.textNoLineBreak {
|
|
191
|
+
white-space: nowrap;
|
|
192
|
+
}
|
|
193
|
+
.head-but{
|
|
194
|
+
margin-left: 5px;
|
|
195
|
+
height: 34px;
|
|
196
|
+
/*background-color: #6aa6e2;*/
|
|
197
|
+
border-radius: 4px;
|
|
198
|
+
font-family: PingFang;
|
|
199
|
+
color: #ffffff;
|
|
200
|
+
}
|
|
201
|
+
</style>
|