Commit 2e696f3b authored by caimeng's avatar caimeng

7月20日发布打包上线

1. 审批打开新页面
2. 通讯录不用弹框,用页面打开
3. 添加是否首次授信字段
parent da215ce0
BASE_URL=''
VUE_APP_API_PATH=https://aphrodite.rockstect.net
VUE_APP_API_PATH=https://aphrodite-admin.rockstect.net
......@@ -2,6 +2,7 @@
//position: relative;
box-sizing: border-box;
padding: 20px;
overflow-x:auto;
}
.labelCls{
width: 140px !important;
......
......@@ -75,13 +75,25 @@
methods: {
handleContact() {
const { creditNo, creditType } = this.baseInfo
this.$router.push({
path: '/credit/contact',
let routeUrl = this.$router.resolve({
path: '/contact',
query: {
creditNo,
creditType
}
})
window.open(routeUrl.href, '_blank')
//this.$router.push({
// path: '/credit/contact',
// query: {
// creditNo,
// creditType
// }
//});
}
}
}
......
......@@ -36,15 +36,15 @@ export default {
data(){
return {
CS: {
'text-align': 'center', //文本居中
'min-width': '250px', //最小宽度
'word-break': 'break-all' //过长时自动换行
//'text-align': 'center', //文本居中
//'min-width': '250px', //最小宽度
//'word-break': 'break-all' //过长时自动换行
},
LS: {
'text-align': 'center',
'height': '40px',
'min-width': '110px',
'word-break': 'keep-all'
//'text-align': 'center',
//'height': '40px',
//'min-width': '110px',
//'word-break': 'keep-all'
},
datePickerOptions:{
shortcuts: [
......
......@@ -38,6 +38,18 @@ export const constantRoutes = [
component: () => import('@/views/callback'),
hidden: true
},
{
path: '/approvalDetail',
name: 'approvalDetail',
component: () => import('@/views/approval/detail'),
hidden: true
},
{
path: '/contact',
name: 'contact',
component: () => import('@/views/contact/contacts'),
hidden: true
},
{
path: '/403',
name: '403',
......@@ -164,6 +176,7 @@ export const asyncRoutes = [
}
]
},
{
path: '/approval',
name: 'approval',
......@@ -184,16 +197,6 @@ export const asyncRoutes = [
noKeepAlive: true,
title: '我的订单'
}
},
{
path: 'detail',
name: 'ApprovalDetail',
component: () => import('@/views/approval/detail'),
meta: {
noKeepAlive: true,
title: '审批订单详情'
},
hidden: true
}
]
},
......
......@@ -57,7 +57,13 @@
await this.init()
}
},
async mounted() {
await this.initSearchData()
},
methods: {
async initSearchData() {
await this.$store.dispatch('common/GetSearchData')
},
async init() {
const creditNo = this.creditNo
const result = await API.initApproveDetail({
......
......@@ -309,10 +309,12 @@
},
handleView(row) {
const { creditNo } = row
this.$router.push({
path: '/approval/detail',
let routeUrl = this.$router.resolve({
path: '/approvalDetail',
query: { creditNo }
})
window.open(routeUrl.href, '_blank')
},
handleCurrentChange(val) {
this.queryForm.current = val
......@@ -350,7 +352,7 @@
handleApproval(row) {
const { creditNo } = row
let routeUrl = this.$router.resolve({
path: '/approval/detail',
path: '/approvalDetail',
query: {
creditNo,
approval: 'approval'
......
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