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