apply-clients 7.1.36-yuchuan-2 → 7.1.36-yuchuan-3
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 -3
- package/package.json +3 -3
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +12 -1
- package/src/applyAndroid.js +87 -83
- package/src/components/android/AppUpload.vue +15 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +1410 -1397
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
- package/src/components/android/Task/Build/BuildTsak.vue +7 -4
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -432
- package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
- package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -98
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
- package/src/components/product/Function/InstallInfoSelect.vue +371 -370
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -236
- package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
- package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
- package/src/components/product/List/ShowAllActivity.vue +455 -0
- package/src/components/product/List/ShowDevices.vue +279 -279
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
- package/src/components/product/Process/ExplorationSelect.vue +591 -581
- package/src/components/product/Process/ExplorationUser.vue +158 -158
- package/src/components/product/Process/New1ExplorationUser.vue +201 -0
- package/src/components/product/Process/New2ExplorationUser.vue +163 -0
- package/src/components/product/Process/NewExplorationSelect.vue +586 -0
- package/src/components/product/Process/NewExplorationUser.vue +219 -184
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
- package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
- package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
- package/src/components/product/Process/Service/ServiceControl.vue +2166 -2162
- package/src/components/product/Report/ReportItems.vue +85 -79
- package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
- package/src/components/product/Report/gongchengbu.vue +199 -0
- package/src/components/product/ServiceView.vue +644 -644
- package/src/components/product/Stop/StopApplyList.vue +8 -8
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -594
- package/src/components/product/Supervisory/SupervisoryList.vue +539 -537
- package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
- package/src/main.js +27 -27
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/rebel.xml +0 -16
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
- package/yarn-error.log +0 -9976
|
@@ -67,19 +67,6 @@
|
|
|
67
67
|
</data-grid>
|
|
68
68
|
</criteria-paged>
|
|
69
69
|
</div>
|
|
70
|
-
<modal v-if="showFile" :show.sync="showFile" v-ref:modal :backdrop="false" title="选择文件">
|
|
71
|
-
<header slot="modal-header" class="modal-header">
|
|
72
|
-
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
73
|
-
<h4 class="modal-title">选择文件</h4>
|
|
74
|
-
</header>
|
|
75
|
-
<article slot="modal-body" class="modal-body">
|
|
76
|
-
<div class="form-group">
|
|
77
|
-
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定"
|
|
78
|
-
v-ref:file></file-upload>
|
|
79
|
-
</div>
|
|
80
|
-
</article>
|
|
81
|
-
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
82
|
-
</modal>
|
|
83
70
|
|
|
84
71
|
<modal v-if="Sign" :show.sync="Sign" v-ref:modal :large="true" :backdrop="false">
|
|
85
72
|
<header slot="modal-header" class="modal-header">
|
|
@@ -374,7 +361,6 @@ export default {
|
|
|
374
361
|
data() {
|
|
375
362
|
return {
|
|
376
363
|
gasbrandDisable: false,
|
|
377
|
-
showFile: false,
|
|
378
364
|
showModal: false,
|
|
379
365
|
model: new PagedList('rs/sql/getApplyUserinfo', 20, null),
|
|
380
366
|
areaList: [],
|
|
@@ -599,31 +585,10 @@ export default {
|
|
|
599
585
|
this.newUserfile = {}
|
|
600
586
|
this.Sign = {}
|
|
601
587
|
this.search()
|
|
602
|
-
}
|
|
588
|
+
}
|
|
603
589
|
//关闭导入弹框
|
|
604
|
-
closeFile() {
|
|
605
|
-
this.showFile = false
|
|
606
|
-
// 将选的文件清空
|
|
607
|
-
this.$refs.file.$el.querySelector('input').value = ''
|
|
608
|
-
this.search()
|
|
609
|
-
},
|
|
610
590
|
},
|
|
611
591
|
events: {
|
|
612
|
-
async 'onFileUpload'(file, result) {
|
|
613
|
-
let data = {
|
|
614
|
-
selectdata: this.selectdata,
|
|
615
|
-
filepath: result.f_downloadpath,
|
|
616
|
-
user: this.$login.f,
|
|
617
|
-
mark: this.mark
|
|
618
|
-
}
|
|
619
|
-
let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
|
|
620
|
-
resolveMsg: null,
|
|
621
|
-
rejectMsg: '导入失败!!!',
|
|
622
|
-
silent: true
|
|
623
|
-
}, 0)
|
|
624
|
-
|
|
625
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
626
|
-
}
|
|
627
592
|
},
|
|
628
593
|
computed: {
|
|
629
594
|
showAddress() {
|
|
@@ -1,241 +1,241 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="margin-bottom: 20px" class="form-group select-overspread">
|
|
3
|
-
<label class="control-label-justify control-label col-sm-3">选择用户</label>
|
|
4
|
-
<div class="col-sm-10" >
|
|
5
|
-
<button class="button_search button_spacing" type="button" style="width: max-content;position: absolute" @click="openSelect" :disabled="mark === 1">选择</button>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<modal v-if="showselect" :show.sync="showselect" width="80%" title="用户信息" v-ref:modal large backdrop="false">
|
|
10
|
-
<article slot="modal-body" class="modal-body" style="height: 600px!important;">
|
|
11
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
12
|
-
<criteria partial='criteria' @condition-changed='$parent.$parent.searchCondition' v-ref:cri>
|
|
13
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
14
|
-
<div class="row">
|
|
15
|
-
<div class="form-group col-sm-3">
|
|
16
|
-
<label class="font_normal_body">客户编号:</label>
|
|
17
|
-
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_id"
|
|
18
|
-
v-on:keyup.enter="search"
|
|
19
|
-
condition="ui.f_userinfo_id = '{}'">
|
|
20
|
-
</div>
|
|
21
|
-
<div class="form-group col-sm-3">
|
|
22
|
-
<label class="font_normal_body">表  号:</label>
|
|
23
|
-
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_meternumber"
|
|
24
|
-
v-on:keyup.enter="search"
|
|
25
|
-
condition="f_meternumber = '{}'">
|
|
26
|
-
</div>
|
|
27
|
-
<div class="form-group col-sm-3">
|
|
28
|
-
<label class="font_normal_body">客户名称:</label>
|
|
29
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
30
|
-
v-on:keyup.enter="search" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<div class="form-group col-sm-3 button-range">
|
|
34
|
-
<button class="button_search button_spacing" @click.prevent="search" v-el:cx>查询</button>
|
|
35
|
-
<button class="button_clear button_spacing" @click.prevent="$parent.$parent.$parent.clear()">清空</button>
|
|
36
|
-
<div
|
|
37
|
-
:class="{'button_shrink_top':$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.criteriaShow}"
|
|
38
|
-
@click="$parent.$parent.$parent.criteriaShow = !$parent.$parent.$parent.criteriaShow"
|
|
39
|
-
class="button_spacing"
|
|
40
|
-
style="float: right">
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="row" v-show="$parent.$parent.$parent.criteriaShow">
|
|
45
|
-
<div class="form-group col-sm-3">
|
|
46
|
-
<label class="font_normal_body">客户电话:</label>
|
|
47
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
48
|
-
v-on:keyup.enter="search" condition="f_user_phone = '{}'" placeholder='客户电话'>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="form-group col-sm-3">
|
|
51
|
-
<label class="font_normal_body">小  区:</label>
|
|
52
|
-
<v-select
|
|
53
|
-
v-model="model.f_residential_area"
|
|
54
|
-
placeholder='小区'
|
|
55
|
-
condition="f_residential_area = '{}'"
|
|
56
|
-
:value.sync="model.f_residential_area"
|
|
57
|
-
:options='$parent.$parent.$parent.area'
|
|
58
|
-
class="select select_list"
|
|
59
|
-
:value-single="true"
|
|
60
|
-
close-on-select ></v-select>
|
|
61
|
-
</div>
|
|
62
|
-
<div class="form-group col-sm-3">
|
|
63
|
-
<label class="font_normal_body">楼  号:</label>
|
|
64
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_building"
|
|
65
|
-
v-on:keyup.enter="search" condition="f_building like '%{}%'" placeholder='楼号'>
|
|
66
|
-
</div>
|
|
67
|
-
<div class="form-group col-sm-3">
|
|
68
|
-
<label class="font_normal_body">单  元:</label>
|
|
69
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
|
|
70
|
-
v-on:keyup.enter="search" condition="f_unit like '%{}%'" placeholder='单元'>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="form-group col-sm-3">
|
|
73
|
-
<label class="font_normal_body">门 牌 号:</label>
|
|
74
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_room"
|
|
75
|
-
v-on:keyup.enter="search" condition="f_room like '%{}%'" placeholder='门牌号'>
|
|
76
|
-
</div>
|
|
77
|
-
<div class="form-group col-sm-3">
|
|
78
|
-
<label class="font_normal_body">客户地址:</label>
|
|
79
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
80
|
-
v-on:keyup.enter="search" condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</criteria>
|
|
85
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
86
|
-
<template partial='head'>
|
|
87
|
-
<tr>
|
|
88
|
-
<th style="white-space: nowrap;">序号</th>
|
|
89
|
-
<th style="white-space: nowrap;">客户编号</th>
|
|
90
|
-
<th style="white-space: nowrap;">客户名称</th>
|
|
91
|
-
<th style="white-space: nowrap;">客户电话</th>
|
|
92
|
-
<th style="white-space: nowrap;">地址信息</th>
|
|
93
|
-
<th style="white-space: nowrap;">表号</th>
|
|
94
|
-
<th style="white-space: nowrap;">选择</th>
|
|
95
|
-
</tr>
|
|
96
|
-
</template>
|
|
97
|
-
<template partial='body'>
|
|
98
|
-
<tr >
|
|
99
|
-
<td style="text-align: center;">
|
|
100
|
-
<nobr><font>{{$index+1}}</font></nobr>
|
|
101
|
-
</td>
|
|
102
|
-
<td style="text-align: center;">
|
|
103
|
-
<nobr><font>{{ row.f_userinfo_id }}</font></nobr>
|
|
104
|
-
</td>
|
|
105
|
-
<td style="text-align: center;">
|
|
106
|
-
<nobr><font>{{ row.f_user_name }}</font></nobr>
|
|
107
|
-
</td>
|
|
108
|
-
<td style="text-align: center;">
|
|
109
|
-
<nobr><font>{{ row.f_user_phone }}</font></nobr>
|
|
110
|
-
</td>
|
|
111
|
-
<td style="text-align: center;">
|
|
112
|
-
<nobr><font>{{ row.f_address }}</font></nobr>
|
|
113
|
-
</td>
|
|
114
|
-
<td style="text-align: center;">
|
|
115
|
-
<nobr><font>{{ row.f_meternumber }}</font></nobr>
|
|
116
|
-
</td>
|
|
117
|
-
<td style="text-align: center;">
|
|
118
|
-
<nobr><font>
|
|
119
|
-
<button type="button" name="button" class="button_export" @click.prevent="$parent.$parent.$parent.$parent.select(row)">确认选择</button>
|
|
120
|
-
</font></nobr>
|
|
121
|
-
</td>
|
|
122
|
-
</tr>
|
|
123
|
-
</template>
|
|
124
|
-
</data-grid>
|
|
125
|
-
</criteria-paged>
|
|
126
|
-
</article>
|
|
127
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
128
|
-
</footer>
|
|
129
|
-
</modal>
|
|
130
|
-
</template>
|
|
131
|
-
<script>
|
|
132
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
133
|
-
import Vue from 'vue'
|
|
134
|
-
|
|
135
|
-
export default {
|
|
136
|
-
title: '用户列表',
|
|
137
|
-
props: {
|
|
138
|
-
selectdata: {
|
|
139
|
-
type: Object
|
|
140
|
-
},
|
|
141
|
-
mark: {
|
|
142
|
-
type: Number,
|
|
143
|
-
default: 0
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
data () {
|
|
147
|
-
return {
|
|
148
|
-
showselect: false,
|
|
149
|
-
model: new PagedList('rs/sql/applyGetUserinfos', 20, null),
|
|
150
|
-
criteriaShow: false,
|
|
151
|
-
area: []
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
ready () {
|
|
155
|
-
this.getArea()
|
|
156
|
-
},
|
|
157
|
-
methods: {
|
|
158
|
-
select (row) {
|
|
159
|
-
this.$dispatch('selectUserinfo', row)
|
|
160
|
-
|
|
161
|
-
this.showselect = false
|
|
162
|
-
},
|
|
163
|
-
searchCondition (args) {
|
|
164
|
-
args.condition = `${args.condition} and ui.f_filiale = '${this.$login.f.f_fengongsi}'`
|
|
165
|
-
|
|
166
|
-
this.model.search(args.condition, args.model)
|
|
167
|
-
},
|
|
168
|
-
clear () {
|
|
169
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
170
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
171
|
-
})
|
|
172
|
-
},
|
|
173
|
-
openSelect () {
|
|
174
|
-
this.showselect = true
|
|
175
|
-
setTimeout(() => {
|
|
176
|
-
this.$refs.cp.$refs.cri.search()
|
|
177
|
-
}, 100)
|
|
178
|
-
},
|
|
179
|
-
// 获取小区
|
|
180
|
-
async getArea () {
|
|
181
|
-
let data = {
|
|
182
|
-
tablename: 't_area_address',
|
|
183
|
-
condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
|
|
184
|
-
}
|
|
185
|
-
let http = new HttpResetClass()
|
|
186
|
-
let res = await http.load(
|
|
187
|
-
'POST',
|
|
188
|
-
`rs/sql/applySingleTable`,
|
|
189
|
-
{data: data},
|
|
190
|
-
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
191
|
-
)
|
|
192
|
-
this.area = res.data.map(item => {
|
|
193
|
-
return {
|
|
194
|
-
label: item.f_residential_area,
|
|
195
|
-
value: item.id
|
|
196
|
-
}
|
|
197
|
-
})
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
events: {
|
|
201
|
-
},
|
|
202
|
-
computed: {
|
|
203
|
-
},
|
|
204
|
-
watch: {
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
</script>
|
|
208
|
-
<style scoped>
|
|
209
|
-
.control-label-justify {
|
|
210
|
-
display: inline-block;
|
|
211
|
-
vertical-align: top;
|
|
212
|
-
width: 110px;
|
|
213
|
-
text-align: justify;
|
|
214
|
-
font-family: PingFang-SC-Bold;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.control-label-justify::after {
|
|
218
|
-
content: "";
|
|
219
|
-
display: inline-block;
|
|
220
|
-
width: 100%;
|
|
221
|
-
overflow: hidden;
|
|
222
|
-
height: 0;
|
|
223
|
-
}
|
|
224
|
-
.input_view{
|
|
225
|
-
padding: 8px;
|
|
226
|
-
background-color: #ffffff;
|
|
227
|
-
border-radius: 2px;
|
|
228
|
-
border: solid 1px #c7c7c7!important;
|
|
229
|
-
color: #333333!important;
|
|
230
|
-
font-size: 15px!important;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.input_view[readonly]{
|
|
234
|
-
border: 1px solid #DDD!important;
|
|
235
|
-
color:#ACA899!important;
|
|
236
|
-
}
|
|
237
|
-
.input_view:disabled{
|
|
238
|
-
border: 1px solid #DDD!important;
|
|
239
|
-
color:#ACA899!important;
|
|
240
|
-
}
|
|
241
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="margin-bottom: 20px" class="form-group select-overspread">
|
|
3
|
+
<label class="control-label-justify control-label col-sm-3">选择用户</label>
|
|
4
|
+
<div class="col-sm-10" >
|
|
5
|
+
<button class="button_search button_spacing" type="button" style="width: max-content;position: absolute" @click="openSelect" :disabled="mark === 1">选择</button>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<modal v-if="showselect" :show.sync="showselect" width="80%" title="用户信息" v-ref:modal large backdrop="false">
|
|
10
|
+
<article slot="modal-body" class="modal-body" style="height: 600px!important;">
|
|
11
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
12
|
+
<criteria partial='criteria' @condition-changed='$parent.$parent.searchCondition' v-ref:cri>
|
|
13
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
14
|
+
<div class="row">
|
|
15
|
+
<div class="form-group col-sm-3">
|
|
16
|
+
<label class="font_normal_body">客户编号:</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_id"
|
|
18
|
+
v-on:keyup.enter="search"
|
|
19
|
+
condition="ui.f_userinfo_id = '{}'">
|
|
20
|
+
</div>
|
|
21
|
+
<div class="form-group col-sm-3">
|
|
22
|
+
<label class="font_normal_body">表  号:</label>
|
|
23
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_meternumber"
|
|
24
|
+
v-on:keyup.enter="search"
|
|
25
|
+
condition="f_meternumber = '{}'">
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-sm-3">
|
|
28
|
+
<label class="font_normal_body">客户名称:</label>
|
|
29
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
30
|
+
v-on:keyup.enter="search" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div class="form-group col-sm-3 button-range">
|
|
34
|
+
<button class="button_search button_spacing" @click.prevent="search" v-el:cx>查询</button>
|
|
35
|
+
<button class="button_clear button_spacing" @click.prevent="$parent.$parent.$parent.clear()">清空</button>
|
|
36
|
+
<div
|
|
37
|
+
:class="{'button_shrink_top':$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.criteriaShow}"
|
|
38
|
+
@click="$parent.$parent.$parent.criteriaShow = !$parent.$parent.$parent.criteriaShow"
|
|
39
|
+
class="button_spacing"
|
|
40
|
+
style="float: right">
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="row" v-show="$parent.$parent.$parent.criteriaShow">
|
|
45
|
+
<div class="form-group col-sm-3">
|
|
46
|
+
<label class="font_normal_body">客户电话:</label>
|
|
47
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
48
|
+
v-on:keyup.enter="search" condition="f_user_phone = '{}'" placeholder='客户电话'>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="form-group col-sm-3">
|
|
51
|
+
<label class="font_normal_body">小  区:</label>
|
|
52
|
+
<v-select
|
|
53
|
+
v-model="model.f_residential_area"
|
|
54
|
+
placeholder='小区'
|
|
55
|
+
condition="f_residential_area = '{}'"
|
|
56
|
+
:value.sync="model.f_residential_area"
|
|
57
|
+
:options='$parent.$parent.$parent.area'
|
|
58
|
+
class="select select_list"
|
|
59
|
+
:value-single="true"
|
|
60
|
+
close-on-select ></v-select>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group col-sm-3">
|
|
63
|
+
<label class="font_normal_body">楼  号:</label>
|
|
64
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_building"
|
|
65
|
+
v-on:keyup.enter="search" condition="f_building like '%{}%'" placeholder='楼号'>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="form-group col-sm-3">
|
|
68
|
+
<label class="font_normal_body">单  元:</label>
|
|
69
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
|
|
70
|
+
v-on:keyup.enter="search" condition="f_unit like '%{}%'" placeholder='单元'>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="form-group col-sm-3">
|
|
73
|
+
<label class="font_normal_body">门 牌 号:</label>
|
|
74
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_room"
|
|
75
|
+
v-on:keyup.enter="search" condition="f_room like '%{}%'" placeholder='门牌号'>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group col-sm-3">
|
|
78
|
+
<label class="font_normal_body">客户地址:</label>
|
|
79
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
80
|
+
v-on:keyup.enter="search" condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</criteria>
|
|
85
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
86
|
+
<template partial='head'>
|
|
87
|
+
<tr>
|
|
88
|
+
<th style="white-space: nowrap;">序号</th>
|
|
89
|
+
<th style="white-space: nowrap;">客户编号</th>
|
|
90
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
91
|
+
<th style="white-space: nowrap;">客户电话</th>
|
|
92
|
+
<th style="white-space: nowrap;">地址信息</th>
|
|
93
|
+
<th style="white-space: nowrap;">表号</th>
|
|
94
|
+
<th style="white-space: nowrap;">选择</th>
|
|
95
|
+
</tr>
|
|
96
|
+
</template>
|
|
97
|
+
<template partial='body'>
|
|
98
|
+
<tr >
|
|
99
|
+
<td style="text-align: center;">
|
|
100
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
101
|
+
</td>
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr><font>{{ row.f_userinfo_id }}</font></nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;">
|
|
106
|
+
<nobr><font>{{ row.f_user_name }}</font></nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;">
|
|
109
|
+
<nobr><font>{{ row.f_user_phone }}</font></nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align: center;">
|
|
112
|
+
<nobr><font>{{ row.f_address }}</font></nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr><font>{{ row.f_meternumber }}</font></nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr><font>
|
|
119
|
+
<button type="button" name="button" class="button_export" @click.prevent="$parent.$parent.$parent.$parent.select(row)">确认选择</button>
|
|
120
|
+
</font></nobr>
|
|
121
|
+
</td>
|
|
122
|
+
</tr>
|
|
123
|
+
</template>
|
|
124
|
+
</data-grid>
|
|
125
|
+
</criteria-paged>
|
|
126
|
+
</article>
|
|
127
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
128
|
+
</footer>
|
|
129
|
+
</modal>
|
|
130
|
+
</template>
|
|
131
|
+
<script>
|
|
132
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
133
|
+
import Vue from 'vue'
|
|
134
|
+
|
|
135
|
+
export default {
|
|
136
|
+
title: '用户列表',
|
|
137
|
+
props: {
|
|
138
|
+
selectdata: {
|
|
139
|
+
type: Object
|
|
140
|
+
},
|
|
141
|
+
mark: {
|
|
142
|
+
type: Number,
|
|
143
|
+
default: 0
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
data () {
|
|
147
|
+
return {
|
|
148
|
+
showselect: false,
|
|
149
|
+
model: new PagedList('rs/sql/applyGetUserinfos', 20, null),
|
|
150
|
+
criteriaShow: false,
|
|
151
|
+
area: []
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
ready () {
|
|
155
|
+
this.getArea()
|
|
156
|
+
},
|
|
157
|
+
methods: {
|
|
158
|
+
select (row) {
|
|
159
|
+
this.$dispatch('selectUserinfo', row)
|
|
160
|
+
|
|
161
|
+
this.showselect = false
|
|
162
|
+
},
|
|
163
|
+
searchCondition (args) {
|
|
164
|
+
args.condition = `${args.condition} and ui.f_filiale = '${this.$login.f.f_fengongsi}'`
|
|
165
|
+
|
|
166
|
+
this.model.search(args.condition, args.model)
|
|
167
|
+
},
|
|
168
|
+
clear () {
|
|
169
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
170
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
171
|
+
})
|
|
172
|
+
},
|
|
173
|
+
openSelect () {
|
|
174
|
+
this.showselect = true
|
|
175
|
+
setTimeout(() => {
|
|
176
|
+
this.$refs.cp.$refs.cri.search()
|
|
177
|
+
}, 100)
|
|
178
|
+
},
|
|
179
|
+
// 获取小区
|
|
180
|
+
async getArea () {
|
|
181
|
+
let data = {
|
|
182
|
+
tablename: 't_area_address',
|
|
183
|
+
condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
|
|
184
|
+
}
|
|
185
|
+
let http = new HttpResetClass()
|
|
186
|
+
let res = await http.load(
|
|
187
|
+
'POST',
|
|
188
|
+
`rs/sql/applySingleTable`,
|
|
189
|
+
{data: data},
|
|
190
|
+
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
191
|
+
)
|
|
192
|
+
this.area = res.data.map(item => {
|
|
193
|
+
return {
|
|
194
|
+
label: item.f_residential_area,
|
|
195
|
+
value: item.id
|
|
196
|
+
}
|
|
197
|
+
})
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
events: {
|
|
201
|
+
},
|
|
202
|
+
computed: {
|
|
203
|
+
},
|
|
204
|
+
watch: {
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
</script>
|
|
208
|
+
<style scoped>
|
|
209
|
+
.control-label-justify {
|
|
210
|
+
display: inline-block;
|
|
211
|
+
vertical-align: top;
|
|
212
|
+
width: 110px;
|
|
213
|
+
text-align: justify;
|
|
214
|
+
font-family: PingFang-SC-Bold;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.control-label-justify::after {
|
|
218
|
+
content: "";
|
|
219
|
+
display: inline-block;
|
|
220
|
+
width: 100%;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
height: 0;
|
|
223
|
+
}
|
|
224
|
+
.input_view{
|
|
225
|
+
padding: 8px;
|
|
226
|
+
background-color: #ffffff;
|
|
227
|
+
border-radius: 2px;
|
|
228
|
+
border: solid 1px #c7c7c7!important;
|
|
229
|
+
color: #333333!important;
|
|
230
|
+
font-size: 15px!important;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.input_view[readonly]{
|
|
234
|
+
border: 1px solid #DDD!important;
|
|
235
|
+
color:#ACA899!important;
|
|
236
|
+
}
|
|
237
|
+
.input_view:disabled{
|
|
238
|
+
border: 1px solid #DDD!important;
|
|
239
|
+
color:#ACA899!important;
|
|
240
|
+
}
|
|
241
|
+
</style>
|