Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 4750e935
authored
Nov 07, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+v4.31.0' into 'master'
Saas+v4.31.0 See merge request
!43
2 parents
29a6f2c8
92a0fda3
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
164 additions
and
17 deletions
src/api/modules/contractManager.js
src/api/modules/worryDetailApi.js
src/views/ContractManager/index.vue
src/views/beforeSale/editEquity.vue
src/views/claims/components/checkClaims/index.vue
src/views/claims/components/otherInfo.vue
src/views/claims/components/watch/index.vue
src/views/claims/ghIndex.vue
src/views/claims/ghOrder.vue
src/views/worryFree/index.vue
src/api/modules/contractManager.js
View file @
4750e93
...
@@ -50,11 +50,21 @@ const copyTemplateApi = params => {
...
@@ -50,11 +50,21 @@ const copyTemplateApi = params => {
sign
:
true
sign
:
true
})
})
}
}
const
exportContractApi
=
params
=>
{
params
.
method
=
`scrm.api.equity.service.contract.template.list.export`
return
http
({
url
:
CUR_BASE_URL
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
export
default
{
getContractListApi
,
getContractListApi
,
saveContractTemplateApi
,
saveContractTemplateApi
,
getContractDetailApi
,
getContractDetailApi
,
printContractApi
,
printContractApi
,
copyTemplateApi
copyTemplateApi
,
exportContractApi
}
}
\ No newline at end of file
\ No newline at end of file
src/api/modules/worryDetailApi.js
View file @
4750e93
...
@@ -33,9 +33,20 @@ const modWorryDetailList = params => {
...
@@ -33,9 +33,20 @@ const modWorryDetailList = params => {
returnAll
:
true
returnAll
:
true
})
})
}
}
//清空无忧卡使用状态
const
clearWorryStatus
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
service.cfc.clear`
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
returnAll
:
true
})
}
export
default
{
export
default
{
getWorryDetailList
,
getWorryDetailList
,
getdetailTotal
,
getdetailTotal
,
selWorryDetailList
,
selWorryDetailList
,
modWorryDetailList
modWorryDetailList
,
clearWorryStatus
}
}
src/views/ContractManager/index.vue
View file @
4750e93
...
@@ -6,9 +6,9 @@
...
@@ -6,9 +6,9 @@
<div
class=
"table_wrapper"
>
<div
class=
"table_wrapper"
>
<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"
>
<el-button
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</div>
-->
</div>
</div>
</div>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"serviceContent"
slot-scope=
"scope"
>
<div
slot=
"serviceContent"
slot-scope=
"scope"
>
...
@@ -83,6 +83,7 @@
...
@@ -83,6 +83,7 @@
],
],
searchForm
:
{
searchForm
:
{
merchantName
:
''
,
merchantName
:
''
,
packageName
:
''
,
createdDate
:
''
,
createdDate
:
''
,
updatedDate
:
''
updatedDate
:
''
},
},
...
@@ -95,6 +96,12 @@
...
@@ -95,6 +96,12 @@
isClear
:
true
,
isClear
:
true
,
},
},
{
{
label
:
'商品名称'
,
name
:
'packageName'
,
type
:
'input'
,
isClear
:
true
,
},
{
label
:
'创建时间'
,
label
:
'创建时间'
,
name
:
'createdDate'
,
name
:
'createdDate'
,
type
:
'datePicker'
,
type
:
'datePicker'
,
...
@@ -109,7 +116,7 @@
...
@@ -109,7 +116,7 @@
labelWidth
:
95
,
labelWidth
:
95
,
isClear
:
true
,
isClear
:
true
,
pickerOptions
:
'beforeRangePickerOptions'
pickerOptions
:
'beforeRangePickerOptions'
}
}
,
],
],
// 表格
// 表格
getListApi
:
this
.
$apis
.
contractManager
.
getContractListApi
,
getListApi
:
this
.
$apis
.
contractManager
.
getContractListApi
,
...
@@ -209,7 +216,7 @@
...
@@ -209,7 +216,7 @@
// 导出
// 导出
handleExport
()
{
handleExport
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
serviceConfig
.
exportEquity
Api
(
params
).
then
(
res
=>
{
this
.
$apis
.
contractManager
.
exportContract
Api
(
params
).
then
(
res
=>
{
// window.open(res)
// window.open(res)
let
tempaa
=
utils
.
getExplorer
()
let
tempaa
=
utils
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
if
(
tempaa
==
'QQ'
)
{
...
@@ -230,6 +237,7 @@
...
@@ -230,6 +237,7 @@
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
serviceName
:
''
,
serviceName
:
''
,
packageName
:
''
,
createdDate
:
''
,
createdDate
:
''
,
updatedDate
:
''
updatedDate
:
''
}
}
...
...
src/views/beforeSale/editEquity.vue
View file @
4750e93
...
@@ -1403,6 +1403,22 @@ export default {
...
@@ -1403,6 +1403,22 @@ export default {
getPackageList
()
{
getPackageList
()
{
let
contractNo
=
this
.
routeInfo
.
contractNo
==
-
1
?
''
:
this
.
routeInfo
.
contractNo
let
contractNo
=
this
.
routeInfo
.
contractNo
==
-
1
?
''
:
this
.
routeInfo
.
contractNo
this
.
$apis
.
beforeSale
.
getPackageListApi
({
contractNo
}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getPackageListApi
({
contractNo
}).
then
(
res
=>
{
res
.
forEach
((
item
,
index
)
=>
{
let
obj
=
null
let
id
=
-
1
item
.
groupAttributeList
.
forEach
((
e
,
idx
)
=>
{
if
(
e
.
groupName
==
'tireScale'
)
{
if
(
e
?.
attributeList
&&
e
?.
attributeList
[
0
])
{
e
.
attributeList
[
0
].
attributeDesc
=
'规格型号(前轮)'
obj
=
JSON
.
parse
(
JSON
.
stringify
(
e
))
obj
.
attributeList
[
0
].
attributeDesc
=
'规格型号(后轮)'
obj
.
attributeList
[
0
].
attributeName
=
'afterTireScale'
id
=
idx
}
}
})
if
(
id
>
-
1
)
item
.
groupAttributeList
.
splice
(
id
+
1
,
0
,
obj
)
})
this
.
toGetProductData
(
res
)
this
.
toGetProductData
(
res
)
})
})
},
},
...
...
src/views/claims/components/checkClaims/index.vue
View file @
4750e93
...
@@ -84,13 +84,23 @@
...
@@ -84,13 +84,23 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"messag"
>
<div
class=
"ms flex_sc"
>
<div
class=
"ms_txt"
>
寄件快递公司:
</div>
<el-input
v-model=
"repotData.expressName"
size=
"mini"
class=
"w432"
disabled
></el-input>
</div>
<div
class=
"ms flex_sc ma20"
>
<div
class=
"ms_txt"
>
寄件快递单号:
</div>
<el-input
v-model=
"repotData.expressNo"
size=
"mini"
class=
"w432"
disabled
></el-input>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<explanation
:supplementList=
"repotData.supplementList2"
:operatorName=
"repotData.updatedBy"
:id=
"repotData.id"
></explanation>
<explanation
:supplementList=
"repotData.supplementList2"
:operatorName=
"repotData.updatedBy"
:id=
"repotData.id"
></explanation>
</div>
</div>
<div
v-if=
"accountMatchResultList.length"
class=
"widget"
>
<div
v-if=
"accountMatchResultList.length"
class=
"widget"
>
<wraning
style=
"margin-top:16px"
:isWatchOrder=
"isWatchOrder"
@
getWarningData=
"getWarningData"
:list=
"accountMatchResultList"
></wraning>
<wraning
style=
"margin-top:
16px"
:isWatchOrder=
"isWatchOrder"
@
getWarningData=
"getWarningData"
:list=
"accountMatchResultList"
></wraning>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -346,7 +356,7 @@ export default {
...
@@ -346,7 +356,7 @@ export default {
}
}
arr
.
push
(
obj
)
arr
.
push
(
obj
)
})
})
console
.
log
(
arr
)
;
console
.
log
(
arr
)
this
.
$emit
(
'getWarningInfo'
,
arr
)
this
.
$emit
(
'getWarningInfo'
,
arr
)
}
}
}
}
...
@@ -405,4 +415,9 @@ export default {
...
@@ -405,4 +415,9 @@ export default {
}
}
}
}
}
}
.ms_txt
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
}
</
style
>
</
style
>
src/views/claims/components/otherInfo.vue
View file @
4750e93
...
@@ -35,6 +35,10 @@ export default {
...
@@ -35,6 +35,10 @@ export default {
{
{
key
:
'merchantAddr'
,
key
:
'merchantAddr'
,
label
:
'店面地址:'
label
:
'店面地址:'
},
{
key
:
'sapCode'
,
label
:
'门店代码:'
}
}
]
]
},
},
...
...
src/views/claims/components/watch/index.vue
View file @
4750e93
...
@@ -155,6 +155,16 @@
...
@@ -155,6 +155,16 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"messag"
>
<div
class=
"ms flex_sc"
>
<div
class=
"ms_txt"
>
寄件快递公司:
</div>
<el-input
v-model=
"repotData.expressName"
size=
"mini"
class=
"w432"
disabled
></el-input>
</div>
<div
class=
"ms flex_sc ma20"
>
<div
class=
"ms_txt"
>
寄件快递单号:
</div>
<el-input
v-model=
"repotData.expressNo"
size=
"mini"
class=
"w432"
disabled
></el-input>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 案件补充说明 -->
<!-- 案件补充说明 -->
...
@@ -386,6 +396,16 @@ export default {
...
@@ -386,6 +396,16 @@ export default {
.ma21
{
.ma21
{
margin-top
:
21px
;
margin-top
:
21px
;
}
}
.ms_lab
{
width
:
154px
;
text-align
:
right
;
}
.w432
{
width
:
432px
!important
;
}
.ma20
{
margin-top
:
20px
;
}
.image_container
{
.image_container
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
...
@@ -541,4 +561,9 @@ export default {
...
@@ -541,4 +561,9 @@ export default {
.text_wrap
{
.text_wrap
{
white-space
:
pre-wrap
!important
;
white-space
:
pre-wrap
!important
;
}
}
.ms_txt
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
}
</
style
>
</
style
>
src/views/claims/ghIndex.vue
View file @
4750e93
...
@@ -392,6 +392,7 @@ export default {
...
@@ -392,6 +392,7 @@ export default {
status
:
''
,
status
:
''
,
commitDate
:
''
,
commitDate
:
''
,
shopDate
:
''
,
shopDate
:
''
,
merchantUpdatedDate
:
''
,
cityMerchantId
:
''
,
cityMerchantId
:
''
,
provinceMerchantId
:
''
,
provinceMerchantId
:
''
,
merchantId
:
''
merchantId
:
''
...
@@ -432,6 +433,13 @@ export default {
...
@@ -432,6 +433,13 @@ export default {
isClear
:
true
isClear
:
true
},
},
{
{
label
:
'门店更新时间'
,
name
:
'merchantUpdatedDate'
,
type
:
'datePicker'
,
pickerOptions
:
'beforeRangePickerOptions'
,
isClear
:
true
},
{
label
:
'大区'
,
label
:
'大区'
,
name
:
'provinceMerchantId'
,
name
:
'provinceMerchantId'
,
type
:
'select'
,
type
:
'select'
,
...
@@ -535,6 +543,14 @@ export default {
...
@@ -535,6 +543,14 @@ export default {
}
}
},
},
{
{
label
:
'门店更新时间'
,
prop
:
'merchantUpdatedDate'
,
width
:
180
,
formatter
:
cellValue
=>
{
return
cellValue
.
merchantUpdatedDate
?
cellValue
.
merchantUpdatedDate
:
'-'
}
},
{
label
:
'提交国任时间'
,
label
:
'提交国任时间'
,
prop
:
'commitGuoRenDate'
,
prop
:
'commitGuoRenDate'
,
width
:
180
,
width
:
180
,
...
@@ -850,6 +866,7 @@ export default {
...
@@ -850,6 +866,7 @@ export default {
status
:
''
,
status
:
''
,
commitDate
:
''
,
commitDate
:
''
,
shopDate
:
''
,
shopDate
:
''
,
merchantUpdatedDate
:
''
,
cityMerchantId
:
''
,
cityMerchantId
:
''
,
provinceMerchantId
:
''
,
provinceMerchantId
:
''
,
merchantId
:
''
merchantId
:
''
...
@@ -868,12 +885,17 @@ export default {
...
@@ -868,12 +885,17 @@ export default {
params
.
commitTimeStart
=
dayjs
(
params
.
commitDate
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:00'
params
.
commitTimeStart
=
dayjs
(
params
.
commitDate
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:00'
params
.
commitTimeEnd
=
dayjs
(
params
.
commitDate
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
params
.
commitTimeEnd
=
dayjs
(
params
.
commitDate
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
}
if
(
Array
.
isArray
(
params
.
merchantUpdatedDate
)
&&
params
.
merchantUpdatedDate
.
length
>
0
)
{
params
.
merchantUpdatedStart
=
dayjs
(
params
.
merchantUpdatedDate
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:00'
params
.
merchantUpdatedEnd
=
dayjs
(
params
.
merchantUpdatedDate
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
if
(
Array
.
isArray
(
params
.
shopDate
)
&&
params
.
shopDate
.
length
>
0
)
{
if
(
Array
.
isArray
(
params
.
shopDate
)
&&
params
.
shopDate
.
length
>
0
)
{
params
.
merchantCommitStart
=
dayjs
(
params
.
shopDate
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:00'
params
.
merchantCommitStart
=
dayjs
(
params
.
shopDate
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:00'
params
.
merchantCommitEnd
=
dayjs
(
params
.
shopDate
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
params
.
merchantCommitEnd
=
dayjs
(
params
.
shopDate
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
}
delete
params
.
commitDate
delete
params
.
commitDate
delete
params
.
shopDate
delete
params
.
shopDate
delete
params
.
merchantUpdatedDate
return
params
return
params
},
},
getTableData
()
{
getTableData
()
{
...
...
src/views/claims/ghOrder.vue
View file @
4750e93
...
@@ -211,7 +211,9 @@ export default {
...
@@ -211,7 +211,9 @@ export default {
attachments2
:
res
.
attachments2
,
attachments2
:
res
.
attachments2
,
attachments3
:
res
.
attachments3
,
attachments3
:
res
.
attachments3
,
claimsAttachmentConfigs2
:
res
.
claimsAttachmentConfigs2
,
claimsAttachmentConfigs2
:
res
.
claimsAttachmentConfigs2
,
updatedBy
:
res
.
updatedBy
updatedBy
:
res
.
updatedBy
,
expressName
:
res
.
expressName
,
expressNo
:
res
.
expressNo
}
}
// 图片list
// 图片list
...
...
src/views/worryFree/index.vue
View file @
4750e93
...
@@ -47,7 +47,7 @@ const validatorActualPrice = (rule, value, callback) => {
...
@@ -47,7 +47,7 @@ const validatorActualPrice = (rule, value, callback) => {
}
}
export
default
{
export
default
{
name
:
''
,
name
:
''
,
components
:{
components
:
{
glsxCombiForm
glsxCombiForm
},
},
data
()
{
data
()
{
...
@@ -62,13 +62,28 @@ export default {
...
@@ -62,13 +62,28 @@ export default {
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
disabled
:
(
row
)
=>
{
disabled
:
row
=>
{
return
row
.
scope
.
status
return
row
.
scope
.
status
}
}
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
this
.
modify
(
row
.
scope
)
click
:
row
=>
this
.
modify
(
row
.
scope
)
}
}
},
{
type
:
'el-button'
,
name
:
row
=>
{
return
'恢复未使用'
},
attrs
:
{
type
:
'text'
},
condition
:
row
=>
{
return
row
.
scope
.
status
==
1
},
listeners
:
{
click
:
row
=>
this
.
clearStatus
(
row
.
scope
)
}
}
}
],
],
line
:
{
line
:
{
...
@@ -105,7 +120,8 @@ export default {
...
@@ -105,7 +120,8 @@ export default {
name
:
'batchType'
,
name
:
'batchType'
,
type
:
'select'
,
type
:
'select'
,
isClear
:
true
,
isClear
:
true
,
optionList
:
[
{
optionList
:
[
{
confId
:
''
,
confId
:
''
,
confName
:
'全部'
confName
:
'全部'
},
},
...
@@ -390,7 +406,7 @@ export default {
...
@@ -390,7 +406,7 @@ export default {
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
{
tableOption
:
{
width
:
7
0
width
:
15
0
},
},
tableColumns
:
[
tableColumns
:
[
{
{
...
@@ -470,13 +486,13 @@ export default {
...
@@ -470,13 +486,13 @@ export default {
this
.
getTypelist
()
this
.
getTypelist
()
},
},
methods
:
{
methods
:
{
getTypelist
(){
getTypelist
()
{
this
.
$apis
.
addWorryFree
.
getTypelistApi
({}).
then
(
res
=>
{
this
.
$apis
.
addWorryFree
.
getTypelistApi
({}).
then
(
res
=>
{
if
(
!
res
?.
length
)
return
;
if
(
!
res
?.
length
)
return
let
target
=
this
.
addDialogFormData
.
find
(
item
=>
item
.
name
==
'packageCode'
)
let
target
=
this
.
addDialogFormData
.
find
(
item
=>
item
.
name
==
'packageCode'
)
target
.
optionList
=
res
target
.
optionList
=
res
let
serachTarget
=
this
.
detailFormData
.
find
(
item
=>
item
.
name
==
'packageCode'
)
let
serachTarget
=
this
.
detailFormData
.
find
(
item
=>
item
.
name
==
'packageCode'
)
serachTarget
.
optionList
=
[{
packageCode
:
''
,
packageName
:
'全部'
},
...
res
]
serachTarget
.
optionList
=
[{
packageCode
:
''
,
packageName
:
'全部'
},
...
res
]
this
.
applyTypelist
=
res
this
.
applyTypelist
=
res
})
})
},
},
...
@@ -551,7 +567,7 @@ export default {
...
@@ -551,7 +567,7 @@ export default {
// this.changePgCode(e.packageCode)
// this.changePgCode(e.packageCode)
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
e
))
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
e
))
this
.
detailDialog
=
true
this
.
detailDialog
=
true
obj
.
servicePeriod
=
obj
.
servicePeriod
+
''
obj
.
servicePeriod
=
obj
.
servicePeriod
+
''
this
.
detailDialogForm
=
obj
this
.
detailDialogForm
=
obj
if
(
obj
.
batchType
==
'1'
)
{
if
(
obj
.
batchType
==
'1'
)
{
this
.
detailDialogForm
.
batchType
=
'尊享版'
this
.
detailDialogForm
.
batchType
=
'尊享版'
...
@@ -559,6 +575,24 @@ export default {
...
@@ -559,6 +575,24 @@ export default {
this
.
detailDialogForm
.
batchType
=
'畅享版'
this
.
detailDialogForm
.
batchType
=
'畅享版'
}
}
},
},
// 清空无忧卡使用状态
clearStatus
(
row
)
{
this
.
$apis
.
worryDetailApi
.
clearWorryStatus
({
id
:
row
.
id
}).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
code
==
'0'
)
{
this
.
$message
({
message
:
'操作成功'
,
type
:
'success'
})
this
.
$refs
.
detailTable
.
refreshTable
()
}
else
{
this
.
$message
({
message
:
'操作失败'
,
type
:
'error'
})
}
})
},
// 详情table搜索回调方法
// 详情table搜索回调方法
detailFormat
()
{},
detailFormat
()
{},
// 关闭弹窗界面
// 关闭弹窗界面
...
...
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