HZH-PC\HZH před 4 roky
rodič
revize
1541384fd0

+ 21 - 7
package-lock.json

@@ -4983,12 +4983,14 @@
         "balanced-match": {
           "version": "1.0.0",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "brace-expansion": {
           "version": "1.1.11",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "balanced-match": "^1.0.0",
             "concat-map": "0.0.1"
@@ -5003,17 +5005,20 @@
         "code-point-at": {
           "version": "1.1.0",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "concat-map": {
           "version": "0.0.1",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "console-control-strings": {
           "version": "1.1.0",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "core-util-is": {
           "version": "1.0.2",
@@ -5130,7 +5135,8 @@
         "inherits": {
           "version": "2.0.3",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "ini": {
           "version": "1.3.5",
@@ -5142,6 +5148,7 @@
           "version": "1.0.0",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "number-is-nan": "^1.0.0"
           }
@@ -5156,6 +5163,7 @@
           "version": "3.0.4",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "brace-expansion": "^1.1.7"
           }
@@ -5163,12 +5171,14 @@
         "minimist": {
           "version": "0.0.8",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "minipass": {
           "version": "2.3.5",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "safe-buffer": "^5.1.2",
             "yallist": "^3.0.0"
@@ -5187,6 +5197,7 @@
           "version": "0.5.1",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "minimist": "0.0.8"
           }
@@ -5267,7 +5278,8 @@
         "number-is-nan": {
           "version": "1.0.1",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "object-assign": {
           "version": "4.1.1",
@@ -5279,6 +5291,7 @@
           "version": "1.4.0",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "wrappy": "1"
           }
@@ -5400,6 +5413,7 @@
           "version": "1.0.2",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "code-point-at": "^1.0.0",
             "is-fullwidth-code-point": "^1.0.0",

+ 11 - 11
src/main.js

@@ -19,22 +19,22 @@ const path = require('path');
 axios.interceptors.request.use((config) => {
   //请求之前重新拼装url
   if(!debug){
-    config.url = '/rest/diagnosis' + config.url;
+    config.url = '/rest/planning' + config.url;
   }
   return config;
 });
 
 // 添加响应拦截器
-// axios.interceptors.response.use(function(response) {
-//   // 对响应数据做些事
-//   return response;
-// }, function (error) {
-//   // 请求错误时做些事
-//   if (error.response.status == '401' || error.response.status == '403') { // 未登录重定向值登录页面
-//       router.replace({path: '/index'});
-//   }
-//   return Promise.reject(error);
-// });
+axios.interceptors.response.use(function(response) {
+  // 对响应数据做些事
+  return response;
+}, function (error) {
+  // 请求错误时做些事
+  if (error.response.status == '401' || error.response.status == '403') { // 未登录重定向值登录页面
+      router.replace({path: '/login'});
+  }
+  return Promise.reject(error);
+});
 
 router.onError((err) => {
     console.log(err);

+ 1 - 1
static/css/app.4a31600b.css → static/css/app.26091a7d.css

@@ -1 +1 @@
-*{outline:0;padding:0;margin:0}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}body,html{width:100%;height:100%;min-width:1200px;min-height:720px;font-size:14px;font-family:Helvetica Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,STHeiti,Microsoft YaHei}ol,ul{list-style:none;margin-top:0;margin-bottom:10px}:link img,:visited img,a img{border:0}caption,th{text-align:left}.ng-cloak,.ng-hide:not(.ng-hide-animate),.x-ng-cloak,[data-ng-cloak],[ng-cloak],[ng\:cloak],[x-ng-cloak]{display:none!important}ng\:form{display:block}.cursor-pointer{cursor:pointer}i{font-style:normal}h4{font-size:14px}button.btn:active,button.btn:focus,button.btn:focus:active{outline:none}label{display:inline-block;max-width:100%;font-weight:700}a{color:#337ab7;text-decoration:none}img{vertical-align:middle}#app[data-v-fd6d3dae]{width:100%;height:100%}
+*{outline:0;padding:0;margin:0}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}body,html{width:100%;height:100%;min-width:1200px;min-height:720px;font-size:14px;font-family:Helvetica Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,STHeiti,Microsoft YaHei}ol,ul{list-style:none;margin-top:0;margin-bottom:10px}:link img,:visited img,a img{border:0}caption,th{text-align:left}.ng-cloak,.ng-hide:not(.ng-hide-animate),.x-ng-cloak,[data-ng-cloak],[ng-cloak],[ng\:cloak],[x-ng-cloak]{display:none!important}ng\:form{display:block}.cursor-pointer{cursor:pointer}i{font-style:normal}h4{font-size:14px}button.btn:active,button.btn:focus,button.btn:focus:active{outline:none}label{display:inline-block;max-width:100%;font-weight:700}a{color:#337ab7;text-decoration:none}img{vertical-align:middle}#app[data-v-5f2f570d]{width:100%;height:100%}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/css/group-app.941369c8.css


+ 1 - 1
static/css/group-controlApp.07300f99.css → static/css/group-controlApp.4a0d85fa.css

@@ -1 +1 @@
-.notfound[data-v-5e73da99]{margin:0;height:100%;overflow:hidden;font-family:Libre Franklin,sans-serif;font-size:62.5%;background-image:-webkit-gradient(linear,left bottom,left top,from(#e8f4f8),to(#add8e6));background-image:linear-gradient(0deg,#e8f4f8,#add8e6)}.notfound .sun[data-v-5e73da99]{position:absolute;top:4em;left:4em;width:100px;height:100px;border-radius:50%;background-image:radial-gradient(circle at 50%,#fff 50%,#f5de19);-webkit-box-shadow:0 0 40px #f5de19,inset 0 0 100px #f5de19;box-shadow:0 0 40px #f5de19,inset 0 0 100px #f5de19;-webkit-animation:sun 5s linear infinite;animation:sun 5s linear infinite}.notfound form[data-v-5e73da99]{width:500px;height:450px;background:#fff;-webkit-box-shadow:0 5px 10px 1px #e0e0e0;box-shadow:0 5px 10px 1px #e0e0e0;border-radius:5px;position:relative;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-align:center;padding:50px 20px}.notfound form>div[data-v-5e73da99]:first-child{height:74px;background:url(../img/loginTitle.4e7ad108.png) no-repeat 50%;border-bottom:1px solid #e8e7ef;margin-bottom:15px}.notfound form>div[data-v-5e73da99]:nth-child(2),.notfound form>div[data-v-5e73da99]:nth-child(3),.notfound form>div[data-v-5e73da99]:nth-child(4){margin:35px 70px}.notfound form button[data-v-5e73da99]{width:100%;margin-top:20px}.notfound .error[data-v-5e73da99]{color:red}
+.notfound[data-v-ad9aeacc]{margin:0;height:100%;overflow:hidden;font-family:Libre Franklin,sans-serif;font-size:62.5%;background-image:-webkit-gradient(linear,left bottom,left top,from(#e8f4f8),to(#add8e6));background-image:linear-gradient(0deg,#e8f4f8,#add8e6)}.notfound .sun[data-v-ad9aeacc]{position:absolute;top:4em;left:4em;width:100px;height:100px;border-radius:50%;background-image:radial-gradient(circle at 50%,#fff 50%,#f5de19);-webkit-box-shadow:0 0 40px #f5de19,inset 0 0 100px #f5de19;box-shadow:0 0 40px #f5de19,inset 0 0 100px #f5de19;-webkit-animation:sun 5s linear infinite;animation:sun 5s linear infinite}.notfound form[data-v-ad9aeacc]{width:500px;height:450px;background:#fff;-webkit-box-shadow:0 5px 10px 1px #e0e0e0;box-shadow:0 5px 10px 1px #e0e0e0;border-radius:5px;position:relative;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-align:center;padding:50px 20px}.notfound form>div[data-v-ad9aeacc]:first-child{height:74px;background:url(../img/loginTitle.4e7ad108.png) no-repeat 50%;border-bottom:1px solid #e8e7ef;margin-bottom:15px}.notfound form>div[data-v-ad9aeacc]:nth-child(2),.notfound form>div[data-v-ad9aeacc]:nth-child(3),.notfound form>div[data-v-ad9aeacc]:nth-child(4){margin:35px 70px}.notfound form button[data-v-ad9aeacc]{width:100%;margin-top:20px}.notfound .error[data-v-ad9aeacc]{color:red}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/css/group-mainPage.ab5d575a.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/css/group-mainPage.b5ba0a98.css


+ 1 - 1
static/index.html

@@ -31,4 +31,4 @@
           if(window.confirm("您的浏览器版本过低,推荐使用IE10及以上浏览器或者chrome浏览器,点击确定下载chrome安装浏览器。若是360等浏览器,开启兼容模式")){
               window.open("/download/44.0.2403.89_chrome_installer.exe", "_blank");
           }
-      }</script><link href=/css/group-app.f21ef492.css rel=prefetch><link href=/css/group-controlApp.07300f99.css rel=prefetch><link href=/css/group-mainPage.b5ba0a98.css rel=prefetch><link href=/js/group-app.24a0147e.js rel=prefetch><link href=/js/group-controlApp.68a8ad45.js rel=prefetch><link href=/js/group-mainPage.6738d6ed.js rel=prefetch><link href=/css/app.4a31600b.css rel=preload as=style><link href=/css/chunk-vendors.635bc84a.css rel=preload as=style><link href=/js/app.c730d06d.js rel=preload as=script><link href=/js/chunk-vendors.7c048ce1.js rel=preload as=script><link href=/css/chunk-vendors.635bc84a.css rel=stylesheet><link href=/css/app.4a31600b.css rel=stylesheet></head><body><noscript><strong>We're sorry but my-project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.7c048ce1.js></script><script src=/js/app.c730d06d.js></script></body></html>
+      }</script><link href=/css/group-app.941369c8.css rel=prefetch><link href=/css/group-controlApp.4a0d85fa.css rel=prefetch><link href=/css/group-mainPage.ab5d575a.css rel=prefetch><link href=/js/group-app.9ea37f96.js rel=prefetch><link href=/js/group-controlApp.5c670233.js rel=prefetch><link href=/js/group-mainPage.0fb475e7.js rel=prefetch><link href=/css/app.26091a7d.css rel=preload as=style><link href=/css/chunk-vendors.635bc84a.css rel=preload as=style><link href=/js/app.df8b070e.js rel=preload as=script><link href=/js/chunk-vendors.d09a40a8.js rel=preload as=script><link href=/css/chunk-vendors.635bc84a.css rel=stylesheet><link href=/css/app.26091a7d.css rel=stylesheet></head><body><noscript><strong>We're sorry but my-project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d09a40a8.js></script><script src=/js/app.df8b070e.js></script></body></html>

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/app.c730d06d.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/app.df8b070e.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/chunk-vendors.7c048ce1.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/chunk-vendors.d09a40a8.js


+ 0 - 1
static/js/group-app.24a0147e.js

@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["group-app"],{2024:function(n,t,s){},"4e54":function(n,t,s){"use strict";var e=s("2024"),a=s.n(e);a.a},fb03:function(n,t,s){"use strict";s.r(t);var e=function(){var n=this,t=n.$createElement;n._self._c;return n._m(0)},a=[function(){var n=this,t=n.$createElement,s=n._self._c||t;return s("div",{staticClass:"notfound"},[s("div",{staticClass:"error"},[s("span",[n._v("Page not found")]),s("span",[n._v("404")]),s("span")]),s("div",{staticClass:"sun"})])}],r=(s("4e54"),s("2877")),c={},i=Object(r["a"])(c,e,a,!1,null,"6d0357e8",null);t["default"]=i.exports}}]);

+ 1 - 0
static/js/group-app.9ea37f96.js

@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["group-app"],{"541d":function(n,t,a){},aefc:function(n,t,a){"use strict";var s=a("541d"),e=a.n(s);e.a},fb03:function(n,t,a){"use strict";a.r(t);var s=function(){var n=this,t=n.$createElement;n._self._c;return n._m(0)},e=[function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"notfound"},[a("div",{staticClass:"error"},[a("span",[n._v("Page not found")]),a("span",[n._v("404")]),a("span")]),a("div",{staticClass:"sun"})])}],c=(a("aefc"),a("2877")),r={},i=Object(c["a"])(r,s,e,!1,null,"56d59a93",null);t["default"]=i.exports}}]);

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/group-controlApp.5c670233.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/group-controlApp.68a8ad45.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/group-mainPage.0fb475e7.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
static/js/group-mainPage.6738d6ed.js


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů