Commit 025262ac by 杨北旺

修改样式

1 parent e01d2e49

6.25 KB | W: | H:

11.4 KB | W: | H:

src/assets/images/idCard.png
src/assets/images/idCard.png
src/assets/images/idCard.png
src/assets/images/idCard.png
  • 2-up
  • Swipe
  • Onion skin

7.08 KB | W: | H:

12 KB | W: | H:

src/assets/images/idCardBack.png
src/assets/images/idCardBack.png
src/assets/images/idCardBack.png
src/assets/images/idCardBack.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -12,8 +12,8 @@
<img v-if="item.name === 'idCard'" slot="default" :src="idCard" alt="" />
<img v-if="item.name === 'idCardBack'" slot="default" :src="idCardBack" alt="" />
<el-button v-if="item.name == 'otherInfo'" slot="default" :disabled="renewDisable || pageType == 2 || item.limit == materialForm[item.name].length" size="small" class="el-icon-plus">上传文件</el-button>
<div slot="tip" class="remark" v-if="item.name == 'idCard'">身份证人像面</div>
<div slot="tip" class="remark" v-if="item.name == 'idCardBack'">身份证国徽面</div>
<!-- <div slot="tip" class="remark" v-if="item.name == 'idCard'">身份证人像面</div>
<div slot="tip" class="remark" v-if="item.name == 'idCardBack'">身份证国徽面</div> -->
<div slot="tip" class="file-box" v-if="item.name == 'otherInfo'">
<span class="file_tip">支持扩展名:.doc .docx .pdf .jpg .png .jpeg。图片类型大小不能超过9M,其他类型文件大小不能超过30M。</span>
<template>
......@@ -321,7 +321,7 @@ export default {
display: inline-block;
position: relative;
padding-left: 118px;
margin-bottom: 45px;
margin-bottom: 20px;
height: 104px;
.require {
position: absolute;
......@@ -330,7 +330,7 @@ export default {
}
}
&:nth-child(2) {
margin-left: 40px;
margin-left: 12px;
display: inline-block;
}
&:nth-child(3) {
......@@ -342,7 +342,7 @@ export default {
/deep/.el-upload-list__item,
/deep/.el-upload--picture-card {
width: 104px;
margin-right: 20px;
margin-right: 12px;
margin-bottom: 15px;
p {
font-size: 14px;
......@@ -386,8 +386,8 @@ export default {
position: absolute;
}
.file-box {
margin-top: 8px;
.file_tip {
margin: 8px 0;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
......@@ -398,6 +398,7 @@ export default {
width: 320px;
position: relative;
margin-bottom: 4px;
margin-top: 8px;
.download {
width: 20px;
height: 18px;
......
......@@ -25,6 +25,10 @@
</div>
<GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="searchParams" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="batchPageConf">
<div class="flex_sc" slot="colorStatus" slot-scope="scope">
<div class="table_point" :style="{ background: statusMap[scope.scope.status].color }"></div>
<span>{{ statusMap[scope.scope.status].name }}</span>
</div>
<div class="table-btns" slot="table-btns" slot-scope="scope">
<!-- <GLButton v-if="[0].includes(scope.scope.status)" fn="去处理" type="text" @click="handleEdit(4, scope.scope)">去处理</GLButton>
<GLButton v-if="[1, 3, 4].includes(scope.scope.status)" fn="查看" type="text" @click="handleEdit(2, scope.scope)">查看</GLButton>
......@@ -78,19 +82,17 @@ const statusList = [
confId: 23,
confName: '待核赔'
},
// {
// confId: 24,
// confName: '核赔通过'
// },
{
confId: 25,
confName: '核赔不通过'
}
]
const colors = ['#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#FDB757', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', '#2CCA74']
export default {
name: 'index',
data() {
return {
colors,
orderCount: {},
buttonList: [
{
......@@ -282,11 +284,12 @@ export default {
{
label: '服务状态',
prop: 'status',
width: 120,
formatter: cellValue => {
if (!cellValue) return '-'
return statusList.map(item => item.confId).includes(cellValue.status) ? statusList.find(item => item.confId === cellValue.status).confName : '-'
}
width: 150,
addHtml: 'colorStatus'
// formatter: cellValue => {
// if (!cellValue) return '-'
// return statusList.map(item => item.confId).includes(cellValue.status) ? statusList.find(item => item.confId === cellValue.status).confName : '-'
// }
},
{
label: '状态描述',
......@@ -331,6 +334,48 @@ export default {
addHtml: 'table-btns'
}
]
},
statusMap: {
0: {
name: '待提交国任',
color: '#FDB757'
},
2: {
name: '校验不通过',
color: ' #EB4E4E'
},
1: {
name: '待支付',
color: '#FDB757'
},
3: {
name: '支付成功',
color: '#2CCA74'
},
4: {
name: '支付失败',
color: '#EB4E4E'
},
19: {
name: '待核实',
color: '#FDB757'
},
21: {
name: '待运营经理审核',
color: '#FDB757'
},
22: {
name: '运营经理审核不通过',
color: '#EB4E4E'
},
23: {
name: '待核赔',
color: '#5850FF'
},
25: {
name: '核赔不通过',
color: '#EB4E4E'
}
}
}
},
......@@ -481,6 +526,12 @@ export default {
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
}
.table_point {
width: 6px;
height: 6px;
border-radius: 50%;
margin-right: 8px;
}
.table_top_line {
margin-bottom: 10px;
}
......
......@@ -9,8 +9,8 @@
<repair ref="repairRef" @changeObjectType="changeObjectType" :isGH="routeInfo.isGH" :pageType="pageType" :serviceItemsList.sync="serviceItemsList" :totalPrice.sync="totalPrice" :accountForm.sync="accountForm"></repair>
<material ref="materialRef" :pageType="pageType" :materialForm.sync="materialForm"></material>
<wraning :isWatchOrder="isWatchOrder" @getWarningData="getWarningData" v-if="accountMatchResultList.length && detailOrderStatus != 22 && detailOrderStatus != 2 && detailOrderStatus != 25" :list="accountMatchResultList"></wraning>
<div v-if="pageType!=2" class="page-btm-btn">
<template v-if="(detailOrderStatus < 19 || detailOrderStatus == 22 || detailOrderStatus == 25)">
<div v-if="pageType != 2" class="page-btm-btn">
<template v-if="detailOrderStatus < 19 || detailOrderStatus == 22 || detailOrderStatus == 25">
<el-button type="primary" @click="confirmSubmit(1)">提交</el-button>
<el-button type="primary" plain @click="confirmSubmit(2)">草稿</el-button>
</template>
......@@ -26,11 +26,12 @@
<el-button @click="toCheckOrderByYY(24)" :size="size" type="primary">审核通过</el-button>
</template>
</div>
<div v-if="pageType==2&&detailOrderStatus == 19" class="page-btm-btn">
<el-button @click="toCheckOrder(20)" :size="size" type="primary">提交</el-button>
<div v-if="pageType == 2 && detailOrderStatus == 19" class="page-btm-btn">
<el-button @click="toCheckOrder(20)" :size="size" type="primary">提交</el-button>
</div>
<el-dialog title="风险预警" width="720px" @close="cancelWarning" :visible.sync="dialogVisible">
<div v-if="accountMatchResultList.length" class="warning_body">
<!-- <div slot="title" class="maxtitle">风险预警</div> -->
<div class="header">
<i class="el-icon-warning"></i>
<span class="title">风险预警</span>
......@@ -38,8 +39,8 @@
</div>
<div class="main">
<div class="element">
<div class="e_title">风险预警:{{ matchResultDesc[accountMatchResultList[accountMatchResultList.length-1].matchResult] }}</div>
<div class="e_desc">具体描述:{{ accountMatchResultList[accountMatchResultList.length-1].matchResultDesc }}</div>
<div class="e_title">风险预警:{{ matchResultDesc[accountMatchResultList[accountMatchResultList.length - 1].matchResult] }}</div>
<div class="e_desc">具体描述:{{ accountMatchResultList[accountMatchResultList.length - 1].matchResultDesc }}</div>
</div>
</div>
</div>
......@@ -143,13 +144,13 @@ export default {
optionLabel: 'confName'
},
{
label: '具体描述:',
label: '具体描述',
name: 'desc',
type: 'input',
inputType: 'textarea',
rows: 3,
isClear: true,
maxlength: 200,
maxlength: 200
}
],
pageShow: false,
......@@ -158,7 +159,7 @@ export default {
2: '资料不清晰'
},
reasonForFailureCode: 1,
isWatchOrder:false
isWatchOrder: false
}
},
created() {
......@@ -168,7 +169,7 @@ export default {
this.pageType = urlQuery.editNo
this.routeInfo = urlQuery
this.handleFormInfo(urlQuery.contractNo, urlQuery.isGH)
if(this.pageType==2){
if (this.pageType == 2) {
this.isWatchOrder = true
}
if (this.routeInfo.orderId) {
......@@ -283,7 +284,7 @@ export default {
},
toCheckOrder(operation, addQuery = {}) {
let claimsQuery = {}
claimsQuery = this.handlerClaimsQueryForCheck()
claimsQuery = this.handlerClaimsQueryForCheck()
if (operation == 20) {
const flag = this.verifyWarningImage()
if (!flag) return
......@@ -546,7 +547,7 @@ export default {
this.$apis.claims.commitClaimsOrder(params).then(res => {
loading.close()
if (res) {
if(res.accountMatchResultList&&res.accountMatchResultList.length){
if (res.accountMatchResultList && res.accountMatchResultList.length) {
this.accountMatchResultList = res.accountMatchResultList
this.dialogVisible = true
this.needBack = true
......@@ -555,7 +556,7 @@ export default {
message: type == 1 ? '提交成功' : '保存草稿成功',
type: 'success'
})
if(type!=1){
if (type != 1) {
this.handleCancel()
}
}
......@@ -569,8 +570,8 @@ export default {
this.dialogVisible = true
},
cancelWarning() {
if(this.needBack){
this.handleCancel()
if (this.needBack) {
this.handleCancel()
}
this.dialogVisible = false
},
......@@ -612,6 +613,11 @@ export default {
background: #ffffff;
}
.warning_body {
.maxtitle {
font-weight: 600;
font-size: 20px;
color: #333333;
}
.header {
display: flex;
flex-direction: column;
......@@ -621,7 +627,7 @@ export default {
font-size: 48px;
}
.title {
font-weight: 500;
font-weight: 600;
font-size: 16px;
color: #333333;
line-height: 24px;
......@@ -638,13 +644,14 @@ export default {
.element {
background: #f9f9f9;
box-sizing: border-box;
padding: 12px 19px 12px 16px;
padding: 12px 16px;
margin-bottom: 10px;
.e_title {
font-weight: 400;
font-size: 14px;
color: #333333;
margin-bottom: 4px;
line-height: 20px;
}
.e_desc {
font-weight: 400;
......@@ -658,4 +665,10 @@ export default {
/deep/ .el-dialog__footer {
text-align: center;
}
/deep/ .el-dialog__header{
padding: 16px 20px;
.el-dialog__title{
font-weight: 600;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!