Commit 95ba9bde by wusiyi

feat: 新增收款账户管理页面

parent 4969e6d2
......@@ -38,7 +38,10 @@ import {
CheckboxGroup,
Divider,
Popover,
Upload
Upload,
Descriptions,
DescriptionsItem,
InputNumber
} from 'element-ui'
const components = [
......@@ -76,7 +79,10 @@ const components = [
ColorPicker,
CheckboxGroup,
Popover,
Upload
Upload,
Descriptions,
DescriptionsItem,
InputNumber
]
export default {
......@@ -88,13 +94,13 @@ export default {
Vue.prototype.$message = (message) =>
typeof message === 'string'
? Message({
duration: 2500,
message,
})
duration: 2500,
message
})
: Message({
duration: 2500,
...message,
})
duration: 2500,
...message
})
Vue.prototype.$message.success = (message) =>
typeof message === 'string'
? Message.success({ duration: 2500, message })
......@@ -115,5 +121,5 @@ export default {
Vue.prototype.$alert = MessageBox.alert
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$prompt = MessageBox.prompt
},
}
}
......@@ -116,6 +116,12 @@ const routes = [
meta: { title: '充值记录' }
},
{
path: '/saas/user/base_proceeds_account',
component: () => import('@/views/user/baseProceedsAccount.vue'),
name: 'base_proceeds_account',
meta: { title: '收款账户管理' }
},
{
path: '/saas/logistics/transporters',
component: () => import('@/views/system/transporters.vue'),
name: 'system_transporters',
......
......@@ -377,6 +377,14 @@ export default {
children: []
},
{
id: 3,
path: '',
label: '收款账户管理',
icon: 'el-icon-s-finance',
index: '/saas/user/base_proceeds_account',
children: []
},
{
id: 2,
path: '',
label: '充值记录',
......
......@@ -486,7 +486,8 @@ export default {
const res = await axios.post(url, {
...filteredForm,
checkType: this.currentMethod,
unbindType: this.currentTarget
unbindType: this.currentTarget,
operateType: this.dialogTitle
})
if (res.code !== 200) throw new Error('操作失败')
this.$message.success(message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment