Commit 15f9f9cb authored by caimeng's avatar caimeng

6月17日修改bug1

parent 1097b84d
......@@ -4,6 +4,6 @@
const config = {
layout: 'vertical',
templateFolder: 'project',
authentication: 'intelligence', // all , intelligence
//authentication: 'intelligence', // all , intelligence
}
module.exports = config
......@@ -16,7 +16,7 @@ const setting = {
baseURL:process.env.NODE_ENV === 'development' ? 'api' : '',
//baseURL:process.env.NODE_ENV === 'development' ? 'mock-server' : '',
//标题 (包括初次加载雪花屏的标题 页面的标题 浏览器的标题)
title: '丽人贷管理后台',
title: '百灵美选管理后台',
//标题分隔符
titleSeparator: ' - ',
//标题是否反转 如果为false:"page - title",如果为ture:"title - page"
......
......@@ -25,63 +25,54 @@ const actions = {
let routes = asyncRoutes;
console.log(mode,'路由模式');
if (mode === "all") {
let data = [
{
path: '/',
component: 'Layout',
redirect: '/index',
name: 'Home',
meta: {
title: '首页',
remixIcon: 'home-4-line',
affix: true,
},
children: [
{
path: 'index',
name: 'Index',
component: '@/views/index',
meta: {
title: '首页',
remixIcon: 'home-4-line',
affix: true,
}
},
{
path: 'dash',
name: 'Dash',
meta: {
title: '统计首页',
remixIcon: 'shopping-cart-line',
},
component: '@/views/statistics/index'
}
],
},
{
path: '/user',
name: 'User',
component: 'Layout',
redirect: '/user/list',
meta: {
title: '用户管理',
remixIcon: 'apps-line',
roles: ['admin'],
},
children: [
{
path: 'list',
name: '用户列表',
component: '@/views/user/list',
meta: {
title: '用户列表',
remixIcon: 'shopping-cart-line',
}
}
]
}
];
//let { data } = await API.menu();
//let data = [
// {
// path: '/',
// component: 'Layout',
// name: 'Home',
// meta: {
// title: '首页',
// remixIcon: 'home-4-line',
// },
// children: [
// {
// path: 'index',
// name: 'Index',
// component: '@/views/index',
// meta: {
// title: '首页',
// affix: true
// }
// }
// ],
// },
// {
// path: '/user',
// name: 'User',
// component: 'Layout',
// redirect: '/user/list',
// alwaysShow: true,
// meta: {
// title: '用户管理',
// remixIcon: 'apps-line',
// },
// children: [
// {
// path: 'list',
// name: '用户列表',
// component: '@/views/user/list',
// meta: {
// title: '用户列表'
// }
// }
// ]
// }
//];
let { result } = await API.userInfo();
const data = result.menuList;
//console.log(data,'wori')
if (data[data.length - 1].path !== "*"){
data.push({ path: "*", redirect: "/404", hidden: true });
}
......
......@@ -25,8 +25,7 @@
</el-descriptions-item>
<el-descriptions-item label-class-name='labelCls' label='商户区域'>{{ detail.preBasisInfoResponse.regionName }}
</el-descriptions-item>
<el-descriptions-item label-class-name='labelCls' label='首次授信'>
</el-descriptions-item>
<!--<el-descriptions-item label-class-name='labelCls' label='首次授信'></el-descriptions-item>-->
</el-descriptions>
......
......@@ -23,7 +23,7 @@
<template v-if='searchData!==null && payChannelApiResponses.length'>
<el-form-item prop='payChannelApi' label='放款渠道'>
<el-select v-model='form.payChannelApi' clearable placeholder='请选择放款渠道'>
<el-select style='width: 100%;' v-model='form.payChannelApi' clearable placeholder='请选择放款渠道'>
<el-option
v-for='(item,index) in payChannelApiResponses'
:label='item.payChannelApiStr'
......@@ -56,7 +56,7 @@
require: true
},
title: {
type: Boolean,
type: String,
require: true
},
item: {
......@@ -94,7 +94,7 @@
},
created() {
if (this.item !== null) {
const { realName, loanAmount, type, currentAction, orderNo, stepsNo } = this.item
const { realName,loanSign, loanAmount, type, currentAction, orderNo, stepsNo } = this.item
this.type = type
this.form.clientName = realName
this.form.loanAmount = loanAmount
......
......@@ -306,6 +306,7 @@
this.DialogVisible = true
this.DialogTitle = type === 'confirm' ? '确认放款' : '取消放款'
console.log(row,type);
},
handleCurrentChange(val) {
......
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