Commit 2e696f3b authored by caimeng's avatar caimeng

7月20日发布打包上线

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