From 1060f6964273452bc89be1c84e10b18fc4aef33e Mon Sep 17 00:00:00 2001 From: wulin Date: Wed, 26 Aug 2020 11:48:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A9=B3=E5=9B=9E=E6=97=B6=E6=9C=AA?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=A9=B3=E5=9B=9E=E7=9B=AE=E6=A0=87=E7=9A=84?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=8B=A6=E6=88=AA=EF=BC=8C=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=97=B6=E5=90=8E=E7=AB=AF=E8=BF=94=E5=9B=9E=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 19 ------------------- .../result/record/approval-add-or-update.vue | 6 +++++- .../modules/result/record/recorddetail.vue | 17 ++++++++++++----- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 269fd58..4ec9914 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -32,12 +32,6 @@ const configRoutes = [ component: _import('modules/result/record/recorddetail'), name: 'recorddetail', meta: {title: '业绩详情', isDynamic: true, isTab: true} - }, - { - path: '/result-record-lzresultrecordapp', - component: _import('modules/result/record/lzresultrecordapp'), - name: 'recorddetail', - meta: {title: '业绩审批', isDynamic: true, isTab: true, keepAlive: false} } ] @@ -114,19 +108,6 @@ function fnCurrentRouteType (route, globalRoutes = []) { return temp.length >= 1 ? fnCurrentRouteType(route, temp) : 'main' } -/** - * 判断是否为钉钉打开 - * @param {*} menuList - * @param {*} routes - */ -function isDingtalk () { - if (/(DingTalk)/i.test(navigator.userAgent)) { - return true - } else { - return false - } -} - /** * 添加动态(菜单)路由 * @param {*} menuList 菜单列表 diff --git a/src/views/modules/result/record/approval-add-or-update.vue b/src/views/modules/result/record/approval-add-or-update.vue index 00988e8..fb0e14d 100644 --- a/src/views/modules/result/record/approval-add-or-update.vue +++ b/src/views/modules/result/record/approval-add-or-update.vue @@ -4,7 +4,7 @@ :close-on-click-modal="false" :visible.sync="visible"> - + - - - + - +