Commit 081ede4b by cwq0219

商户管理-财务-admin信息

1 parent f0074077
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
}
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')
}
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
}
......@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!