writeOff.vue
24.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
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
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
260
261
262
263
264
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
291
292
293
294
295
296
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
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
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
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
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
<template>
<div id="writeOff" class="writeOff">
<!-- <helpService></helpService> -->
<title-tip v-if="curRouteInfo.status == 10 || curRouteInfo.status == 13">{{ `${curRouteInfo.status == 10 ? '主管审核' : '核赔'}` }}失败原因:{{ resData.reasonForFailureCode == 1 ? '拒赔' : '资料不清晰' }} {{ resData.reasonForFailure }}</title-tip>
<repair-info @getInfo="getInfo" :disabled="disabled" id="repairInfo" ref="repairInfo" :accountForm="accountForm" :serviceCodesList="serviceCodesList"></repair-info>
<Card title="上传图片">
<!-- <div v-if="!disabled" slot="right" class="transport-pic" @click.stop="transportPic">手机传图</div> -->
<upload-material :isWriteOff="true" :curLossType="curLossType" :disabled="disabled" :curRouteInfo="curRouteInfo" ref="materialwRef" :id="resData.id" :tabs.sync="tabs" :detailImgList.sync="serviceCodesList" :attachmentList.sync="attachmentList"></upload-material>
</Card>
<Card title="寄回原件">
<div slot="right" class="transport-pic" @click.stop="openSendDetail">寄件详情</div>
<img-list class="original" disabled :curRouteInfo="curRouteInfo" :id="resData.id" ref="originalRef" curKey="original" :list="originalList"></img-list>
<div class="express-wrap">
<p style="margin: 14px 0;">寄回发票物流信息</p>
<div class="express-item">
<label class="label" for="">快递公司:</label>
<el-input :disabled="disabled" class="input" size="small" v-model="expressObj.expressName" type="text"></el-input>
</div>
<div class="express-item">
<label class="label" for="">快递单号:</label>
<el-input :disabled="disabled" class="input" size="small" v-model="expressObj.expressNo" type="text"></el-input>
</div>
</div>
</Card>
<explanation :disabled="disabled" :supplementList="resData.supplementList2"></explanation>
<el-dialog :visible.sync="showPicDialog" :close-on-click-modal="false" class="my-dialog pic-dialog" width="576px" title="手机传图">
<span class="T-tip">使用手机浏览器、微信等扫码后,即可用手机上传图片至电脑网页</span>
<span class="B-tip">扫码后手机上传链接时效为10分钟,过期后请重新扫码</span>
<div id="qrcode1Id" ref="qrwCodeUrl"></div>
<span slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="getPhoneAttachment">图片已全部上传</el-button>
</span>
</el-dialog>
<sendDetail></sendDetail>
<processTip></processTip>
<el-dialog :visible.sync="isSecondVisible" width="400px" class="tips-dialog" top="10%" :title="secondObj.title">
<div class="f-size">
<i class="el-icon-warning"></i>
<span>{{ secondObj.txt }}</span>
</div>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="isSecondVisible = false">取 消</el-button>
<el-button size="small" type="primary" @click="isSecondVisible = false">确 定</el-button>
</span>
</el-dialog>
<el-dialog :visible.sync="noPassVisibility" width="720px" top="30%" title="审核不通过">
<div class="f-size">
<glsx-combi-form ref="noPassRef" :isInline="false" :formRules="noPassRule" labelWidth="154px" defaultWidth="432px" :formObj="noPassObj" :formData="noPassData"></glsx-combi-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="noPassVisibility = false">取 消</el-button>
<el-button size="small" type="primary" @click="comfirmNoPass(0)">确 定</el-button>
</span>
</el-dialog>
<el-dialog :visible.sync="showDialog" class="my-dialog" width="720px" title="寄件详情">
<div class="sendCard">
<span class="title">邮寄地址</span>
<div class="content">
<p>收件人:权益服务组</p>
<p>联系电话:18938907441</p>
<p>收件地址:广东省深圳市南山区留仙大道3370号南山智园崇文园1号楼14楼</p>
</div>
</div>
<div class="sendCard">
<span class="title">寄件详情(发票右下角备注栏备注客户名+合同号)</span>
<div class="content">
<p>名称: 国任财产保险股份有限公司深圳分公司</p>
<p>纳税人识别号: 914403005503071468</p>
<p>税务登记公司地址: 深圳市罗湖区笋岗街道红岭路与梅园路交汇处招商开元中心一期03地块第一栋B单元24层02-06A</p>
<p>联系电话:0755-88379089</p>
<p>开户行及银行账号: 中国建设银行股份有限公司深圳田背支行 44201618500052507158</p>
</div>
</div>
</el-dialog>
<div class="btn-box">
<el-button type="default" @click="handleCancel">取消</el-button>
<template v-if="curRouteInfo.status == 8 || curRouteInfo.status == 10 || curRouteInfo.status == 13 || curRouteInfo.status == 22 || curRouteInfo.status == 25 || curRouteInfo.status == 34">
<el-button type="primary" @click="handleSave(0)">草稿</el-button>
<el-button type="primary" @click="handleSave(1)">提交</el-button>
</template>
<template v-if="curRouteInfo.pageType == 4">
<el-button type="primary" @click="noPassVisibility = true">不通过</el-button>
<el-button type="primary" @click="comfirmNoPass(1)">通过</el-button>
</template>
</div>
</div>
</template>
<script type="text/ecmascript-6">
import QRCode from 'qrcodejs2'
import glsxCombiForm from '@/components/glsx-combi-form'
import titleTip from '@/components/titleTip'
import uploadMaterial from './components/uploadMaterial'
import Card from './components/card.vue'
import explanation from './components/explanation'
// import helpService from './components/helpService'
import sendDetail from './components/sendDetail'
import processTip from './components/processTip'
import repairInfo from './components/repairInfo'
import util from '@/util/util'
import url from '@/assets/write_off.png'
import imgList from './components/imgList'
const phoneReg = /^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9]{8}$/
const tabs = [
{
label: '核赔细节照',
name: 'detail',
isRequire: 1
},
{
label: '其他资料',
name: 'other'
}
]
const tabObj = {
'核赔细节照':'detail',
'其他资料':'other'
}
export default {
name: 'applyWriteOff',
components: {
glsxCombiForm,
titleTip,
uploadMaterial,
explanation,
Card,
// helpService,
sendDetail,
processTip,
repairInfo,
imgList
},
props:{
curRouteInfo: Object,
disabled:{
type: Boolean,
default: false
}
},
data() {
return {
url,
tabs,
showDialog: false,
noPassVisibility:false,
curLossType:[],
noPassObj: {
reasonForFailure:'',
reasonForFailureCode: ''
},
expressObj: {
expressName: '',
expressNo: ''
},
noPassData: [
{
label: '原因',
name: 'reasonForFailureCode',
type: 'select',
optionList: [
{
confId: 1,
confName: '拒赔'
},
{
confId: 2,
confName: '资料不清晰'
}
],
optionId: 'confId',
optionLabel: 'confName'
},
{
label: '具体描述',
name: 'reasonForFailure',
type: 'input',
inputType: 'textarea',
rows: 3,
isClear: true,
maxlength: 50
}
],
noPassRule:{
reasonForFailureCode:[{ required: true, message: '请选择不通过原因', trigger: 'change' }],
},
originalTabs:[
{
label: '寄回原件',
name: 'original'
},
],
isSavePage: false,
batchListSearch: {
writeOffCode: ''
},
isSecondVisible:false,
secondObj:{
title:'',
txt:''
},
attachmentList:[],
originalList:[],
errMeg: '',
showPicDialog: false,
resData:{},
accountForm: {
id: '',
merchantId:'',
cardTypeName: '', //证件类型名称
objectType: 0, //收款对象
accountType: 0, //账户类型
openBankCode: '', //开户行名称
accountName: '', //账户名称
accountNo: '', // 收款账号
accountCityCode: '', // 收款账号所在省市
cardTypeCode: '', // 证件类型code
phone: '', // 收款人联系电话
cardNo:'' //证件号码
},
serviceCodesList: [],
explanationObj:{
explanation1:''
},
copyAccInfo0:{},
copyAccInfo1:{
id : '' ,
accountName : '',
cardTypeName:'',
accountCityCode : '',
openBankCode : '',
accountNo : '',
accountType : 0,
cardNo : '',
cardTypeCode : '',
phone : ''
}
}
},
mounted() {
// if(this.curRouteInfo.status==12 ||this.curRouteInfo.status==13 || this.curRouteInfo.status==3 || this.curRouteInfo.status==1){
// const target = this.tabs.find(item=>item.name =='apply')
// if(!target){
// this.tabs.unshift({
// label: '客户签名补偿申请书',
// name: 'apply',
// isRequire: 1
// })
// }
// tabObj['客户签名补偿申请书'] = 'apply'
// }
if(this.curRouteInfo.pageType!=6){
this.batchListSearch.writeOffCode = this.curRouteInfo.writeOffCode
this.batchListSearch.id = this.curRouteInfo.id
this.handleNextStep()
}
},
methods: {
transportPic(){
const { writeOffCode } = this.batchListSearch
const { contractNo } = this.resData
let codeList = []
this.serviceCodesList.forEach(item => {
if(item.checked){
codeList.push(item.serviceItemCode.slice(4))
}
})
if(!codeList.length){
this.openTip('请先选择一项服务')
return;
}
let code = codeList.join('_')
this.showPicDialog = true
let dom = document.getElementById("qrcode1Id");
while (dom && dom.firstChild) {
dom.removeChild(dom.firstChild);
}
let text = `${this.$commonData.baseUrl}/file-uploader-h5/h5#/?type=claims&WRT=${writeOffCode}&cNo=${contractNo}&sId=${this.$commonData.token}&code=${code}&dam=2`
setTimeout(()=>{
new QRCode(this.$refs.qrwCodeUrl, {
text: text, // 需要转换为二维码的内容
width: 150,
height: 150,
colorDark: '#000000',
colorLight: '#ffffff',
})
})
},
openSendDetail(){
this.showDialog = true
},
handleNextStep() {
const { writeOffCode, id } = this.batchListSearch
this.$apis.beforeSale.getClaimsDetail({ id }).then(res => {
if (res.code == '0') {
this.isSavePage = true
this.expressObj = {
expressName: res?.data?.expressName,
expressNo: res?.data?.expressNo
}
// 收款对象
const formatKey = ['objectType','accountType']
const bankAccountDTO = res.data.bankAccountDTO || {}
for(let key in this.accountForm){
this.accountForm[key] = bankAccountDTO[key] ? bankAccountDTO[key] : formatKey.includes(key) ? 0 : ''
}
this.getAccountInfo(res.data.contractNo)
//说明list
if(!res.data?.supplementList2?.length){
res.data.supplementList2 = []
res.data.supplementList2.push({content: '',claimsId: res.data.id})
}
//图片list
const otherItem = res.data.attachmentConfigs2.find(item => item.secondClassifyName=='其他资料')
const otherAttachList = res.data?.attachments2?.filter(target => target.classifyId==otherItem.id) || []
let otherLen = otherAttachList.length
while(otherAttachList && otherLen){
res.data.attachmentConfigs2.push({...otherItem})
otherLen --
}
const attachments2 = res.data?.attachments2?.length ? [...res.data?.attachments2] : []
res.data.attachmentConfigs2.map(item => {
if(tabObj[item.firstClassifyName]) item.key = tabObj[item.firstClassifyName]
const targetIdx = attachments2?.findIndex(target => target.classifyId==item.id)
item.imgObj = targetIdx>-1 ? attachments2[targetIdx] : {}
if(targetIdx>-1){
attachments2.splice(targetIdx, 1)
}
})
this.attachmentList = [...res.data.attachmentConfigs2]
res.data.attachmentConfigs3.map(item => {
item.key = 'original'
// const targget = res.data.attachments3.find(target => target.classifyId==item.id)
item.imgObj = {}
})
this.originalList = [...res.data.attachmentConfigs3]
//服务list
res.data.itemsList.map(item => {
item.applyAmount = item.applyAmount ? (item.applyAmount/100).toFixed(2) : item.applyAmount
item.approveAmount = item.approveAmount ? (item.approveAmount/100).toFixed(2) : item.approveAmount
item.lossAssessmentAmount = item.lossAssessmentAmount ? (item.lossAssessmentAmount/100).toFixed(2) : item.lossAssessmentAmount
if(item.serviceItemCode == 'SC0003' && !item.lossType) item.lossType= '1'
if(item.serviceItemCode == 'SC0006'){
item.lossType = item.lossType ? item.lossType?.split(',') : []
this.curLossType=[...item.lossType]
}
item.checked = item.checked == 1
})
const targetService = res.data.itemsList.find(item => item.checked)
if(targetService) this.$refs.materialwRef.changeSecondTab(targetService)
this.serviceCodesList = [...res.data.itemsList]
this.$refs.materialwRef.setTab(this.tabs[0]?.name || 'detail')
this.resData = res.data
}else{
this.openTip(res.message,'错误提示',true)
}
})
},
getAccountInfo(contractNo){
if (!contractNo) return
this.$apis.claims.getAccountInfo({ contractNo }).then(res => {
const { id, accountName, accountCityCode, openBankCode, accountNo, accountType, cardNo, cardTypeCode, phone,cardTypeName } = res || {}
// const result = { id, accountName, accountCityCode, openBankCode, accountNo, accountType, cardNo, cardTypeCode, phone }
// this.accountForm = { ...this.accountForm, ...result }
if (this.accountForm.accountType !== 1) this.accountForm.accountType = 0
if (this.accountForm.objectType !== 1) this.accountForm.accountType = 0
this.copyAccInfo0 = { id, accountName, accountCityCode, openBankCode, accountNo, accountType, cardNo, cardTypeCode, phone,cardTypeName }
if(this.accountForm.objectType==0){
this.setAccountInfo(0)
}
})
},
getInfo(val){
if(val==0){
const { accountName, accountCityCode, openBankCode, accountNo, accountType, cardNo, cardTypeCode, phone,cardTypeName } = this.accountForm
this.copyAccInfo1 = { id : this.resData?.bankAccountDTO?.objectType===1 ? this.resData?.bankAccountDTO?.id : '' , accountName, accountCityCode, openBankCode, accountNo, accountType, cardNo, cardTypeCode, phone,cardTypeName }
}
this.setAccountInfo(val)
},
setAccountInfo(val){
if(val==0){
this.accountForm = { ...this.accountForm,...this.copyAccInfo0}
}else{
this.accountForm = { ...this.accountForm,...this.copyAccInfo1}
}
},
// 获取手机传图
getPhoneAttachment(){
const { writeOffCode } = this.batchListSearch
this.$apis.beforeSale.getPhoneAttachment({ writeOffCode,type:2 }).then(res=>{
if(res?.attachments2?.length){
//图片list
let otherList = [],otherSaveList = [];
const otherItem = this.attachmentList.find(item => item.secondClassifyName=='其他资料' && !item?.imgObj?.attachmentFile )
otherSaveList = this.attachmentList.filter(target => (target.id==otherItem.id && target?.imgObj?.attachmentFile))
this.attachmentList = this.attachmentList.filter(target => target.id!=otherItem.id)
res.attachments2.map(item=>{
if(item.classifyId==otherItem.id){
otherList.push({...otherItem,imgObj:item})
}
})
otherList.push(otherItem)
this.attachmentList.map(item => {
if(item.id!=otherItem.id){
const target = res.attachments2.find(ele => ele.classifyId==item.id)
if(target){
this.$set(item,'imgObj',target)
}
}
})
this.attachmentList = [...this.attachmentList,...otherSaveList,...otherList]
// res.attachments2.map(item => {
// if(item.classifyId==otherItem.id){
// this.attachmentList.push({...otherItem,imgObj:{...item}})
// }else{
// const targget = this.attachmentList.find(target => item.classifyId==target.id)
// if(targget && item?.attachmentFile){
// this.$set(targget,'imgObj',item)
// }
// }
// })
}
this.showPicDialog = false
})
},
getParams(type,pass){
const attachments2 = []
const attachments3 = []
const itemsList = []
const supplementList2 = []
this.serviceCodesList.forEach(ele => {
if(ele.checked){
let {id, serviceItemCode, serviceItemName, lossAssessmentAmount, writeOffCode, contractNo, approveAmount,lossType, claimsId,applyAmount } = ele
if(serviceItemCode == 'SC0006' && lossType) lossType = lossType?.join(',')
let aprice = approveAmount ? Number((approveAmount*100).toFixed(0)) : approveAmount
let apyprice = applyAmount ? Number((applyAmount*100).toFixed(0)) : applyAmount
let lprice = lossAssessmentAmount ? Number((lossAssessmentAmount*100).toFixed(0)) : lossAssessmentAmount
itemsList.push({id, serviceItemCode, serviceItemName, writeOffCode, contractNo, approveAmount:aprice,lossType, claimsId:claimsId || this.resData.id ,applyAmount:apyprice,lossAssessmentAmount: lprice })
}
});
let target = null
// const fileList = [...this.attachmentList, ...this.originalList]
const fileList = [...this.attachmentList]
for(let i=0;i<fileList.length;i++){
let ele = fileList[i]
if(ele?.imgObj?.attachmentFile){
let {secondClassifyName} = ele
let {id, claimsId, attachmentCode, attachmentType, attachmentFile, classifyId, attachmentName, auditStatus, reasonForFailure, auditBy} = ele.imgObj
if(type==1 && auditStatus===0 && (this.curRouteInfo.status == 10 || this.curRouteInfo.status == 13)){
target = 'errorFile'
}
// if(ele.key == 'original'){
// attachments3.push({id, claimsId:claimsId || this.resData.id, secondClassifyName, attachmentFile, attachmentType, attachmentCode, classifyId, attachmentName, auditStatus, reasonForFailure, auditBy})
// }else{
attachments2.push({id, claimsId:claimsId || this.resData.id, secondClassifyName, attachmentFile, attachmentType, attachmentCode, classifyId, attachmentName, auditStatus, reasonForFailure, auditBy})
// }
}else if(type==1 && ele.isRequire==1){
const checkedItem = this.serviceCodesList.find(item => (item.checked && item.serviceItemCode==ele.serviceItemCode))
if(checkedItem){
target = ele
break;
}
}
}
this.resData.supplementList2.forEach(item => {
let {id, claimsId, content, operation } = item
supplementList2.push({id :id || '', operation: type==1? 1 : (operation || 0), claimsId, content , suppType: 2})
})
if(target == 'errorFile') return {error:'errorTip',tip:`请重新上传审核失败的图片`}
if(type==1 && target) return {error:'errorTip',tip:`请上传${target.firstClassifyName}中的${target.secondClassifyName}`}
const {id , writeOffCode} = this.resData
const {expressName, expressNo} = this.expressObj
const params = {
id,
expressName,
expressNo,
writeOffCode,
bankAccount: this.accountForm,
attachments2,
attachments3,
itemsList,
supplementList2: supplementList2
}
if(type!=3){
params.operation = type
}else{
params.auditStatus = pass
params.reasonForFailure = pass==1 ? '' : type
params.status = this.curRouteInfo.status
}
if(type==1) params.reasonForFailure = ''
return params
},
comfirmNoPass(isPass){
if(isPass){
this.toAudit(isPass)
}else{
this.$refs.noPassRef.$refs.formRef.validate(valid=>{
if(valid){
this.toAudit(isPass)
}
})
}
},
toAudit(isPass){
const params = {
id: this.resData.id,
auditStatus : isPass,
status : this.curRouteInfo.status
}
if(isPass!=1){
params.reasonForFailure = this.noPassObj.reasonForFailure
params.reasonForFailureCode = this.noPassObj.reasonForFailureCode
}
this.$apis.beforeSale.auditWriteOff(params).then(res =>{
if (res.code == '0') {
this.$router.push({
path: '/claims/index'
})
}else{
this.openTip(res.message,'错误提示',true)
}
})
},
handleSave(type,pass) {
let target = this.getParams(type,pass)
if(target.error == 'errorTip') {
this.openTip(target.tip)
return;
}
this.$refs.repairInfo.$refs.accountRef.$refs.formRef.validate(valid => {
if (!type || valid) {
let params = {...target}
const loading = this.$loading({
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.3)'
})
this.$apis.beforeSale.saveClaims(params).then(res => {
loading.close()
if (res.code == '0') {
this.$message({
message: '保存成功',
type: 'success'
})
this.$router.push({ path: '/claims/index' })
} else {
this.gotoValidView('writeOff')
this.openTip(res.message,'错误提示',true)
}
})
} else {
this.gotoValidView('repairInfo')
}
})
},
openTip(txt, title = '错误提示',hide){
this.secondObj ={
txt,
title
}
this.isSecondVisible = !this.isSecondVisible
if(hide){
setTimeout(()=>{
this.isSecondVisible = false
}, 2200)
}
},
gotoValidView(id) {
document.getElementById(id) && document.getElementById(id).scrollIntoView()
},
handleCancel() {
this.$router.push({
path: '/claims/index'
})
}
}
}
</script>
<style lang="scss" scoped>
.writeOff {
/deep/ .el-form-item__label {
padding: 0;
}
.transport-pic {
font-size: 14px;
color: #5850ff;
cursor: pointer;
}
.original {
/deep/ .add-btn {
display: none;
}
}
/deep/ .pic-dialog {
.el-dialog__body {
display: flex;
align-items: center;
flex-direction: column;
}
.T-tip {
display: block;
}
.B-tip {
display: block;
margin: 8px 0 16px;
}
img {
width: 120px;
height: 120px;
}
}
.btn-box {
display: flex;
justify-content: center;
align-items: center;
margin: 16px 0 20px 0;
}
}
.required::before {
content: '*';
color: #f56c6c;
margin-right: 4px;
}
.tips-dialog .el-icon-success {
margin-right: 10px;
font-size: 22px;
color: #228b22;
}
.tips-dialog .el-icon-warning {
margin-right: 10px;
font-size: 22px;
color: #f77315;
}
.tips-dialog .el-icon-error {
margin-right: 10px;
font-size: 22px;
color: #f56c6c;
}
.tips-dialog .el-dialog__body {
padding: 10px 15px 20px !important;
}
.sendCard {
background: #f9f9f9;
padding: 16px 20px;
&:first-child {
margin-bottom: 16px;
}
.title {
font-size: 16px;
color: #333;
}
.content {
margin-top: 8px;
p {
margin: 0;
line-height: 22px;
font-size: 14px;
color: #666;
}
}
}
.express-wrap {
font-weight: 400;
font-size: 14px;
color: #333333;
.express-item {
display: flex;
align-items: center;
margin-bottom: 8px;
.label {
text-align: right;
}
.input {
width: 432px;
}
}
}
</style>