Commit 95ba9bde by wusiyi

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

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