Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 d53bb7a4
authored
Feb 20, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat v4.35.0 功能开发
1 parent
69b37f1e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
76 additions
and
45 deletions
src/views/orderManage/carDamage.vue
src/views/systemConfig/merchant/financialRules/components/verificationCodeDialog.vue
src/views/systemConfig/merchant/financialRules/index.vue
src/views/systemConfig/merchant/merchantStep/merchantCheck.vue
src/views/systemConfig/yqStoreConfig.vue
src/views/orderManage/carDamage.vue
View file @
d53bb7a
...
@@ -619,21 +619,27 @@ export default {
...
@@ -619,21 +619,27 @@ export default {
this
.
showFormData
=
this
.
showFormData
.
filter
(
this
.
showFormData
=
this
.
showFormData
.
filter
(
(
item
)
=>
!
itemName
.
includes
(
item
.
name
)
(
item
)
=>
!
itemName
.
includes
(
item
.
name
)
)
)
}
}
getParkStore
({
}
).
then
((
res
)
=>
{
if
(
this
.
userInfo
.
beSuper
||
this
.
specialAccout
)
{
res
.
forEach
((
item
)
=>
{
getParkStore
({
}
).
then
((
res
)
=>
{
item
.
merchantId
=
item
.
merchantNo
res
.
forEach
((
item
)
=>
{
item
.
merchantId
=
item
.
merchantNo
}
)
this
.
baseData
.
parkServiceList
=
res
this
.
getOptionsList
()
}
)
}
)
}
else
{
this
.
baseData
.
parkServiceList
=
res
this
.
showFormData
=
this
.
showFormData
.
filter
(
this
.
getOptionsList
()
(
item
)
=>
item
.
name
!==
"yqMerchantId"
}
)
)
// if (this.userInfo.beSuper || this.specialAccout)
{
this
.
getServiceStore
(
this
.
userInfo
.
detail
.
merchantId
)
// getParkStore(
{
}
).
then
((
res
)
=>
{
}
// res.forEach((item) =>
{
// item.merchantId = item.merchantNo
//
}
)
// this.baseData.parkServiceList = res
// this.getOptionsList()
//
}
)
//
}
else
{
// this.showFormData = this.showFormData.filter(
// (item) => item.name !== "yqMerchantId"
// )
// this.getServiceStore(this.userInfo.detail.merchantId)
//
}
const
$store
=
this
.
$store
.
getters
[
"d2admin/auth/curBtns"
]
const
$store
=
this
.
$store
.
getters
[
"d2admin/auth/curBtns"
]
const
btnId
=
"9040103"
// 待补录订单权限ID
const
btnId
=
"9040103"
// 待补录订单权限ID
const
signRefundBtnId
=
"9040105"
// 标记退款权限ID
const
signRefundBtnId
=
"9040105"
// 标记退款权限ID
...
...
src/views/systemConfig/merchant/financialRules/components/verificationCodeDialog.vue
View file @
d53bb7a
<!-- 安全验证码 -->
<!-- 安全验证码 -->
<
template
>
<
template
>
<!-- btn-ok-label="全部下载" -->
<!-- btn-ok-label="全部下载" -->
<d2-dialog
title=
"安全验证码"
<d2-dialog
title=
"安全验证码"
:is-visible=
"verificationCodeVisible"
class=
"verificationCode"
width=
"750px"
:is-visible=
"verificationCodeVisible"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
class=
"verificationCode"
width=
"750px"
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-suffix=
":"
label-width=
"180px"
>
@
closeDialog=
"handleClose"
<el-form-item
label=
"规则生效日期"
prop=
"effectStartDate"
required
>
@
confirmDialog=
"handleConfirm"
>
<!-- placeholder="请输入服务开始时间"
<p
class=
"title-tips"
>
注意: 成功提交后,首次设置规则立即生效,修改规则第二天生效!
</p>
prefix-icon="0" -->
<el-form
ref=
"form"
<el-date-picker
value-format=
"yyyy-MM-dd"
v-model=
"form.effectStartDate"
type=
"date"
:model=
"form"
:picker-options=
"expireTimeOPtion"
>
:rules=
"rules"
</el-date-picker>
label-suffix=
":"
<!--
<el-input
placeholder=
"请填写验证码"
label-width=
"180px"
>
v-model=
"form.smsCode"
:size=
"size"
style=
"width: 220px;"
/>
-->
</el-form-item>
<el-form-item
label=
"管理员手机号验证"
>
<el-form-item
label=
"管理员手机号验证"
>
{{
adminInfo
.
name
}}
{{
adminInfo
.
phone
}}
{{
adminInfo
.
name
}}
{{
adminInfo
.
phone
}}
<el-button
:size=
"size"
<el-button
:size=
"size"
@
click=
"handleSend"
:disabled=
"isSend"
>
@
click=
"handleSend"
:disabled=
"isSend"
>
{{
isSend
?
sendMsg
+
'秒后,重试'
:
'发送验证短信'
}}
{{
isSend
?
sendMsg
+
'秒后,重试'
:
'发送验证短信'
}}
</el-button>
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
label=
"验证码"
<el-form-item
label=
"验证码"
prop=
"smsCode"
>
prop=
"smsCode"
>
<el-input
placeholder=
"请填写验证码"
v-model=
"form.smsCode"
:size=
"size"
style=
"width: 220px;"
/>
<el-input
placeholder=
"请填写验证码"
v-model=
"form.smsCode"
:size=
"size"
style=
"width: 220px;"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"title-tips"
>
注意: 成功提交后,首次设置规则立即生效,修改规则第二天生效!
</p>
</d2-dialog>
</d2-dialog>
</
template
>
</
template
>
...
@@ -57,12 +55,19 @@ export default {
...
@@ -57,12 +55,19 @@ export default {
data
()
{
data
()
{
return
{
return
{
size
:
'small'
,
size
:
'small'
,
expireTimeOPtion
:
{
disabledDate
(
time
)
{
return
Date
.
now
()
>
time
.
getTime
()
// 如果没有后面的-8.64e6就是不可以选择今天的
}
},
form
:
{
form
:
{
merchantId
:
''
,
merchantId
:
''
,
bizType
:
'1'
bizType
:
'1'
,
effectStartDate
:
''
},
},
rules
:
{
rules
:
{
smsCode
:
[{
required
:
true
,
message
:
'请输入验证码'
,
trigger
:
'blur'
}]
smsCode
:
[{
required
:
true
,
message
:
'请输入验证码'
,
trigger
:
'blur'
}],
effectStartDate
:
[{
required
:
true
,
message
:
'请选择生效开始日期'
,
trigger
:
'blur'
}]
},
},
// 短信模块
// 短信模块
isSend
:
false
,
isSend
:
false
,
...
@@ -117,7 +122,7 @@ export default {
...
@@ -117,7 +122,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
// 清空倒计时
// 清空倒计时
this
.
sendMsg
=
1
this
.
sendMsg
=
1
this
.
$emit
(
'handleConfirm'
,
this
.
form
.
smsCode
)
this
.
$emit
(
'handleConfirm'
,
this
.
form
)
this
.
handleClose
()
this
.
handleClose
()
// this.$refs['step' + this.stepStat].handleConfirm()
// this.$refs['step' + this.stepStat].handleConfirm()
}
}
...
@@ -127,5 +132,4 @@ export default {
...
@@ -127,5 +132,4 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
></
style
>
</
style
>
src/views/systemConfig/merchant/financialRules/index.vue
View file @
d53bb7a
...
@@ -510,9 +510,12 @@ export default {
...
@@ -510,9 +510,12 @@ export default {
// console.log('this.rulesTestParams', this.rulesTestParams)
// console.log('this.rulesTestParams', this.rulesTestParams)
this
.
merchantTestVisible
=
true
this
.
merchantTestVisible
=
true
},
},
codeHandleConfirm
(
smsCode
)
{
codeHandleConfirm
(
{
smsCode
,
effectStartDate
}
)
{
this
.
submitParams
.
smsCode
=
smsCode
this
.
submitParams
.
smsCode
=
smsCode
this
.
submitParams
.
effectStartDate
=
effectStartDate
+
' 00:00:00'
// console.log(this.submitParams)
// return
// return
merchantSettleDistributeRule
({
json
:
JSON
.
stringify
(
this
.
submitParams
)
}).
then
((
result
)
=>
{
merchantSettleDistributeRule
({
json
:
JSON
.
stringify
(
this
.
submitParams
)
}).
then
((
result
)
=>
{
// 判断是否有没有进行过分账测试的账号
// 判断是否有没有进行过分账测试的账号
// autoFlag: 'N', // 自动分账标识(Y是,N否)
// autoFlag: 'N', // 自动分账标识(Y是,N否)
...
...
src/views/systemConfig/merchant/merchantStep/merchantCheck.vue
View file @
d53bb7a
...
@@ -109,6 +109,7 @@ export default {
...
@@ -109,6 +109,7 @@ export default {
sceneList
,
sceneList
,
verificationCodeVisible
:
false
,
verificationCodeVisible
:
false
,
smsCode
:
''
,
smsCode
:
''
,
effectStartDate
:
''
,
goodsTypeGroupRulesAll
:
[],
// 所有的要提交的formdata goodsTypeGroupRules
goodsTypeGroupRulesAll
:
[],
// 所有的要提交的formdata goodsTypeGroupRules
editableTabsValue
:
"1"
,
editableTabsValue
:
"1"
,
currentIndex
:
1
,
currentIndex
:
1
,
...
@@ -539,7 +540,8 @@ export default {
...
@@ -539,7 +540,8 @@ export default {
})
})
},
},
// 获取弹框中的验证码
// 获取弹框中的验证码
codeHandleConfirm
(
smsCode
)
{
codeHandleConfirm
({
smsCode
,
effectStartDate
})
{
this
.
effectStartDate
=
effectStartDate
+
' 00:00:00'
this
.
smsCode
=
smsCode
this
.
smsCode
=
smsCode
this
.
submitFormData
()
this
.
submitFormData
()
},
},
...
@@ -548,6 +550,7 @@ export default {
...
@@ -548,6 +550,7 @@ export default {
const
{
shopMerchantTotalFeeCalculateType
,
shopMerchantExpenseCategoryValue
,
partnerMerchantTotalFeeCalculateType
,
partnerMerchantExpenseCategoryValue
}
=
this
.
formObj
const
{
shopMerchantTotalFeeCalculateType
,
shopMerchantExpenseCategoryValue
,
partnerMerchantTotalFeeCalculateType
,
partnerMerchantExpenseCategoryValue
}
=
this
.
formObj
const
params
=
{
const
params
=
{
smsCode
:
this
.
smsCode
,
smsCode
:
this
.
smsCode
,
effectStartDate
:
this
.
effectStartDate
,
merchantId
:
this
.
merchantRow
.
merchantId
,
merchantId
:
this
.
merchantRow
.
merchantId
,
sceneType
:
this
.
merchantRow
.
scene
,
sceneType
:
this
.
merchantRow
.
scene
,
goodsTypeGroupRules
:
this
.
goodsTypeGroupRulesAll
,
goodsTypeGroupRules
:
this
.
goodsTypeGroupRulesAll
,
...
...
src/views/systemConfig/yqStoreConfig.vue
View file @
d53bb7a
...
@@ -28,6 +28,13 @@
...
@@ -28,6 +28,13 @@
}}
</el-radio>
}}
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"多业务客户档案数据互通:"
>
<el-radio-group
v-model=
"multiBusinessCustomerProfileDataExchangeMode"
>
<el-radio
v-for=
"(item, index) in multiBusinessCustomerProfileDataExchange"
:key=
"index"
:label=
"item.confId"
>
{{
item
.
confLabel
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"安装服务商:"
>
<el-form-item
label=
"安装服务商:"
>
<el-input
style=
"width:350px"
maxlength=
"50"
v-model
.
trim=
"installMerchantName"
></el-input>
<el-input
style=
"width:350px"
maxlength=
"50"
v-model
.
trim=
"installMerchantName"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -36,7 +43,8 @@
...
@@ -36,7 +43,8 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"设置为真实(主)服务商:"
>
<el-form-item
label=
"设置为真实(主)服务商:"
>
<el-select
style=
"width: 350px;"
v-model=
"partnerMerchantId"
>
<el-select
style=
"width: 350px;"
v-model=
"partnerMerchantId"
>
<el-option
v-for=
"(subItem, subIndex) in serviceList"
:key=
"subIndex"
:label=
"subItem.partnerMerchantName"
:value=
"subItem.partnerMerchantId"
></el-option>
<el-option
v-for=
"(subItem, subIndex) in serviceList"
:key=
"subIndex"
:label=
"subItem.partnerMerchantName"
:value=
"subItem.partnerMerchantId"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -65,20 +73,25 @@ export default {
...
@@ -65,20 +73,25 @@ export default {
{
id
:
3
,
name
:
'POS机收款'
,
disabled
:
false
},
{
id
:
3
,
name
:
'POS机收款'
,
disabled
:
false
},
{
id
:
0
,
name
:
'不升级'
,
disabled
:
true
},
{
id
:
0
,
name
:
'不升级'
,
disabled
:
true
},
{
id
:
1
,
name
:
'微信支付'
,
disabled
:
false
}
{
id
:
1
,
name
:
'微信支付'
,
disabled
:
false
}
// { id: 4, name: '支付宝支付', disabled: false }
],
],
loginTypeList
:
[
loginTypeList
:
[
{
id
:
0
,
name
:
'微信'
,
disabled
:
false
},
{
id
:
0
,
name
:
'微信'
,
disabled
:
false
},
{
id
:
1
,
name
:
'企业微信'
,
disabled
:
false
}
{
id
:
1
,
name
:
'企业微信'
,
disabled
:
false
}
],
],
// 多业务客户档案数据互通
multiBusinessCustomerProfileDataExchange
:
[
{
confId
:
0
,
confLabel
:
"禁用"
},
{
confId
:
1
,
confLabel
:
"启用"
}
],
checkList
:
[
0
],
checkList
:
[
0
],
manageTypeList
:
manageTypeList
,
manageTypeList
:
manageTypeList
,
businessModel
:
''
,
businessModel
:
''
,
multiBusinessCustomerProfileDataExchangeMode
:
0
,
installMerchantName
:
''
,
installMerchantName
:
''
,
loginControlList
:
[],
loginControlList
:
[],
marketingMerchantName
:
''
,
marketingMerchantName
:
''
,
serviceList
:
[],
// 服务商数据
serviceList
:
[],
// 服务商数据
partnerMerchantId
:
''
,
// 主服务商
partnerMerchantId
:
''
// 主服务商
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -95,6 +108,7 @@ export default {
...
@@ -95,6 +108,7 @@ export default {
GETYQMERCHANTCONFIGDETAIL
(
oParams
).
then
((
res
)
=>
{
GETYQMERCHANTCONFIGDETAIL
(
oParams
).
then
((
res
)
=>
{
this
.
checkList
=
res
.
supportPayTypes
||
[]
this
.
checkList
=
res
.
supportPayTypes
||
[]
this
.
businessModel
=
res
.
businessModel
this
.
businessModel
=
res
.
businessModel
this
.
businessModel
=
res
.
multiBusinessCustomerProfileDataExchangeMode
this
.
installMerchantName
=
res
.
installMerchantName
||
''
this
.
installMerchantName
=
res
.
installMerchantName
||
''
this
.
marketingMerchantName
=
res
.
marketingMerchantName
||
''
this
.
marketingMerchantName
=
res
.
marketingMerchantName
||
''
this
.
loginControlList
=
res
.
loginControlList
||
[
0
,
1
]
this
.
loginControlList
=
res
.
loginControlList
||
[
0
,
1
]
...
@@ -186,6 +200,7 @@ export default {
...
@@ -186,6 +200,7 @@ export default {
oParams
.
yqMerchantId
=
this
.
$route
.
query
.
yqMerchantId
oParams
.
yqMerchantId
=
this
.
$route
.
query
.
yqMerchantId
oParams
.
supportPayTypes
=
this
.
checkList
oParams
.
supportPayTypes
=
this
.
checkList
oParams
.
businessModel
=
this
.
businessModel
oParams
.
businessModel
=
this
.
businessModel
oParams
.
multiBusinessCustomerProfileDataExchangeMode
=
this
.
multiBusinessCustomerProfileDataExchangeMode
oParams
.
loginControlList
=
this
.
loginControlList
oParams
.
loginControlList
=
this
.
loginControlList
UPDATEYQMERCHANTCONFIG
(
oParams
).
then
((
res
)
=>
{
UPDATEYQMERCHANTCONFIG
(
oParams
).
then
((
res
)
=>
{
...
...
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