From 4a96bb3c33a5cd1e99ba380f512228564cb04b4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com>
Date: Wed, 15 Jun 2022 00:47:20 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6=E5=B1=95?=
=?UTF-8?q?=E7=A4=BA=E9=A1=B5=E9=9D=A2=E7=9A=84=E9=A1=B5=E9=9D=A2=E9=93=BE?=
=?UTF-8?q?=E6=8E=A5=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jshERP-web/src/views/system/PluginList.vue | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/jshERP-web/src/views/system/PluginList.vue b/jshERP-web/src/views/system/PluginList.vue
index 1745dd8a2..c10dbeae6 100644
--- a/jshERP-web/src/views/system/PluginList.vue
+++ b/jshERP-web/src/views/system/PluginList.vue
@@ -62,7 +62,7 @@
- 链接跳转
+ {{linkUrl(record)}}
启用
@@ -146,10 +146,10 @@
}
}
},
- {title: '页面链接', dataIndex: '', width: 250,
+ {title: '页面链接', dataIndex: '', width: 250, ellipsis:true,
scopedSlots: { customRender: 'linkInfo' }
},
- {title: '状态', dataIndex: 'pluginState', width: 80, align: "center",
+ {title: '状态', dataIndex: 'pluginState', width: 60, align: "center",
scopedSlots: { customRender: 'customRenderFlag' }
},
{
@@ -192,11 +192,13 @@
this.$refs.modalForm.title = "填写激活码";
this.$refs.modalForm.disableSubmit = false;
},
- linkTo(record) {
- let desc = record.pluginDescriptor.pluginDescription;
+ linkUrl(record) {
+ let desc = record.pluginDescriptor.pluginDescription
if(desc.indexOf("|")){
- let arr = desc.split("|");
- window.location.href = arr[1]
+ let arr = desc.split("|")
+ return arr[1]
+ } else {
+ return ''
}
},
uploadTemplate(record) {