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 081ede4b
authored
Feb 04, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商户管理-财务-admin信息
1 parent
f0074077
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
8 deletions
src/api/finance.js
src/api/merchant.js
src/api/order.js
src/views/systemConfig/merchantDetail.vue
src/api/finance.js
View file @
081ede4
import
request
from
'./request'
const
path
=
'dj.api.'
//
const path = 'dj.api.'
const
path2
=
'dj.api.smartcarlife.'
export
function
getSummary
(
data
)
{
...
...
@@ -21,4 +21,4 @@ export function getListTotal(data) {
export
function
exportFile
(
data
)
{
data
.
method
=
`
${
path2
}
goodsOrderProfitAllocation.export`
return
request
(
data
)
}
\ No newline at end of file
}
src/api/merchant.js
View file @
081ede4
import
request
from
'./request'
const
path
=
'dj.api.'
const
path2
=
'dj.api.smartcarlife.'
export
function
getList
(
data
)
{
...
...
@@ -16,4 +15,9 @@ export function updateRule(data) {
export
function
sendSms
(
data
)
{
data
.
method
=
`
${
path2
}
sms.sendMerchantCompantSmsCode`
return
request
(
data
)
}
\ No newline at end of file
}
export
function
getAdminInfo
(
data
)
{
data
.
method
=
`
${
path2
}
sms.merchantCompantSms.adminInfo`
return
request
(
data
,
'post'
)
}
src/api/order.js
View file @
081ede4
import
request
from
'./request'
const
path
=
'dj.api.'
//
const path = 'dj.api.'
const
path2
=
'dj.api.smartcarlife.'
export
function
getList
(
data
)
{
...
...
@@ -16,4 +16,4 @@ export function exportFile(data) {
export
function
getOrderDetail
(
data
)
{
data
.
method
=
`
${
path2
}
advanceOrder.detail`
return
request
(
data
)
}
\ No newline at end of file
}
src/views/systemConfig/merchantDetail.vue
View file @
081ede4
...
...
@@ -169,7 +169,7 @@
</el-radio-group>
</el-form-item>
<el-form-item
label=
"管理员手机号验证"
>
梁卉卉 186 **** 6547
{{
adminInfo
.
name
}}
{{
adminInfo
.
phone
}}
</el-form-item>
<el-form-item
label=
"验证码"
...
...
@@ -204,7 +204,7 @@
<
script
>
import
{
mapActions
}
from
'vuex'
import
{
limitPrice
}
from
'@/common/constants'
import
{
updateRule
,
sendSms
}
from
'@api/merchant'
import
{
updateRule
,
sendSms
,
getAdminInfo
}
from
'@api/merchant'
export
default
{
name
:
'merchantDetail'
,
data
()
{
...
...
@@ -221,6 +221,10 @@ export default {
incentiveType
:
1
,
incentiveCost
:
''
},
adminInfo
:
{
name
:
''
,
phone
:
''
},
rules
:
{
autoFlag
:
[
{
required
:
true
,
message
:
'请选择是否开启自动打款结算'
,
trigger
:
'change'
}
...
...
@@ -287,6 +291,9 @@ export default {
computed
:
{},
mounted
()
{
getAdminInfo
({}).
then
(
res
=>
{
this
.
adminInfo
=
res
})
this
.
merchantId
=
this
.
$route
.
params
.
merchantId
this
.
channelType
=
this
.
$route
.
params
.
channelType
this
.
contactName
=
this
.
$route
.
params
.
contactName
...
...
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