[plg137200.] 1 năm trước cách đây
mục cha
commit
4b216d5b10
3 tập tin đã thay đổi với 12 bổ sung8 xóa
  1. 1 0
      containers.txt
  2. 4 4
      src/main/index.js
  3. 7 4
      src/renderer/components/LoginPage.vue

+ 1 - 0
containers.txt

@@ -0,0 +1 @@
+ced6ef75a07a

+ 4 - 4
src/main/index.js

@@ -55,11 +55,11 @@ let loadingWindow
 //设置访问路径
 //打包访问的路径
 
-// let serveUrl = "./resources/exe"
-// let serveUrlJar = '\\resources\\exe'
+let serveUrl = "./resources/exe"
+let serveUrlJar = '\\resources\\exe'
 //本地访问的路径
-let serveUrl = "./exe"
-let serveUrlJar = '\\exe'
+// let serveUrl = "./exe"
+// let serveUrlJar = '\\exe'
 /**
  * Set `__static` path to static files in production
  * https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-static-assets.html

+ 7 - 4
src/renderer/components/LoginPage.vue

@@ -738,9 +738,11 @@ IF NOT EXISTS t_user_table (
                 "isMarried",
                 res.data.data.marriageSituation
               );
-              that.$router.push({
-                path: "/mainTable",
-              });
+              // that.$router.push({
+              //   path: "/mainTable",
+              // });
+
+              that.goPage('/menu/intervene', 'rzgy')
             }
             //当type等于2时跳转到我的测试页面
 
@@ -750,7 +752,8 @@ IF NOT EXISTS t_user_table (
               sessionStorage.setItem("num", that.account);
               sessionStorage.setItem("pass", that.$md5(that.password));
               sessionStorage.setItem("userType", "2");
-              that.$router.push({ path: "/mainTable" });
+              // that.$router.push({ path: "/mainTable" });
+                that.goPage('/menu/manageUser', 'yhgl')
             }
           } else {
             this.$message.error("访问服务器失败!");