JX.LI 2 年之前
父節點
當前提交
9eb5f4c740
共有 1 個文件被更改,包括 21 次插入4 次删除
  1. 21 4
      src/views/system/login.vue

+ 21 - 4
src/views/system/login.vue

@@ -17,11 +17,11 @@
     <!-- 二维码开始 -->
     <el-popover placement="top-start" trigger="click" :show="bindQRCode" popper-class="sj-pop">
       <div class="img-container">
-        <a class="img-list" onclick="window.open('https://pan.baidu.com/s/1MlWyhFw6pEYiaLvzsje-BA?pwd=3jps')">
+        <a class="img-list" :href="video_plugin_url" target="_blank">
           <img src="../../assets/images/login-b-1.png" alt="" />
           <span>视频插件</span>
         </a>
-        <a class="img-list" onclick="window.open('https://pan.baidu.com/s/1MlWyhFw6pEYiaLvzsje-BA?pwd=3jps')">
+        <a class="img-list" :href="meeting_plugin_url" target="_blank">
           <img src="../../assets/images/login-b-2.png" alt="" />
           <span>会议插件</span>
         </a>
@@ -32,7 +32,7 @@
             <span>手机APP</span>
           </div>
         </el-popover>
-        <a class="img-list" onclick="window.open('https://pan.baidu.com/s/1MlWyhFw6pEYiaLvzsje-BA?pwd=3jps')">
+        <a class="img-list" :href="help_url" target="_blank">
           <img src="../../assets/images/login-b-4.png" alt="" />
           <span>使用帮助</span>
         </a>
@@ -102,6 +102,9 @@
     getSecretKey
   } from "@/api/login";
   import {
+    getConfigKey
+  } from "@/api/system/config";
+  import {
     encryptedData
   } from "@/api/encrypt";
   import Cookies from "js-cookie";
@@ -132,7 +135,9 @@
         sliderOnOff: false,
         verified: true,
         popoverVisible: false,
-
+        video_plugin_url: "",
+        meeting_plugin_url: "",
+        help_url: "",
         QRCode: "",
         backgroudImg: "", //背景图片
         systemTitle: {
@@ -187,9 +192,21 @@
       this.fontConfig();
     },
     mounted() {
+      this.getConfigKey();
       this.getVersionInfo();
     },
     methods: {
+      getConfigKey(){
+        getConfigKey('video_plugin_url').then(response => {
+          this.video_plugin_url = response.msg
+        })
+        getConfigKey('meeting_plugin_url').then(response => {
+          this.meeting_plugin_url = response.msg
+        })
+        getConfigKey('help_url').then(response => {
+          this.help_url = response.msg
+        })
+      },
       getVersionInfo() {
         getVersionInfo().then(res => {
           this.QRCode = res.data.picUrl