Commit 28ff5f95 by 张立顺

修改主题色和路径

1 parent 9e484071
NODE_ENV='development' NODE_ENV='development'
# must start with VUE_APP_ # must start with VUE_APP_
VUE_APP_ENV = 'development' VUE_APP_ENV = 'development'
VUE_APP_PORT = 6652 VUE_APP_PORT = 6654
var express = require('express') var express = require('express')
// var history = require('connect-history-api-fallback') // var history = require('connect-history-api-fallback')
var cors = require('cors') var cors = require('cors')
var app = express() var app = express()
// app.use(history()) // app.use(history())
app.use(cors()) app.use(cors())
app.use(express.static('./dist')) app.use(express.static('./dist'))
app.get('/', function(req, res) { app.get('/', function(req, res) {
res.send('Hello jq') res.send('Hello jq')
}) })
const port = 6652 const port = 6654
app.listen(port) app.listen(port)
// console.log(`服务已运行:\r\n http://127.0.0.1:${port}`) // console.log(`服务已运行:\r\n http://127.0.0.1:${port}`)
$theme_color: #5850ff; $theme_color: #2A58AD;
$theme_bg_color: #5850ff; $theme_bg_color: #2A58AD;
/* 改变主题色变量 */ /* 改变主题色变量 */
$--color-primary: #5579bd; $--color-primary: #2A58AD;
/* 改变 icon 字体路径变量,必需 */ /* 改变 icon 字体路径变量,必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts'; $--font-path: '~element-ui/lib/theme-chalk/fonts';
......
...@@ -98,13 +98,13 @@ ...@@ -98,13 +98,13 @@
.h15_title { .h15_title {
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
color: #5850ff; color: #2A58AD;
} }
.h16_title { .h16_title {
font-size: 12px; font-size: 12px;
font-weight: 500; font-weight: 500;
color: #5850ff; color: #2A58AD;
} }
.h17_title { .h17_title {
...@@ -313,35 +313,35 @@ ...@@ -313,35 +313,35 @@
max-height: 250px; max-height: 250px;
} }
// .primary_plain_btn { .primary_plain_btn {
// .el-button--primary.is-plain { .el-button--primary.is-plain {
// color: #5850ff; color: #2A58AD;
// background-color: #fff; background-color: #fff;
// border-color: #5850ff; border-color: #2A58AD;
// } }
// .el-button--primary.is-plain:hover { // .el-button--primary.is-plain:hover {
// color: #7973ff; // color: #7973ff;
// background-color: #fff; // background-color: #fff;
// border-color: #7973ff; // border-color: #7973ff;
// } // }
// .el-button--primary.is-plain:active { // .el-button--primary.is-plain:active {
// color: #3a32e1; // color: #3a32e1;
// background-color: #fff; // background-color: #fff;
// border-color: #3a32e1; // border-color: #3a32e1;
// } // }
// } }
// .el-loading-mask { .el-loading-mask {
// .el-loading-spinner { .el-loading-spinner {
// .el-icon-loading, .el-icon-loading,
// .el-loading-text { .el-loading-text {
// color: #5850ff; color: #2A58AD;
// } }
// } }
// } }
// 核赔订单详情样式 // 核赔订单详情样式
.order-container-page { .order-container-page {
...@@ -577,3 +577,12 @@ ...@@ -577,3 +577,12 @@
} }
} }
} }
.el-button.is-plain {
color: #2A58AD !important;
border-color: #2A58AD !important;
}
.gl-table-button .gl-dropdown {
color: #2A58AD !important;
}
\ No newline at end of file \ No newline at end of file
...@@ -66,8 +66,8 @@ ...@@ -66,8 +66,8 @@
<div class="add">+</div> <div class="add">+</div>
<div class="add-label">上传图片</div> <div class="add-label">上传图片</div>
<span v-if="item.maxPhotoNum > 1" class="number">{{ formObj[item.name].length }} / {{ item.maxPhotoNum }}</span> <span v-if="item.maxPhotoNum > 1" class="number">{{ formObj[item.name].length }} / {{ item.maxPhotoNum }}</span>
<input v-if="item.uploadType == 'video'" type="file" style="opacity: 0;" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" accept="video/mp4" @change="e => handleUploadChange(e, item)" /> <input v-if="item.uploadType == 'video'" type="file" style="opacity: 0" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" accept="video/mp4" @change="e => handleUploadChange(e, item)" />
<input v-else type="file" style="opacity: 0;" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" accept="image/png, image/jpeg, image/gif, image/jpg" @change="e => handleUploadChange(e, item)" /> <input v-else type="file" style="opacity: 0" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" accept="image/png, image/jpeg, image/gif, image/jpg" @change="e => handleUploadChange(e, item)" />
</div> </div>
</div> </div>
<template> <template>
...@@ -466,10 +466,10 @@ export default { ...@@ -466,10 +466,10 @@ export default {
.glsx-combi-form .el-tag.el-tag--info .el-tag__close { .glsx-combi-form .el-tag.el-tag--info .el-tag__close {
color: #e8e8ea; color: #e8e8ea;
background-color: #5850ff !important; background-color: #2a58ad !important;
} }
.glsx-combi-form .el-tag.el-tag--info { .glsx-combi-form .el-tag.el-tag--info {
border-color: #5850ff; border-color: #2a58ad;
} }
.glsx-combi-form .el-tag--plain.el-tag--info .el-tag__close:hover { .glsx-combi-form .el-tag--plain.el-tag--info .el-tag__close:hover {
background-color: #e8e8ea; background-color: #e8e8ea;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div v-if="show" class="left_code flex_ccc"> <div v-if="show" class="left_code flex_ccc">
<img :src="codeUrl" /> <img :src="codeUrl" />
<div style="height: 16px"></div> <div style="height: 16px"></div>
<span class="h18_title">{{phoneTitle}}</span> <span class="h18_title">{{ phoneTitle }}</span>
<span class="h18_title">{{ phone }}</span> <span class="h18_title">{{ phone }}</span>
</div> </div>
</div> </div>
...@@ -29,9 +29,9 @@ export default { ...@@ -29,9 +29,9 @@ export default {
type: String, type: String,
default: '189 0000 1234' default: '189 0000 1234'
}, },
phoneTitle:{ phoneTitle: {
type:String, type: String,
default:'服务热线' default: '服务热线'
} }
}, },
data() { data() {
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
cursor: pointer; cursor: pointer;
width: 52px; width: 52px;
height: 201px; height: 201px;
background: #5850ff; background: #2a58ad;
border-radius: 4px; border-radius: 4px;
z-index: 88; z-index: 88;
box-shadow: 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 9px 28px 8px rgba(0, 0, 0, 0.05); box-shadow: 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
......
...@@ -55,6 +55,12 @@ const staticRoutes = Object.freeze([ ...@@ -55,6 +55,12 @@ const staticRoutes = Object.freeze([
meta: {} meta: {}
}, },
{ {
name: 'editEquityDetail',
path: '/beforeSale/editEquity/:id',
component: resolve => require([`@/views/beforeSale/editEquity.vue`], resolve),
meta: {}
},
{
name: 'worryFree', name: 'worryFree',
path: '/worryFree/index', path: '/worryFree/index',
component: resolve => require([`@/views/worryFree/index.vue`], resolve), component: resolve => require([`@/views/worryFree/index.vue`], resolve),
......
...@@ -361,8 +361,8 @@ export default { ...@@ -361,8 +361,8 @@ export default {
padding: 20px 20px 2px 20px; padding: 20px 20px 2px 20px;
.resetBtn { .resetBtn {
background: #ffffff; background: #ffffff;
color: #5850ff; color: #2a58ad;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
} }
.m-r-l-20 { .m-r-l-20 {
margin: 0 20px; margin: 0 20px;
...@@ -378,7 +378,7 @@ export default { ...@@ -378,7 +378,7 @@ export default {
text-align: center; text-align: center;
.icon { .icon {
font-size: 48px; font-size: 48px;
color: #5850ff; color: #2a58ad;
margin-top: 18px; margin-top: 18px;
} }
.title { .title {
......
...@@ -384,8 +384,8 @@ export default { ...@@ -384,8 +384,8 @@ export default {
padding: 20px 20px 2px 20px; padding: 20px 20px 2px 20px;
.resetBtn { .resetBtn {
background: #ffffff; background: #ffffff;
color: #5850ff; color: #2a58ad;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
} }
.m-r-l-20 { .m-r-l-20 {
margin: 0 20px; margin: 0 20px;
...@@ -401,7 +401,7 @@ export default { ...@@ -401,7 +401,7 @@ export default {
text-align: center; text-align: center;
.icon { .icon {
font-size: 48px; font-size: 48px;
color: #5850ff; color: #2a58ad;
margin-top: 18px; margin-top: 18px;
} }
.title { .title {
......
...@@ -744,7 +744,7 @@ export default { ...@@ -744,7 +744,7 @@ export default {
font-weight: 700; font-weight: 700;
} }
.del-btn { .del-btn {
color: #5850ff; color: #2a58ad;
cursor: pointer; cursor: pointer;
} }
div { div {
...@@ -774,7 +774,7 @@ export default { ...@@ -774,7 +774,7 @@ export default {
// left: 0px; // left: 0px;
// content: '+'; // content: '+';
// position: absolute; // position: absolute;
// color: #5850ff; // color: #2A58AD;
// width: 14px; // width: 14px;
// height: 14px; // height: 14px;
// font-size: 14px; // font-size: 14px;
...@@ -788,7 +788,7 @@ export default { ...@@ -788,7 +788,7 @@ export default {
// left: 0px; // left: 0px;
// content: '-'; // content: '-';
// position: absolute; // position: absolute;
// color: #5850ff; // color: #2A58AD;
// width: 14px; // width: 14px;
// height: 14px; // height: 14px;
// font-size: 14px; // font-size: 14px;
...@@ -801,8 +801,8 @@ export default { ...@@ -801,8 +801,8 @@ export default {
padding: 20px 20px 2px 20px; padding: 20px 20px 2px 20px;
.resetBtn { .resetBtn {
background: #ffffff; background: #ffffff;
color: #5850ff; color: #2a58ad;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
} }
.m-r-l-20 { .m-r-l-20 {
margin: 0 20px; margin: 0 20px;
...@@ -825,7 +825,7 @@ export default { ...@@ -825,7 +825,7 @@ export default {
text-align: center; text-align: center;
.icon { .icon {
font-size: 48px; font-size: 48px;
color: #5850ff; color: #2a58ad;
margin-top: 18px; margin-top: 18px;
} }
.title { .title {
......
...@@ -412,17 +412,17 @@ export default { ...@@ -412,17 +412,17 @@ export default {
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
background-color: #e6e9ff; background-color: #e6e9ff;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
padding: 0 16px; padding: 0 16px;
border-radius: 4px; border-radius: 4px;
.el-icon-warning { .el-icon-warning {
font-size: 16px; font-size: 16px;
color: #5850ff; color: #2a58ad;
margin-right: 8px; margin-right: 8px;
} }
.count_num { .count_num {
font-size: 14px; font-size: 14px;
color: #5850ff; color: #2a58ad;
letter-spacing: 0; letter-spacing: 0;
font-weight: 500; font-weight: 500;
margin: 0 8px; margin: 0 8px;
......
...@@ -3080,7 +3080,7 @@ export default { ...@@ -3080,7 +3080,7 @@ export default {
.example_btn { .example_btn {
font-size: 14px; font-size: 14px;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
color: #5850ff; color: #2a58ad;
line-height: 32px; line-height: 32px;
height: 32px; height: 32px;
cursor: pointer; cursor: pointer;
......
...@@ -1104,8 +1104,8 @@ export default { ...@@ -1104,8 +1104,8 @@ export default {
padding: 20px 20px 2px 20px; padding: 20px 20px 2px 20px;
.resetBtn { .resetBtn {
background: #ffffff; background: #ffffff;
color: #5850ff; color: #2a58ad;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
} }
.m-r-l-20 { .m-r-l-20 {
margin: 0 20px; margin: 0 20px;
...@@ -1215,7 +1215,7 @@ export default { ...@@ -1215,7 +1215,7 @@ export default {
padding-bottom: 24px; padding-bottom: 24px;
&:first-child { &:first-child {
.circle { .circle {
background: #5850ff; background: #2a58ad;
} }
} }
&:last-child { &:last-child {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<div class="table_wrapper"> <div class="table_wrapper">
<el-button plain style="float:right;margin-bottom:10px;" :size="size" @click="handleExport">导出</el-button> <el-button plain style="float: right; margin-bottom: 10px" :size="size" @click="handleExport">导出</el-button>
<GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"></GLTable> <GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"></GLTable>
</div> </div>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -529,8 +529,8 @@ export default { ...@@ -529,8 +529,8 @@ export default {
padding: 20px 20px 2px 20px; padding: 20px 20px 2px 20px;
.resetBtn { .resetBtn {
background: #ffffff; background: #ffffff;
color: #5850ff; color: #2a58ad;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
} }
.m-r-l-20 { .m-r-l-20 {
margin: 0 20px; margin: 0 20px;
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
.left { .left {
width: 376px; width: 376px;
> i { > i {
color: #5850ff; color: #2a58ad;
width: 6px; width: 6px;
height: 6px; height: 6px;
position: absolute; position: absolute;
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
.icon_point { .icon_point {
width: 7px; width: 7px;
height: 7px; height: 7px;
background: #5850ff; background: #2a58ad;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
bottom: -18px; bottom: -18px;
...@@ -300,10 +300,10 @@ export default { ...@@ -300,10 +300,10 @@ export default {
height: 17px; height: 17px;
width: 5px; width: 5px;
.icon_po { .icon_po {
background: #5850ff; background: #2a58ad;
width: 5px; width: 5px;
height: 5px; height: 5px;
background: #5850ff; background: #2a58ad;
border-radius: 50%; border-radius: 50%;
} }
} }
......
...@@ -158,13 +158,13 @@ export default { ...@@ -158,13 +158,13 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
color: #5850ff; color: #2a58ad;
margin-top: 10px; margin-top: 10px;
cursor: pointer; cursor: pointer;
.add-icon { .add-icon {
margin-right: 6px; margin-right: 6px;
font-size: 20px; font-size: 20px;
color: #5850ff; color: #2a58ad;
} }
} }
</style> </style>
...@@ -66,8 +66,8 @@ export default { ...@@ -66,8 +66,8 @@ export default {
followEditStatus: false, followEditStatus: false,
followContent: '', followContent: '',
followResult: false, followResult: false,
curentFollowInfo:'', curentFollowInfo: '',
supplementListTemp:[{ content: '' }] supplementListTemp: [{ content: '' }]
} }
}, },
components: { components: {
...@@ -80,33 +80,30 @@ export default { ...@@ -80,33 +80,30 @@ export default {
return [{ content: '' }] return [{ content: '' }]
} }
}, },
isCheck:Boolean, isCheck: Boolean,
isDisabled:Boolean, isDisabled: Boolean,
operatorName:String, operatorName: String,
id:Number id: Number
}, },
mounted() { mounted() {},
watch: {
}, supplementList: {
watch:{ deep: true,
supplementList:{ handler(val) {
deep:true,
handler(val){
this.supplementListTemp = val this.supplementListTemp = val
val.forEach(item=>{ val.forEach(item => {
item.operationTime = dayjs( item.operationTime).format('YYYY-MM-DD HH:mm:ss') item.operationTime = dayjs(item.operationTime).format('YYYY-MM-DD HH:mm:ss')
}) })
}, },
immediate:true immediate: true
} }
}, },
methods: { methods: {
showFollow() { showFollow() {
this.followDialog = true this.followDialog = true
this.curentFollowInfo = { this.curentFollowInfo = {
id:this.id, id: this.id,
operatorName:this.operatorName operatorName: this.operatorName
} }
this.followListData = [] this.followListData = []
this.getFollowList(this.curentFollowInfo) this.getFollowList(this.curentFollowInfo)
...@@ -209,7 +206,7 @@ export default { ...@@ -209,7 +206,7 @@ export default {
} }
.add-explanation { .add-explanation {
color: #5850ff; color: #2a58ad;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
margin-left: 154px; margin-left: 154px;
...@@ -234,7 +231,7 @@ export default { ...@@ -234,7 +231,7 @@ export default {
} }
.follow-list { .follow-list {
font-size: 14px; font-size: 14px;
color: #5850ff; color: #2a58ad;
bottom: 0; bottom: 0;
position: absolute; position: absolute;
left: 742px; left: 742px;
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
}, },
props: { props: {
images: Array, images: Array,
lossTypeList: Array, lossTypeList: Array
}, },
data() { data() {
return { return {
...@@ -380,7 +380,7 @@ export default { ...@@ -380,7 +380,7 @@ export default {
font-size: 14px; font-size: 14px;
position: relative; position: relative;
.filter-icon { .filter-icon {
color: #5850ff; color: #2a58ad;
cursor: pointer; cursor: pointer;
} }
.tree-wrap { .tree-wrap {
...@@ -473,7 +473,7 @@ export default { ...@@ -473,7 +473,7 @@ export default {
} }
} }
.cur { .cur {
border: 1px solid #5850ff; border: 1px solid #2a58ad;
} }
.error_desc { .error_desc {
background: rgba(255, 82, 87, 0.5); background: rgba(255, 82, 87, 0.5);
......
...@@ -133,13 +133,13 @@ export default { ...@@ -133,13 +133,13 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
color: #5850ff; color: #2a58ad;
margin-top: 10px; margin-top: 10px;
cursor: pointer; cursor: pointer;
.add-icon { .add-icon {
margin-right: 6px; margin-right: 6px;
font-size: 20px; font-size: 20px;
color: #5850ff; color: #2a58ad;
} }
} }
</style> </style>
...@@ -162,8 +162,7 @@ export default { ...@@ -162,8 +162,7 @@ export default {
], ],
currentServicesIndex: 0, currentServicesIndex: 0,
otherUploadIndex: null, otherUploadIndex: null,
srcList:[] srcList: []
} }
}, },
components: { components: {
...@@ -178,16 +177,16 @@ export default { ...@@ -178,16 +177,16 @@ export default {
isClaims: Boolean isClaims: Boolean
}, },
mounted() {}, mounted() {},
watch:{ watch: {
insuranceAttachmentConfigs(val){ insuranceAttachmentConfigs(val) {
this.getImgList(val[0]) this.getImgList(val[0])
} }
}, },
methods: { methods: {
getImgList(data){ getImgList(data) {
this.srcList=[] this.srcList = []
data.secondClassifyList.forEach(item=>{ data.secondClassifyList.forEach(item => {
item.attachmentList.forEach(img=>{ item.attachmentList.forEach(img => {
this.srcList.push(img.attachmentFile) this.srcList.push(img.attachmentFile)
}) })
}) })
...@@ -260,11 +259,11 @@ export default { ...@@ -260,11 +259,11 @@ export default {
let otherObj = {} let otherObj = {}
let copy = null let copy = null
if (this.isUploadOther) { if (this.isUploadOther) {
if(this.uploadObj){ if (this.uploadObj) {
copy = this.uploadObj.img copy = this.uploadObj.img
} }
this.classifyId = this.insuranceAttachmentConfigs[this.currentIndx].secondClassifyList[0].id this.classifyId = this.insuranceAttachmentConfigs[this.currentIndx].secondClassifyList[0].id
Object.assign(otherObj, copy?copy:this.insuranceAttachmentConfigs[this.currentIndx].allImages[0]) Object.assign(otherObj, copy ? copy : this.insuranceAttachmentConfigs[this.currentIndx].allImages[0])
} }
const file = e.target.files[0] const file = e.target.files[0]
const reader = new FileReader() const reader = new FileReader()
...@@ -376,7 +375,7 @@ export default { ...@@ -376,7 +375,7 @@ export default {
height: 32px; height: 32px;
background: #ffffff; background: #ffffff;
border-radius: 3px; border-radius: 3px;
color: #5850ff; color: #2a58ad;
} }
} }
.image_container { .image_container {
...@@ -465,7 +464,7 @@ export default { ...@@ -465,7 +464,7 @@ export default {
position: relative; position: relative;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #5850ff; color: #2a58ad;
margin-left: 20px; margin-left: 20px;
cursor: pointer; cursor: pointer;
.file { .file {
......
...@@ -360,12 +360,12 @@ export default { ...@@ -360,12 +360,12 @@ export default {
activeNameTabs: 'first', activeNameTabs: 'first',
srcList: [], srcList: [],
allinjureList: [ allinjureList: [
{name: '购置税', key: 'purchaseTax'}, { name: '购置税', key: 'purchaseTax' },
{name: '折旧费', key: 'depreciation'}, { name: '折旧费', key: 'depreciation' },
{name: '商业险保费', key: 'commercialInsurance'}, { name: '商业险保费', key: 'commercialInsurance' },
{name: '登记费', key: 'registrationFee'}, { name: '登记费', key: 'registrationFee' },
{name: '加改装件费用', key: 'retrofits'}, { name: '加改装件费用', key: 'retrofits' },
{name: '代步车费用', key: 'scooterFare'} { name: '代步车费用', key: 'scooterFare' }
] ]
} }
}, },
...@@ -524,7 +524,7 @@ export default { ...@@ -524,7 +524,7 @@ export default {
position: relative; position: relative;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #5850ff; color: #2a58ad;
margin-left: 20px; margin-left: 20px;
cursor: pointer; cursor: pointer;
.file { .file {
...@@ -563,7 +563,7 @@ export default { ...@@ -563,7 +563,7 @@ export default {
height: 32px; height: 32px;
background: #ffffff; background: #ffffff;
border-radius: 3px; border-radius: 3px;
color: #5850ff; color: #2a58ad;
} }
} }
/deep/ .el-tabs { /deep/ .el-tabs {
......
...@@ -1222,17 +1222,17 @@ export default { ...@@ -1222,17 +1222,17 @@ export default {
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
background-color: #e6e9ff; background-color: #e6e9ff;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
padding: 0 16px; padding: 0 16px;
border-radius: 4px; border-radius: 4px;
.el-icon-warning { .el-icon-warning {
font-size: 16px; font-size: 16px;
color: #5850ff; color: #2a58ad;
margin-right: 8px; margin-right: 8px;
} }
.count_num { .count_num {
font-size: 14px; font-size: 14px;
color: #5850ff; color: #2a58ad;
letter-spacing: 0; letter-spacing: 0;
font-weight: 500; font-weight: 500;
margin: 0 8px; margin: 0 8px;
...@@ -1268,7 +1268,7 @@ export default { ...@@ -1268,7 +1268,7 @@ export default {
} }
.el-timeline-item:first-child { .el-timeline-item:first-child {
/deep/ .el-timeline-item__node { /deep/ .el-timeline-item__node {
background: #5850ff !important; background: #2a58ad !important;
} }
} }
} }
......
...@@ -732,17 +732,17 @@ export default { ...@@ -732,17 +732,17 @@ export default {
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
background-color: #e6e9ff; background-color: #e6e9ff;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
padding: 0 16px; padding: 0 16px;
border-radius: 4px; border-radius: 4px;
.el-icon-warning { .el-icon-warning {
font-size: 16px; font-size: 16px;
color: #5850ff; color: #2a58ad;
margin-right: 8px; margin-right: 8px;
} }
.count_num { .count_num {
font-size: 14px; font-size: 14px;
color: #5850ff; color: #2a58ad;
letter-spacing: 0; letter-spacing: 0;
font-weight: 500; font-weight: 500;
margin: 0 8px; margin: 0 8px;
......
<template> <template>
<div class="equity-wrap container"> <div class="equity-wrap container">
<div class="equity-wrap contain" style="padding: 0; margin-bottom: 0"> <div class="equity-wrap contain" style="padding: 0; margin-bottom: 0">
<div class="top">{{configTitle}}配置</div> <div class="top">{{ configTitle }}配置</div>
</div> </div>
<div class="equity-wrap contain" style="padding-left: 72px"> <div class="equity-wrap contain" style="padding-left: 72px">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-position="left" size="medium" class="detailForm"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-position="left" size="medium" class="detailForm">
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<el-form-item class="special-config" size="small" label="特殊配置"></el-form-item> <el-form-item class="special-config" size="small" label="特殊配置"></el-form-item>
<el-form-item> <el-form-item>
<el-checkbox v-model="costPrice" @change="checkCostPrice">列表字段</el-checkbox> <el-checkbox v-model="costPrice" @change="checkCostPrice">列表字段</el-checkbox>
<el-checkbox style="display: block; margin-left: 30px;" v-model="costPrice" @change="checkCostPrice">门店成本</el-checkbox> <el-checkbox style="display: block; margin-left: 30px" v-model="costPrice" @change="checkCostPrice">门店成本</el-checkbox>
</el-form-item> </el-form-item>
</template> </template>
</el-form> </el-form>
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
name: '', name: '',
data() { data() {
return { return {
configTitle:'', configTitle: '',
selectedTable: false, selectedTable: false,
tableData: [], tableData: [],
merchantIds: [], merchantIds: [],
...@@ -113,14 +113,14 @@ export default { ...@@ -113,14 +113,14 @@ export default {
collisions: collisionOptions, collisions: collisionOptions,
collisionTerminate: false, collisionTerminate: false,
costPrice: false, //选择门店成本 costPrice: false, //选择门店成本
showGh:true showGh: true
} }
}, },
components: { components: {
relateStoreDialog relateStoreDialog
}, },
created(){ created() {
// this.diffHost() // this.diffHost()
}, },
mounted() { mounted() {
...@@ -148,14 +148,14 @@ export default { ...@@ -148,14 +148,14 @@ export default {
}, },
methods: { methods: {
// 区分滴加和广汇 // 区分滴加和广汇
diffHost(){ diffHost() {
let href = window.location.host; let href = window.location.host
// 从域名判断是不是广汇的 // 从域名判断是不是广汇的
let gxurl1 = 'http://scrm.cgacar.com' let gxurl1 = 'http://scrm.cgacar.com'
let gxurl2 = 'https://scrm.cgacar.com' let gxurl2 = 'https://scrm.cgacar.com'
if (href == gxurl1 || href == gxurl2) { if (href == gxurl1 || href == gxurl2) {
this.showGh = true this.showGh = true
}else{ } else {
this.showGh = false this.showGh = false
} }
}, },
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
// this.data = storeArr // this.data = storeArr
// }, // },
getConfig(merchantId) { getConfig(merchantId) {
this.$apis.openconfig.getConfig({ merchantId,channel:2 }).then(res => { this.$apis.openconfig.getConfig({ merchantId, channel: 2 }).then(res => {
this.costPrice = res.openCostPrice == 1 this.costPrice = res.openCostPrice == 1
this.storeSelParams = res this.storeSelParams = res
this.id = res.id this.id = res.id
...@@ -311,7 +311,7 @@ export default { ...@@ -311,7 +311,7 @@ export default {
params.push(firstObj) params.push(firstObj)
} }
let targetParams = { let targetParams = {
openCostPrice : this.costPrice ? 1 : 0, openCostPrice: this.costPrice ? 1 : 0
} }
if (this.add == true) { if (this.add == true) {
targetParams.merchantIds = this.merchantIds targetParams.merchantIds = this.merchantIds
...@@ -401,9 +401,7 @@ export default { ...@@ -401,9 +401,7 @@ export default {
this.tyreAll = true this.tyreAll = true
} }
}, },
checkCostPrice(){ checkCostPrice() {}
}
} }
} }
// <style src="@a/css/tao.css"></style> // <style src="@a/css/tao.css"></style>
...@@ -434,7 +432,7 @@ export default { ...@@ -434,7 +432,7 @@ export default {
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
.custtom { .custtom {
background: #ffffff; background: #ffffff;
color: #5850ff; color: #2a58ad;
} }
.wrap_driver { .wrap_driver {
margin: 0 20px; margin: 0 20px;
...@@ -497,8 +495,8 @@ export default { ...@@ -497,8 +495,8 @@ export default {
.el-form-item:first-child { .el-form-item:first-child {
margin-bottom: 20px; margin-bottom: 20px;
.el-button { .el-button {
border: 1px solid #5850ff; border: 1px solid #2a58ad;
color: #5850ff; color: #2a58ad;
} }
} }
.el-form-item:nth-child(2) { .el-form-item:nth-child(2) {
...@@ -523,7 +521,7 @@ export default { ...@@ -523,7 +521,7 @@ export default {
} }
} }
.special-config{ .special-config {
margin-bottom: 0!important; margin-bottom: 0 !important;
} }
</style> </style>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<!-- <el-button fn="修改配置" type="text" @click="jump(scope.scope.merchantId)">修改配置</el-button> --> <!-- <el-button fn="修改配置" type="text" @click="jump(scope.scope.merchantId)">修改配置</el-button> -->
</span> </span>
<span slot="openFlag" slot-scope="scope"> <span slot="openFlag" slot-scope="scope">
<el-switch :value="scope.scope.openFlag == 1" active-color="#5850ff" inactive-color="#eee" @change="changStatus(scope.scope.openFlag, scope.scope.id)"></el-switch> <el-switch :value="scope.scope.openFlag == 1" active-color="#2A58AD" inactive-color="#eee" @change="changStatus(scope.scope.openFlag, scope.scope.id)"></el-switch>
</span> </span>
</GLTable> </GLTable>
</div> </div>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<!-- <el-button fn="修改配置" type="text" @click="jump(scope.scope.merchantId)">修改配置</el-button> --> <!-- <el-button fn="修改配置" type="text" @click="jump(scope.scope.merchantId)">修改配置</el-button> -->
</span> </span>
<span slot="openFlag" slot-scope="scope"> <span slot="openFlag" slot-scope="scope">
<el-switch :value="scope.scope.openFlag == 1" active-color="#5850ff" inactive-color="#eee" @change="changStatus(scope.scope.openFlag, scope.scope.id)"></el-switch> <el-switch :value="scope.scope.openFlag == 1" active-color="#2A58AD" inactive-color="#eee" @change="changStatus(scope.scope.openFlag, scope.scope.id)"></el-switch>
</span> </span>
</GLTable> </GLTable>
</div> </div>
...@@ -379,8 +379,8 @@ export default { ...@@ -379,8 +379,8 @@ export default {
} }
.el-form-item__content .el-button--small:first-child, .el-form-item__content .el-button--small:first-child,
.row-btns > div .el-button--small:first-child { .row-btns > div .el-button--small:first-child {
border-color: #5850ff; border-color: #2a58ad;
color: #5850ff; color: #2a58ad;
} }
.el-form-item__content .el-button--small:last-child, .el-form-item__content .el-button--small:last-child,
.row-btns > div .el-button--small:last-child { .row-btns > div .el-button--small:last-child {
......
...@@ -66,8 +66,8 @@ export default { ...@@ -66,8 +66,8 @@ export default {
followEditStatus: false, followEditStatus: false,
followContent: '', followContent: '',
followResult: false, followResult: false,
curentFollowInfo:'', curentFollowInfo: '',
supplementListTemp:[{ content: '' }] supplementListTemp: [{ content: '' }]
} }
}, },
components: { components: {
...@@ -80,33 +80,30 @@ export default { ...@@ -80,33 +80,30 @@ export default {
return [{ content: '' }] return [{ content: '' }]
} }
}, },
isCheck:Boolean, isCheck: Boolean,
isDisabled:Boolean, isDisabled: Boolean,
operatorName:String, operatorName: String,
id:Number id: Number
}, },
mounted() { mounted() {},
watch: {
}, supplementList: {
watch:{ deep: true,
supplementList:{ handler(val) {
deep:true,
handler(val){
this.supplementListTemp = val this.supplementListTemp = val
val.forEach(item=>{ val.forEach(item => {
item.operationTime = dayjs( item.operationTime).format('YYYY-MM-DD HH:mm:ss') item.operationTime = dayjs(item.operationTime).format('YYYY-MM-DD HH:mm:ss')
}) })
}, },
immediate:true immediate: true
} }
}, },
methods: { methods: {
showFollow() { showFollow() {
this.followDialog = true this.followDialog = true
this.curentFollowInfo = { this.curentFollowInfo = {
id:this.id, id: this.id,
operatorName:this.operatorName operatorName: this.operatorName
} }
this.followListData = [] this.followListData = []
this.getFollowList(this.curentFollowInfo) this.getFollowList(this.curentFollowInfo)
...@@ -209,7 +206,7 @@ export default { ...@@ -209,7 +206,7 @@ export default {
} }
.add-explanation { .add-explanation {
color: #5850ff; color: #2a58ad;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
margin-left: 154px; margin-left: 154px;
...@@ -234,7 +231,7 @@ export default { ...@@ -234,7 +231,7 @@ export default {
} }
.follow-list { .follow-list {
font-size: 14px; font-size: 14px;
color: #5850ff; color: #2a58ad;
bottom: 0; bottom: 0;
position: absolute; position: absolute;
left: 742px; left: 742px;
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
}, },
props: { props: {
images: Array, images: Array,
lossTypeList: Array, lossTypeList: Array
}, },
data() { data() {
return { return {
...@@ -380,7 +380,7 @@ export default { ...@@ -380,7 +380,7 @@ export default {
font-size: 14px; font-size: 14px;
position: relative; position: relative;
.filter-icon { .filter-icon {
color: #5850ff; color: #2a58ad;
cursor: pointer; cursor: pointer;
} }
.tree-wrap { .tree-wrap {
...@@ -473,7 +473,7 @@ export default { ...@@ -473,7 +473,7 @@ export default {
} }
} }
.cur { .cur {
border: 1px solid #5850ff; border: 1px solid #2a58ad;
} }
.error_desc { .error_desc {
background: rgba(255, 82, 87, 0.5); background: rgba(255, 82, 87, 0.5);
......
...@@ -133,13 +133,13 @@ export default { ...@@ -133,13 +133,13 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
color: #5850ff; color: #2a58ad;
margin-top: 10px; margin-top: 10px;
cursor: pointer; cursor: pointer;
.add-icon { .add-icon {
margin-right: 6px; margin-right: 6px;
font-size: 20px; font-size: 20px;
color: #5850ff; color: #2a58ad;
} }
} }
</style> </style>
...@@ -162,8 +162,7 @@ export default { ...@@ -162,8 +162,7 @@ export default {
], ],
currentServicesIndex: 0, currentServicesIndex: 0,
otherUploadIndex: null, otherUploadIndex: null,
srcList:[] srcList: []
} }
}, },
components: { components: {
...@@ -178,16 +177,16 @@ export default { ...@@ -178,16 +177,16 @@ export default {
isClaims: Boolean isClaims: Boolean
}, },
mounted() {}, mounted() {},
watch:{ watch: {
insuranceAttachmentConfigs(val){ insuranceAttachmentConfigs(val) {
this.getImgList(val[0]) this.getImgList(val[0])
} }
}, },
methods: { methods: {
getImgList(data){ getImgList(data) {
this.srcList=[] this.srcList = []
data.secondClassifyList.forEach(item=>{ data.secondClassifyList.forEach(item => {
item.attachmentList.forEach(img=>{ item.attachmentList.forEach(img => {
this.srcList.push(img.attachmentFile) this.srcList.push(img.attachmentFile)
}) })
}) })
...@@ -260,11 +259,11 @@ export default { ...@@ -260,11 +259,11 @@ export default {
let otherObj = {} let otherObj = {}
let copy = null let copy = null
if (this.isUploadOther) { if (this.isUploadOther) {
if(this.uploadObj){ if (this.uploadObj) {
copy = this.uploadObj.img copy = this.uploadObj.img
} }
this.classifyId = this.insuranceAttachmentConfigs[this.currentIndx].secondClassifyList[0].id this.classifyId = this.insuranceAttachmentConfigs[this.currentIndx].secondClassifyList[0].id
Object.assign(otherObj, copy?copy:this.insuranceAttachmentConfigs[this.currentIndx].allImages[0]) Object.assign(otherObj, copy ? copy : this.insuranceAttachmentConfigs[this.currentIndx].allImages[0])
} }
const file = e.target.files[0] const file = e.target.files[0]
const reader = new FileReader() const reader = new FileReader()
...@@ -376,7 +375,7 @@ export default { ...@@ -376,7 +375,7 @@ export default {
height: 32px; height: 32px;
background: #ffffff; background: #ffffff;
border-radius: 3px; border-radius: 3px;
color: #5850ff; color: #2a58ad;
} }
} }
.image_container { .image_container {
...@@ -465,7 +464,7 @@ export default { ...@@ -465,7 +464,7 @@ export default {
position: relative; position: relative;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #5850ff; color: #2a58ad;
margin-left: 20px; margin-left: 20px;
cursor: pointer; cursor: pointer;
.file { .file {
......
...@@ -360,12 +360,12 @@ export default { ...@@ -360,12 +360,12 @@ export default {
activeNameTabs: 'first', activeNameTabs: 'first',
srcList: [], srcList: [],
allinjureList: [ allinjureList: [
{name: '购置税', key: 'purchaseTax'}, { name: '购置税', key: 'purchaseTax' },
{name: '折旧费', key: 'depreciation'}, { name: '折旧费', key: 'depreciation' },
{name: '商业险保费', key: 'commercialInsurance'}, { name: '商业险保费', key: 'commercialInsurance' },
{name: '登记费', key: 'registrationFee'}, { name: '登记费', key: 'registrationFee' },
{name: '加改装件费用', key: 'retrofits'}, { name: '加改装件费用', key: 'retrofits' },
{name: '代步车费用', key: 'scooterFare'} { name: '代步车费用', key: 'scooterFare' }
] ]
} }
}, },
...@@ -524,7 +524,7 @@ export default { ...@@ -524,7 +524,7 @@ export default {
position: relative; position: relative;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #5850ff; color: #2a58ad;
margin-left: 20px; margin-left: 20px;
cursor: pointer; cursor: pointer;
.file { .file {
...@@ -563,7 +563,7 @@ export default { ...@@ -563,7 +563,7 @@ export default {
height: 32px; height: 32px;
background: #ffffff; background: #ffffff;
border-radius: 3px; border-radius: 3px;
color: #5850ff; color: #2a58ad;
} }
} }
/deep/ .el-tabs { /deep/ .el-tabs {
......
...@@ -3,37 +3,30 @@ ...@@ -3,37 +3,30 @@
<div class="info"> <div class="info">
<div class="global-title">{{ routeInfo.type == 1 ? '新增' : routeInfo.type == 2 ? '查看' : '编辑' }}延保项目</div> <div class="global-title">{{ routeInfo.type == 1 ? '新增' : routeInfo.type == 2 ? '查看' : '编辑' }}延保项目</div>
<div class="main-wrap"> <div class="main-wrap">
<glsx-combi-form ref="serviceForm" labelWidth="154px" defaultWidth="432px" :isInline="false" <glsx-combi-form ref="serviceForm" labelWidth="154px" defaultWidth="432px" :isInline="false" :formObj.sync="formObj" :formData="formData" :formRules="myRule">
:formObj.sync="formObj" :formData="formData" :formRules="myRule">
<div slot="powerType"> <div slot="powerType">
<el-radio-group :disabled="routeInfo.type == 2" v-model="formObj.powerType"> <el-radio-group :disabled="routeInfo.type == 2" v-model="formObj.powerType">
<el-radio v-for="(item, index) in powerTypeList" :label="index" :key="index">{{ item }}</el-radio> <el-radio v-for="(item, index) in powerTypeList" :label="index" :key="index">{{ item }}</el-radio>
</el-radio-group> </el-radio-group>
<el-form-item prop="powerTypeOther" style="margin-bottom: 0px" <el-form-item prop="powerTypeOther" style="margin-bottom: 0px" v-if="formObj.powerType == powerTypeList.length - 1">
v-if="formObj.powerType == powerTypeList.length - 1"> <el-input class="wid_432" v-model.trim="formObj.powerTypeOther" :disabled="routeInfo.type == 2" placeholder="请输入自定义动力类型" maxlength="50"></el-input>
<el-input class="wid_432" v-model.trim="formObj.powerTypeOther" :disabled="routeInfo.type == 2"
placeholder="请输入自定义动力类型" maxlength="50"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div slot="supportPosition"> <div slot="supportPosition">
<el-radio-group :disabled="routeInfo.type == 2" v-model="formObj.supportPosition"> <el-radio-group :disabled="routeInfo.type == 2" v-model="formObj.supportPosition">
<el-radio v-for="(item, index) in supportPositionList" :label="index" :key="index">{{ item }}</el-radio> <el-radio v-for="(item, index) in supportPositionList" :label="index" :key="index">{{ item }}</el-radio>
</el-radio-group> </el-radio-group>
<el-form-item prop="supportPositionOther" style="margin-bottom: 0px" <el-form-item prop="supportPositionOther" style="margin-bottom: 0px" v-if="formObj.supportPosition == supportPositionList.length - 1">
v-if="formObj.supportPosition == supportPositionList.length - 1"> <el-input class="wid_432" v-model="formObj.supportPositionOther" :disabled="routeInfo.type == 2" placeholder="请输入自定义保障部件" maxlength="50"></el-input>
<el-input class="wid_432" v-model="formObj.supportPositionOther" :disabled="routeInfo.type == 2"
placeholder="请输入自定义保障部件" maxlength="50"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div slot="contractList"> <div slot="contractList">
<el-button icon="el-icon-plus" :disabled="routeInfo.type == 2" @click="addContract">选中合同</el-button> <el-button icon="el-icon-plus" :disabled="routeInfo.type == 2" @click="addContract">选中合同</el-button>
<div class="table-wrap"> <div class="table-wrap">
<GLTable :hasPage="false" :hasNum="false" :tableData="formObj.contractList" <GLTable :hasPage="false" :hasNum="false" :tableData="formObj.contractList" :tableParams="contractTableParams">
:tableParams="contractTableParams">
<div class="table-btns" slot="table-btns" slot-scope="scope"> <div class="table-btns" slot="table-btns" slot-scope="scope">
<el-button type="text" size="small" @click="handlePreview(scope.scope)">预览</el-button> <el-button type="text" size="small" @click="handlePreview(scope.scope)">预览</el-button>
<el-button type="text" size="small" :disabled="routeInfo.type == 2" <el-button type="text" size="small" :disabled="routeInfo.type == 2" @click="handleDelete(scope.scope, scope.index)">删除</el-button>
@click="handleDelete(scope.scope, scope.index)">删除</el-button>
</div> </div>
</GLTable> </GLTable>
</div> </div>
...@@ -44,8 +37,7 @@ ...@@ -44,8 +37,7 @@
<el-button v-if="routeInfo.type != 2" type="text" @click="handleSKuEdit">规格组合管理</el-button> <el-button v-if="routeInfo.type != 2" type="text" @click="handleSKuEdit">规格组合管理</el-button>
</div> </div>
<div class="speci-box" id="specificationDetailList"> <div class="speci-box" id="specificationDetailList">
<multipleSpecificationForm ref="multipleSpecificationFormRef" :route-info="routeInfo"> <multipleSpecificationForm ref="multipleSpecificationFormRef" :route-info="routeInfo"></multipleSpecificationForm>
</multipleSpecificationForm>
</div> </div>
</div> </div>
</glsx-combi-form> </glsx-combi-form>
...@@ -55,8 +47,7 @@ ...@@ -55,8 +47,7 @@
<el-button @click="jumpListPage">取消</el-button> <el-button @click="jumpListPage">取消</el-button>
<el-button v-if="routeInfo.type != 2" type="primary" @click="commit">提交</el-button> <el-button v-if="routeInfo.type != 2" type="primary" @click="commit">提交</el-button>
</div> </div>
<contract-dialog v-if="contractObj.visible" @closeDialog="closeContractDialog" @confirm="confirmContractDialog" <contract-dialog v-if="contractObj.visible" @closeDialog="closeContractDialog" @confirm="confirmContractDialog" :contractObj="contractObj"></contract-dialog>
:contractObj="contractObj"></contract-dialog>
<pdf-dialog :isVisible="isPdfVisible" title="合同" :pdfUrl="pdfUrl" @closeDialog="handlePdfClose"></pdf-dialog> <pdf-dialog :isVisible="isPdfVisible" title="合同" :pdfUrl="pdfUrl" @closeDialog="handlePdfClose"></pdf-dialog>
</div> </div>
</template> </template>
...@@ -560,7 +551,7 @@ export default { ...@@ -560,7 +551,7 @@ export default {
.add-btn { .add-btn {
display: inline-block; display: inline-block;
color: #5850ff; color: #2a58ad;
cursor: pointer; cursor: pointer;
i { i {
...@@ -580,7 +571,7 @@ export default { ...@@ -580,7 +571,7 @@ export default {
padding: 0; padding: 0;
} }
/deep/ .el-button+.el-button { /deep/ .el-button + .el-button {
margin-left: 10px; margin-left: 10px;
} }
} }
......
...@@ -437,7 +437,7 @@ export default { ...@@ -437,7 +437,7 @@ export default {
standardShelfCost = NP.times(it?.standardShelfCost || 0, 100) // 标准上架成本 standardShelfCost = NP.times(it?.standardShelfCost || 0, 100) // 标准上架成本
let min_price = NP.times(minPrice || 0, 1000000) let min_price = NP.times(minPrice || 0, 1000000)
let max_price = NP.times(maxPrice || 0, 1000000) let max_price = NP.times(maxPrice || 0, 1000000)
let gradeConfigObj = { id: element.id, priceGrade: eleIdx, priceCoefficient: priceCoefficient ? priceCoefficient : undefined, minPrice: min_price, maxPrice: max_price, servicePeriod, standardSalesCost, standardShelfCost, computeFlag, salesCost, shelfCost} let gradeConfigObj = { id: element.id, priceGrade: eleIdx, priceCoefficient: priceCoefficient ? priceCoefficient : undefined, minPrice: min_price, maxPrice: max_price, servicePeriod, standardSalesCost, standardShelfCost, computeFlag, salesCost, shelfCost }
_gradeConfigList.push(gradeConfigObj) _gradeConfigList.push(gradeConfigObj)
}) })
}) })
...@@ -652,7 +652,7 @@ export default { ...@@ -652,7 +652,7 @@ export default {
} }
.add-btn { .add-btn {
display: inline-block; display: inline-block;
color: #5850ff; color: #2a58ad;
cursor: pointer; cursor: pointer;
i { i {
font-size: 20px; font-size: 20px;
......
...@@ -286,9 +286,8 @@ export default { ...@@ -286,9 +286,8 @@ export default {
serviceCode: row.serviceCode serviceCode: row.serviceCode
} }
this.$apis.serviceConfig.getServiceRecordApi(params).then(res => { this.$apis.serviceConfig.getServiceRecordApi(params).then(res => {
const spaces = " ".repeat(3) const spaces = ' '.repeat(3)
res?.list?.forEach(val => { res?.list?.forEach(val => {
val.createdDateStr = `${val.createdBy}${spaces}${dayjs(val.createdDate).format('YYYY-MM-DD HH:mm:ss')}` val.createdDateStr = `${val.createdBy}${spaces}${dayjs(val.createdDate).format('YYYY-MM-DD HH:mm:ss')}`
val.content = `规格${val.serviceGrade},服务年限${val.servicePeriod}年,` val.content = `规格${val.serviceGrade},服务年限${val.servicePeriod}年,`
let childContent = '' let childContent = ''
...@@ -327,15 +326,15 @@ export default { ...@@ -327,15 +326,15 @@ export default {
max-height: calc(80vh - 60px); max-height: calc(80vh - 60px);
padding-left: 12px; padding-left: 12px;
.el-timeline-item { .el-timeline-item {
/deep/ .el-timeline-item__node{ /deep/ .el-timeline-item__node {
width: 8px; width: 8px;
height: 8px; height: 8px;
} }
/deep/ .el-timeline-item__tail{ /deep/ .el-timeline-item__tail {
left: 2px; left: 2px;
} }
/deep/ .el-timeline-item__wrapper { /deep/ .el-timeline-item__wrapper {
.el-timeline-item__content{ .el-timeline-item__content {
color: #333333; color: #333333;
line-height: 23px; line-height: 23px;
font-size: 14px; font-size: 14px;
...@@ -348,10 +347,10 @@ export default { ...@@ -348,10 +347,10 @@ export default {
} }
.el-timeline-item:first-child { .el-timeline-item:first-child {
/deep/ .el-timeline-item__node { /deep/ .el-timeline-item__node {
background: #5850ff !important; background: #2a58ad !important;
} }
} }
.noData{ .noData {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
align-items: center; align-items: center;
......
...@@ -422,7 +422,7 @@ export default { ...@@ -422,7 +422,7 @@ export default {
} }
.el-timeline-item:first-child { .el-timeline-item:first-child {
/deep/ .el-timeline-item__node { /deep/ .el-timeline-item__node {
background: #5850ff !important; background: #2a58ad !important;
} }
} }
.noData { .noData {
...@@ -458,7 +458,7 @@ export default { ...@@ -458,7 +458,7 @@ export default {
} }
.el-timeline-item:first-child { .el-timeline-item:first-child {
/deep/ .el-timeline-item__node { /deep/ .el-timeline-item__node {
background: #5850ff !important; background: #2a58ad !important;
} }
} }
.noData { .noData {
......
...@@ -647,7 +647,7 @@ export default { ...@@ -647,7 +647,7 @@ export default {
/deep/ .el-alert { /deep/ .el-alert {
height: 40px; height: 40px;
background: #e6e9ff; background: #e6e9ff;
border: 1px solid #5850ff; border: 1px solid #2a58ad;
padding: 0 15px; padding: 0 15px;
line-height: 40px; line-height: 40px;
p { p {
...@@ -658,7 +658,7 @@ export default { ...@@ -658,7 +658,7 @@ export default {
margin: 0; margin: 0;
} }
.el-alert__icon { .el-alert__icon {
color: #5850ff; color: #2a58ad;
font-size: 18px; font-size: 18px;
width: 18px; width: 18px;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!