9b392fc6
wesley88
1
|
1
2
3
4
5
6
7
8
9
10
|
<template>
<div>
<div>
<el-tabs v-model="xiangTab">
<el-tab-pane label="申请内容" name="first">
<div style="margin-top: 30px;" class="editcss">
<TitleWithCircle title="申请信息" />
<div style="padding: 20px;margin-top: 10px;">
<el-form :model="info" ref="ruleForm" label-width="140px" class="demo-ruleForm">
<el-form-item label="Banner图" prop="coverImage">
|
1dbc0b2d
wesley88
1
|
11
12
13
14
|
<!-- <el-image style="width: 200px;margin-right: 10px;" v-for="item in info.coverImage.split(',')" :src="$baseURL+item" fit="contain"></el-image> -->
<div style="display: flex;">
<allimg v-if="item" :src="item" fit="contain" v-for="item in info.coverImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/>
</div>
|
9b392fc6
wesley88
1
|
15
16
17
18
19
20
21
22
23
24
25
|
</el-form-item>
<el-form-item label="投放内容" prop="adTitle">
<div class="duiqi">{{info.adTitle}}</div>
</el-form-item>
</el-form>
</div>
<TitleWithCircle title="营业执照信息" />
<div style="padding: 20px;margin-top: 10px;">
<el-form :model="info" ref="ruleForm" label-width="140px" class="demo-ruleForm">
<el-row :gutter="20">
<el-col :span="9">
|
cfcb44ef
杨鑫
'改bug版'
|
26
27
|
<el-form-item label="主体名称" prop="subjectName">
<div class="duiqi">{{info.subjectName}}</div>
|
9b392fc6
wesley88
1
|
28
29
30
31
32
33
34
35
36
37
|
</el-form-item>
</el-col>
<el-col :span="9">
<el-form-item label="统一社会信用代码" prop="unifiedSocialCreditCode">
<div class="duiqi">{{info.unifiedSocialCreditCode}}</div>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="9">
|
cfcb44ef
杨鑫
'改bug版'
|
38
39
|
<el-form-item label="类型" prop="type">
<div class="duiqi">{{info.type}}</div>
|
9b392fc6
wesley88
1
|
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
</el-form-item>
</el-col>
<el-col :span="9">
<el-form-item label="法定代表人" prop="legalRepresentative">
<div class="duiqi">{{info.legalRepresentative}}</div>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="经营范围" prop="businessScope">
<div class="duiqi">{{info.businessScope}}</div>
</el-form-item>
<el-row :gutter="20">
<el-col :span="9">
<el-form-item label="注册资本" prop="registeredCapital">
<div class="duiqi">{{info.registeredCapital}}</div>
</el-form-item>
</el-col>
<el-col :span="9">
<el-form-item label="成立日期" prop="establishmentDate">
<div class="duiqi">{{info.establishmentDate}}</div>
</el-form-item>
</el-col>
</el-row>
|
cfcb44ef
杨鑫
'改bug版'
|
63
64
|
<el-form-item label="住所" prop="address">
<div class="duiqi">{{info.address}}</div>
|
9b392fc6
wesley88
1
|
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
</el-form-item>
<el-row :gutter="20">
<el-col :span="9">
<el-form-item label="邮箱地址" prop="emailAddress">
<div class="duiqi">{{info.emailAddress}}</div>
</el-form-item>
</el-col>
<el-col :span="9">
<el-form-item label="营业期限" prop="businessStartDate">
<div class="duiqi">{{info.businessStartDate}} - {{info.businessEndDate}}</div>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="营业执照" prop="businessLicense">
<!-- <div class="duiqi">{{info.businessLicense}}</div> -->
|
1dbc0b2d
wesley88
1
|
80
81
82
83
|
<!-- <el-image style="width: 200px;" :src="$baseURL+info.businessLicense" fit="contain"></el-image> -->
<div style="display: flex;">
<allimg v-if="item" :src="item" fit="contain" v-for="item in info.businessLicense.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/>
</div>
|
9b392fc6
wesley88
1
|
84
85
86
87
88
89
90
91
92
|
</el-form-item>
</el-form>
</div>
</div>
</el-tab-pane>
<el-tab-pane label="商家信息" name="second">
<div style="margin-top: 30px;" class="editcss">
<TitleWithCircle title="基础信息" />
<div style="padding: 20px;margin-top: 10px;">
|
3b97e418
wesley88
1
|
93
|
<el-form :model="shopMsg" ref="ruleForm" label-width="140px" class="demo-ruleForm">
|
9b392fc6
wesley88
1
|
94
95
|
<el-row :gutter="20">
<el-col :span="9">
|
cfcb44ef
杨鑫
'改bug版'
|
96
97
|
<el-form-item label="姓名" prop="name">
<div class="duiqi">{{shopMsg.name}}</div>
|
9b392fc6
wesley88
1
|
98
99
100
101
|
</el-form-item>
</el-col>
<el-col :span="9">
<el-form-item label="手机号" prop="phone">
|
cfcb44ef
杨鑫
'改bug版'
|
102
|
<div class="duiqi">{{shopMsg.phone}}</div>
|
9b392fc6
wesley88
1
|
103
104
105
106
107
108
|
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="9">
<el-form-item label="证件类型" prop="idCardType">
|
cfcb44ef
杨鑫
'改bug版'
|
109
|
<div class="duiqi">{{shopMsg.idCardType}}</div>
|
9b392fc6
wesley88
1
|
110
111
112
|
</el-form-item>
</el-col>
<el-col :span="9">
|
cfcb44ef
杨鑫
'改bug版'
|
113
114
|
<el-form-item label="身份证号码" prop="idCardNumber">
<div class="duiqi">{{shopMsg.idCardNumber}}</div>
|
9b392fc6
wesley88
1
|
115
116
117
|
</el-form-item>
</el-col>
</el-row>
|
cfcb44ef
杨鑫
'改bug版'
|
118
|
<el-form-item label="身份证照片(正)" prop="idCardFrontImage">
|
1dbc0b2d
wesley88
1
|
119
|
<!-- <div style="margin-top: 10px;">
|
4e955529
杨鑫
'1'
|
120
|
<el-image style="width: 200px;height:200px" :src="$baseURL+shopMsg.idCardFrontImage" fit="contain"></el-image>
|
1dbc0b2d
wesley88
1
|
121
122
123
|
</div> -->
<div style="display: flex;">
<allimg v-if="item" :src="item" fit="contain" v-for="item in shopMsg.idCardFrontImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/>
|
9b392fc6
wesley88
1
|
124
125
|
</div>
</el-form-item>
|
cfcb44ef
杨鑫
'改bug版'
|
126
|
<el-form-item label="身份证照片(反)" prop="idCardBackImage">
|
1dbc0b2d
wesley88
1
|
127
|
<!-- <div style="margin-top: 10px;">
|
4e955529
杨鑫
'1'
|
128
|
<el-image style="width: 200px;height:200px" :src="$baseURL+shopMsg.idCardBackImage" fit="contain"></el-image>
|
1dbc0b2d
wesley88
1
|
129
130
131
|
</div> -->
<div style="display: flex;">
<allimg v-if="item" :src="item" fit="contain" v-for="item in shopMsg.idCardBackImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/>
|
9b392fc6
wesley88
1
|
132
133
134
135
136
137
138
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
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
|
</div>
</el-form-item>
</el-form>
</div>
</div>
</el-tab-pane>
<el-tab-pane label="广告位信息" name="third">
<div style="margin-top: 30px;" class="editcss">
<TitleWithCircle title="基础信息" />
<div style="padding: 20px;" v-if="info.cereAdvertisingInformation.id">
<el-form :model="info.cereAdvertisingInformation" ref="ruleForm" label-width="140px"
class="demo-ruleForm">
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="广告位名称" prop="advertisingName">
<div class="duiqi">{{info.cereAdvertisingInformation.advertisingName || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="广告位编号" prop="advertisingSpaceNumber">
<div class="duiqi">{{info.cereAdvertisingInformation.advertisingSpaceNumber || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="广告位类型" prop="advertisingType">
<div class="duiqi">{{info.cereAdvertisingInformation.advertisingType || '无'}}</div>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" v-if="info.cereAdvertisingInformation.advertisingType == '线上广告位'">
<el-col :span="8">
<el-form-item label="所属端" prop="affiliation" >
<div class="duiqi">{{info.cereAdvertisingInformation.affiliation || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="广告位数量" prop="advertisingNumber" >
<div class="duiqi">{{info.cereAdvertisingInformation.advertisingNumber || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="广告尺寸" prop="dimensions">
<div class="duiqi">{{info.cereAdvertisingInformation.dimensions || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="可上传大小" prop="size">
<div class="duiqi">{{info.cereAdvertisingInformation.size || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="播放时长" prop="playDuration">
<div class="duiqi">{{info.cereAdvertisingInformation.playDuration || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="推送地址" prop="pushAddress">
<div class="duiqi">{{info.cereAdvertisingInformation.pushAddress || '无'}}</div>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" v-if="info.cereAdvertisingInformation.advertisingType == '实体广告位'">
<el-col :span="8">
<el-form-item label="设备类型" prop="deviceType" >
<div class="duiqi">{{info.cereAdvertisingInformation.deviceType || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="设备大小" prop="equipmentSize" >
<div class="duiqi">{{info.cereAdvertisingInformation.equipmentSize || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="广告尺寸" prop="dimensions">
<div class="duiqi">{{info.cereAdvertisingInformation.dimensions || '无'}}</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="广告材质" prop="advertisingMaterial">
<div class="duiqi">{{info.cereAdvertisingInformation.advertisingMaterial || '无'}}</div>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="详细位置" prop="detailedLocation" v-if="info.cereAdvertisingInformation.advertisingType == '实体广告位'">
<div class="duiqi">{{info.cereAdvertisingInformation.detailedLocation || '无'}}</div>
</el-form-item>
<el-form-item label="地图标点" prop="mapPunctuation" v-if="info.cereAdvertisingInformation.advertisingType == '实体广告位'">
<div style="width: 100%;height: 300px;">
<newmap :isx="false" :message="info.cereAdvertisingInformation.mapPunctuation"></newmap>
</div>
</el-form-item>
<el-form-item label="位置示意图" prop="locationDiagram">
|
1dbc0b2d
wesley88
1
|
224
225
226
227
|
<div style="display: flex;">
<allimg v-if="item" :src="item" fit="contain" v-for="item in info.cereAdvertisingInformation.locationDiagram.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/>
</div>
<!-- <img v-for="item in info.cereAdvertisingInformation.locationDiagram.split(',')" :src="$baseURL+item" alt="" style="width:140px;height:140px;margin-left: 15px;"> -->
|
9b392fc6
wesley88
1
|
228
|
</el-form-item>
|
1dbc0b2d
wesley88
1
|
229
230
231
232
233
|
<el-form-item label="介绍" prop="memo" v-if="info.cereAdvertisingInformation.advertisingType == '线上广告位'">
<!-- <div class="duiqi">{{info.cereAdvertisingInformation.memo || '无'}}</div> -->
<div v-if="info.cereAdvertisingInformation.memo" class="duiqi" v-html="info.cereAdvertisingInformation.memo"></div>
<div class="duiqi" v-else>无</div>
|
9b392fc6
wesley88
1
|
234
235
236
237
238
239
240
241
|
</el-form-item>
</el-form>
</div>
</div>
</el-tab-pane>
</el-tabs>
</div>
|
c3f8e431
wesley88
1
|
242
243
244
245
246
247
248
249
250
251
252
253
254
|
<div v-if="info.auditStatus == 1 && issp == '2'" >
<TitleWithCircle title="审核情况"/>
<div style="padding: 20px;">
<el-form :model="info" label-width="130px" class="demo-ruleForm">
<el-form-item label="状态">
<el-radio v-model="radio" label="2">同意</el-radio>
<el-radio v-model="radio" label="3">拒绝</el-radio>
</el-form-item>
<el-form-item label="审核意见">
<el-input maxlength="200" show-word-limit rows="4" v-model="auditComments" placeholder="请输入审核意见"
type="textarea" />
</el-form-item>
</el-form>
|
9b392fc6
wesley88
1
|
255
|
</div>
|
9b392fc6
wesley88
1
|
256
257
258
259
|
</div>
<div v-if="(info.auditStatus == '2' || info.auditStatus == '3') && xiangTab == 'first'">
<TitleWithCircle title="审核结果"/>
<div style="padding: 20px;">
|
1dbc0b2d
wesley88
1
|
260
|
<el-form :model="info.cereAdvertisingInformation" label-width="100px" class="demo-ruleForm">
|
9b392fc6
wesley88
1
|
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
|
<el-form-item label="状态">
<div class="duiqi">{{info.auditStatus=='2'?'已发布':info.auditStatus=='3'?'不通过':'无'}}</div>
</el-form-item>
<el-form-item label="审核意见">
<div class="duiqi">{{info.auditComments || '无'}}</div>
</el-form-item>
</el-form>
</div>
</div>
<div>
<el-button v-if="info.auditStatus == 1 && issp == '2'" @click="minSev"
style="background-color: #3F9B6A;color: #fff;">确定</el-button>
<el-button class="buttonHover"
style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;margin-top: 20px;"
@click="changetype">返回</el-button>
</div>
</div>
</template>
<script>
import newmap from "@/components/newmap/index";
import {
AdvertiserInfoEdit,
} from '@/api/advertisement.js'
|
cfcb44ef
杨鑫
'改bug版'
|
285
286
287
|
import {
cerePlatformMerchant
} from '@/api/newly.js'
|
9b392fc6
wesley88
1
|
288
289
|
import TitleWithCircle from '@/components/top/index';
import MapXian from "@/components/MapContainer/MapXian";
|
1dbc0b2d
wesley88
1
|
290
|
import allimg from '@/components/chakan/allimg.vue';
|
9b392fc6
wesley88
1
|
291
292
293
294
|
export default {
components: {
TitleWithCircle,
MapXian,
|
1dbc0b2d
wesley88
1
|
295
296
|
newmap,
allimg
|
9b392fc6
wesley88
1
|
297
298
299
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
|
},
props: {
info: {
type: Object,
default: function() {
return {}; // 返回一个空数组作为默认值
},
},
issp: {
type: String,
default: function() {
return '1';
},
},
},
data() {
return {
auditComments:'',
radio: '2',
ontype: '线上广告位',
url: '',
type: '1',
tableData: [],
xiangTab: 'first',
siteIds: [],
list: [],
advIds: [],
shopIds: [],
shop: {},
newshop: {},
newinfo: {},
|
cfcb44ef
杨鑫
'改bug版'
|
328
329
330
331
332
|
parentMessage: {},
pagequery: {
pageNumber: 0,
pageSize: 10,
checkState:'2',
|
4e955529
杨鑫
'1'
|
333
|
phone: '',
|
cfcb44ef
杨鑫
'改bug版'
|
334
335
|
},
shopMsg:{}
|
9b392fc6
wesley88
1
|
336
337
338
339
|
}
},
created() {
console.log(this.info)
|
4e955529
杨鑫
'1'
|
340
|
this.pagequery.phone = this.info.applicant
|
cfcb44ef
杨鑫
'改bug版'
|
341
342
343
|
cerePlatformMerchant(this.pagequery).then(res=>{
this.shopMsg = res.data.content[0]
})
|
9b392fc6
wesley88
1
|
344
345
346
347
348
349
350
351
352
353
354
355
|
},
computed: {
},
methods: {
minSev() {
console.error(this.info)
console.error(this.radio)
AdvertiserInfoEdit({
id: this.info.id,
'auditStatus': this.radio,
|
0e6c481b
wesley88
1
|
356
357
|
auditComments: this.auditComments,
rentalResourcesId: this.info.rentalResourcesId
|
9b392fc6
wesley88
1
|
358
359
360
361
362
363
364
|
}).then(res => {
console.error(res)
if (res.code == 200) {
this.$message({
message: '处理成功',
type: 'success'
})
|
e94be901
wesley88
1
|
365
|
this.setmsg()
|
9b392fc6
wesley88
1
|
366
367
368
369
370
371
372
373
374
|
this.info.auditStatus = this.radio
} else {
this.$message({
message: '处理失败',
type: 'error'
})
}
})
},
|
e94be901
wesley88
1
|
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
|
async setmsg() {
let t4 = this.auditComments?this.auditComments:'暂无'
let t1 = this.info.cereAdvertisingInformation.id?this.info.cereAdvertisingInformation.advertisingName:'资源'
let t2 = '很抱歉,您的'+t1+'租赁申请未通过审核。原因说明:'+t4+'。请您根据审核意见修改资料后重新提交申请,感谢您的配合。'
let t3 = '您申请的'+t1+'资源申请已通过。'
let info = {
type: '通知消息',
phone: this.shopMsg.phone,
content: {
type: '1',
title: this.radio == '2' ?'租赁审核申请已通过': this.radio == '3' ?'租赁审核申请未通过': '-',
content: this.radio == '2' ?t3: this.radio == '3' ?t2: '-'
},
}
await this.$setmsg(info);
},
|
9b392fc6
wesley88
1
|
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
|
openfile(e) {
if (e) {
const fullUrl = this.$baseURL + e;
try {
window.open(fullUrl, '_blank'); // 在新标签页中打开文件
} catch (error) {
console.error('打开文件失败:', error);
}
} else {
console.error('无文件可查看');
}
},
changetype() {
this.xiangTab = 'first'
if (this.type == '1') {
this.$emit('removeonaction', '1')
} else {
this.type = '1'
}
},
open(row) {
console.error(row)
this.type = '2'
this.newinfo = row
businessListGetById({
shopId: row.relatedMerchants
}).then(res => {
console.log(res)
this.newshop = res.data
})
},
closeFn() {
this.$emit('change', false);
},
}
}
</script>
<style>
.el-form-item__label {
color: #a2a2a2;
}
.greens {
color: #3F9B6A;
}
</style>
|