Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj-simple
/
equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 28ff5f95
authored
Mar 25, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改主题色和路径
1 parent
9e484071
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
744 additions
and
757 deletions
.env.development
run.js
src/assets/css/common.scss
src/assets/css/element-variables.scss
src/assets/css/public.scss
src/components/glsx-combi-form/index.vue
src/components/qr-code/index.vue
src/router/routes.js
src/views/ContractManager/goodIndex.vue
src/views/ContractManager/parentIndex.vue
src/views/ContractManager/prodIndex.vue
src/views/GH/Renew/renew.vue
src/views/addCode/index.vue
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
src/views/beforeSale/equitySummary.vue
src/views/beforeSale/introduct.vue
src/views/claims/components/djFollowPop/index.vue
src/views/claims/components/explanation.vue
src/views/claims/components/fastReview.vue
src/views/claims/components/followPop/index.vue
src/views/claims/components/uploadMaterial.vue
src/views/claims/components/watch/index.vue
src/views/claims/ghIndex.vue
src/views/claims/index.vue
src/views/config/addConfig.vue
src/views/config/addConfigOfGh.vue
src/views/config/index.vue
src/views/config/indexOfGh.vue
src/views/djClaims/components/explanation.vue
src/views/djClaims/components/fastReview.vue
src/views/djClaims/components/followPop/index.vue
src/views/djClaims/components/uploadMaterial.vue
src/views/djClaims/components/watch/index.vue
src/views/serviceConfig/addExtended.vue
src/views/serviceConfig/addService.vue
src/views/serviceConfig/carDamage.vue
src/views/serviceConfig/extendedWarranty.vue
src/views/worryFree/index.vue
.env.development
View file @
28ff5f9
NODE_ENV='development'
# must start with VUE_APP_
VUE_APP_ENV = 'development'
VUE_APP_PORT = 665
2
VUE_APP_PORT = 665
4
run.js
View file @
28ff5f9
var
express
=
require
(
'express'
)
// var history = require('connect-history-api-fallback')
// var history = require('connect-history-api-fallback')
var
cors
=
require
(
'cors'
)
var
app
=
express
()
// app.use(history())
// app.use(history())
app
.
use
(
cors
())
app
.
use
(
express
.
static
(
'./dist'
))
app
.
get
(
'/'
,
function
(
req
,
res
)
{
res
.
send
(
'Hello jq'
)
})
const
port
=
665
2
const
port
=
665
4
app
.
listen
(
port
)
// console.log(`服务已运行:\r\n http://127.0.0.1:${port}`)
\ No newline at end of file
// console.log(`服务已运行:\r\n http://127.0.0.1:${port}`)
src/assets/css/common.scss
View file @
28ff5f9
$theme_color
:
#
5850ff
;
$theme_bg_color
:
#
5850ff
;
$theme_color
:
#
2A58AD
;
$theme_bg_color
:
#
2A58AD
;
src/assets/css/element-variables.scss
View file @
28ff5f9
/* 改变主题色变量 */
$--color-primary
:
#
5579bd
;
$--color-primary
:
#
2A58AD
;
/* 改变 icon 字体路径变量,必需 */
$--font-path
:
'~element-ui/lib/theme-chalk/fonts'
;
...
...
src/assets/css/public.scss
View file @
28ff5f9
...
...
@@ -98,13 +98,13 @@
.h15_title
{
font-size
:
14px
;
font-weight
:
500
;
color
:
#
5850ff
;
color
:
#
2A58AD
;
}
.h16_title
{
font-size
:
12px
;
font-weight
:
500
;
color
:
#
5850ff
;
color
:
#
2A58AD
;
}
.h17_title
{
...
...
@@ -313,35 +313,35 @@
max-height
:
250px
;
}
// .primary_plain_btn {
// .el-button--primary.is-plain {
// color: #5850ff;
// background-color: #fff;
// border-color: #5850ff;
// }
// .el-button--primary.is-plain:hover {
// color: #7973ff;
// background-color: #fff;
// border-color: #7973ff;
// }
// .el-button--primary.is-plain:active {
// color: #3a32e1;
// background-color: #fff;
// border-color: #3a32e1;
// }
// }
.primary_plain_btn
{
.el-button--primary.is-plain
{
color
:
#2A58AD
;
background-color
:
#fff
;
border-color
:
#2A58AD
;
}
// .el-loading-mask {
// .el-loading-spinner {
// .el-button--primary.is-plain:hover {
// color: #7973ff;
// background-color: #fff;
// border-color: #7973ff;
// }
// .el-icon-loading,
// .el-loading-text {
// color: #5850ff;
// }
// }
// }
// .el-button--primary.is-plain:active {
// color: #3a32e1;
// background-color: #fff;
// border-color: #3a32e1;
// }
}
.el-loading-mask
{
.el-loading-spinner
{
.el-icon-loading
,
.el-loading-text
{
color
:
#2A58AD
;
}
}
}
// 核赔订单详情样式
.order-container-page
{
...
...
@@ -576,4 +576,13 @@
width
:
150px
;
}
}
}
.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
src/components/glsx-combi-form/index.vue
View file @
28ff5f9
...
...
@@ -66,8 +66,8 @@
<div
class=
"add"
>
+
</div>
<div
class=
"add-label"
>
上传图片
</div>
<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-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-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)"
/>
</div>
</div>
<template>
...
...
@@ -466,10 +466,10 @@ export default {
.glsx-combi-form
.el-tag.el-tag--info
.el-tag__close
{
color
:
#e8e8ea
;
background-color
:
#
5850ff
!important
;
background-color
:
#
2a58ad
!important
;
}
.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
{
background-color
:
#e8e8ea
;
...
...
src/components/qr-code/index.vue
View file @
28ff5f9
...
...
@@ -6,7 +6,7 @@
<div
v-if=
"show"
class=
"left_code flex_ccc"
>
<img
:src=
"codeUrl"
/>
<div
style=
"height: 16px"
></div>
<span
class=
"h18_title"
>
{{
phoneTitle
}}
</span>
<span
class=
"h18_title"
>
{{
phoneTitle
}}
</span>
<span
class=
"h18_title"
>
{{
phone
}}
</span>
</div>
</div>
...
...
@@ -29,9 +29,9 @@ export default {
type
:
String
,
default
:
'189 0000 1234'
},
phoneTitle
:{
type
:
String
,
default
:
'服务热线'
phoneTitle
:
{
type
:
String
,
default
:
'服务热线'
}
},
data
()
{
...
...
@@ -110,7 +110,7 @@ export default {
cursor
:
pointer
;
width
:
52px
;
height
:
201px
;
background
:
#
5850ff
;
background
:
#
2a58ad
;
border-radius
:
4px
;
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
);
...
...
src/router/routes.js
View file @
28ff5f9
...
...
@@ -55,6 +55,12 @@ const staticRoutes = Object.freeze([
meta
:
{}
},
{
name
:
'editEquityDetail'
,
path
:
'/beforeSale/editEquity/:id'
,
component
:
resolve
=>
require
([
`@/views/beforeSale/editEquity.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'worryFree'
,
path
:
'/worryFree/index'
,
component
:
resolve
=>
require
([
`@/views/worryFree/index.vue`
],
resolve
),
...
...
src/views/ContractManager/goodIndex.vue
View file @
28ff5f9
...
...
@@ -361,8 +361,8 @@ export default {
padding
:
20px
20px
2px
20px
;
.resetBtn
{
background
:
#ffffff
;
color
:
#
5850ff
;
border
:
1px
solid
#
5850ff
;
color
:
#
2a58ad
;
border
:
1px
solid
#
2a58ad
;
}
.m-r-l-20
{
margin
:
0
20px
;
...
...
@@ -378,7 +378,7 @@ export default {
text-align
:
center
;
.icon
{
font-size
:
48px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-top
:
18px
;
}
.title
{
...
...
src/views/ContractManager/parentIndex.vue
View file @
28ff5f9
...
...
@@ -384,8 +384,8 @@ export default {
padding
:
20px
20px
2px
20px
;
.resetBtn
{
background
:
#ffffff
;
color
:
#
5850ff
;
border
:
1px
solid
#
5850ff
;
color
:
#
2a58ad
;
border
:
1px
solid
#
2a58ad
;
}
.m-r-l-20
{
margin
:
0
20px
;
...
...
@@ -401,7 +401,7 @@ export default {
text-align
:
center
;
.icon
{
font-size
:
48px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-top
:
18px
;
}
.title
{
...
...
src/views/ContractManager/prodIndex.vue
View file @
28ff5f9
...
...
@@ -744,7 +744,7 @@ export default {
font-weight
:
700
;
}
.del-btn
{
color
:
#
5850ff
;
color
:
#
2a58ad
;
cursor
:
pointer
;
}
div
{
...
...
@@ -774,7 +774,7 @@ export default {
//
left
:
0px
;
//
content
:
'+'
;
//
position
:
absolute
;
//
color
:
#
5850ff
;
//
color
:
#
2A58AD
;
//
width
:
14px
;
//
height
:
14px
;
//
font-size
:
14px
;
...
...
@@ -788,7 +788,7 @@ export default {
//
left
:
0px
;
//
content
:
'-'
;
//
position
:
absolute
;
//
color
:
#
5850ff
;
//
color
:
#
2A58AD
;
//
width
:
14px
;
//
height
:
14px
;
//
font-size
:
14px
;
...
...
@@ -801,8 +801,8 @@ export default {
padding
:
20px
20px
2px
20px
;
.resetBtn
{
background
:
#ffffff
;
color
:
#
5850ff
;
border
:
1px
solid
#
5850ff
;
color
:
#
2a58ad
;
border
:
1px
solid
#
2a58ad
;
}
.m-r-l-20
{
margin
:
0
20px
;
...
...
@@ -825,7 +825,7 @@ export default {
text-align
:
center
;
.icon
{
font-size
:
48px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-top
:
18px
;
}
.title
{
...
...
src/views/GH/Renew/renew.vue
View file @
28ff5f9
...
...
@@ -412,17 +412,17 @@ export default {
font-weight
:
400
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
background-color
:
#e6e9ff
;
border
:
1px
solid
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
padding
:
0
16px
;
border-radius
:
4px
;
.el-icon-warning
{
font-size
:
16px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-right
:
8px
;
}
.count_num
{
font-size
:
14px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
letter-spacing
:
0
;
font-weight
:
500
;
margin
:
0
8px
;
...
...
src/views/addCode/index.vue
View file @
28ff5f9
<
template
>
<div
class=
"container"
>
<GLCombiForm
ref=
"searchRef"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleOk"
@
handleRest=
"handleRest"
></GLCombiForm>
<el-button
type=
"primary"
:size=
"size"
style=
"float:right;margin-bottom:10px;"
@
click=
"createCode"
>
生成核销码
</el-button>
<GLTable
:pageSizes=
"pageSizes"
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:getListApi=
"getListApi"
></GLTable>
<GLDialog
class=
"dialog_wrap"
title=
"生成核销码"
mode=
"mid"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
@
onOk=
"onOk"
@
onCancel=
"handleClose"
:close-on-click-modal=
"false"
>
<div>
<label
class=
"label_class"
for=
""
>
合同号:
</label>
<el-radio-group
@
change=
"changeAddMethod"
v-model=
"addType"
>
<el-radio
:label=
"1"
>
手动输入
</el-radio>
<el-radio
:label=
"2"
>
导入
</el-radio>
</el-radio-group>
</div>
<div
class=
"manual"
v-if=
"addType == 1"
>
<el-input
type=
"textarea"
class=
"contract_input"
v-model=
"contractNoStr"
placeholder=
"请输入合同号"
></el-input>
<p
class=
"textarea_tip"
:style=
"
{color: contractNoList.length > 20 ? 'red': '#999999'}">
{{
contractNoList
.
length
>
20
?
'最多输入20个合同号'
:
'多个合同号换行输入,最多20个合同号'
}}
</p>
<p
class=
"textarea_tip"
v-if=
"requestTip"
>
以下红色标记为合同号不存在,判断为无效合同
</p>
<div
class=
"contract_area"
>
<div
:class=
"['contract_item',
{valid: item.valid}]" v-for="(item, index) in contractNoList" :key="index">
<span
class=
"contract_no"
>
{{
item
.
val
}}
</span>
<i
style=
"cursor:pointer"
class=
"el-icon-close"
@
click=
"delContractNo(item.val)"
></i>
</div>
<div
class=
"container"
>
<GLCombiForm
ref=
"searchRef"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleOk"
@
handleRest=
"handleRest"
></GLCombiForm>
<el-button
type=
"primary"
:size=
"size"
style=
"float: right; margin-bottom: 10px"
@
click=
"createCode"
>
生成核销码
</el-button>
<GLTable
:pageSizes=
"pageSizes"
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:getListApi=
"getListApi"
></GLTable>
<GLDialog
class=
"dialog_wrap"
title=
"生成核销码"
mode=
"mid"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
@
onOk=
"onOk"
@
onCancel=
"handleClose"
:close-on-click-modal=
"false"
>
<div>
<label
class=
"label_class"
for=
""
>
合同号:
</label>
<el-radio-group
@
change=
"changeAddMethod"
v-model=
"addType"
>
<el-radio
:label=
"1"
>
手动输入
</el-radio>
<el-radio
:label=
"2"
>
导入
</el-radio>
</el-radio-group>
</div>
<div
class=
"manual"
v-if=
"addType == 1"
>
<el-input
type=
"textarea"
class=
"contract_input"
v-model=
"contractNoStr"
placeholder=
"请输入合同号"
></el-input>
<p
class=
"textarea_tip"
:style=
"
{ color: contractNoList.length > 20 ? 'red' : '#999999' }">
{{
contractNoList
.
length
>
20
?
'最多输入20个合同号'
:
'多个合同号换行输入,最多20个合同号'
}}
</p>
<p
class=
"textarea_tip"
v-if=
"requestTip"
>
以下红色标记为合同号不存在,判断为无效合同
</p>
<div
class=
"contract_area"
>
<div
:class=
"['contract_item',
{ valid: item.valid }]" v-for="(item, index) in contractNoList" :key="index">
<span
class=
"contract_no"
>
{{
item
.
val
}}
</span>
<i
style=
"cursor: pointer"
class=
"el-icon-close"
@
click=
"delContractNo(item.val)"
></i>
</div>
</div>
<div
class=
"import"
v-else
>
<div
class=
"upload_wrap"
>
<div
class=
"upload_btn"
>
<el-button
icon=
"el-icon-plus"
:size=
"size"
@
click=
"upload"
>
上传文件
<input
type=
"file"
style=
"opacity: 0;width: 0;height: 0;"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
</el-button>
<div
class=
"preview"
>
<el-popover
placement=
"right-start"
width=
"160"
trigger=
"hover"
>
<!--
<img
style=
"width: 100%;"
:src=
"require('@/assets/example.png')"
>
-->
<el-image
style=
"width: 100px;"
:src=
"exampleImg"
:preview-src-list=
"[exampleImg]"
>
</el-image>
<span
slot=
"reference"
>
模版预览
</span>
</el-popover>
</div>
</div>
<div
class=
"import"
v-else
>
<div
class=
"upload_wrap"
>
<div
class=
"upload_btn"
>
<el-button
icon=
"el-icon-plus"
:size=
"size"
@
click=
"upload"
>
上传文件
<input
type=
"file"
style=
"opacity: 0; width: 0; height: 0"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
</el-button>
<div
class=
"preview"
>
<el-popover
placement=
"right-start"
width=
"160"
trigger=
"hover"
>
<!--
<img
style=
"width: 100%;"
:src=
"require('@/assets/example.png')"
>
-->
<el-image
style=
"width: 100px"
:src=
"exampleImg"
:preview-src-list=
"[exampleImg]"
></el-image>
<span
slot=
"reference"
>
模版预览
</span>
</el-popover>
</div>
<div
class=
"file_name"
v-if=
"fileData && fileData.name"
>
{{
fileData
.
name
}}
</div>
</div>
<div
class=
"file_info"
>
<div
class=
"file_num"
>
<div
class=
"num_wrap"
>
<span
class=
"num valid"
>
{{
errorFileInfo
.
effectiveSize
||
0
}}
</span>
<span
class=
"title"
>
有效数量
</span>
</div>
<div
class=
"num_wrap"
>
<span
class=
"num invalid"
>
{{
errorFileInfo
.
invalidSize
||
0
}}
</span>
<span
class=
"title"
>
无效数量
<span
class=
"download"
v-if=
"errorFileInfo.invalidSize"
@
click=
"handleExport"
>
下载
</span>
</span>
</div>
<div
class=
"file_name"
v-if=
"fileData && fileData.name"
>
{{
fileData
.
name
}}
</div>
</div>
<div
class=
"file_info"
>
<div
class=
"file_num"
>
<div
class=
"num_wrap"
>
<span
class=
"num valid"
>
{{
errorFileInfo
.
effectiveSize
||
0
}}
</span>
<span
class=
"title"
>
有效数量
</span>
</div>
<div
class=
"tip_txt"
>
<p
class=
"tip_title"
>
数据异常的可能原因:
</p>
<p>
1. 合同号格式不正确
</p>
<p>
2. 合同号不存在
</p>
<div
class=
"num_wrap"
>
<span
class=
"num invalid"
>
{{
errorFileInfo
.
invalidSize
||
0
}}
</span>
<span
class=
"title"
>
无效数量
<span
class=
"download"
v-if=
"errorFileInfo.invalidSize"
@
click=
"handleExport"
>
下载
</span>
</span>
</div>
</div>
<div
class=
"tip_txt"
>
<p
class=
"tip_title"
>
数据异常的可能原因:
</p>
<p>
1. 合同号格式不正确
</p>
<p>
2. 合同号不存在
</p>
</div>
</div>
</GLDialog>
</div>
</
template
>
</div>
</GLDialog>
</div>
</
template
>
<
script
>
import
util
from
'@/util/util'
import
exampleImg
from
'@/assets/example.png'
import
{
ConcatSource
}
from
'webpack-sources'
export
default
{
name
:
'index'
,
data
()
{
return
{
size
:
'small'
,
exampleImg
,
uploaded
:
false
,
isVisible
:
false
,
requestTip
:
false
,
contractNoStr
:
''
,
addType
:
1
,
contractNoList
:
[],
errorNoList
:
[],
errorFileInfo
:{},
fileData
:
{},
getListApi
:
this
.
$apis
.
addCode
.
getcodeList
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageCount'
,
totalCount
:
'total'
},
pageSizes
:
[
5
,
10
,
20
,
30
,
40
],
tableParams
:
{
listName
:
'list'
,
tableOption
:
false
,
tableColumns
:
[
{
label
:
'核销码'
,
prop
:
'writeOffCode'
},
{
label
:
'客户姓名'
,
prop
:
'customerName'
},
{
label
:
'合同号'
,
prop
:
'contractNo'
},
{
label
:
'门店名称'
,
prop
:
'merchantName'
},
{
label
:
'报案时间'
,
formatter
:
cell
=>
{
return
util
.
dateFormat
(
cell
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
}
}
]
},
searchForm
:
{
writeOffCode
:
''
,
contractNo
:
''
,
merchantName
:
''
,
reportDate
:
''
},
searchFormData
:
[
import
util
from
'@/util/util'
import
exampleImg
from
'@/assets/example.png'
import
{
ConcatSource
}
from
'webpack-sources'
export
default
{
name
:
'index'
,
data
()
{
return
{
size
:
'small'
,
exampleImg
,
uploaded
:
false
,
isVisible
:
false
,
requestTip
:
false
,
contractNoStr
:
''
,
addType
:
1
,
contractNoList
:
[],
errorNoList
:
[],
errorFileInfo
:
{},
fileData
:
{},
getListApi
:
this
.
$apis
.
addCode
.
getcodeList
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageCount'
,
totalCount
:
'total'
},
pageSizes
:
[
5
,
10
,
20
,
30
,
40
],
tableParams
:
{
listName
:
'list'
,
tableOption
:
false
,
tableColumns
:
[
{
label
:
'核销码'
,
name
:
'writeOffCode'
,
type
:
'input'
,
isClear
:
true
prop
:
'writeOffCode'
},
{
label
:
'客户姓名'
,
prop
:
'customerName'
},
{
label
:
'合同号'
,
name
:
'contractNo'
,
type
:
'input'
,
isClear
:
true
prop
:
'contractNo'
},
{
label
:
'门店名称'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
prop
:
'merchantName'
},
{
label
:
'报案时间'
,
name
:
'reportDate'
,
type
:
'datePicker'
,
isClear
:
true
formatter
:
cell
=>
{
return
util
.
dateFormat
(
cell
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
}
}
]
}
},
methods
:
{
upload
()
{
this
.
$refs
.
file
.
click
()
},
//查询表格
handleOk
()
{
this
.
$refs
.
tableRef
.
refreshTable
()
},
// 重置表格
handleRest
()
{
this
.
searchForm
=
{
writeOffCode
:
''
,
contractNo
:
''
,
merchantName
:
''
,
reportDate
:
''
}
this
.
handleOk
()
searchForm
:
{
writeOffCode
:
''
,
contractNo
:
''
,
merchantName
:
''
,
reportDate
:
''
},
getParams
()
{
let
params
=
{
...
this
.
searchForm
}
if
(
params
.
reportDate
)
{
params
.
beginCreateTime
=
new
Date
(
this
.
searchForm
.
reportDate
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 00:00:00'
params
.
endCreateTime
=
new
Date
(
this
.
searchForm
.
reportDate
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
searchFormData
:
[
{
label
:
'核销码'
,
name
:
'writeOffCode'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'合同号'
,
name
:
'contractNo'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'门店名称'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'报案时间'
,
name
:
'reportDate'
,
type
:
'datePicker'
,
isClear
:
true
}
return
params
},
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
this
.
searchForm
=
this
.
getParams
()
resolve
()
})
},
//解析合同号,
formatContractNo
()
{
let
contractNoList
=
this
.
contractNoStr
.
split
(
'\n'
).
filter
(
item
=>
!!
item
?.
trim
())
||
[]
this
.
contractNoList
=
contractNoList
.
map
(
item
=>
{
return
{
val
:
item
,
valid
:
this
.
errorNoList
?.
includes
(
item
)}
]
}
},
methods
:
{
upload
()
{
this
.
$refs
.
file
.
click
()
},
//查询表格
handleOk
()
{
this
.
$refs
.
tableRef
.
refreshTable
()
},
// 重置表格
handleRest
()
{
this
.
searchForm
=
{
writeOffCode
:
''
,
contractNo
:
''
,
merchantName
:
''
,
reportDate
:
''
}
this
.
handleOk
()
},
getParams
()
{
let
params
=
{
...
this
.
searchForm
}
if
(
params
.
reportDate
)
{
params
.
beginCreateTime
=
new
Date
(
this
.
searchForm
.
reportDate
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 00:00:00'
params
.
endCreateTime
=
new
Date
(
this
.
searchForm
.
reportDate
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
}
return
params
},
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
this
.
searchForm
=
this
.
getParams
()
resolve
()
})
},
//解析合同号,
formatContractNo
()
{
let
contractNoList
=
this
.
contractNoStr
.
split
(
'\n'
).
filter
(
item
=>
!!
item
?.
trim
())
||
[]
this
.
contractNoList
=
contractNoList
.
map
(
item
=>
{
return
{
val
:
item
,
valid
:
this
.
errorNoList
?.
includes
(
item
)
}
})
// 给点一个值判断是否有效
const
target
=
this
.
contractNoList
.
find
(
item
=>
item
.
valid
)
!
target
&&
(
this
.
requestTip
=
false
)
},
// 删除合同号,同时删除多余的空格换行
delContractNo
(
val
)
{
let
contractNo
=
'\n'
+
this
.
contractNoStr
+
'\n'
contractNo
=
contractNo
.
replace
(
/
[\n]
/g
,
'\n\n'
)
contractNo
=
contractNo
.
replace
(
new
RegExp
(
'[\n]'
+
val
+
'[\n]'
),
'\n'
)
contractNo
=
contractNo
.
replace
(
/
[\n]
+/g
,
'\n'
)
contractNo
=
contractNo
.
replace
(
/^
[\n]
+/
,
''
)
this
.
contractNoStr
=
contractNo
this
.
formatContractNo
()
},
// 上传excel
uploadFile
(
e
)
{
const
file
=
e
.
srcElement
.
files
[
0
]
let
AllImgExt
=
'.xlsx'
//文件格式判断
let
extName
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)).
toLowerCase
()
if
(
AllImgExt
!==
extName
)
{
this
.
$message
.
error
(
'文件格式不正确'
)
this
.
$refs
.
file
.
value
=
''
return
false
}
this
.
uploaded
=
false
this
.
fileData
=
file
},
handleUploadFile
()
{
if
(
!
this
.
fileData
.
size
)
return
this
.
$message
({
message
:
'请上传文件'
,
type
:
'error'
,
customClass
:
'msgHierarchy'
})
// 给点一个值判断是否有效
const
target
=
this
.
contractNoList
.
find
(
item
=>
item
.
valid
)
!
target
&&
(
this
.
requestTip
=
false
)
},
// 删除合同号,同时删除多余的空格换行
delContractNo
(
val
){
let
contractNo
=
'\n'
+
this
.
contractNoStr
+
'\n'
contractNo
=
contractNo
.
replace
(
/
[\n]
/g
,
'\n\n'
)
contractNo
=
contractNo
.
replace
(
new
RegExp
(
'[\n]'
+
val
+
'[\n]'
),
'\n'
)
contractNo
=
contractNo
.
replace
(
/
[\n]
+/g
,
'\n'
)
contractNo
=
contractNo
.
replace
(
/^
[\n]
+/
,
''
)
this
.
contractNoStr
=
contractNo
this
.
formatContractNo
()
},
// 上传excel
uploadFile
(
e
)
{
const
file
=
e
.
srcElement
.
files
[
0
]
let
AllImgExt
=
'.xlsx'
//文件格式判断
let
extName
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)).
toLowerCase
()
if
(
AllImgExt
!==
extName
)
{
this
.
$message
.
error
(
'文件格式不正确'
)
this
.
$refs
.
file
.
value
=
''
return
false
if
(
this
.
uploaded
)
{
if
(
this
.
errorFileInfo
.
effectiveSize
<=
0
)
{
this
.
$message
({
message
:
'有效合同号为0'
,
type
:
'error'
,
customClass
:
'msgHierarchy'
})
this
.
fileData
=
{}
}
else
{
this
.
clearData
()
}
this
.
uploaded
=
false
this
.
fileData
=
file
},
handleUploadFile
(){
if
(
!
this
.
fileData
.
size
)
return
this
.
$message
({
message
:
'请上传文件'
,
type
:
'error'
,
customClass
:
'msgHierarchy'
});
if
(
this
.
uploaded
){
if
(
this
.
errorFileInfo
.
effectiveSize
<=
0
){
this
.
$message
({
message
:
'有效合同号为0'
,
type
:
'error'
,
customClass
:
'msgHierarchy'
})
this
.
fileData
=
{}
}
else
{
this
.
clearData
()
}
this
.
uploaded
=
false
return
false
}
const
file
=
this
.
fileData
const
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
file
)
reader
.
onload
=
event
=>
{
const
imgFile
=
event
.
target
.
result
const
arrBase64
=
imgFile
.
split
(
','
)
const
fileName
=
file
.
name
.
split
(
'.'
)
//fileUrl: 文件名 + @ + base64拼接
const
fileUrl
=
fileName
.
pop
()
+
'@'
+
arrBase64
[
1
]
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
addCode
.
uploadCodeFile
({
file
:
fileUrl
}).
then
(
res
=>
{
return
false
}
const
file
=
this
.
fileData
const
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
file
)
reader
.
onload
=
event
=>
{
const
imgFile
=
event
.
target
.
result
const
arrBase64
=
imgFile
.
split
(
','
)
const
fileName
=
file
.
name
.
split
(
'.'
)
//fileUrl: 文件名 + @ + base64拼接
const
fileUrl
=
fileName
.
pop
()
+
'@'
+
arrBase64
[
1
]
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
addCode
.
uploadCodeFile
({
file
:
fileUrl
})
.
then
(
res
=>
{
loading
.
close
()
if
(
res
?.
batchNo
)
{
if
(
res
?.
batchNo
)
{
this
.
$message
({
message
:
'生成核销码成功'
,
message
:
'生成核销码成功'
,
type
:
'success'
,
customClass
:
'msgHierarchy'
})
...
...
@@ -268,281 +262,282 @@
this
.
uploaded
=
true
}
this
.
$refs
.
file
.
value
=
''
}).
catch
(
err
=>
{
})
.
catch
(
err
=>
{
loading
.
close
()
})
}
},
// 下载错误的合同号
handleExport
()
{
const
params
=
{
batchNo
:
this
.
errorFileInfo
.
batchNo
,
codeStatus
:
0
}
this
.
$apis
.
addCode
.
exportInvalidClaimsCodeApi
(
params
).
then
(
res
=>
{
// window.open(res)
let
tempaa
=
util
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
window
.
open
(
res
)
}
else
{
let
iframe
=
document
.
createElement
(
'iframe'
)
iframe
.
style
.
display
=
'none'
iframe
.
src
=
res
document
.
body
.
appendChild
(
iframe
)
}
})
},
createCode
()
{
this
.
uploaded
=
false
this
.
isVisible
=
true
},
onOk
()
{
if
(
this
.
addType
==
1
)
{
this
.
formatContractNo
()
if
(
this
?.
contractNoList
?.
length
>
20
)
{
return
this
.
$message
({
message
:
'最多输入20个合同号'
,
type
:
'error'
,
customClass
:
'msgHierarchy'
})
}
},
// 下载错误的合同号
handleExport
()
{
const
params
=
{
batchNo
:
this
.
errorFileInfo
.
batchNo
,
codeStatus
:
0
contractNoList
:
this
.
contractNoList
.
map
(
item
=>
item
.
val
)
}
this
.
$apis
.
addCode
.
exportInvalidClaimsCodeApi
(
params
).
then
(
res
=>
{
// window.open(res)
let
tempaa
=
util
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
window
.
open
(
res
)
}
else
{
let
iframe
=
document
.
createElement
(
'iframe'
)
iframe
.
style
.
display
=
'none'
iframe
.
src
=
res
document
.
body
.
appendChild
(
iframe
)
}
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
},
createCode
()
{
this
.
uploaded
=
false
this
.
isVisible
=
true
},
onOk
(){
if
(
this
.
addType
==
1
){
this
.
formatContractNo
()
if
(
this
?.
contractNoList
?.
length
>
20
){
return
this
.
$message
({
message
:
'最多输入20个合同号'
,
type
:
'error'
,
customClass
:
'msgHierarchy'
})
}
const
params
=
{
contractNoList
:
this
.
contractNoList
.
map
(
item
=>
item
.
val
)
}
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
addCode
.
createCode
(
params
).
then
(
res
=>
{
this
.
$apis
.
addCode
.
createCode
(
params
)
.
then
(
res
=>
{
loading
.
close
()
if
(
res
?.
batchNo
)
{
if
(
res
?.
invalidList
?.
length
)
{
if
(
res
?.
batchNo
)
{
if
(
res
?.
invalidList
?.
length
)
{
this
.
$message
({
message
:
'存在无效合同'
,
message
:
'存在无效合同'
,
type
:
'error'
,
customClass
:
'msgHierarchy'
})
this
.
errorNoList
=
res
?.
invalidList
||
[]
this
.
contractNoList
.
map
(
item
=>
{
if
(
res
?.
invalidList
?.
includes
(
item
.
val
))
{
this
.
contractNoList
.
map
(
item
=>
{
if
(
res
?.
invalidList
?.
includes
(
item
.
val
))
{
item
.
valid
=
true
}
return
item
})
this
.
requestTip
=
true
}
else
{
}
else
{
this
.
clearData
()
this
.
$message
.
success
(
'操作成功'
)
}
}
}).
catch
(
err
=>
{
})
.
catch
(
err
=>
{
loading
.
close
()
})
}
else
{
this
.
handleUploadFile
()
}
},
clearData
(){
this
.
isVisible
=
false
this
.
requestTip
=
false
this
.
contractNoStr
=
''
this
.
addType
=
1
this
.
contractNoList
=
[],
this
.
errorNoList
=
[]
this
.
errorFileInfo
=
{}
this
.
fileData
=
{}
this
.
handleRest
()
},
handleClose
()
{
if
(
this
.
addType
==
1
){
this
.
clearData
()
}
else
{
this
.
$confirm
(
'确定关闭弹窗吗'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
this
.
clearData
()
}
}
else
{
this
.
handleUploadFile
()
}
},
clearData
()
{
this
.
isVisible
=
false
this
.
requestTip
=
false
this
.
contractNoStr
=
''
this
.
addType
=
1
;(
this
.
contractNoList
=
[]),
(
this
.
errorNoList
=
[])
this
.
errorFileInfo
=
{}
this
.
fileData
=
{}
this
.
handleRest
()
},
handleClose
()
{
if
(
this
.
addType
==
1
)
{
this
.
clearData
()
}
else
{
this
.
$confirm
(
'确定关闭弹窗吗'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
this
.
clearData
()
}
})
}
},
changeAddMethod
(
type
)
{
this
.
addType
=
type
}
})
}
},
changeAddMethod
(
type
)
{
this
.
addType
=
type
}
}
</
script
>
}
</
script
>
<
style
lang=
"scss"
scoped
>
.container
{
background-color
:
#fff
;
padding
:
20px
;
.dialog_wrap
{
.label_class
{
display
:
inline-block
;
width
:
154px
;
text-align
:
right
;
&::before
{
content
:
'*'
;
color
:
#f56c6c
;
margin-right
:
4px
;
.container
{
background-color
:
#fff
;
padding
:
20px
;
.dialog_wrap
{
.label_class
{
display
:
inline-block
;
width
:
154px
;
text-align
:
right
;
&::before
{
content
:
'*'
;
color
:
#f56c6c
;
margin-right
:
4px
;
}
}
.manual
{
margin-top
:
10px
;
.contract_input
{
margin-left
:
154px
;
width
:
432px
;
/deep/
.el-textarea__inner
{
width
:
432px
;
height
:
79px
;
border
:
1px
solid
#e5e5e5
;
border-radius
:
4px
;
font-family
:
unset
;
}
}
.manual
{
.textarea_tip
{
margin-left
:
154px
;
font-weight
:
400
;
font-size
:
12px
;
color
:
red
;
margin-top
:
10px
;
.contract_input
{
margin-left
:
154px
;
width
:
432px
;
/deep/
.el-textarea__inner
{
width
:
432px
;
height
:
79px
;
border
:
1px
solid
#e5e5e5
;
border-radius
:
4px
;
font-family
:
unset
;
}
}
.contract_area
{
margin-top
:
10px
;
width
:
600px
;
max-height
:
340px
;
overflow-y
:
auto
;
margin-left
:
60px
;
.contract_item
{
height
:
26px
;
width
:
280px
;
white-space
:
nowrap
;
display
:
inline-flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
8px
;
background
:
#fafbfe
;
border
:
1px
solid
#e8e8ea
;
border-radius
:
4px
;
color
:
#666666
;
margin
:
0
10px
8px
0
;
box-sizing
:
border-box
;
}
.textarea_tip
{
margin-left
:
154px
;
font-weight
:
400
;
font-size
:
12px
;
color
:
red
;
margin-top
:
10px
;
.valid
{
background
:
#fff1f0
;
border
:
1px
solid
#ffa39e
;
color
:
#ff4d4f
;
}
.contract_area
{
margin-top
:
10px
;
width
:
600px
;
max-height
:
340px
;
overflow-y
:
auto
;
margin-left
:
60px
;
.contract_item{
height
:
26px
;
width
:
280px
;
white-space
:
nowrap
;
display
:
inline-flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
8px
;
background
:
#fafbfe
;
border
:
1px
solid
#E8E8EA
;
border-radius
:
4px
;
color
:
#666666
;
margin
:
0
10px
8px
0
;
box-sizing
:
border-box
;
}
.valid
{
background
:
#fff1f0
;
border
:
1px
solid
#ffa39e
;
color
:
#ff4d4f
;
}
}
}
.import
{
.upload_wrap
{
//
display
:
flex
;
margin-left
:
154p
x
;
margin-top
:
10
px
;
.upload_btn
{
display
:
flex
;
.preview
{
margin-left
:
8px
;
position
:
relative
;
.example{
width
:
160px
;
height
:
64
px
;
}
span
{
line-height
:
32px
;
height
:
32px
;
color
:
#5850ff
;
cursor
:
pointer
;
}
}
.import
{
.upload_wrap
{
//
display
:
fle
x
;
margin-left
:
154
px
;
margin-top
:
10px
;
.upload_btn
{
display
:
flex
;
.preview
{
margin-left
:
8px
;
position
:
relative
;
.example
{
width
:
160
px
;
height
:
64px
;
}
span
{
line-
height
:
32px
;
height
:
32px
;
color
:
#2a58ad
;
cursor
:
pointer
;
}
}
.file_name
{
width
:
320px
;
height
:
26px
;
line-height
:
26px
;
background
:
#f5f7fa
;
border-radius
:
4px
;
margin-top
:
8px
;
padding
:
0
12px
;
}
}
.file_info
{
border
:
1px
solid
#e5e5e5
;
.file_name
{
width
:
320px
;
height
:
26px
;
line-height
:
26px
;
background
:
#f5f7fa
;
border-radius
:
4px
;
padding
:
20px
0
;
margin-top
:
32px
;
margin-top
:
8px
;
padding
:
0
12px
;
}
}
.file_info
{
border
:
1px
solid
#e5e5e5
;
border-radius
:
4px
;
padding
:
20px
0
;
margin-top
:
32px
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
.file_num
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
.file_num
{
display
:
flex
;
width
:
100%
;
.num_wrap
{
flex
:
1
;
width
:
100%
;
.num_wrap
{
flex
:
1
;
text-align
:
center
;
&:first-child
{
border-right
:
1px
solid
#e5e5e5
;
}
.num
{
display
:
block
;
height
:
32px
;
font-family
:
Helvetica-Bold
;
font-weight
:
700
;
font-size
:
26px
;
color
:
#2cca74
;
text-align
:
center
;
&:first-child{
border-right
:
1px
solid
#e5e5e5
;
}
.num
{
display
:
block
;
height
:
32px
;
font-family
:
Helvetica-Bold
;
font-weight
:
700
;
font-size
:
26px
;
color
:
#2cca74
;
text-align
:
center
;
line-height
:
32px
;
}
.title
{
margin-top
:
4px
;
display
:
block
;
height
:
20px
;
line-height
:
20px
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-size
:
14px
;
color
:
#333333
;
}
.invalid
{
color
:
#eb4e4e
;
}
.download
{
margin-left
:
4px
;
color
:
#5850ff
;
cursor
:
pointer
;
}
line-height
:
32px
;
}
}
.tip_txt
{
width
:
536px
;
margin-top
:
16px
;
font-size
:
14px
;
color
:
#333333
;
line-height
:
20px
;
background
:
#F5F7FA
;
padding
:
8px
16px
;
.tip_title{
color
:
#666666
;
.title
{
margin-top
:
4px
;
display
:
block
;
height
:
20px
;
line-height
:
20px
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-size
:
14px
;
color
:
#333333
;
}
.invalid
{
color
:
#eb4e4e
;
}
.download
{
margin-left
:
4px
;
color
:
#2a58ad
;
cursor
:
pointer
;
}
}
}
.tip_txt
{
width
:
536px
;
margin-top
:
16px
;
font-size
:
14px
;
color
:
#333333
;
line-height
:
20px
;
background
:
#f5f7fa
;
padding
:
8px
16px
;
.tip_title
{
color
:
#666666
;
}
}
}
}
.cno_input
{
width
:
200px
;
}
.edit
,
.del
{
cursor
:
pointer
;
margin-left
:
4px
;
}
}
</
style
>
\ No newline at end of file
.cno_input
{
width
:
200px
;
}
.edit
,
.del
{
cursor
:
pointer
;
margin-left
:
4px
;
}
}
</
style
>
\ No newline at end of file
src/views/beforeSale/editEquity.vue
View file @
28ff5f9
...
...
@@ -3080,7 +3080,7 @@ export default {
.example_btn
{
font-size
:
14px
;
font-family
:
PingFangSC-Medium
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
line-height
:
32px
;
height
:
32px
;
cursor
:
pointer
;
...
...
src/views/beforeSale/equityList.vue
View file @
28ff5f9
...
...
@@ -1104,8 +1104,8 @@ export default {
padding
:
20px
20px
2px
20px
;
.resetBtn
{
background
:
#ffffff
;
color
:
#
5850ff
;
border
:
1px
solid
#
5850ff
;
color
:
#
2a58ad
;
border
:
1px
solid
#
2a58ad
;
}
.m-r-l-20
{
margin
:
0
20px
;
...
...
@@ -1215,7 +1215,7 @@ export default {
padding-bottom
:
24px
;
&:first-child
{
.circle
{
background
:
#
5850ff
;
background
:
#
2a58ad
;
}
}
&
:last-child
{
...
...
src/views/beforeSale/equitySummary.vue
View file @
28ff5f9
...
...
@@ -8,7 +8,7 @@
<!-- 表格区域 开始 -->
<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>
</div>
<!-- 表格区域 end -->
...
...
@@ -529,8 +529,8 @@ export default {
padding
:
20px
20px
2px
20px
;
.resetBtn
{
background
:
#ffffff
;
color
:
#
5850ff
;
border
:
1px
solid
#
5850ff
;
color
:
#
2a58ad
;
border
:
1px
solid
#
2a58ad
;
}
.m-r-l-20
{
margin
:
0
20px
;
...
...
src/views/beforeSale/introduct.vue
View file @
28ff5f9
...
...
@@ -219,7 +219,7 @@ export default {
.left
{
width
:
376px
;
>
i
{
color
:
#
5850ff
;
color
:
#
2a58ad
;
width
:
6px
;
height
:
6px
;
position
:
absolute
;
...
...
@@ -232,7 +232,7 @@ export default {
.icon_point
{
width
:
7px
;
height
:
7px
;
background
:
#
5850ff
;
background
:
#
2a58ad
;
border-radius
:
50%
;
position
:
absolute
;
bottom
:
-18px
;
...
...
@@ -300,10 +300,10 @@ export default {
height
:
17px
;
width
:
5px
;
.icon_po
{
background
:
#
5850ff
;
background
:
#
2a58ad
;
width
:
5px
;
height
:
5px
;
background
:
#
5850ff
;
background
:
#
2a58ad
;
border-radius
:
50%
;
}
}
...
...
src/views/claims/components/djFollowPop/index.vue
View file @
28ff5f9
...
...
@@ -158,13 +158,13 @@ export default {
display
:
flex
;
align-items
:
center
;
font-size
:
12px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-top
:
10px
;
cursor
:
pointer
;
.add-icon
{
margin-right
:
6px
;
font-size
:
20px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
}
</
style
>
src/views/claims/components/explanation.vue
View file @
28ff5f9
...
...
@@ -66,8 +66,8 @@ export default {
followEditStatus
:
false
,
followContent
:
''
,
followResult
:
false
,
curentFollowInfo
:
''
,
supplementListTemp
:[{
content
:
''
}
]
curentFollowInfo
:
''
,
supplementListTemp
:
[{
content
:
''
}
]
}
}
,
components
:
{
...
...
@@ -80,33 +80,30 @@ export default {
return
[{
content
:
''
}
]
}
}
,
isCheck
:
Boolean
,
isDisabled
:
Boolean
,
operatorName
:
String
,
id
:
Number
isCheck
:
Boolean
,
isDisabled
:
Boolean
,
operatorName
:
String
,
id
:
Number
}
,
mounted
()
{
}
,
watch
:{
supplementList
:{
deep
:
true
,
handler
(
val
){
mounted
()
{
}
,
watch
:
{
supplementList
:
{
deep
:
true
,
handler
(
val
)
{
this
.
supplementListTemp
=
val
val
.
forEach
(
item
=>
{
item
.
operationTime
=
dayjs
(
item
.
operationTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
)
val
.
forEach
(
item
=>
{
item
.
operationTime
=
dayjs
(
item
.
operationTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
)
}
,
immediate
:
true
immediate
:
true
}
}
,
methods
:
{
showFollow
()
{
this
.
followDialog
=
true
this
.
curentFollowInfo
=
{
id
:
this
.
id
,
operatorName
:
this
.
operatorName
id
:
this
.
id
,
operatorName
:
this
.
operatorName
}
this
.
followListData
=
[]
this
.
getFollowList
(
this
.
curentFollowInfo
)
...
...
@@ -209,7 +206,7 @@ export default {
}
.
add
-
explanation
{
color
:
#
5850
ff
;
color
:
#
2
a58ad
;
display
:
inline
-
flex
;
align
-
items
:
center
;
margin
-
left
:
154
px
;
...
...
@@ -234,7 +231,7 @@ export default {
}
.
follow
-
list
{
font
-
size
:
14
px
;
color
:
#
5850
ff
;
color
:
#
2
a58ad
;
bottom
:
0
;
position
:
absolute
;
left
:
742
px
;
...
...
src/views/claims/components/fastReview.vue
View file @
28ff5f9
...
...
@@ -81,7 +81,7 @@ export default {
},
props
:
{
images
:
Array
,
lossTypeList
:
Array
,
lossTypeList
:
Array
},
data
()
{
return
{
...
...
@@ -380,7 +380,7 @@ export default {
font-size
:
14px
;
position
:
relative
;
.filter-icon
{
color
:
#
5850ff
;
color
:
#
2a58ad
;
cursor
:
pointer
;
}
.tree-wrap
{
...
...
@@ -473,7 +473,7 @@ export default {
}
}
.cur
{
border
:
1px
solid
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
}
.error_desc
{
background
:
rgba
(
255
,
82
,
87
,
0.5
);
...
...
src/views/claims/components/followPop/index.vue
View file @
28ff5f9
...
...
@@ -133,13 +133,13 @@ export default {
display
:
flex
;
align-items
:
center
;
font-size
:
12px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-top
:
10px
;
cursor
:
pointer
;
.add-icon
{
margin-right
:
6px
;
font-size
:
20px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
}
</
style
>
src/views/claims/components/uploadMaterial.vue
View file @
28ff5f9
...
...
@@ -162,8 +162,7 @@ export default {
],
currentServicesIndex
:
0
,
otherUploadIndex
:
null
,
srcList
:[]
srcList
:
[]
}
},
components
:
{
...
...
@@ -178,18 +177,18 @@ export default {
isClaims
:
Boolean
},
mounted
()
{},
watch
:{
insuranceAttachmentConfigs
(
val
){
this
.
getImgList
(
val
[
0
])
}
watch
:
{
insuranceAttachmentConfigs
(
val
)
{
this
.
getImgList
(
val
[
0
])
}
},
methods
:
{
getImgList
(
data
){
this
.
srcList
=
[]
data
.
secondClassifyList
.
forEach
(
item
=>
{
item
.
attachmentList
.
forEach
(
img
=>
{
getImgList
(
data
)
{
this
.
srcList
=
[]
data
.
secondClassifyList
.
forEach
(
item
=>
{
item
.
attachmentList
.
forEach
(
img
=>
{
this
.
srcList
.
push
(
img
.
attachmentFile
)
})
})
})
},
toMutiCheck
()
{
...
...
@@ -260,11 +259,11 @@ export default {
let
otherObj
=
{}
let
copy
=
null
if
(
this
.
isUploadOther
)
{
if
(
this
.
uploadObj
)
{
copy
=
this
.
uploadObj
.
img
if
(
this
.
uploadObj
)
{
copy
=
this
.
uploadObj
.
img
}
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
reader
=
new
FileReader
()
...
...
@@ -376,7 +375,7 @@ export default {
height
:
32px
;
background
:
#ffffff
;
border-radius
:
3px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
}
.image_container
{
...
...
@@ -465,7 +464,7 @@ export default {
position
:
relative
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-left
:
20px
;
cursor
:
pointer
;
.file
{
...
...
src/views/claims/components/watch/index.vue
View file @
28ff5f9
...
...
@@ -360,12 +360,12 @@ export default {
activeNameTabs
:
'first'
,
srcList
:
[],
allinjureList
:
[
{
name
:
'购置税'
,
key
:
'purchaseTax'
},
{
name
:
'折旧费'
,
key
:
'depreciation'
},
{
name
:
'商业险保费'
,
key
:
'commercialInsurance'
},
{
name
:
'登记费'
,
key
:
'registrationFee'
},
{
name
:
'加改装件费用'
,
key
:
'retrofits'
},
{
name
:
'代步车费用'
,
key
:
'scooterFare'
}
{
name
:
'购置税'
,
key
:
'purchaseTax'
},
{
name
:
'折旧费'
,
key
:
'depreciation'
},
{
name
:
'商业险保费'
,
key
:
'commercialInsurance'
},
{
name
:
'登记费'
,
key
:
'registrationFee'
},
{
name
:
'加改装件费用'
,
key
:
'retrofits'
},
{
name
:
'代步车费用'
,
key
:
'scooterFare'
}
]
}
},
...
...
@@ -524,7 +524,7 @@ export default {
position
:
relative
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-left
:
20px
;
cursor
:
pointer
;
.file
{
...
...
@@ -563,7 +563,7 @@ export default {
height
:
32px
;
background
:
#ffffff
;
border-radius
:
3px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
}
/
deep
/
.el-tabs
{
...
...
src/views/claims/ghIndex.vue
View file @
28ff5f9
...
...
@@ -1222,17 +1222,17 @@ export default {
font-weight
:
400
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
background-color
:
#e6e9ff
;
border
:
1px
solid
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
padding
:
0
16px
;
border-radius
:
4px
;
.el-icon-warning
{
font-size
:
16px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-right
:
8px
;
}
.count_num
{
font-size
:
14px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
letter-spacing
:
0
;
font-weight
:
500
;
margin
:
0
8px
;
...
...
@@ -1268,7 +1268,7 @@ export default {
}
.el-timeline-item
:first-child
{
/deep/
.el-timeline-item__node
{
background
:
#
5850ff
!important
;
background
:
#
2a58ad
!important
;
}
}
}
...
...
src/views/claims/index.vue
View file @
28ff5f9
...
...
@@ -732,17 +732,17 @@ export default {
font-weight
:
400
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
background-color
:
#e6e9ff
;
border
:
1px
solid
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
padding
:
0
16px
;
border-radius
:
4px
;
.el-icon-warning
{
font-size
:
16px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-right
:
8px
;
}
.count_num
{
font-size
:
14px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
letter-spacing
:
0
;
font-weight
:
500
;
margin
:
0
8px
;
...
...
src/views/config/addConfig.vue
View file @
28ff5f9
...
...
@@ -16,7 +16,7 @@
<el-form-item
class=
"special-config"
size=
"small"
label=
"特殊配置"
></el-form-item>
<el-form-item>
<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>
</
template
>
<div
class=
"sale-mode"
>
...
...
@@ -33,17 +33,17 @@
<el-radio
:label=
"item.label"
>
{{ item.value }}
</el-radio>
<div
v-if=
"contractObj.contractSubjectType == item.label"
class=
"contract_type_content"
>
<el-form-item
size=
"small"
label-width=
"154px"
label=
"主体名称:"
v-if=
"contractObj.contractSubjectType == 3"
>
<el-input
v-model=
"contractObj['typeData'][index].contractSubjectName"
:maxlength=
"50"
@
input=
"
(event)
=> handleInput(event, index, 'contractSubjectName')"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"contractObj['typeData'][index].contractSubjectName"
:maxlength=
"50"
@
input=
"
event
=> handleInput(event, index, 'contractSubjectName')"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
size=
"small"
label=
"特别声明:"
label-width=
"154px"
>
<el-input
type=
"textarea"
placeholder=
"请输入"
:maxlength=
"200"
ref=
"contractImportantClauseInput"
@
input=
"
(event)
=> handleInput(event, index, 'contractImportantClause')"
v-model=
"contractObj['typeData'][index].contractImportantClause"
></el-input>
<el-input
type=
"textarea"
placeholder=
"请输入"
:maxlength=
"200"
ref=
"contractImportantClauseInput"
@
input=
"
event
=> handleInput(event, index, 'contractImportantClause')"
v-model=
"contractObj['typeData'][index].contractImportantClause"
></el-input>
</el-form-item>
<el-form-item
size=
"small"
label=
"合同Logo:"
label-width=
"154px"
>
<Upload
@
uploadSuccess=
"
(event) => uploadSuccess(event, index)"
:checkObj=
"checkObj"
@
delImage=
"(event)
=> delImage(event, index)"
class=
"upload"
:attr=
"'contractLogoUrl'"
:url=
"contractObj['typeData'][index]['contractLogoUrl']"
></Upload>
<Upload
@
uploadSuccess=
"
event => uploadSuccess(event, index)"
:checkObj=
"checkObj"
@
delImage=
"event
=> delImage(event, index)"
class=
"upload"
:attr=
"'contractLogoUrl'"
:url=
"contractObj['typeData'][index]['contractLogoUrl']"
></Upload>
<div
class=
"upload-tip"
>
图片格式为jpg,jpeg,png,大小10M以内
</div>
</el-form-item>
<el-form-item
size=
"small"
label=
"合同章:"
label-width=
"154px"
>
<Upload
@
uploadSuccess=
"
(event) => uploadSuccess(event, index)"
:checkObj=
"checkObj"
@
delImage=
"(event)
=> delImage(event, index)"
class=
"upload"
:attr=
"'contractSealUrl'"
:url=
"contractObj['typeData'][index]['contractSealUrl']"
></Upload>
<Upload
@
uploadSuccess=
"
event => uploadSuccess(event, index)"
:checkObj=
"checkObj"
@
delImage=
"event
=> delImage(event, index)"
class=
"upload"
:attr=
"'contractSealUrl'"
:url=
"contractObj['typeData'][index]['contractSealUrl']"
></Upload>
<div
class=
"upload-tip"
>
图片格式为jpg,jpeg,png,大小10M以内
</div>
</el-form-item>
</div>
...
...
@@ -58,7 +58,7 @@
<el-checkbox
v-for=
"theft in thefts"
:label=
"theft"
:key=
"theft"
>
{{
theft
}}
</el-checkbox>
</el-checkbox-group>
<div>
服务期限
</div>
<div
style=
"margin-left: 20px
;
"
>
<div
style=
"margin-left: 20px"
>
<!--
<el-checkbox
@
change=
"setLimitTime('robberyServer', 'fiveYear', $event)"
v-model=
"robberyServer.fourYear"
>
4年
</el-checkbox>
<el-checkbox
@
change=
"setLimitTime('robberyServer', 'fourYear', $event)"
v-model=
"robberyServer.fiveYear"
>
5年
</el-checkbox>
-->
<el-checkbox-group
v-model=
"robberyServerList"
@
change=
"changeRobbery"
>
...
...
@@ -78,7 +78,7 @@
<el-radio
label=
"2"
>
模板二旧版
</el-radio>
</el-radio-group>
<div>
服务期限
</div>
<div
style=
"margin-left: 20px
;
"
>
<div
style=
"margin-left: 20px"
>
<!--
<el-checkbox
@
change=
"setLimitTime('vehicleServer', 'fiveYear', $event)"
v-model=
"vehicleServer.fourYear"
>
4年
</el-checkbox>
<el-checkbox
@
change=
"setLimitTime('vehicleServer', 'fourYear', $event)"
v-model=
"vehicleServer.fiveYear"
>
5年
</el-checkbox>
-->
<el-checkbox-group
@
change=
"changeVehicle"
v-model=
"vehicleServerList"
>
...
...
@@ -161,7 +161,7 @@ const theftOptions = ['盗抢卡输入']
const
vehicleOptions
=
[
'全损卡输入'
]
const
tyreOptions
=
[
'轮胎卡输入'
]
const
collisionOptions
=
[
'碰撞卡输入'
]
let
oldPackageList
=
[
'PC0005'
,
'PC0006'
,
'PC0007'
,
'PC0008'
,
'PC0009'
,
'PC0010'
,
'PC0011'
]
let
oldPackageList
=
[
'PC0005'
,
'PC0006'
,
'PC0007'
,
'PC0008'
,
'PC0009'
,
'PC0010'
,
'PC0011'
]
export
default
{
name
:
''
,
data
()
{
...
...
@@ -224,8 +224,7 @@ export default {
contractSubjectTypeList
:
[
{
label
:
1
,
value
:
'深圳广联数科科技有限公司'
,
value
:
'深圳广联数科科技有限公司'
},
{
label
:
2
,
...
...
@@ -234,7 +233,7 @@ export default {
{
label
:
3
,
value
:
'自定义'
}
,
}
],
contractObj
:
{
contractSubjectType
:
''
,
...
...
@@ -266,13 +265,13 @@ export default {
},
'contractObj.contractSubjectType'
:
{
deep
:
true
,
handler
(
val
)
{
handler
(
val
)
{
this
.
changeContractType
()
}
}
},
created
(){
created
()
{
this
.
diffHost
()
},
mounted
()
{
...
...
@@ -285,8 +284,8 @@ export default {
}
else
{
this
.
$apis
.
openconfig
.
getConfig
({}).
then
(
res
=>
{
let
arrs
=
res
?.
packageConfigs
||
[]
this
.
newPackageList
=
arrs
.
filter
(
item
=>
{
if
(
!
oldPackageList
.
includes
(
item
.
packageCode
))
{
this
.
newPackageList
=
arrs
.
filter
(
item
=>
{
if
(
!
oldPackageList
.
includes
(
item
.
packageCode
))
{
item
.
isChecked
=
!!
item
.
isChecked
return
item
}
...
...
@@ -313,14 +312,14 @@ export default {
},
methods
:
{
// 区分滴加和广汇
diffHost
(){
let
href
=
window
.
location
.
host
;
diffHost
()
{
let
href
=
window
.
location
.
host
// 从域名判断是不是广汇的
let
gxurl1
=
'http://scrm.cgacar.com'
let
gxurl2
=
'https://scrm.cgacar.com'
if
(
href
.
indexOf
(
'cgacar'
)
!=-
1
)
{
if
(
href
.
indexOf
(
'cgacar'
)
!=
-
1
)
{
this
.
showGh
=
true
}
else
{
}
else
{
this
.
showGh
=
false
this
.
initContractObj
()
}
...
...
@@ -332,8 +331,8 @@ export default {
// this.showGh = false
// }
},
setLimitTime
(
name
,
str
,
e
)
{
if
(
this
[
name
][
str
]
&&
e
)
{
setLimitTime
(
name
,
str
,
e
)
{
if
(
this
[
name
][
str
]
&&
e
)
{
this
[
name
][
str
]
=
false
}
},
...
...
@@ -405,7 +404,7 @@ export default {
let
para
=
{
merchantId
}
if
(
this
.
showGh
)
{
if
(
this
.
showGh
)
{
para
.
channel
=
2
}
this
.
$apis
.
openconfig
.
getConfig
(
para
).
then
(
res
=>
{
...
...
@@ -416,8 +415,8 @@ export default {
this
.
id
=
res
.
id
this
.
checkPosition
=
res
.
checkPosition
==
0
let
arrs
=
res
.
packageConfigs
||
[]
this
.
newPackageList
=
arrs
.
filter
(
item
=>
{
if
(
!
oldPackageList
.
includes
(
item
.
packageCode
))
{
this
.
newPackageList
=
arrs
.
filter
(
item
=>
{
if
(
!
oldPackageList
.
includes
(
item
.
packageCode
))
{
item
.
isChecked
=
!!
item
.
isChecked
return
item
}
...
...
@@ -428,10 +427,10 @@ export default {
if
(
arrs
[
i
].
cardName
==
'card'
)
{
this
.
againstTheft
=
[
'盗抢卡输入'
]
}
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'4'
)
>-
1
)
{
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'4'
)
>
-
1
)
{
this
.
robberyServerList
.
push
(
'4'
)
}
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'5'
)
>-
1
)
{
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'5'
)
>
-
1
)
{
this
.
robberyServerList
.
push
(
'5'
)
}
}
...
...
@@ -441,10 +440,10 @@ export default {
this
.
againstVehicle
=
[
'全损卡输入'
]
}
this
.
vehicleRadio
=
arrs
[
i
]?.
templateFlag
?
arrs
[
i
]?.
templateFlag
+
''
:
''
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'4'
)
>-
1
)
{
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'4'
)
>
-
1
)
{
this
.
vehicleServerList
.
push
(
'4'
)
}
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'5'
)
>-
1
)
{
if
(
arrs
[
i
].
servicePeriod
?.
indexOf
(
'5'
)
>
-
1
)
{
this
.
vehicleServerList
.
push
(
'5'
)
}
}
...
...
@@ -490,7 +489,7 @@ export default {
this
.
$nextTick
(()
=>
{
const
input
=
this
.
$refs
[
'contractImportantClauseInput'
][
0
]?.
$refs
.
textarea
input
.
style
.
height
=
'auto'
input
.
style
.
height
=
(
input
.
scrollHeight
+
5
)
+
'px'
input
.
style
.
height
=
input
.
scrollHeight
+
5
+
'px'
})
},
onSubmit
()
{
...
...
@@ -504,7 +503,7 @@ export default {
if
(
this
.
againstTheft
.
length
>
0
)
{
theftObj
.
cardName
=
'card'
}
theftObj
.
servicePeriod
=
`1,2,3
${
this
.
robberyServerList
.
length
?
','
+
this
.
robberyServerList
.
join
(
','
):
''
}
`
theftObj
.
servicePeriod
=
`1,2,3
${
this
.
robberyServerList
.
length
?
','
+
this
.
robberyServerList
.
join
(
','
)
:
''
}
`
params
.
push
(
theftObj
)
console
.
log
(
params
,
'params'
)
}
...
...
@@ -515,7 +514,7 @@ export default {
vehicleObj
.
cardName
=
'card'
}
vehicleObj
.
templateFlag
=
+
this
.
vehicleRadio
vehicleObj
.
servicePeriod
=
`1,2,3
${
this
.
vehicleServerList
.
length
?
','
+
this
.
vehicleServerList
.
join
(
','
):
''
}
`
vehicleObj
.
servicePeriod
=
`1,2,3
${
this
.
vehicleServerList
.
length
?
','
+
this
.
vehicleServerList
.
join
(
','
)
:
''
}
`
params
.
push
(
vehicleObj
)
}
if
(
this
.
tyreAll
==
true
)
{
...
...
@@ -555,17 +554,17 @@ export default {
firstObj
.
servicePeriod
=
'1'
params
.
push
(
firstObj
)
}
this
.
newPackageList
.
forEach
(
item
=>
{
if
(
item
.
isChecked
)
{
let
{
packageCode
,
packageServicePeriod
,
cardName
}
=
item
params
.
push
({
packageCode
,
servicePeriod
:
packageServicePeriod
,
cardName
})
this
.
newPackageList
.
forEach
(
item
=>
{
if
(
item
.
isChecked
)
{
let
{
packageCode
,
packageServicePeriod
,
cardName
}
=
item
params
.
push
({
packageCode
,
servicePeriod
:
packageServicePeriod
,
cardName
})
}
})
if
(
!
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSubjectName
&&
!
this
.
showGh
)
{
return
this
.
$message
.
error
(
'请输入合同主体名称'
)
}
let
targetParams
=
{
openCostPrice
:
this
.
costPrice
?
1
:
0
,
openCostPrice
:
this
.
costPrice
?
1
:
0
,
createDetailRequests
:
params
,
saleMode
:
this
.
saleMode
,
contractSubjectName
:
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSubjectName
,
...
...
@@ -574,14 +573,14 @@ export default {
contractLogoUrl
:
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractLogoUrl
,
contractSealUrl
:
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSealUrl
}
if
(
this
.
showGh
)
{
if
(
this
.
showGh
)
{
delete
targetParams
.
createDetailRequests
delete
targetParams
.
contractSubjectName
delete
targetParams
.
contractSubjectType
delete
targetParams
.
contractImportantClause
delete
targetParams
.
contractLogoUrl
delete
targetParams
.
contractSealUrl
}
else
{
}
else
{
delete
targetParams
.
openCostPrice
targetParams
.
checkPosition
=
this
.
checkPosition
?
0
:
1
}
...
...
@@ -593,7 +592,7 @@ export default {
customClass
:
'loadingClass'
})
if
(
this
.
add
==
true
)
{
targetParams
.
merchantIds
=
this
.
merchantIds
targetParams
.
merchantIds
=
this
.
merchantIds
this
.
$apis
.
openconfig
.
addConfig
(
targetParams
).
then
(
res
=>
{
loading
.
close
()
if
(
res
.
code
==
'32'
)
{
...
...
@@ -641,14 +640,14 @@ export default {
if
(
this
.
vehicleAll
==
false
)
{
this
.
againstVehicle
=
[]
this
.
vehicleRadio
=
''
this
.
vehicleServerList
=
[]
this
.
vehicleServerList
=
[]
}
else
{
this
.
againstVehicle
=
[
'模板一新版'
]
this
.
vehicleRadio
=
'1'
}
},
changeVehicle
(){
if
(
this
.
vehicleServerList
.
length
>
0
)
{
changeVehicle
()
{
if
(
this
.
vehicleServerList
.
length
>
0
)
{
this
.
vehicleAll
=
true
}
},
...
...
@@ -667,11 +666,11 @@ export default {
handleTheftAllChange
()
{
if
(
this
.
theftAll
==
false
)
{
this
.
againstTheft
=
[]
this
.
robberyServerList
=
[]
this
.
robberyServerList
=
[]
}
},
changeRobbery
(){
if
(
this
.
robberyServerList
.
length
>
0
)
{
changeRobbery
()
{
if
(
this
.
robberyServerList
.
length
>
0
)
{
this
.
theftAll
=
true
}
},
...
...
@@ -694,9 +693,7 @@ export default {
this
.
tyreAll
=
true
}
},
checkCostPrice
(){
},
checkCostPrice
()
{},
uploadSuccess
(
e
,
index
)
{
this
.
$set
(
this
.
contractObj
?.
typeData
[
index
],
e
.
attr
,
e
.
url
)
this
.
$forceUpdate
()
...
...
@@ -737,7 +734,7 @@ export default {
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
.custtom
{
background
:
#ffffff
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
.wrap_driver
{
margin
:
0
20px
;
...
...
@@ -800,8 +797,8 @@ export default {
.el-form-item
:first-child
{
margin-bottom
:
20px
;
.el-button
{
border
:
1px
solid
#
5850ff
;
color
:
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
color
:
#
2a58ad
;
}
}
.el-form-item
:nth-child
(
2
)
{
...
...
src/views/config/addConfigOfGh.vue
View file @
28ff5f9
<
template
>
<div
class=
"equity-wrap container"
>
<div
class=
"equity-wrap contain"
style=
"padding: 0; margin-bottom: 0"
>
<div
class=
"top"
>
{{
configTitle
}}
配置
</div>
<div
class=
"top"
>
{{
configTitle
}}
配置
</div>
</div>
<div
class=
"equity-wrap contain"
style=
"padding-left: 72px"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"left"
size=
"medium"
class=
"detailForm"
>
...
...
@@ -16,7 +16,7 @@
<el-form-item
class=
"special-config"
size=
"small"
label=
"特殊配置"
></el-form-item>
<el-form-item>
<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>
</
template
>
</el-form>
...
...
@@ -64,7 +64,7 @@ export default {
name
:
''
,
data
()
{
return
{
configTitle
:
''
,
configTitle
:
''
,
selectedTable
:
false
,
tableData
:
[],
merchantIds
:
[],
...
...
@@ -113,14 +113,14 @@ export default {
collisions
:
collisionOptions
,
collisionTerminate
:
false
,
costPrice
:
false
,
//选择门店成本
showGh
:
true
showGh
:
true
}
},
components
:
{
relateStoreDialog
},
created
(){
created
()
{
// this.diffHost()
},
mounted
()
{
...
...
@@ -148,14 +148,14 @@ export default {
},
methods
:
{
// 区分滴加和广汇
diffHost
(){
let
href
=
window
.
location
.
host
;
diffHost
()
{
let
href
=
window
.
location
.
host
// 从域名判断是不是广汇的
let
gxurl1
=
'http://scrm.cgacar.com'
let
gxurl2
=
'https://scrm.cgacar.com'
if
(
href
==
gxurl1
||
href
==
gxurl2
)
{
this
.
showGh
=
true
}
else
{
}
else
{
this
.
showGh
=
false
}
},
...
...
@@ -210,7 +210,7 @@ export default {
// this.data = storeArr
// },
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
.
storeSelParams
=
res
this
.
id
=
res
.
id
...
...
@@ -310,11 +310,11 @@ export default {
firstObj
.
packageCode
=
'PC0010'
params
.
push
(
firstObj
)
}
let
targetParams
=
{
openCostPrice
:
this
.
costPrice
?
1
:
0
,
let
targetParams
=
{
openCostPrice
:
this
.
costPrice
?
1
:
0
}
if
(
this
.
add
==
true
)
{
targetParams
.
merchantIds
=
this
.
merchantIds
targetParams
.
merchantIds
=
this
.
merchantIds
this
.
$apis
.
openconfig
.
addConfig
(
targetParams
).
then
(
res
=>
{
if
(
res
.
code
==
'32'
)
{
this
.
$message
.
error
(
'请选择商户'
)
...
...
@@ -401,9 +401,7 @@ export default {
this
.
tyreAll
=
true
}
},
checkCostPrice
(){
}
checkCostPrice
()
{}
}
}
// <style src="@a/css/tao.css"></style>
...
...
@@ -411,9 +409,9 @@ export default {
<
style
lang=
"scss"
scoped
>
/
deep
/
.el-dialog__footer
{
padding
:
15px
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
padding
:
15px
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
}
.container
{
padding-bottom
:
74px
;
...
...
@@ -434,7 +432,7 @@ export default {
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
.custtom
{
background
:
#ffffff
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
.wrap_driver
{
margin
:
0
20px
;
...
...
@@ -497,8 +495,8 @@ export default {
.el-form-item
:first-child
{
margin-bottom
:
20px
;
.el-button
{
border
:
1px
solid
#
5850ff
;
color
:
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
color
:
#
2a58ad
;
}
}
.el-form-item
:nth-child
(
2
)
{
...
...
@@ -523,7 +521,7 @@ export default {
}
}
.special-config
{
margin-bottom
:
0
!important
;
.special-config
{
margin-bottom
:
0
!important
;
}
</
style
>
src/views/config/index.vue
View file @
28ff5f9
...
...
@@ -20,7 +20,7 @@
<!--
<el-button
fn=
"修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</el-button>
-->
</span>
<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>
</GLTable>
</div>
...
...
src/views/config/indexOfGh.vue
View file @
28ff5f9
...
...
@@ -39,7 +39,7 @@
<!--
<el-button
fn=
"修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</el-button>
-->
</span>
<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>
</GLTable>
</div>
...
...
@@ -379,8 +379,8 @@ export default {
}
.el-form-item__content
.el-button--small
:first-child
,
.row-btns
>
div
.el-button--small
:first-child
{
border-color
:
#
5850ff
;
color
:
#
5850ff
;
border-color
:
#
2a58ad
;
color
:
#
2a58ad
;
}
.el-form-item__content
.el-button--small
:last-child
,
.row-btns
>
div
.el-button--small
:last-child
{
...
...
src/views/djClaims/components/explanation.vue
View file @
28ff5f9
...
...
@@ -66,8 +66,8 @@ export default {
followEditStatus
:
false
,
followContent
:
''
,
followResult
:
false
,
curentFollowInfo
:
''
,
supplementListTemp
:[{
content
:
''
}
]
curentFollowInfo
:
''
,
supplementListTemp
:
[{
content
:
''
}
]
}
}
,
components
:
{
...
...
@@ -80,33 +80,30 @@ export default {
return
[{
content
:
''
}
]
}
}
,
isCheck
:
Boolean
,
isDisabled
:
Boolean
,
operatorName
:
String
,
id
:
Number
isCheck
:
Boolean
,
isDisabled
:
Boolean
,
operatorName
:
String
,
id
:
Number
}
,
mounted
()
{
}
,
watch
:{
supplementList
:{
deep
:
true
,
handler
(
val
){
mounted
()
{
}
,
watch
:
{
supplementList
:
{
deep
:
true
,
handler
(
val
)
{
this
.
supplementListTemp
=
val
val
.
forEach
(
item
=>
{
item
.
operationTime
=
dayjs
(
item
.
operationTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
)
val
.
forEach
(
item
=>
{
item
.
operationTime
=
dayjs
(
item
.
operationTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
)
}
,
immediate
:
true
immediate
:
true
}
}
,
methods
:
{
showFollow
()
{
this
.
followDialog
=
true
this
.
curentFollowInfo
=
{
id
:
this
.
id
,
operatorName
:
this
.
operatorName
id
:
this
.
id
,
operatorName
:
this
.
operatorName
}
this
.
followListData
=
[]
this
.
getFollowList
(
this
.
curentFollowInfo
)
...
...
@@ -209,7 +206,7 @@ export default {
}
.
add
-
explanation
{
color
:
#
5850
ff
;
color
:
#
2
a58ad
;
display
:
inline
-
flex
;
align
-
items
:
center
;
margin
-
left
:
154
px
;
...
...
@@ -234,7 +231,7 @@ export default {
}
.
follow
-
list
{
font
-
size
:
14
px
;
color
:
#
5850
ff
;
color
:
#
2
a58ad
;
bottom
:
0
;
position
:
absolute
;
left
:
742
px
;
...
...
src/views/djClaims/components/fastReview.vue
View file @
28ff5f9
...
...
@@ -81,7 +81,7 @@ export default {
},
props
:
{
images
:
Array
,
lossTypeList
:
Array
,
lossTypeList
:
Array
},
data
()
{
return
{
...
...
@@ -380,7 +380,7 @@ export default {
font-size
:
14px
;
position
:
relative
;
.filter-icon
{
color
:
#
5850ff
;
color
:
#
2a58ad
;
cursor
:
pointer
;
}
.tree-wrap
{
...
...
@@ -473,7 +473,7 @@ export default {
}
}
.cur
{
border
:
1px
solid
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
}
.error_desc
{
background
:
rgba
(
255
,
82
,
87
,
0.5
);
...
...
src/views/djClaims/components/followPop/index.vue
View file @
28ff5f9
...
...
@@ -133,13 +133,13 @@ export default {
display
:
flex
;
align-items
:
center
;
font-size
:
12px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-top
:
10px
;
cursor
:
pointer
;
.add-icon
{
margin-right
:
6px
;
font-size
:
20px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
}
</
style
>
src/views/djClaims/components/uploadMaterial.vue
View file @
28ff5f9
...
...
@@ -162,8 +162,7 @@ export default {
],
currentServicesIndex
:
0
,
otherUploadIndex
:
null
,
srcList
:[]
srcList
:
[]
}
},
components
:
{
...
...
@@ -178,18 +177,18 @@ export default {
isClaims
:
Boolean
},
mounted
()
{},
watch
:{
insuranceAttachmentConfigs
(
val
){
this
.
getImgList
(
val
[
0
])
}
watch
:
{
insuranceAttachmentConfigs
(
val
)
{
this
.
getImgList
(
val
[
0
])
}
},
methods
:
{
getImgList
(
data
){
this
.
srcList
=
[]
data
.
secondClassifyList
.
forEach
(
item
=>
{
item
.
attachmentList
.
forEach
(
img
=>
{
getImgList
(
data
)
{
this
.
srcList
=
[]
data
.
secondClassifyList
.
forEach
(
item
=>
{
item
.
attachmentList
.
forEach
(
img
=>
{
this
.
srcList
.
push
(
img
.
attachmentFile
)
})
})
})
},
toMutiCheck
()
{
...
...
@@ -260,11 +259,11 @@ export default {
let
otherObj
=
{}
let
copy
=
null
if
(
this
.
isUploadOther
)
{
if
(
this
.
uploadObj
)
{
copy
=
this
.
uploadObj
.
img
if
(
this
.
uploadObj
)
{
copy
=
this
.
uploadObj
.
img
}
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
reader
=
new
FileReader
()
...
...
@@ -376,7 +375,7 @@ export default {
height
:
32px
;
background
:
#ffffff
;
border-radius
:
3px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
}
.image_container
{
...
...
@@ -465,7 +464,7 @@ export default {
position
:
relative
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-left
:
20px
;
cursor
:
pointer
;
.file
{
...
...
src/views/djClaims/components/watch/index.vue
View file @
28ff5f9
...
...
@@ -360,12 +360,12 @@ export default {
activeNameTabs
:
'first'
,
srcList
:
[],
allinjureList
:
[
{
name
:
'购置税'
,
key
:
'purchaseTax'
},
{
name
:
'折旧费'
,
key
:
'depreciation'
},
{
name
:
'商业险保费'
,
key
:
'commercialInsurance'
},
{
name
:
'登记费'
,
key
:
'registrationFee'
},
{
name
:
'加改装件费用'
,
key
:
'retrofits'
},
{
name
:
'代步车费用'
,
key
:
'scooterFare'
}
{
name
:
'购置税'
,
key
:
'purchaseTax'
},
{
name
:
'折旧费'
,
key
:
'depreciation'
},
{
name
:
'商业险保费'
,
key
:
'commercialInsurance'
},
{
name
:
'登记费'
,
key
:
'registrationFee'
},
{
name
:
'加改装件费用'
,
key
:
'retrofits'
},
{
name
:
'代步车费用'
,
key
:
'scooterFare'
}
]
}
},
...
...
@@ -524,7 +524,7 @@ export default {
position
:
relative
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
margin-left
:
20px
;
cursor
:
pointer
;
.file
{
...
...
@@ -563,7 +563,7 @@ export default {
height
:
32px
;
background
:
#ffffff
;
border-radius
:
3px
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
}
}
/
deep
/
.el-tabs
{
...
...
src/views/serviceConfig/addExtended.vue
View file @
28ff5f9
...
...
@@ -3,37 +3,30 @@
<div
class=
"info"
>
<div
class=
"global-title"
>
{{
routeInfo
.
type
==
1
?
'新增'
:
routeInfo
.
type
==
2
?
'查看'
:
'编辑'
}}
延保项目
</div>
<div
class=
"main-wrap"
>
<glsx-combi-form
ref=
"serviceForm"
labelWidth=
"154px"
defaultWidth=
"432px"
:isInline=
"false"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"myRule"
>
<glsx-combi-form
ref=
"serviceForm"
labelWidth=
"154px"
defaultWidth=
"432px"
:isInline=
"false"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"myRule"
>
<div
slot=
"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-group>
<el-form-item
prop=
"powerTypeOther"
style=
"margin-bottom: 0px"
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-form-item
prop=
"powerTypeOther"
style=
"margin-bottom: 0px"
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-form-item>
</div>
<div
slot=
"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-group>
<el-form-item
prop=
"supportPositionOther"
style=
"margin-bottom: 0px"
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-form-item
prop=
"supportPositionOther"
style=
"margin-bottom: 0px"
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-form-item>
</div>
<div
slot=
"contractList"
>
<el-button
icon=
"el-icon-plus"
:disabled=
"routeInfo.type == 2"
@
click=
"addContract"
>
选中合同
</el-button>
<div
class=
"table-wrap"
>
<GLTable
:hasPage=
"false"
:hasNum=
"false"
:tableData=
"formObj.contractList"
:tableParams=
"contractTableParams"
>
<GLTable
:hasPage=
"false"
:hasNum=
"false"
:tableData=
"formObj.contractList"
:tableParams=
"contractTableParams"
>
<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"
:disabled=
"routeInfo.type == 2"
@
click=
"handleDelete(scope.scope, scope.index)"
>
删除
</el-button>
<el-button
type=
"text"
size=
"small"
:disabled=
"routeInfo.type == 2"
@
click=
"handleDelete(scope.scope, scope.index)"
>
删除
</el-button>
</div>
</GLTable>
</div>
...
...
@@ -44,8 +37,7 @@
<el-button
v-if=
"routeInfo.type != 2"
type=
"text"
@
click=
"handleSKuEdit"
>
规格组合管理
</el-button>
</div>
<div
class=
"speci-box"
id=
"specificationDetailList"
>
<multipleSpecificationForm
ref=
"multipleSpecificationFormRef"
:route-info=
"routeInfo"
>
</multipleSpecificationForm>
<multipleSpecificationForm
ref=
"multipleSpecificationFormRef"
:route-info=
"routeInfo"
></multipleSpecificationForm>
</div>
</div>
</glsx-combi-form>
...
...
@@ -55,8 +47,7 @@
<el-button
@
click=
"jumpListPage"
>
取消
</el-button>
<el-button
v-if=
"routeInfo.type != 2"
type=
"primary"
@
click=
"commit"
>
提交
</el-button>
</div>
<contract-dialog
v-if=
"contractObj.visible"
@
closeDialog=
"closeContractDialog"
@
confirm=
"confirmContractDialog"
:contractObj=
"contractObj"
></contract-dialog>
<contract-dialog
v-if=
"contractObj.visible"
@
closeDialog=
"closeContractDialog"
@
confirm=
"confirmContractDialog"
:contractObj=
"contractObj"
></contract-dialog>
<pdf-dialog
:isVisible=
"isPdfVisible"
title=
"合同"
:pdfUrl=
"pdfUrl"
@
closeDialog=
"handlePdfClose"
></pdf-dialog>
</div>
</
template
>
...
...
@@ -560,7 +551,7 @@ export default {
.add-btn
{
display
:
inline-block
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
cursor
:
pointer
;
i
{
...
...
@@ -580,7 +571,7 @@ export default {
padding
:
0
;
}
/
deep
/
.el-button
+
.el-button
{
/
deep
/
.el-button
+
.el-button
{
margin-left
:
10px
;
}
}
...
...
src/views/serviceConfig/addService.vue
View file @
28ff5f9
...
...
@@ -437,7 +437,7 @@ export default {
standardShelfCost
=
NP
.
times
(
it
?.
standardShelfCost
||
0
,
100
)
// 标准上架成本
let
min_price
=
NP
.
times
(
minPrice
||
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
)
})
})
...
...
@@ -652,7 +652,7 @@ export default {
}
.add-btn
{
display
:
inline-block
;
color
:
#
5850ff
;
color
:
#
2a58ad
;
cursor
:
pointer
;
i
{
font-size
:
20px
;
...
...
src/views/serviceConfig/carDamage.vue
View file @
28ff5f9
...
...
@@ -286,9 +286,8 @@ export default {
serviceCode
:
row
.
serviceCode
}
this
.
$apis
.
serviceConfig
.
getServiceRecordApi
(
params
).
then
(
res
=>
{
const
spaces
=
" "
.
repeat
(
3
)
const
spaces
=
' '
.
repeat
(
3
)
res
?.
list
?.
forEach
(
val
=>
{
val
.
createdDateStr
=
`
${
val
.
createdBy
}${
spaces
}${
dayjs
(
val
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)}
`
val
.
content
=
`规格
${
val
.
serviceGrade
}
,服务年限
${
val
.
servicePeriod
}
年,`
let
childContent
=
''
...
...
@@ -327,15 +326,15 @@ export default {
max-height
:
calc
(
80vh
-
60px
);
padding-left
:
12px
;
.el-timeline-item
{
/deep/
.el-timeline-item__node{
/deep/
.el-timeline-item__node
{
width
:
8px
;
height
:
8px
;
}
/
deep
/
.el-timeline-item__tail
{
/
deep
/
.el-timeline-item__tail
{
left
:
2px
;
}
/
deep
/
.el-timeline-item__wrapper
{
.el-timeline-item__content{
.el-timeline-item__content
{
color
:
#333333
;
line-height
:
23px
;
font-size
:
14px
;
...
...
@@ -348,10 +347,10 @@ export default {
}
.el-timeline-item
:first-child
{
/deep/
.el-timeline-item__node
{
background
:
#
5850ff
!important
;
background
:
#
2a58ad
!important
;
}
}
.noData
{
.noData
{
display
:
flex
;
flex-flow
:
column
;
align-items
:
center
;
...
...
src/views/serviceConfig/extendedWarranty.vue
View file @
28ff5f9
...
...
@@ -422,7 +422,7 @@ export default {
}
.el-timeline-item
:first-child
{
/deep/
.el-timeline-item__node
{
background
:
#
5850ff
!important
;
background
:
#
2a58ad
!important
;
}
}
.noData
{
...
...
@@ -458,7 +458,7 @@ export default {
}
.el-timeline-item
:first-child
{
/deep/
.el-timeline-item__node
{
background
:
#
5850ff
!important
;
background
:
#
2a58ad
!important
;
}
}
.noData
{
...
...
src/views/worryFree/index.vue
View file @
28ff5f9
...
...
@@ -647,7 +647,7 @@ export default {
/
deep
/
.el-alert
{
height
:
40px
;
background
:
#e6e9ff
;
border
:
1px
solid
#
5850ff
;
border
:
1px
solid
#
2a58ad
;
padding
:
0
15px
;
line-height
:
40px
;
p
{
...
...
@@ -658,7 +658,7 @@ export default {
margin
:
0
;
}
.el-alert__icon
{
color
:
#
5850ff
;
color
:
#
2a58ad
;
font-size
:
18px
;
width
:
18px
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment