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 a28a078d
authored
Mar 24, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改权益配置
1 parent
fab14410
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
90 additions
and
94 deletions
src/views/ContractManager/goodIndex.vue
src/views/ContractManager/index.vue
src/views/ContractManager/parentIndex.vue
src/views/ContractManager/prodIndex.vue
src/views/GH/Renew/renew.vue
src/views/beforeSale/equityList.vue
src/views/claims/ghIndex.vue
src/views/claims/index.vue
src/views/config/index.vue
src/views/config/indexOfGh.vue
src/views/ContractManager/goodIndex.vue
View file @
a28a078
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
<div
class=
"operate_wrap"
>
<div
class=
"operate_wrap"
>
<span
class=
"table_title"
>
合同列表
</span>
<span
class=
"table_title"
>
合同列表
</span>
<div
class=
"operate_btn"
>
<div
class=
"operate_btn"
>
<
GLButton
type=
"primary"
fn=
"批量更换"
plain
:size=
"size"
@
click=
"batchChangeTmpl"
>
批量更换
</GLB
utton>
<
el-button
type=
"primary"
fn=
"批量更换"
plain
:size=
"size"
@
click=
"batchChangeTmpl"
>
批量更换
</el-b
utton>
<
GLButton
type=
"primary"
fn=
"批量初始化"
plain
:size=
"size"
@
click=
"batchInitTmpl"
>
批量初始化
</GLB
utton>
<
el-button
type=
"primary"
fn=
"批量初始化"
plain
:size=
"size"
@
click=
"batchInitTmpl"
>
批量初始化
</el-b
utton>
<el-button
type=
"primary"
plain
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
type=
"primary"
plain
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
</div>
</div>
...
@@ -34,10 +34,10 @@
...
@@ -34,10 +34,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
throttle
=
function
(
fn
,
time
)
{
const
throttle
=
function
(
fn
,
time
)
{
let
timer
=
null
let
timer
=
null
time
=
time
||
1000
time
=
time
||
1000
return
function
(...
args
)
{
return
function
(...
args
)
{
if
(
timer
)
{
if
(
timer
)
{
return
return
}
}
...
@@ -96,7 +96,7 @@ export default {
...
@@ -96,7 +96,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'更换合同'
return
'更换合同'
},
},
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'模板初始化'
return
'模板初始化'
},
},
...
@@ -313,7 +313,7 @@ export default {
...
@@ -313,7 +313,7 @@ export default {
},
},
// 导出
// 导出
handleExport
:
throttle
(
function
()
{
handleExport
:
throttle
(
function
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
contractManager
.
exportContractApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
contractManager
.
exportContractApi
(
params
).
then
(
res
=>
{
// window.open(res)
// window.open(res)
...
...
src/views/ContractManager/index.vue
View file @
a28a078
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
tabPaneList
:
[
tabPaneList
:
[
{
name
:
'1'
,
label
:
'产品合同'
},
{
name
:
'1'
,
label
:
'产品合同'
},
{
name
:
'2'
,
label
:
'商品合同'
},
{
name
:
'2'
,
label
:
'商品合同'
},
{
name
:
'3'
,
label
:
'套餐合同'
}
{
name
:
'3'
,
label
:
'套餐合同'
}
]
]
}
}
},
},
...
...
src/views/ContractManager/parentIndex.vue
View file @
a28a078
...
@@ -32,10 +32,10 @@
...
@@ -32,10 +32,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
throttle
=
function
(
fn
,
time
)
{
const
throttle
=
function
(
fn
,
time
)
{
let
timer
=
null
let
timer
=
null
time
=
time
||
1000
time
=
time
||
1000
return
function
(...
args
)
{
return
function
(...
args
)
{
if
(
timer
)
{
if
(
timer
)
{
return
return
}
}
...
@@ -95,7 +95,7 @@ export default {
...
@@ -95,7 +95,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'更换合同'
return
'更换合同'
},
},
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'模板初始化'
return
'模板初始化'
},
},
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'套餐详情'
return
'套餐详情'
},
},
...
@@ -326,7 +326,7 @@ export default {
...
@@ -326,7 +326,7 @@ export default {
},
},
// 导出
// 导出
handleExport
:
throttle
(
function
()
{
handleExport
:
throttle
(
function
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
contractManager
.
exportProdPackageApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
contractManager
.
exportProdPackageApi
(
params
).
then
(
res
=>
{
// window.open(res)
// window.open(res)
...
...
src/views/ContractManager/prodIndex.vue
View file @
a28a078
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"operate_wrap"
>
<div
class=
"operate_wrap"
>
<span
class=
"table_title"
>
合同列表
</span>
<span
class=
"table_title"
>
合同列表
</span>
<div
class=
"operate_btn"
>
<div
class=
"operate_btn"
>
<
GLButton
type=
"primary"
fn=
"批量更换"
plain
:size=
"size"
@
click=
"batchChangeTmpl"
>
批量更换
</GLB
utton>
<
el-button
type=
"primary"
fn=
"批量更换"
plain
:size=
"size"
@
click=
"batchChangeTmpl"
>
批量更换
</el-b
utton>
<el-button
type=
"primary"
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
type=
"primary"
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
</div>
</div>
...
@@ -83,10 +83,10 @@
...
@@ -83,10 +83,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
throttle
=
function
(
fn
,
time
)
{
const
throttle
=
function
(
fn
,
time
)
{
let
timer
=
null
let
timer
=
null
time
=
time
||
1000
time
=
time
||
1000
return
function
(...
args
)
{
return
function
(...
args
)
{
if
(
timer
)
{
if
(
timer
)
{
return
return
}
}
...
@@ -421,7 +421,7 @@ export default {
...
@@ -421,7 +421,7 @@ export default {
getBaseData
()
{
getBaseData
()
{
this
.
$apis
.
contractManager
.
getSkuCategoryListApi
({}).
then
(
res
=>
{
this
.
$apis
.
contractManager
.
getSkuCategoryListApi
({}).
then
(
res
=>
{
// 整理数据
// 整理数据
let
temp
=
res
.
map
(
item
=>
({
optionId
:
item
,
optionLabel
:
item
}))
let
temp
=
res
.
map
(
item
=>
({
optionId
:
item
,
optionLabel
:
item
}))
this
.
baseData
.
skuTypeList
=
temp
this
.
baseData
.
skuTypeList
=
temp
this
.
getOptionsList
(
'searchFormData'
)
this
.
getOptionsList
(
'searchFormData'
)
})
})
...
@@ -528,7 +528,7 @@ export default {
...
@@ -528,7 +528,7 @@ export default {
this
.
checkedRow
.
push
(
v
)
this
.
checkedRow
.
push
(
v
)
}
}
})
})
this
.
parentCheckedRow
.
push
({
spuId
:
row
?.
spuId
})
this
.
parentCheckedRow
.
push
({
spuId
:
row
?.
spuId
})
}
else
{
}
else
{
row
.
parentSelect
=
false
row
.
parentSelect
=
false
row
?.
skuPackageList
?.
forEach
(
v
=>
{
row
?.
skuPackageList
?.
forEach
(
v
=>
{
...
@@ -556,10 +556,10 @@ export default {
...
@@ -556,10 +556,10 @@ export default {
this
.
parentCheckedRow
=
this
.
parentCheckedRow
.
filter
(
item
=>
item
.
spuId
!==
scope
.
spuId
)
this
.
parentCheckedRow
=
this
.
parentCheckedRow
.
filter
(
item
=>
item
.
spuId
!==
scope
.
spuId
)
}
else
{
}
else
{
scope
.
parentSelect
=
true
scope
.
parentSelect
=
true
this
.
parentCheckedRow
.
push
({
spuId
:
scope
?.
spuId
})
this
.
parentCheckedRow
.
push
({
spuId
:
scope
?.
spuId
})
}
}
},
},
// 批量变更合同
// 批量变更合同
batchChangeTmpl
()
{
batchChangeTmpl
()
{
const
data
=
this
.
checkedRow
||
[]
const
data
=
this
.
checkedRow
||
[]
...
@@ -666,7 +666,7 @@ export default {
...
@@ -666,7 +666,7 @@ export default {
},
},
// 导出
// 导出
handleExport
:
throttle
(
function
()
{
handleExport
:
throttle
(
function
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
contractManager
.
exportProdContractApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
contractManager
.
exportProdContractApi
(
params
).
then
(
res
=>
{
// window.open(res)
// window.open(res)
...
@@ -807,7 +807,7 @@ export default {
...
@@ -807,7 +807,7 @@ export default {
.m-r-l-20
{
.m-r-l-20
{
margin
:
0
20px
;
margin
:
0
20px
;
}
}
/
deep
/
.el-select__tags-text
{
/
deep
/
.el-select__tags-text
{
display
:
inline-block
;
display
:
inline-block
;
max-width
:
110px
;
max-width
:
110px
;
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/views/GH/Renew/renew.vue
View file @
a28a078
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<div>
<div>
<div
class=
"header_btn_widget flex_sc"
>
<div
class=
"header_btn_widget flex_sc"
>
<
GLButton
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLB
utton>
<
el-button
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</el-b
utton>
</div>
</div>
<div
class=
"header_info_widget"
>
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
<span
class=
"el-icon-warning"
></span>
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
<el-button
plain
style=
"float: right; margin-bottom: 10px"
size=
"small"
@
click=
"exportList"
>
导出
</el-button>
<el-button
plain
style=
"float: right; margin-bottom: 10px"
size=
"small"
@
click=
"exportList"
>
导出
</el-button>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"batchPageConf"
>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"batchPageConf"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<!--
<
GLButton
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</GLB
utton>
<!--
<
el-button
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</el-b
utton>
<
GLButton
v-if=
"[1, 3, 4].includes(scope.scope.status)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
查看
</GLB
utton>
<
el-button
v-if=
"[1, 3, 4].includes(scope.scope.status)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
查看
</el-b
utton>
<
GLButton
v-if=
"[2].includes(scope.scope.status)"
fn=
"重新提交"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
重新提交
</GLB
utton>
-->
<
el-button
v-if=
"[2].includes(scope.scope.status)"
fn=
"重新提交"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
重新提交
</el-b
utton>
-->
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
@@ -79,12 +79,12 @@ export default {
...
@@ -79,12 +79,12 @@ export default {
orderCount
:
{},
orderCount
:
{},
buttonList
:
[
buttonList
:
[
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'去处理'
return
'去处理'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
15
,
0
].
includes
(
row
.
scope
.
status
)
return
[
15
,
0
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -95,12 +95,12 @@ export default {
...
@@ -95,12 +95,12 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'查看'
return
'查看'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
1
,
3
,
4
,
17
,
2
,
14
,
16
].
includes
(
row
.
scope
.
status
)
return
[
1
,
3
,
4
,
17
,
2
,
14
,
16
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -109,9 +109,9 @@ export default {
...
@@ -109,9 +109,9 @@ export default {
listeners
:
{
listeners
:
{
click
:
row
=>
this
.
handleEdit
(
2
,
row
.
scope
)
click
:
row
=>
this
.
handleEdit
(
2
,
row
.
scope
)
}
}
}
,
}
// {
// {
// type: '
GLB
utton',
// type: '
el-b
utton',
// name: row => {
// name: row => {
// return '重新提交'
// return '重新提交'
// },
// },
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
searchText
:
''
,
searchText
:
''
,
status
:
''
,
status
:
''
,
commitDate
:
''
,
commitDate
:
''
,
equitySource
:
1
equitySource
:
1
},
},
searchParams
:
{},
searchParams
:
{},
searchFormData
:
[
searchFormData
:
[
...
@@ -192,7 +192,7 @@ export default {
...
@@ -192,7 +192,7 @@ export default {
return
cellValue
.
reporterName
||
'-'
return
cellValue
.
reporterName
||
'-'
}
}
},
},
{
{
label
:
'车牌号'
,
label
:
'车牌号'
,
prop
:
'vehicleLicensePlate'
,
prop
:
'vehicleLicensePlate'
,
width
:
160
,
width
:
160
,
...
@@ -342,7 +342,7 @@ export default {
...
@@ -342,7 +342,7 @@ export default {
searchText
:
''
,
searchText
:
''
,
status
:
''
,
status
:
''
,
commitDate
:
''
,
commitDate
:
''
,
equitySource
:
1
equitySource
:
1
}
}
this
.
getTableData
()
this
.
getTableData
()
},
},
...
@@ -365,7 +365,7 @@ export default {
...
@@ -365,7 +365,7 @@ export default {
this
.
$refs
.
equityRef
.
refreshTable
()
this
.
$refs
.
equityRef
.
refreshTable
()
},
},
exportList
()
{
exportList
()
{
const
parmas
=
{
...
this
.
getParams
(),
equitySource
:
1
}
const
parmas
=
{
...
this
.
getParams
(),
equitySource
:
1
}
this
.
$apis
.
claims
.
exportClaimsData
(
parmas
).
then
(
data
=>
{
this
.
$apis
.
claims
.
exportClaimsData
(
parmas
).
then
(
data
=>
{
var
a
=
document
.
createElement
(
'a'
)
var
a
=
document
.
createElement
(
'a'
)
a
.
setAttribute
(
'id'
,
'exportToExport'
)
a
.
setAttribute
(
'id'
,
'exportToExport'
)
...
...
src/views/beforeSale/equityList.vue
View file @
a28a078
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</span>
</span>
</el-dialog>
</el-dialog>
<GLDialog
class=
"dialog_wrap"
:hasFooter=
"false"
title=
"修改记录"
mode=
"mid"
:visible
.
sync=
"updateDetailVisible"
:before-close=
"handleClose"
@
onOk=
"onOk"
>
<GLDialog
class=
"dialog_wrap"
:hasFooter=
"false"
title=
"修改记录"
mode=
"mid"
:visible
.
sync=
"updateDetailVisible"
:before-close=
"handleClose"
@
onOk=
"onOk"
>
<div
style=
"text-align: center
;
"
v-if=
"!updateList.length"
>
暂无修改记录
</div>
<div
style=
"text-align: center"
v-if=
"!updateList.length"
>
暂无修改记录
</div>
<template
v-else
>
<template
v-else
>
<div
class=
"step-item"
v-for=
"(item, index) in updateList"
:key=
"index"
>
<div
class=
"step-item"
v-for=
"(item, index) in updateList"
:key=
"index"
>
<span
class=
"circle"
></span>
<span
class=
"circle"
></span>
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
newKey
:
new
Date
(),
newKey
:
new
Date
(),
buttonList
:
[
buttonList
:
[
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'查看'
return
'查看'
},
},
...
@@ -110,7 +110,7 @@ export default {
...
@@ -110,7 +110,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'编辑'
return
'编辑'
},
},
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'修改'
return
'修改'
},
},
...
@@ -157,7 +157,7 @@ export default {
...
@@ -157,7 +157,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'重新提单'
return
'重新提单'
},
},
...
...
src/views/claims/ghIndex.vue
View file @
a28a078
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<div>
<div>
<!--
<div
class=
"header_btn_widget flex_sc"
>
<!--
<div
class=
"header_btn_widget flex_sc"
>
<
GLButton
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLB
utton>
<
el-button
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</el-b
utton>
</div>
-->
</div>
-->
<div
class=
"header_info_widget"
>
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
<span
class=
"el-icon-warning"
></span>
...
@@ -26,9 +26,9 @@
...
@@ -26,9 +26,9 @@
<div
class=
"table_top_line flex_scb"
>
<div
class=
"table_top_line flex_scb"
>
<span>
核赔订单列表
</span>
<span>
核赔订单列表
</span>
<div
class=
"table_top_btn flex_sc"
>
<div
class=
"table_top_btn flex_sc"
>
<
GLButton
size=
"small"
fn=
"订单详情"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLB
utton>
<
el-button
size=
"small"
fn=
"订单详情"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</el-b
utton>
<
GLButton
size=
"small"
plain
fn=
"跟进人配置"
type=
"primary"
@
click=
"handleConfig"
>
跟进人配置
</GLB
utton>
<
el-button
size=
"small"
plain
fn=
"跟进人配置"
type=
"primary"
@
click=
"handleConfig"
>
跟进人配置
</el-b
utton>
<
GLButton
size=
"small"
plain
fn=
"批量审核"
type=
"primary"
@
click=
"batchAudit"
>
批量审核通过
</GLB
utton>
<
el-button
size=
"small"
plain
fn=
"批量审核"
type=
"primary"
@
click=
"batchAudit"
>
批量审核通过
</el-b
utton>
<el-button
plain
size=
"small"
@
click=
"exportList"
>
导出
</el-button>
<el-button
plain
size=
"small"
@
click=
"exportList"
>
导出
</el-button>
</div>
</div>
</div>
</div>
...
@@ -272,7 +272,7 @@ export default {
...
@@ -272,7 +272,7 @@ export default {
orderCount
:
{},
orderCount
:
{},
buttonList
:
[
buttonList
:
[
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'定损审核'
return
'定损审核'
},
},
...
@@ -288,7 +288,7 @@ export default {
...
@@ -288,7 +288,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'核赔审核'
return
'核赔审核'
},
},
...
@@ -304,7 +304,7 @@ export default {
...
@@ -304,7 +304,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'运营经理审核'
return
'运营经理审核'
},
},
...
@@ -396,7 +396,7 @@ export default {
...
@@ -396,7 +396,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'重新提交'
return
'重新提交'
},
},
...
@@ -412,7 +412,7 @@ export default {
...
@@ -412,7 +412,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'去处理'
return
'去处理'
},
},
...
@@ -766,7 +766,7 @@ export default {
...
@@ -766,7 +766,7 @@ export default {
},
},
historybuttonList
:
[
historybuttonList
:
[
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'详情'
return
'详情'
},
},
...
...
src/views/claims/index.vue
View file @
a28a078
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<div>
<div>
<!--
<div
class=
"header_btn_widget flex_sc"
>
<!--
<div
class=
"header_btn_widget flex_sc"
>
<
GLButton
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLB
utton>
<
el-button
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</el-b
utton>
</div>
-->
</div>
-->
<div
class=
"header_info_widget"
>
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
<span
class=
"el-icon-warning"
></span>
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
<div
class=
"table_top_line flex_scb"
>
<div
class=
"table_top_line flex_scb"
>
<span>
核赔订单列表
</span>
<span>
核赔订单列表
</span>
<div
class=
"table_top_btn flex_sc"
>
<div
class=
"table_top_btn flex_sc"
>
<
GLButton
size=
"small"
fn=
"订单详情"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLB
utton>
<
el-button
size=
"small"
fn=
"订单详情"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</el-b
utton>
<
GLButton
size=
"small"
plain
fn=
"跟进人配置"
type=
"primary"
@
click=
"handleConfig"
>
跟进人配置
</GLB
utton>
<
el-button
size=
"small"
plain
fn=
"跟进人配置"
type=
"primary"
@
click=
"handleConfig"
>
跟进人配置
</el-b
utton>
<
GLButton
size=
"small"
plain
fn=
"批量审核"
type=
"primary"
@
click=
"batchAudit"
>
批量审核通过
</GLB
utton>
<
el-button
size=
"small"
plain
fn=
"批量审核"
type=
"primary"
@
click=
"batchAudit"
>
批量审核通过
</el-b
utton>
<el-button
plain
size=
"small"
@
click=
"exportList"
>
导出
</el-button>
<el-button
plain
size=
"small"
@
click=
"exportList"
>
导出
</el-button>
</div>
</div>
</div>
</div>
...
@@ -32,9 +32,9 @@
...
@@ -32,9 +32,9 @@
<span
v-if=
"statusMap[scope.scope.status || 0]"
>
{{
statusMap
[
scope
.
scope
.
status
||
0
].
name
}}
</span>
<span
v-if=
"statusMap[scope.scope.status || 0]"
>
{{
statusMap
[
scope
.
scope
.
status
||
0
].
name
}}
</span>
</div>
</div>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<!--
<
GLButton
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</GLB
utton>
<!--
<
el-button
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</el-b
utton>
<
GLButton
v-if=
"[1, 3, 4].includes(scope.scope.status)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
查看
</GLB
utton>
<
el-button
v-if=
"[1, 3, 4].includes(scope.scope.status)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
查看
</el-b
utton>
<
GLButton
v-if=
"[2].includes(scope.scope.status)"
fn=
"重新提交"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
重新提交
</GLB
utton>
-->
<
el-button
v-if=
"[2].includes(scope.scope.status)"
fn=
"重新提交"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
重新提交
</el-b
utton>
-->
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
orderCount
:
{},
orderCount
:
{},
buttonList
:
[
buttonList
:
[
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'定损审核'
return
'定损审核'
},
},
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'去处理'
return
'去处理'
},
},
...
@@ -187,7 +187,7 @@ export default {
...
@@ -187,7 +187,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'重新提交'
return
'重新提交'
},
},
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'运营经理审核'
return
'运营经理审核'
},
},
...
@@ -219,7 +219,7 @@ export default {
...
@@ -219,7 +219,7 @@ export default {
}
}
},
},
{
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
name
:
row
=>
{
return
'核赔审核'
return
'核赔审核'
},
},
...
...
src/views/config/index.vue
View file @
a28a078
<
template
>
<
template
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap"
>
<
GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLB
utton>
<
el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-b
utton>
<!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
-->
<!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
-->
<div
class=
"equity-wrap contain merchant-select"
>
<div
class=
"equity-wrap contain merchant-select"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
@
handleOk=
"selConfig"
@
handleRest=
"selConfig('reset')"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
@
handleOk=
"selConfig"
@
handleRest=
"selConfig('reset')"
></GLCombiForm>
<div
class=
"row-btns"
>
<div
class=
"row-btns"
>
<!--
<el-button
size=
"small"
@
click=
"toggleAll"
>
全选
</el-button>
-->
<!--
<el-button
size=
"small"
@
click=
"toggleAll"
>
全选
</el-button>
-->
<!--
<el-checkbox
v-model=
"checkbox"
@
change=
"toggleAll"
style=
"margin-left:20px"
>
全选
</el-checkbox>
-->
<!--
<el-checkbox
v-model=
"checkbox"
@
change=
"toggleAll"
style=
"margin-left:20px"
>
全选
</el-checkbox>
-->
<div
style=
"float: right
;
"
class=
"primary_plain_btn"
>
<div
style=
"float: right"
class=
"primary_plain_btn"
>
<el-button
size=
"small"
plain
@
click=
"batchOpenSale()"
>
批量开通驻店零售
</el-button>
<el-button
size=
"small"
plain
@
click=
"batchOpenSale()"
>
批量开通驻店零售
</el-button>
<el-button
size=
"small"
plain
@
click=
"batchOperation(1)"
>
批量开通
</el-button>
<el-button
size=
"small"
plain
@
click=
"batchOperation(1)"
>
批量开通
</el-button>
<el-button
size=
"small"
@
click=
"batchOperation(2)"
>
批量关闭
</el-button>
<el-button
size=
"small"
@
click=
"batchOperation(2)"
>
批量关闭
</el-button>
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</div>
</div>
<GLTable
v-if=
"flag"
ref=
"table"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:getListApi=
"getConfigList"
:beforeSearchFn=
"check"
>
<GLTable
v-if=
"flag"
ref=
"table"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:getListApi=
"getConfigList"
:beforeSearchFn=
"check"
>
<span
slot=
"operate"
slot-scope=
"scope"
>
<span
slot=
"operate"
slot-scope=
"scope"
>
<
GLButton
fn=
"修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</GLB
utton>
<
el-button
fn=
"修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</el-b
utton>
<!--
<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"
>
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
flag
:
true
,
flag
:
true
,
searchForm
:
{
searchForm
:
{
openFlag
:
''
openFlag
:
''
},
},
searchSelectObj
:
{
searchSelectObj
:
{
idOrName
:
{
idOrName
:
{
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
value
:
''
value
:
''
}
}
},
},
searchFormData
:
[
searchFormData
:
[
{
{
type
:
'selectInput'
,
type
:
'selectInput'
,
selectName
:
'idOrName'
,
selectName
:
'idOrName'
,
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
value
:
'0'
value
:
'0'
}
}
],
],
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
mutiSelectName
:
'configIndex'
,
mutiSelectName
:
'configIndex'
,
mutiSelectUniqueKey
:
'id'
,
mutiSelectUniqueKey
:
'id'
,
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商户名称'
,
label
:
'商户名称'
,
prop
:
'merchantName'
,
prop
:
'merchantName'
},
},
{
{
label
:
'商户号'
,
label
:
'商户号'
,
...
@@ -198,22 +198,20 @@ export default {
...
@@ -198,22 +198,20 @@ export default {
selectStatus
:
false
selectStatus
:
false
}
}
},
},
mounted
()
{
mounted
()
{},
created
()
{
},
created
(){
this
.
diffHost
()
this
.
diffHost
()
},
},
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
}
}
},
},
...
@@ -251,7 +249,7 @@ export default {
...
@@ -251,7 +249,7 @@ export default {
},
},
selConfig
(
e
)
{
selConfig
(
e
)
{
this
.
searchForm
=
{
this
.
searchForm
=
{
openFlag
:
this
.
searchForm
.
openFlag
openFlag
:
this
.
searchForm
.
openFlag
}
}
if
(
e
==
'reset'
)
{
if
(
e
==
'reset'
)
{
this
.
searchForm
=
{
this
.
searchForm
=
{
...
@@ -267,9 +265,9 @@ export default {
...
@@ -267,9 +265,9 @@ export default {
this
.
searchForm
[
this
.
searchSelectObj
.
idOrName
.
attr
]
=
this
.
searchSelectObj
.
idOrName
.
value
this
.
searchForm
[
this
.
searchSelectObj
.
idOrName
.
attr
]
=
this
.
searchSelectObj
.
idOrName
.
value
this
.
$refs
.
table
.
refreshTable
()
this
.
$refs
.
table
.
refreshTable
()
},
},
batchOpenSale
(){
batchOpenSale
()
{
const
data
=
this
.
$refs
.
table
?.
mutiSelectArr
?.[
this
.
tableParams
.
mutiSelectName
]
||
[]
const
data
=
this
.
$refs
.
table
?.
mutiSelectArr
?.[
this
.
tableParams
.
mutiSelectName
]
||
[]
if
(
!
data
?.
length
)
return
this
.
$message
.
error
(
'请选择需要开通的商户'
)
if
(
!
data
?.
length
)
return
this
.
$message
.
error
(
'请选择需要开通的商户'
)
this
.
$confirm
(
'确定批量开通驻店零售吗'
,
'提示'
,
{
this
.
$confirm
(
'确定批量开通驻店零售吗'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
@@ -277,8 +275,8 @@ export default {
...
@@ -277,8 +275,8 @@ export default {
callback
:
action
=>
{
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
const
ids
=
data
.
map
(
item
=>
item
.
id
)
const
ids
=
data
.
map
(
item
=>
item
.
id
)
this
.
$apis
.
openconfig
.
batchOpenSaleModeApi
({
ids
,
saleMode
:
2
}).
then
(
res
=>
{
this
.
$apis
.
openconfig
.
batchOpenSaleModeApi
({
ids
,
saleMode
:
2
}).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
$refs
.
table
.
refreshTable
()
this
.
$refs
.
table
.
refreshTable
()
}
}
...
...
src/views/config/indexOfGh.vue
View file @
a28a078
<
template
>
<
template
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap"
>
<
GLButton
fn=
"广汇开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLB
utton>
<
el-button
fn=
"广汇开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-b
utton>
<!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
-->
<!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
-->
<div
class=
"equity-wrap contain merchant-select"
>
<div
class=
"equity-wrap contain merchant-select"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</div>
</div>
<GLTable
v-if=
"flag"
ref=
"table"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:getListApi=
"getConfigList"
:beforeSearchFn=
"check"
>
<GLTable
v-if=
"flag"
ref=
"table"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:getListApi=
"getConfigList"
:beforeSearchFn=
"check"
>
<span
slot=
"operate"
slot-scope=
"scope"
>
<span
slot=
"operate"
slot-scope=
"scope"
>
<
GLButton
fn=
"广汇修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</GLB
utton>
<
el-button
fn=
"广汇修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</el-b
utton>
<!--
<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"
>
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
value
:
'0'
value
:
'0'
}
}
],
],
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
mutiSelectName
:
'configIndex'
,
mutiSelectName
:
'configIndex'
,
mutiSelectUniqueKey
:
'id'
,
mutiSelectUniqueKey
:
'id'
,
...
@@ -162,22 +162,20 @@ export default {
...
@@ -162,22 +162,20 @@ export default {
selectStatus
:
false
selectStatus
:
false
}
}
},
},
mounted
()
{
mounted
()
{},
created
()
{
},
created
(){
this
.
diffHost
()
this
.
diffHost
()
},
},
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
}
}
},
},
...
@@ -199,7 +197,7 @@ export default {
...
@@ -199,7 +197,7 @@ export default {
if
(
e
==
'add'
)
{
if
(
e
==
'add'
)
{
this
.
$router
.
push
({
path
:
'/config/addConfigOfGh'
,
query
:
{
$title
:
encodeURI
(
'开通配置'
)
}
})
this
.
$router
.
push
({
path
:
'/config/addConfigOfGh'
,
query
:
{
$title
:
encodeURI
(
'开通配置'
)
}
})
}
else
{
}
else
{
let
query
=
{
$title
:
encodeURI
(
'修改配置'
)
}
let
query
=
{
$title
:
encodeURI
(
'修改配置'
)
}
query
.
merchantId
=
e
query
.
merchantId
=
e
console
.
log
(
query
,
'query'
)
console
.
log
(
query
,
'query'
)
this
.
$router
.
push
({
path
:
'/config/addConfigOfGh'
,
query
})
this
.
$router
.
push
({
path
:
'/config/addConfigOfGh'
,
query
})
...
...
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