Commit 15f9f9cb authored by caimeng's avatar caimeng

6月17日修改bug1

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