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
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
178 additions
and
31 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 => {
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
{
getContractListApi
,
saveContractTemplateApi
,
getContractDetailApi
,
printContractApi
,
copyTemplateApi
copyTemplateApi
,
exportContractApi
}
\ No newline at end of file
src/api/modules/worryDetailApi.js
View file @
4750e93
...
...
@@ -33,9 +33,20 @@ const modWorryDetailList = params => {
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
{
getWorryDetailList
,
getdetailTotal
,
selWorryDetailList
,
modWorryDetailList
modWorryDetailList
,
clearWorryStatus
}
src/views/ContractManager/index.vue
View file @
4750e93
...
...
@@ -6,9 +6,9 @@
<div
class=
"table_wrapper"
>
<div
class=
"operate_wrap"
>
<span
class=
"table_title"
>
合同列表
</span>
<
!--
<
div
class=
"operate_btn"
>
<div
class=
"operate_btn"
>
<el-button
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</div>
-->
</div>
</div>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"serviceContent"
slot-scope=
"scope"
>
...
...
@@ -83,6 +83,7 @@
],
searchForm
:
{
merchantName
:
''
,
packageName
:
''
,
createdDate
:
''
,
updatedDate
:
''
},
...
...
@@ -95,6 +96,12 @@
isClear
:
true
,
},
{
label
:
'商品名称'
,
name
:
'packageName'
,
type
:
'input'
,
isClear
:
true
,
},
{
label
:
'创建时间'
,
name
:
'createdDate'
,
type
:
'datePicker'
,
...
...
@@ -109,7 +116,7 @@
labelWidth
:
95
,
isClear
:
true
,
pickerOptions
:
'beforeRangePickerOptions'
}
}
,
],
// 表格
getListApi
:
this
.
$apis
.
contractManager
.
getContractListApi
,
...
...
@@ -209,7 +216,7 @@
// 导出
handleExport
()
{
var
params
=
this
.
getParams
()
this
.
$apis
.
serviceConfig
.
exportEquity
Api
(
params
).
then
(
res
=>
{
this
.
$apis
.
contractManager
.
exportContract
Api
(
params
).
then
(
res
=>
{
// window.open(res)
let
tempaa
=
utils
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
...
...
@@ -230,6 +237,7 @@
handleReset
()
{
this
.
searchForm
=
{
serviceName
:
''
,
packageName
:
''
,
createdDate
:
''
,
updatedDate
:
''
}
...
...
src/views/beforeSale/editEquity.vue
View file @
4750e93
...
...
@@ -1403,6 +1403,22 @@ export default {
getPackageList
()
{
let
contractNo
=
this
.
routeInfo
.
contractNo
==
-
1
?
''
:
this
.
routeInfo
.
contractNo
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
)
})
},
...
...
src/views/claims/components/checkClaims/index.vue
View file @
4750e93
...
...
@@ -84,13 +84,23 @@
</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>
<explanation
:supplementList=
"repotData.supplementList2"
:operatorName=
"repotData.updatedBy"
:id=
"repotData.id"
></explanation>
</div>
<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>
</template>
...
...
@@ -346,7 +356,7 @@ export default {
}
arr
.
push
(
obj
)
})
console
.
log
(
arr
)
;
console
.
log
(
arr
)
this
.
$emit
(
'getWarningInfo'
,
arr
)
}
}
...
...
@@ -405,4 +415,9 @@ export default {
}
}
}
.ms_txt
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
}
</
style
>
src/views/claims/components/otherInfo.vue
View file @
4750e93
...
...
@@ -35,6 +35,10 @@ export default {
{
key
:
'merchantAddr'
,
label
:
'店面地址:'
},
{
key
:
'sapCode'
,
label
:
'门店代码:'
}
]
},
...
...
src/views/claims/components/watch/index.vue
View file @
4750e93
...
...
@@ -155,6 +155,16 @@
</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>
<!-- 案件补充说明 -->
...
...
@@ -386,6 +396,16 @@ export default {
.ma21
{
margin-top
:
21px
;
}
.ms_lab
{
width
:
154px
;
text-align
:
right
;
}
.w432
{
width
:
432px
!important
;
}
.ma20
{
margin-top
:
20px
;
}
.image_container
{
display
:
flex
;
flex-wrap
:
wrap
;
...
...
@@ -541,4 +561,9 @@ export default {
.text_wrap
{
white-space
:
pre-wrap
!important
;
}
.ms_txt
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
}
</
style
>
src/views/claims/ghIndex.vue
View file @
4750e93
...
...
@@ -392,6 +392,7 @@ export default {
status
:
''
,
commitDate
:
''
,
shopDate
:
''
,
merchantUpdatedDate
:
''
,
cityMerchantId
:
''
,
provinceMerchantId
:
''
,
merchantId
:
''
...
...
@@ -432,6 +433,13 @@ export default {
isClear
:
true
},
{
label
:
'门店更新时间'
,
name
:
'merchantUpdatedDate'
,
type
:
'datePicker'
,
pickerOptions
:
'beforeRangePickerOptions'
,
isClear
:
true
},
{
label
:
'大区'
,
name
:
'provinceMerchantId'
,
type
:
'select'
,
...
...
@@ -535,6 +543,14 @@ export default {
}
},
{
label
:
'门店更新时间'
,
prop
:
'merchantUpdatedDate'
,
width
:
180
,
formatter
:
cellValue
=>
{
return
cellValue
.
merchantUpdatedDate
?
cellValue
.
merchantUpdatedDate
:
'-'
}
},
{
label
:
'提交国任时间'
,
prop
:
'commitGuoRenDate'
,
width
:
180
,
...
...
@@ -850,6 +866,7 @@ export default {
status
:
''
,
commitDate
:
''
,
shopDate
:
''
,
merchantUpdatedDate
:
''
,
cityMerchantId
:
''
,
provinceMerchantId
:
''
,
merchantId
:
''
...
...
@@ -868,12 +885,17 @@ export default {
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'
}
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
)
{
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'
}
delete
params
.
commitDate
delete
params
.
shopDate
delete
params
.
merchantUpdatedDate
return
params
},
getTableData
()
{
...
...
src/views/claims/ghOrder.vue
View file @
4750e93
...
...
@@ -211,7 +211,9 @@ export default {
attachments2
:
res
.
attachments2
,
attachments3
:
res
.
attachments3
,
claimsAttachmentConfigs2
:
res
.
claimsAttachmentConfigs2
,
updatedBy
:
res
.
updatedBy
updatedBy
:
res
.
updatedBy
,
expressName
:
res
.
expressName
,
expressNo
:
res
.
expressNo
}
// 图片list
...
...
src/views/worryFree/index.vue
View file @
4750e93
...
...
@@ -47,7 +47,7 @@ const validatorActualPrice = (rule, value, callback) => {
}
export
default
{
name
:
''
,
components
:{
components
:
{
glsxCombiForm
},
data
()
{
...
...
@@ -55,20 +55,35 @@ export default {
applyTypelist
:
[],
date_format
,
buttonList
:
[
{
{
type
:
'el-button'
,
name
:
row
=>
{
return
'修改'
},
attrs
:
{
type
:
'text'
,
disabled
:
(
row
)
=>
{
disabled
:
row
=>
{
return
row
.
scope
.
status
}
},
listeners
:
{
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
:
{
...
...
@@ -105,18 +120,19 @@ export default {
name
:
'batchType'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[
{
confId
:
''
,
confName
:
'全部'
},
{
confId
:
'1'
,
confName
:
'尊享版'
},
{
confId
:
'2'
,
confName
:
'畅享版'
}
optionList
:
[
{
confId
:
''
,
confName
:
'全部'
},
{
confId
:
'1'
,
confName
:
'尊享版'
},
{
confId
:
'2'
,
confName
:
'畅享版'
}
],
optionId
:
'confId'
,
optionLabel
:
'confName'
...
...
@@ -199,7 +215,7 @@ export default {
actualPrice
:
''
,
servicePeriod
:
''
},
addDialogFormData
:
[
addDialogFormData
:
[
{
label
:
'版本'
,
name
:
'batchType'
,
...
...
@@ -390,7 +406,7 @@ export default {
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
listName
:
'list'
,
tableOption
:
{
width
:
7
0
width
:
15
0
},
tableColumns
:
[
{
...
...
@@ -429,7 +445,7 @@ export default {
prop
:
'packageCode'
,
formatter
:
cellValue
=>
{
let
targer
=
this
.
applyTypelist
.
find
(
item
=>
item
.
packageCode
==
cellValue
.
packageCode
)
return
targer
&&
targer
.
packageName
?
targer
.
packageName
:
'--'
return
targer
&&
targer
.
packageName
?
targer
.
packageName
:
'--'
},
width
:
220
},
...
...
@@ -470,13 +486,13 @@ export default {
this
.
getTypelist
()
},
methods
:
{
getTypelist
(){
getTypelist
()
{
this
.
$apis
.
addWorryFree
.
getTypelistApi
({}).
then
(
res
=>
{
if
(
!
res
?.
length
)
return
;
if
(
!
res
?.
length
)
return
let
target
=
this
.
addDialogFormData
.
find
(
item
=>
item
.
name
==
'packageCode'
)
target
.
optionList
=
res
let
serachTarget
=
this
.
detailFormData
.
find
(
item
=>
item
.
name
==
'packageCode'
)
serachTarget
.
optionList
=
[{
packageCode
:
''
,
packageName
:
'全部'
},
...
res
]
serachTarget
.
optionList
=
[{
packageCode
:
''
,
packageName
:
'全部'
},
...
res
]
this
.
applyTypelist
=
res
})
},
...
...
@@ -551,7 +567,7 @@ export default {
// this.changePgCode(e.packageCode)
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
e
))
this
.
detailDialog
=
true
obj
.
servicePeriod
=
obj
.
servicePeriod
+
''
obj
.
servicePeriod
=
obj
.
servicePeriod
+
''
this
.
detailDialogForm
=
obj
if
(
obj
.
batchType
==
'1'
)
{
this
.
detailDialogForm
.
batchType
=
'尊享版'
...
...
@@ -559,6 +575,24 @@ export default {
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搜索回调方法
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