3f535f30
杨鑫
'初始'
|
1
2
|
<template>
<div style="background-color:#f7f7f7;padding:10px 10px;">
|
b1fef010
杨鑫
'最新代码'
|
3
|
<div class="zhuti" v-if="ggXin == false && detbox==false && genjinShow==false && tanpanShow ==false">
|
3f535f30
杨鑫
'初始'
|
4
|
<div style="height:58px;line-height:58px;">
|
ab1ffdd3
杨鑫
'更新'
|
5
|
<div style="color:#0006"> <span>商户意向管理</span> <span style="padding:0 5px;">></span> <span
|
be060284
杨鑫
'最新'
|
6
|
style="color:#000000e6">寻租申请管理</span></div>
|
3f535f30
杨鑫
'初始'
|
7
8
9
10
11
12
13
14
|
</div>
<div>
<!-- 搜索 -->
<div class="formSearch">
<el-form :inline="true" :model="formSel">
<el-form-item label="意向客户名称">
<el-input v-model="formSel.intentCustomerName" placeholder="请输入" class="moren" style="width:168px" />
</el-form-item>
|
3f535f30
杨鑫
'初始'
|
15
|
<el-form-item label="意向资源类型">
|
b1fef010
杨鑫
'最新代码'
|
16
|
<el-select v-model="formSel.leaseType" placeholder="请选择" style="width:168px">
|
3f535f30
杨鑫
'初始'
|
17
18
|
<el-option label="商铺" value="商铺" />
<el-option label="广告位" value="广告位" />
|
e5b57447
杨鑫
'分包问卷'
|
19
|
<el-option label="场地" value="场地" />
|
3f535f30
杨鑫
'初始'
|
20
21
|
</el-select>
</el-form-item>
|
3f535f30
杨鑫
'初始'
|
22
23
|
</el-form>
|
b1fef010
杨鑫
'最新代码'
|
24
|
<div style="width: 18%;">
|
3f535f30
杨鑫
'初始'
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<el-button style="background-color: #3F9B6A;color: #fff" @click="onSubmit">查询
</el-button>
<el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
@click="resetting">重置
</el-button>
</div>
</div>
<div style="margin-bottom:20px;">
<el-button style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" icon="el-icon-circle-plus-outline"
@click="addbuss">新增</el-button>
</div>
<!-- 表格 -->
<el-table :data="
tableData.slice(
(currentPage - 1) * pageSize,
currentPage * pageSize
)
" :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
<el-table-column label="序号" min-width="80">
<template slot-scope="scope">
{{scope.$index+1}}
</template>
</el-table-column>
|
eb438c24
wesley88
1
|
49
|
<el-table-column label="意向客户名称" prop="intentCustomerName" min-width="150" />
|
b1fef010
杨鑫
'最新代码'
|
50
51
52
53
|
<el-table-column label="手机号" prop="phone" min-width="180" />
<el-table-column label="意向租赁类型" prop="leaseType" min-width="120" />
<el-table-column label="意向租赁周期" prop="leaseCycle" min-width="120" />
<el-table-column label="意向租金(月)" prop="rentalRent" min-width="120" />
|
de5fce08
杨鑫
'最新'
|
54
|
<el-table-column label="意向区域" prop="intentionRegion" min-width="120" />
|
cf438595
wesley88
1
|
55
|
<el-table-column label="审核状态" min-width="120">
|
de5fce08
杨鑫
'最新'
|
56
57
58
59
60
|
<template slot-scope="scope">
{{scope.row.auditStatus == 1?'已通过':scope.row.auditStatus == 2?'未通过':'待审核'}}
</template>
</el-table-column>
<el-table-column label="操作" min-width="270" fixed="right">
|
3f535f30
杨鑫
'初始'
|
61
62
63
64
|
<template slot-scope="scope">
<div class="tableBtn greens" @click="handleEditForm(scope.row)">
查看
</div>
|
eb438c24
wesley88
1
|
65
|
<div class="tableBtn greens" @click="bianjilist(scope.row)">
|
3f535f30
杨鑫
'初始'
|
66
67
|
编辑
</div>
|
8550d958
杨鑫
'最新'
|
68
69
|
<!-- v-if="scope.row.auditStatus =='1'" -->
<div class="tableBtn greens" @click="delGuan(scope.row)">
|
3f535f30
杨鑫
'初始'
|
70
71
|
删除
</div>
|
eb438c24
wesley88
1
|
72
|
<!-- <div class="tableBtn greens" @click="chehui(scope.row)" v-if="scope.row.auditStatus =='2'">
|
3f535f30
杨鑫
'初始'
|
73
74
75
76
|
撤回
</div>
<div class="tableBtn greens" @click="getshen(scope.row)" v-if="scope.row.auditStatus =='1'">
提交审核
|
b1fef010
杨鑫
'最新代码'
|
77
|
</div> -->
|
eb438c24
wesley88
1
|
78
|
<div class="tableBtn greens" @click="shengRenwu(scope.row)">
|
b1fef010
杨鑫
'最新代码'
|
79
|
跟进日志
|
3f535f30
杨鑫
'初始'
|
80
|
</div>
|
eb438c24
wesley88
1
|
81
|
<div class="tableBtn greens" @click="tanRenwu(scope.row)">
|
b1fef010
杨鑫
'最新代码'
|
82
|
谈判日志
|
3f535f30
杨鑫
'初始'
|
83
|
</div>
|
b1fef010
杨鑫
'最新代码'
|
84
|
<!-- <div class="tableBtn greens" @click="pipei(scope.row)" v-if="scope.row.auditStatus =='1'">
|
3f535f30
杨鑫
'初始'
|
85
|
一键匹配
|
b1fef010
杨鑫
'最新代码'
|
86
|
</div> -->
|
3f535f30
杨鑫
'初始'
|
87
88
89
|
</template>
</el-table-column>
</el-table>
|
eb438c24
wesley88
1
|
90
|
<!-- <div class="fenye">
|
8550d958
杨鑫
'最新'
|
91
92
93
|
<el-pagination class="pagination" :hide-on-single-page="flag" background small :current-page="currentPage"
layout="prev, pager, next,total" :total="total" @size-change="handleSizeChange"
@current-change="handleCurrentChange" />
|
eb438c24
wesley88
1
|
94
95
|
</div> -->
<div style="display: flex;justify-content: space-between;" class="bom">
|
be060284
杨鑫
'最新'
|
96
|
<div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{total}}</span> 条</div>
|
cf438595
wesley88
1
|
97
98
|
<el-pagination :current-page="currentPage" :page-sizes="[10, 20, 50, 100]" background small
layout="prev, pager, next" :total="total" @size-change="handleSizeChange"
|
eb438c24
wesley88
1
|
99
100
|
@current-change="handleCurrentChange">
</el-pagination>
|
8550d958
杨鑫
'最新'
|
101
102
103
|
</div>
</div>
</div>
|
3f535f30
杨鑫
'初始'
|
104
|
|
8550d958
杨鑫
'最新'
|
105
106
107
108
|
<!-- 一键匹配 -->
<el-dialog :visible.sync="pip" custom-class="tongyong_css" style="padding: 0" width="55%" center
:close-on-click-modal="false" class="dialog_css_Xq">
<div style="
|
3f535f30
杨鑫
'初始'
|
109
110
111
112
113
114
115
|
background-color: #fafafa;
border: 1px solid #eaeaea;
height: 42px;
width: 100%;
padding: 0 20px;
line-height: 42px;
">
|
8550d958
杨鑫
'最新'
|
116
117
118
119
|
匹配记录
</div>
<div style="padding: 0 20px">
<div style="
|
3f535f30
杨鑫
'初始'
|
120
121
122
123
124
|
display: flex;
justify-content: space-between;
font-size: 14px;
">
|
8550d958
杨鑫
'最新'
|
125
126
127
128
129
130
131
132
|
<el-form ref="form" :inline="true" :model="pipeiSel" style="padding-top: 10px;">
<el-form-item label="意向资源类型">
<el-select v-model="pipeiSel.resources.cereRentalPolicies.businessType" placeholder="请选择"
style="width:168px">
<el-option label="商铺" value="sp" />
<el-option label="广告位" value="gg" />
<el-option label="场地" value="cd" />
</el-select>
|
3f535f30
杨鑫
'初始'
|
133
|
|
8550d958
杨鑫
'最新'
|
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
</el-form-item>
<el-form-item label="租期">
<el-select v-model="pipeiSel.resources.cereRentalPolicies.leaseTerm" style="width:168px">
<el-option label="年" value="年" />
<el-option label="月" value="月" />
<el-option label="日" value="日" />
</el-select>
</el-form-item>
<el-form-item label="租金范围">
<el-select v-model="pipeiSel.resources.cereRentalPolicies.rentalPrice" placeholder="请选择"
style="width:168px">
<el-option label="0-10000" value="0-10000" />
<el-option label="10000-20000" value="10000-20000" />
<el-option label="20000-50000" value="20000-50000" />
<el-option label="50000-100000" value="50000-100000" />
</el-select>
</el-form-item>
</el-form>
<div style="
|
3f535f30
杨鑫
'初始'
|
153
154
|
padding-top: 15px;
">
|
8550d958
杨鑫
'最新'
|
155
156
157
158
159
160
|
<el-button style="background-color: #3F9B6A;color: #fff" @click="pipeiBtn">查询</el-button>
<el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
@click="pipeiClose">重置</el-button>
</div>
</div>
<!-- <div style="margin-bottom:20px;">
|
3f535f30
杨鑫
'初始'
|
161
162
163
|
<el-button style="background-color: #3F9B6A;color: #fff"
>导出</el-button>
</div> -->
|
8550d958
杨鑫
'最新'
|
164
|
<el-table :data="
|
3f535f30
杨鑫
'初始'
|
165
166
167
168
169
|
pipData.slice(
(currentPage - 1) * pageSize,
currentPage * pageSize
)
" :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
|
8550d958
杨鑫
'最新'
|
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
<el-table-column label="序号" min-width="80">
<template slot-scope="scope">
{{scope.$index+1}}
</template>
</el-table-column>
<el-table-column label="资源名称" prop="intentCustomerName" min-width="150" />
<el-table-column label="编号" prop="resourcesId" min-width="150" />
<el-table-column label="意向资源类型" prop="shopName" min-width="150" />
<el-table-column label="最近释放日期" prop="businessStartTime" min-width="150" />
<el-table-column label="最短租期" prop="contactInformation" min-width="150" />
<el-table-column label="意向租金单价(元/平方)" prop="contactInformation" min-width="250" />
<el-table-column prop="auditStatus" label="资源状态" min-width="150">
<template slot-scope="scope">
</template>
</el-table-column>
</el-table>
</div>
</el-dialog>
|
8550d958
杨鑫
'最新'
|
190
|
|
8550d958
杨鑫
'最新'
|
191
|
<!-- 查看 -->
|
b1fef010
杨鑫
'最新代码'
|
192
|
<div class="zhuti" v-if='detbox'>
|
eb438c24
wesley88
1
|
193
194
195
196
|
<div style="height:58px;line-height:58px;">
<div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span
style="color:#000000e6">查看</span></div>
</div>
|
b1fef010
杨鑫
'最新代码'
|
197
|
|
eb438c24
wesley88
1
|
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
<div style="margin-top: 30px;" class="editcss">
<TitleWithCircle title="意向信息"></TitleWithCircle>
<div style="padding: 20px;">
<el-form :model="secondData" ref="ruleForm" label-width="150px" class="demo-ruleForm">
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="意向租赁类型" prop="leaseType">
<div class="duiqi">{{secondData.leaseType}}</div>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="意向租赁周期" prop="leaseCycle">
<div class="duiqi">{{secondData.leaseCycle}}</div>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="意向租金(月)" prop="rentalRent">
<div class="duiqi">{{secondData.rentalRent}}</div>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="意向经营类型" prop="operationType">
<div class="duiqi">{{secondData.operationType}}</div>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="意向区域" prop="intentionRegion">
<div class="duiqi">{{secondData.intentionRegion}}</div>
</el-form-item>
</el-col>
</el-row>
<TitleWithCircle title="商家信息"></TitleWithCircle>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="姓名" prop="intentCustomerName">
<div class="duiqi">{{secondData.intentCustomerName}}</div>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="手机号" prop="phone">
<div class="duiqi">{{secondData.phone}}</div>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="身份证号码" prop="idCardNumber">
<div class="duiqi">{{secondData.idCardNumber}}</div>
</el-form-item>
</el-col>
|
cfe2752f
杨鑫
最新
|
260
|
<!-- <el-col :span="12">
|
eb438c24
wesley88
1
|
261
262
263
|
<el-form-item label="身份证有效期">
<div class="duiqi">{{secondData.idCardValidStart}}-{{secondData.idCardValidEnd}}</div>
</el-form-item>
|
cfe2752f
杨鑫
最新
|
264
|
</el-col> -->
|
eb438c24
wesley88
1
|
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
|
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="身份证照片(正面)" prop="idCardPhotoFront">
<div style="display: flex;">
<allimg :src="secondData.idCardPhotoFront" fit="contain"
style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" />
</div>
<!-- {{idCardPhotoFront}} -->
<!-- <el-image :src="$baseURL +secondData.idCardPhotoFront" style="width:140px;height:140px;"></el-image> -->
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="身份证照片(反面)" prop="idCardPhotoBack">
<div style="display: flex;">
<allimg :src="secondData.idCardPhotoBack" fit="contain"
style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" />
</div>
<!-- idCardPhotoBack -->
<!-- <el-image :src="$baseURL +secondData.idCardPhotoBack" style="width:140px;height:140px;"></el-image> -->
</el-form-item>
</el-col>
</el-row>
</el-form>
|
b1fef010
杨鑫
'最新代码'
|
291
|
</div>
|
eb438c24
wesley88
1
|
292
293
294
295
296
297
|
</div>
<el-row :gutter="20">
<el-col :span="12">
<div style="padding-left:160px;">
<el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
@click="detbox = false">取消</el-button>
|
3f535f30
杨鑫
'初始'
|
298
|
</div>
|
b1fef010
杨鑫
'最新代码'
|
299
|
|
eb438c24
wesley88
1
|
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
|
</el-col>
</el-row>
</div>
<!-- 新增 -->
<div class="zhuti" v-if="ggXin">
<div style="height:58px;line-height:58px;">
<div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span
style="color:#000000e6">{{edit?'新增':'编辑'}}</span></div>
</div>
<div style="margin-top: 30px;">
<TitleWithCircle title="意向信息"></TitleWithCircle>
<div style="padding: 20px 20px 20px 0;">
<el-form ref="AddFromOne" :model="ruleForm" :rules="rulesOne" label-width="150px">
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="意向租赁类型" prop="leaseType">
<el-select v-model="ruleForm.leaseType" placeholder="请选择" style="width:100%">
<el-option label="商铺" value="商铺" />
<el-option label="场地" value="场地" />
<el-option label="广告位" value="广告位" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="意向租赁周期" prop="leaseCycle">
<el-input v-model="ruleForm.leaseCycle" placeholder="请输入" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="意向租金(月)" prop="rentalRent" :rules="getCoordinateRules('rentalRent')">
<el-input v-model.number="ruleForm.rentalRent" placeholder="请输入" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="意向经营类型" prop="operationType">
<el-input v-model="ruleForm.operationType" placeholder="请输入" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="意向区域" prop="intentionRegion">
<el-input v-model="ruleForm.intentionRegion" placeholder="请输入" />
</el-form-item>
</el-col>
</el-row>
<TitleWithCircle title="商家信息"></TitleWithCircle>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="姓名" prop="intentCustomerName">
<el-input v-model="ruleForm.intentCustomerName" placeholder="请输入" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="手机号" prop="phone">
|
cfe2752f
杨鑫
最新
|
358
|
<el-input v-model.number="ruleForm.phone" placeholder="请输入" :disabled="edit==false?true:false"/>
|
eb438c24
wesley88
1
|
359
360
361
362
363
364
365
366
367
368
|
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="身份证号码" prop="idCardNumber">
<el-input v-model="ruleForm.idCardNumber" placeholder="请输入" />
</el-form-item>
</el-col>
|
cfe2752f
杨鑫
最新
|
369
|
<!-- <el-col :span="12">
|
eb438c24
wesley88
1
|
370
371
372
|
<el-form-item label="身份证有效期" prop="idCardValidStart">
<el-date-picker v-model="ruleForm.idTime" type="daterange" range-separator="至"
start-placeholder="开始时间" end-placeholder="结束时间" value-format="yyyy-MM-dd" style="width:100%"
|
cfe2752f
杨鑫
最新
|
373
|
@change="idCardchange" @blur="blur" />
|
eb438c24
wesley88
1
|
374
|
</el-form-item>
|
cfe2752f
杨鑫
最新
|
375
|
</el-col> -->
|
eb438c24
wesley88
1
|
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
|
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="身份证照片(正面)" prop="idCardPhotoFront">
<upimg filePath="yixiang" inputtype="idCardPhotoFront" :value="ruleForm.idCardPhotoFront"
@changimg="e=>changimg(e,'idCardPhotoFront')" :limit="1"></upimg>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="身份证照片(反面)" prop="idCardPhotoBack">
<upimg filePath="yixiang" inputtype="idCardPhotoBack" :value="ruleForm.idCardPhotoBack"
@changimg="e=>changimg(e,'idCardPhotoBack')" :limit="1"></upimg>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item>
<div style="margin-top: 20px">
|
cf438595
wesley88
1
|
398
399
400
|
<el-button @click="addCheck()" style="background-color: #3F9B6A;color: #fff;">确定</el-button>
<el-button @click="closeFn()" class="buttonHover"
style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;">取消</el-button>
|
eb438c24
wesley88
1
|
401
|
</div>
|
eb438c24
wesley88
1
|
402
403
404
|
</el-form-item>
</el-col>
</el-row>
|
8550d958
杨鑫
'最新'
|
405
|
|
eb438c24
wesley88
1
|
406
|
</el-form>
|
3f535f30
杨鑫
'初始'
|
407
|
</div>
|
eb438c24
wesley88
1
|
408
409
410
411
|
</div>
</div>
<genjin v-if="genjinShow" @cancel="cancel" :message="genjinId"></genjin>
<tanpan v-if="tanpanShow" @cancel="tancel" :message="genjinId"></tanpan>
|
3f535f30
杨鑫
'初始'
|
412
413
414
415
416
417
418
419
420
421
422
423
424
|
</div>
</template>
<script>
import {
uploadUrl,
token
} from '@/utils/request'
import {
rsaManAll,
rsaManAdd,
rsaManEdit,
rsaManDel,
|
e5b57447
杨鑫
'分包问卷'
|
425
|
ziyuanduiy,
|
3f535f30
杨鑫
'初始'
|
426
427
|
} from '../../../api/rsaManagement'
import {
|
b1fef010
杨鑫
'最新代码'
|
428
429
430
|
icManAdd,
} from '../../../api/icManagement';
import {
|
8550d958
杨鑫
'最新'
|
431
|
genAdd,
|
3f535f30
杨鑫
'初始'
|
432
433
|
} from '../../../api/followup.js'
import {
|
8550d958
杨鑫
'最新'
|
434
|
getAlls
|
3f535f30
杨鑫
'初始'
|
435
436
437
438
439
|
} from '../../../api/information.js'
import {
getAlls as map1
} from '../../../api/map1'
import upimg from "@/components/ImageUpload/index"
|
b1fef010
杨鑫
'最新代码'
|
440
441
442
|
import TitleWithCircle from '@/components/top/index';
import genjin from './genjin';
import tanpan from './tanpan';
|
1dbc0b2d
wesley88
1
|
443
|
import allimg from '@/components/chakan/allimg.vue';
|
3f535f30
杨鑫
'初始'
|
444
445
|
export default {
components: {
|
b1fef010
杨鑫
'最新代码'
|
446
447
448
|
upimg,
TitleWithCircle,
genjin,
|
1dbc0b2d
wesley88
1
|
449
450
|
tanpan,
allimg
|
3f535f30
杨鑫
'初始'
|
451
452
453
454
455
456
|
},
data() {
return {
detbox: false, // 详情
edit: true, // 编辑
|
8550d958
杨鑫
'最新'
|
457
|
addMing: false, //资源
|
3f535f30
杨鑫
'初始'
|
458
459
460
461
462
463
464
465
|
selshop: [], //意向资源列表
action: uploadUrl, // 上传图片
myHeaders: {
'Authorization-admin': token
},
ggXin: false, // 新增
sel: [], // 选择资源
stepNum: 0, // 切换
|
3f535f30
杨鑫
'初始'
|
466
|
formSel: {
|
8550d958
杨鑫
'最新'
|
467
|
intentCustomerName: '',
|
eb438c24
wesley88
1
|
468
|
leaseType: '',
|
b1fef010
杨鑫
'最新代码'
|
469
|
pageNumber: 0,
|
3f535f30
杨鑫
'初始'
|
470
|
pageSize: 10,
|
cf438595
wesley88
1
|
471
|
auditStatus: '1'
|
3f535f30
杨鑫
'初始'
|
472
473
|
},
ruleForm: {
|
eb438c24
wesley88
1
|
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
|
intentCustomerName: '', //意向客户名称
leaseType: '', //租赁类型
leaseCycle: '', //租赁周期
rentalRent: null, //意向租金
operationType: '', //经营类型
intentionRegion: '', //意向区域
idCardNumber: '', //身份证号
idCardType: '', //证件类型
phone: null, //手机号
idTime: [],
idCardValidStart: '', //身份证有效开始时间
idCardValidEnd: '', //身份证有效结束时间
idCardPhotoFront: '', //身份证照片(正面)
idCardPhotoBack: '', //身份证照片(反面)
source: 0
|
3f535f30
杨鑫
'初始'
|
489
|
},
|
b1fef010
杨鑫
'最新代码'
|
490
|
|
3f535f30
杨鑫
'初始'
|
491
492
|
secondData: {},
currentPage: 1,
|
b1fef010
杨鑫
'最新代码'
|
493
|
total: 0,
|
3f535f30
杨鑫
'初始'
|
494
495
496
|
flag: false,
pageSize: 10,
tableData: [],
|
3f535f30
杨鑫
'初始'
|
497
|
pageindex: {
|
b1fef010
杨鑫
'最新代码'
|
498
|
pageNumber: 0,
|
3f535f30
杨鑫
'初始'
|
499
|
pageSize: 10,
|
cf438595
wesley88
1
|
500
|
auditStatus: '1'
|
3f535f30
杨鑫
'初始'
|
501
|
},
|
8550d958
杨鑫
'最新'
|
502
503
504
505
506
507
508
509
510
511
512
513
|
ziyuanData: [],
multipleSelection: [],
pip: false,
pipData: [],
pipeiSel: {
resources: {
cereRentalPolicies: {
businessType: '',
leaseTerm: '',
rentalPrice: ''
}
},
|
b1fef010
杨鑫
'最新代码'
|
514
|
pageNumber: 0,
|
8550d958
杨鑫
'最新'
|
515
516
|
pageSize: 10,
},
|
8550d958
杨鑫
'最新'
|
517
|
|
b1fef010
杨鑫
'最新代码'
|
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
|
rulesOne: {
intentCustomerName: [{
required: true,
message: '请输入姓名',
trigger: 'blur'
}, ],
leaseType: [{
required: true,
message: '请选择租赁类型',
trigger: 'change'
}],
leaseCycle: [{
required: true,
message: '请输入租赁周期',
trigger: 'blur'
}, ],
|
cfcb44ef
杨鑫
'改bug版'
|
535
536
537
538
539
|
// rentalRent: [{
// required: true,
// message: '请输入意向租金(月)',
// trigger: 'blur'
// }, ],
|
b1fef010
杨鑫
'最新代码'
|
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
|
operationType: [{
required: true,
message: '请输入经营类型',
trigger: 'blur'
}, ],
intentionRegion: [{
required: true,
message: '请输入意向区域',
trigger: 'blur'
}, ],
idCardNumber: [{
required: true,
message: '请输入身份证号',
trigger: 'blur'
}, ],
phone: [{
required: true,
message: '请输入手机号',
trigger: 'blur'
|
eb438c24
wesley88
1
|
559
|
}, {
|
4e955529
杨鑫
'1'
|
560
561
|
pattern: /^[0-9]+$/,
message: '手机号只能包含数字',
|
eb438c24
wesley88
1
|
562
563
|
trigger: 'blur',
}],
|
cfe2752f
杨鑫
最新
|
564
565
566
567
568
|
// idCardValidStart: [{
// required: true,
// message: '请选择身份证有效时间',
// trigger: 'change'
// }, ],
|
b1fef010
杨鑫
'最新代码'
|
569
570
571
572
573
574
575
576
577
578
579
|
idCardPhotoFront: [{
required: true,
message: '请输入身份证照片(正面)',
trigger: 'change'
}, ],
idCardPhotoBack: [{
required: true,
message: '请选择身份证照片(反面)',
trigger: 'change'
}, ],
},
|
eb438c24
wesley88
1
|
580
581
582
|
genjinId: '',
genjinShow: false,
tanpanShow: false,
|
e5b57447
杨鑫
'分包问卷'
|
583
|
}
|
3f535f30
杨鑫
'初始'
|
584
585
586
587
588
589
590
591
592
593
594
595
|
},
created() {
this.getAll();
},
mounted() {},
// beforeDestroy() {
// const editor = this.editor
// if (editor == null) return
// editor.destroy() // 组件销毁时,及时销毁编辑器
// },
methods: {
|
cfcb44ef
杨鑫
'改bug版'
|
596
|
getCoordinateRules(coord) {
|
eb438c24
wesley88
1
|
597
598
599
600
601
602
603
604
605
606
|
return [{
required: true,
message: `意向租金不能为空且必须是数字`,
trigger: 'blur'
},
{
pattern: /^(\d+|\d*\.\d{1,10})$/,
message: `意向租金为整数或最多三位小数,`,
trigger: 'blur'
},
|
cfcb44ef
杨鑫
'改bug版'
|
607
608
609
|
]
},
|
eb438c24
wesley88
1
|
610
|
changimg(e, type) {
|
b1fef010
杨鑫
'最新代码'
|
611
612
|
this.ruleForm[type] = e
},
|
3f535f30
杨鑫
'初始'
|
613
614
615
616
617
618
619
620
621
622
|
// 获取当前时间
updateCurrentTime() {
const now = new Date();
const year = now.getFullYear();
const month = (now.getMonth() + 1).toString().padStart(2, '0');
const day = now.getDate().toString().padStart(2, '0');
const hours = now.getHours().toString().padStart(2, '0');
const minutes = now.getMinutes().toString().padStart(2, '0');
const seconds = now.getSeconds().toString().padStart(2, '0');
|
b1fef010
杨鑫
'最新代码'
|
623
|
return `${year}-${month}-${day} ${hours}:${minutes}`;
|
3f535f30
杨鑫
'初始'
|
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
|
},
handleSelectionChange(val) {
this.multipleSelection = val;
},
lextStep(val) {
if (val == 0) {
this.stepNum = this.stepNum - 1;
} else {
this.stepNum = this.stepNum + 1;
}
},
// 查询全数据
async getAll() {
const res = await rsaManAll(this.pageindex);
this.tableData = res.data.content;
this.total = res.data.content.length
|
8550d958
杨鑫
'最新'
|
640
641
642
|
const ziyuan = await getAlls(this.pageindex)
const ggw = await map1(this.pageindex)
this.ziyuanData = [...ziyuan.data.content, ...ggw.data.content]
|
3f535f30
杨鑫
'初始'
|
643
644
645
|
},
// 编辑确认
async msgeditS() {
|
b1fef010
杨鑫
'最新代码'
|
646
647
648
|
await rsaManEdit(this.ruleForm);
this.ggXin = false
this.getAll()
|
3f535f30
杨鑫
'初始'
|
649
650
651
|
},
// 编辑
bianjilist(item) {
|
b1fef010
杨鑫
'最新代码'
|
652
653
654
655
|
this.ruleForm = item
this.ruleForm.idTime = []
this.ruleForm.idTime[0] = item.idCardValidStart
this.ruleForm.idTime[1] = item.idCardValidEnd
|
eb438c24
wesley88
1
|
656
657
658
659
|
if (this.edit) {
this.edit = false
}
this.ggXin = true
|
3f535f30
杨鑫
'初始'
|
660
|
},
|
8550d958
杨鑫
'最新'
|
661
662
663
664
665
666
667
668
669
670
671
672
|
async chehui(item) {
await rsaManEdit({
id: item.id,
auditStatus: '1'
})
this.getAll()
},
async getshen(item) {
await rsaManEdit({
id: item.id,
auditStatus: '2'
})
|
3f535f30
杨鑫
'初始'
|
673
674
|
this.getAll()
},
|
3f535f30
杨鑫
'初始'
|
675
676
677
|
// 详情点击
|
8550d958
杨鑫
'最新'
|
678
|
handleEditForm(item) {
|
3f535f30
杨鑫
'初始'
|
679
|
this.secondData = item
|
b1fef010
杨鑫
'最新代码'
|
680
|
this.detbox = true
|
3f535f30
杨鑫
'初始'
|
681
682
683
684
|
},
// 新增
addbuss() {
this.ruleForm = {
|
eb438c24
wesley88
1
|
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
|
intentCustomerName: '', //意向客户名称
leaseType: '', //租赁类型
leaseCycle: '', //租赁周期
rentalRent: null, //意向租金
operationType: '', //经营类型
intentionRegion: '', //意向区域
idCardNumber: '', //身份证号
idCardType: '', //证件类型
phone: null, //手机号
idTime: [],
idCardValidStart: '', //身份证有效开始时间
idCardValidEnd: '', //身份证有效结束时间
idCardPhotoFront: '', //身份证照片(正面)
idCardPhotoBack: '', //身份证照片(反面)
source: 0
|
3f535f30
杨鑫
'初始'
|
700
|
}
|
eb438c24
wesley88
1
|
701
|
this.edit = true
|
b1fef010
杨鑫
'最新代码'
|
702
|
this.ggXin = true
|
3f535f30
杨鑫
'初始'
|
703
704
|
this.getAll();
},
|
eb438c24
wesley88
1
|
705
|
idCardchange(e) {
|
cfe2752f
杨鑫
最新
|
706
|
console.log(e,'eee')
|
eb438c24
wesley88
1
|
707
708
|
this.ruleForm.idCardValidStart = e[0]
this.ruleForm.idCardValidEnd = e[1]
|
cfe2752f
杨鑫
最新
|
709
|
|
b1fef010
杨鑫
'最新代码'
|
710
|
},
|
cfe2752f
杨鑫
最新
|
711
712
713
|
blur(){
this.$forceUpdate()
},
|
3f535f30
杨鑫
'初始'
|
714
|
// 新增确定
|
eb438c24
wesley88
1
|
715
716
717
718
719
720
|
addCheck() {
this.$refs.AddFromOne.validate((valid) => {
if (valid) {
if (this.edit) {
rsaManAdd(this.ruleForm).then(res => {
|
5d752fd3
杨鑫
'最新'
|
721
722
723
724
725
726
727
728
729
730
731
|
this.$message({
message: '保存成功',
type: 'success'
})
this.getAll();
this.ggXin = false
this.$refs.AddFrom.resetFields()
// icManAdd(this.ruleForm).then(res => {
// })
|
3f535f30
杨鑫
'初始'
|
732
|
|
eb438c24
wesley88
1
|
733
|
})
|
b1fef010
杨鑫
'最新代码'
|
734
|
} else {
|
eb438c24
wesley88
1
|
735
736
737
738
739
740
741
742
|
rsaManEdit(this.ruleForm).then(res => {
this.$message({
message: '修改成功',
type: 'success'
})
this.getAll();
this.ggXin = false
this.$refs.AddFrom.resetFields()
|
b1fef010
杨鑫
'最新代码'
|
743
|
})
|
b1fef010
杨鑫
'最新代码'
|
744
|
}
|
eb438c24
wesley88
1
|
745
746
747
748
749
750
751
752
753
|
} else {
this.$message({
message: '请填写完整信息',
type: 'error'
})
}
})
|
3f535f30
杨鑫
'初始'
|
754
755
756
757
758
759
760
761
762
|
},
handleCurrentChange(val) {
this.currentPage = val;
},
handleSizeChange(val) {
this.pageSize = val;
},
// 取消
closeFn(val) {
|
cfcb44ef
杨鑫
'改bug版'
|
763
|
this.getAll()
|
eb438c24
wesley88
1
|
764
|
this.ggXin = false;
|
cfcb44ef
杨鑫
'改bug版'
|
765
|
|
3f535f30
杨鑫
'初始'
|
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
|
},
//删除管理列表
async delGuan(item) {
const h = this.$createElement;
this.$msgbox({
title: '消息',
message: h('p', null, [
h('span', null, '是否删除 '),
]),
showCancelButton: true,
showClose: false,
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'oe-dialog-btn',
beforeClose: (action, instance, done) => {
if (action === 'confirm') {
rsaManDel({
id: item.id
}).then(res => {
|
cfcb44ef
杨鑫
'改bug版'
|
785
786
787
788
|
this.$message({
message: '删除成功',
type: 'success'
})
|
3f535f30
杨鑫
'初始'
|
789
790
791
792
793
794
795
796
797
798
799
|
this.getAll()
done();
})
} else {
done();
}
}
})
},
|
3f535f30
杨鑫
'初始'
|
800
801
802
|
// 重置按钮
resetting() {
this.formSel = {
|
8550d958
杨鑫
'最新'
|
803
|
intentCustomerName: '',
|
eb438c24
wesley88
1
|
804
|
leaseType: '',
|
b1fef010
杨鑫
'最新代码'
|
805
|
pageNumber: 0,
|
3f535f30
杨鑫
'初始'
|
806
|
pageSize: 10,
|
cf438595
wesley88
1
|
807
|
auditStatus: '1'
|
cfcb44ef
杨鑫
'改bug版'
|
808
|
}
|
eb438c24
wesley88
1
|
809
|
this.currentPage = 1
|
3f535f30
杨鑫
'初始'
|
810
811
812
813
814
|
this.getAll()
},
// 查询
async onSubmit() {
const res = await rsaManAll(this.formSel)
|
eb438c24
wesley88
1
|
815
|
this.currentPage = 1
|
3f535f30
杨鑫
'初始'
|
816
817
818
|
this.tableData = res.data.content
this.total = res.data.content.length
},
|
8550d958
杨鑫
'最新'
|
819
820
|
mingClose() {
this.multipleSelection = []
|
3f535f30
杨鑫
'初始'
|
821
822
823
824
825
826
|
this.addMing = false
},
minSev() {
this.selshop = this.multipleSelection
this.addMing = false
|
8550d958
杨鑫
'最新'
|
827
|
this.multipleSelection = []
|
3f535f30
杨鑫
'初始'
|
828
|
},
|
8550d958
杨鑫
'最新'
|
829
|
pipei(item) {
|
3f535f30
杨鑫
'初始'
|
830
|
this.pip = true
|
e5b57447
杨鑫
'分包问卷'
|
831
|
this.pipData = []
|
3f535f30
杨鑫
'初始'
|
832
|
},
|
8550d958
杨鑫
'最新'
|
833
|
shengRenwu(item) {
|
eb438c24
wesley88
1
|
834
835
|
this.genjinId = item.id
this.genjinShow = true
|
b1fef010
杨鑫
'最新代码'
|
836
837
838
839
840
841
842
843
844
|
// genAdd({
// potentialCustomer: item.id,
// status: '1'
// }).then(res => {
// this.$message({
// message: '生成成功',
// type: 'success'
// })
// })
|
3f535f30
杨鑫
'初始'
|
845
846
|
},
|
eb438c24
wesley88
1
|
847
|
tanRenwu(item) {
|
b1fef010
杨鑫
'最新代码'
|
848
849
850
|
this.genjinId = item.id
this.tanpanShow = true
},
|
8550d958
杨鑫
'最新'
|
851
852
|
pipeiBtn() {
if (this.pipeiSel.resources.cereRentalPolicies.businessType == 'sp') {
|
e5b57447
杨鑫
'分包问卷'
|
853
|
this.pipeiSel.resourcesId = 'sp'
|
8550d958
杨鑫
'最新'
|
854
855
856
857
|
} else if (this.pipeiSel.resources.cereRentalPolicies.businessType == 'cd') {
this.pipeiSel.resourcesId = 'cd'
} else {
this.pipeiSel.resourcesId = 'gg'
|
e5b57447
杨鑫
'分包问卷'
|
858
|
}
|
8550d958
杨鑫
'最新'
|
859
|
ziyuanduiy(this.pipeiSel).then(res => {
|
e5b57447
杨鑫
'分包问卷'
|
860
861
862
|
this.pipData = res.data.content
})
},
|
8550d958
杨鑫
'最新'
|
863
864
865
866
867
868
869
870
871
872
873
874
875
876
|
pipeiClose() {
this.pipeiSel = {
resources: {
cereRentalPolicies: {
businessType: '',
leaseTerm: '',
rentalPrice: ''
}
},
resourcesId: '',
pageNumber: 1,
pageSize: 10,
},
this.pipData = []
|
e5b57447
杨鑫
'分包问卷'
|
877
|
},
|
eb438c24
wesley88
1
|
878
|
cancel(e) {
|
b1fef010
杨鑫
'最新代码'
|
879
880
881
|
this.genjinShow = e
this.getAll()
},
|
eb438c24
wesley88
1
|
882
|
tancel(e) {
|
b1fef010
杨鑫
'最新代码'
|
883
884
885
|
this.tanpanShow = e
this.getAll()
},
|
3f535f30
杨鑫
'初始'
|
886
887
888
|
}
}
</script>
|
3f535f30
杨鑫
'初始'
|
889
|
<style scoped>
|
3f535f30
杨鑫
'初始'
|
890
891
892
|
.zhuti {
padding: 0 20px 20px 20px;
min-height: calc(100vh - 50px - 20px);
|
eb438c24
wesley88
1
|
893
|
background-color: #Fff;
|
3f535f30
杨鑫
'初始'
|
894
|
|
eb438c24
wesley88
1
|
895
|
}
|
cf438595
wesley88
1
|
896
|
|
eb438c24
wesley88
1
|
897
898
899
900
901
|
.chengeXia {
border-bottom: 6px solid #3F9B6A;
padding-bottom: 4px;
color: #3F9B6A;
}
|
b1fef010
杨鑫
'最新代码'
|
902
|
|
3f535f30
杨鑫
'初始'
|
903
904
|
.formSearch {
|
3f535f30
杨鑫
'初始'
|
905
906
907
908
|
display: flex;
width: 100%;
font-size: 14px;
justify-content: space-between;
|
3f535f30
杨鑫
'初始'
|
909
|
}
|
cf438595
wesley88
1
|
910
|
|
3f535f30
杨鑫
'初始'
|
911
|
.greens {
|
eb438c24
wesley88
1
|
912
|
color: #3F9B6A;
|
3f535f30
杨鑫
'初始'
|
913
|
}
|
cf438595
wesley88
1
|
914
|
|
3f535f30
杨鑫
'初始'
|
915
916
917
918
919
|
.bg-purple-dark {
background: #99a9bf;
}
.bg-purple {
|
eb438c24
wesley88
1
|
920
|
background: #d3dce6;
|
3f535f30
杨鑫
'初始'
|
921
922
923
924
925
|
}
.bg-purple-light {
background: #e5e9f2;
}
|
cf438595
wesley88
1
|
926
|
|
3f535f30
杨鑫
'初始'
|
927
928
929
930
|
.grid-content {
border-radius: 4px;
min-height: 36px;
}
|
3f535f30
杨鑫
'初始'
|
931
932
|
</style>
<style lang="scss" scoped>
|
eb438c24
wesley88
1
|
933
934
|
::v-deep .el-dialog__body {
padding: 0 0 !important;
|
3f535f30
杨鑫
'初始'
|
935
|
}
|
cf438595
wesley88
1
|
936
937
|
.el-dialog__header {
|
eb438c24
wesley88
1
|
938
939
|
padding: 0;
display: none;
|
3f535f30
杨鑫
'初始'
|
940
941
|
}
</style>
|