apply-clients 3.3.216 → 3.4.1
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/android.html +23 -23
- package/index.html +33 -33
- package/package.json +3 -3
- package/src/AndroidApp.vue +35 -30
- package/src/App.vue +20 -20
- package/src/android.js +21 -21
- package/src/apply.js +81 -90
- package/src/applyAndroid.js +1 -23
- package/src/components/android/AppOnetomany.vue +301 -285
- package/src/components/android/AppServiceView.vue +566 -570
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/AppTakePic.vue +143 -144
- package/src/components/android/Process/AppExplorationUser.vue +320 -270
- package/src/components/android/Process/AppServiceControl.vue +757 -686
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -466
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -0
- package/src/components/android/ProgressReport/ProgressReportList.vue +209 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +73 -152
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -115
- package/src/components/android/TaskGraph.vue +125 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +36 -50
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/Function/InstallFunction.vue +125 -122
- package/src/components/product/Function/InstallInfoSelect.vue +292 -318
- package/src/components/product/Function/Service/FunctionServiceControl.vue +222 -254
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +102 -0
- package/src/components/product/Function/functions/StopInstall.vue +106 -0
- package/src/components/product/Onetomany.vue +377 -296
- package/src/components/product/Order/OrderApply.vue +30 -30
- package/src/components/product/Order/OrderApplyList.vue +78 -67
- package/src/components/product/Order/OrderMessage.vue +11 -87
- package/src/components/product/Process/ExplorationSelect.vue +410 -369
- package/src/components/product/Process/ExplorationUser.vue +138 -128
- package/src/components/product/Process/Processes/InstallationDetails.vue +592 -504
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -181
- package/src/components/product/Process/Processes/chargeManagement.vue +639 -638
- package/src/components/product/Process/Processes/devicesManagement.vue +22 -2
- package/src/components/product/Process/Processes/selectApply.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +1254 -883
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +631 -741
- package/src/components/product/Stop/StopApply.vue +103 -103
- package/src/components/product/Stop/StopApplyList.vue +269 -254
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -517
- package/src/components/product/Supervisory/SupervisoryControl.vue +100 -108
- package/src/components/product/Supervisory/SupervisoryList.vue +233 -253
- package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -124
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -264
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -517
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +548 -414
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +754 -456
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -0
- package/src/filiale/yuchuan/android.js +7 -8
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -517
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +270 -231
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +147 -131
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +66 -0
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +759 -0
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +470 -0
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +879 -517
- package/src/filiale/yuchuan/pc.js +11 -13
- package/src/main.js +23 -23
- package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
- package/src/components/android/Function/AppInstallFunction.vue +0 -330
- package/src/components/android/Process/Processes/AppBuildSign.vue +0 -47
- package/src/components/android/Process/Processes/AppChargeManagement.vue +0 -468
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -490
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +0 -297
- package/src/components/android/Process/Processes/AppjiaSign.vue +0 -47
- package/src/components/android/Process/Processes/AppjiafangSign.vue +0 -47
- package/src/components/android/Process/Processes/ApptechnologySign.vue +0 -47
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/yasuobao.jpg +0 -0
- package/src/components/product/Function/Inform.vue +0 -73
- package/src/components/product/Function/MarketSurvey.vue +0 -81
- package/src/components/product/Process/Processes/printCharge.vue +0 -121
- package/src/components/product/Process/ShowBackReason.vue +0 -33
- package/src/components/product/Supervisory/Service/printChargeNode.vue +0 -873
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +0 -1090
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
- package/src/filiale/wuan/android.js +0 -0
- package/src/filiale/wuan/pc.js +0 -4
- package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
- package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
- package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
- package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<style id="printChargeStyle">
|
|
3
|
+
td{
|
|
4
|
+
height: 30px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
}
|
|
7
|
+
table{
|
|
8
|
+
margin: auto;
|
|
9
|
+
/*width: 100%;*/
|
|
10
|
+
border-collapse:collapse;
|
|
11
|
+
border: 1px solid black;
|
|
12
|
+
}
|
|
13
|
+
h1,h2,h3,h4,h5,h6 {
|
|
14
|
+
text-align: center;
|
|
15
|
+
}
|
|
16
|
+
.orgs {
|
|
17
|
+
border-bottom: 2px solid;
|
|
18
|
+
padding: 5px;
|
|
19
|
+
}
|
|
20
|
+
.date {
|
|
21
|
+
float: left;
|
|
22
|
+
padding-left: 10px;
|
|
23
|
+
}
|
|
24
|
+
.status {
|
|
25
|
+
float: right;
|
|
26
|
+
padding-right: 10px;
|
|
27
|
+
}
|
|
28
|
+
.seal {
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: 100px;
|
|
31
|
+
top: 120px;
|
|
32
|
+
width: 150px;
|
|
33
|
+
height: 150px;
|
|
34
|
+
/*opacity: 0.5;*/
|
|
35
|
+
z-index: -1;
|
|
36
|
+
}
|
|
37
|
+
</style>
|
|
38
|
+
<div id="printCharge">
|
|
39
|
+
<h4>
|
|
40
|
+
<span class="orgs">
|
|
41
|
+
{{orgs}}统一收据
|
|
42
|
+
</span>
|
|
43
|
+
</h4>
|
|
44
|
+
<table border="1" width="100%">
|
|
45
|
+
<tr>
|
|
46
|
+
<td colspan="2" style="border: none">
|
|
47
|
+
开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
|
|
48
|
+
</td>
|
|
49
|
+
<td colspan="2" style="border: none">
|
|
50
|
+
收据编码:{{ charge.f_charge_number }}
|
|
51
|
+
</td>
|
|
52
|
+
<td colspan="2" style="border: none">
|
|
53
|
+
状态:{{ charge.f_charge_status }}
|
|
54
|
+
</td>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<td style="width: 17%">用户姓名</td>
|
|
58
|
+
<td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
|
|
59
|
+
<td style="width: 17%">用户编号</td>
|
|
60
|
+
<td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>用户地址</td>
|
|
64
|
+
<td colspan="5">{{ selectdata.f_address }}</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td>收款项目</td>
|
|
68
|
+
<td colspan="2">{{ charge.f_payment_term }}</td>
|
|
69
|
+
<td>收款方式</td>
|
|
70
|
+
<td colspan="2">{{ charge.f_payment_method }}</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td>金额</td>
|
|
74
|
+
<td colspan="2">{{ charge.f_charge_money }}</td>
|
|
75
|
+
<td>金额大写</td>
|
|
76
|
+
<td colspan="2">{{ charge.f_amount_words }}</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td>收款人</td>
|
|
80
|
+
<td colspan="2">{{ charge.f_charge_collectors }}</td>
|
|
81
|
+
<td>销售方(章)</td>
|
|
82
|
+
<td colspan="2"></td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>备  注</td>
|
|
86
|
+
<td colspan="5">{{ charge.f_charge_remarks }}</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<td colspan="6">
|
|
90
|
+
请持此收据到{{orgs}}营业厅换取发票
|
|
91
|
+
</td>
|
|
92
|
+
</tr>
|
|
93
|
+
</table>
|
|
94
|
+
<img class="seal" border="0" :src="src" alt="">
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
98
|
+
top='20' left='30' width='100%' height='100%'>
|
|
99
|
+
</print-element>
|
|
100
|
+
</template>
|
|
101
|
+
|
|
102
|
+
<script>
|
|
103
|
+
import { isEmpty } from '../../../../Util'
|
|
104
|
+
Date.prototype.Format = function (fmt) {
|
|
105
|
+
var o = {
|
|
106
|
+
"M+": this.getMonth() + 1, //月份
|
|
107
|
+
"d+": this.getDate(), //日
|
|
108
|
+
"H+": this.getHours(), //小时
|
|
109
|
+
"m+": this.getMinutes(), //分
|
|
110
|
+
"s+": this.getSeconds(), //秒
|
|
111
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
112
|
+
"S": this.getMilliseconds() //毫秒
|
|
113
|
+
};
|
|
114
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
115
|
+
for (var k in o)
|
|
116
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
117
|
+
return fmt;
|
|
118
|
+
}
|
|
119
|
+
export default {
|
|
120
|
+
title: '打印收费票据',
|
|
121
|
+
props: ['selectdata', 'charge'],
|
|
122
|
+
data () {
|
|
123
|
+
return {}
|
|
124
|
+
},
|
|
125
|
+
ready () {
|
|
126
|
+
},
|
|
127
|
+
methods: {
|
|
128
|
+
},
|
|
129
|
+
computed: {
|
|
130
|
+
orgs () {
|
|
131
|
+
return this.$login.f.orgs
|
|
132
|
+
},
|
|
133
|
+
src () {
|
|
134
|
+
return require(`./img/${this.$login.f.number}.png`)
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
</script>
|
|
139
|
+
|
|
140
|
+
<style scoped>
|
|
141
|
+
|
|
142
|
+
</style>
|
|
@@ -1,181 +1,207 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<th class="textNoLineBreak"
|
|
14
|
-
<th class="textNoLineBreak"
|
|
15
|
-
<th class="textNoLineBreak"
|
|
16
|
-
<th class="textNoLineBreak"
|
|
17
|
-
<th class="textNoLineBreak"
|
|
18
|
-
<th class="textNoLineBreak"
|
|
19
|
-
<th class="textNoLineBreak"
|
|
20
|
-
<th class="textNoLineBreak"
|
|
21
|
-
<th class="textNoLineBreak"
|
|
22
|
-
<th class="textNoLineBreak"
|
|
23
|
-
<th class="textNoLineBreak"
|
|
24
|
-
<th class="textNoLineBreak">
|
|
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
|
-
},
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
this.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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>×</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>
|