From d762fc609a101b1a82576a54f835834f4e9cd9b9 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 07 九月 2023 10:54:39 +0800
Subject: [PATCH] 	modified:   src/layout/components/Sidebar/SidebarItem.vue 	modified:   src/router/index.js 	modified:   src/views/CNAS/nonConformanceManage/index.vue 	modified:   src/views/CNAS/reviewAnnualPlan/index.vue 	modified:   src/views/CNAS/satisfactionSurveys/index.vue 	modified:   src/views/basicData/index.vue 	modified:   src/views/experiment/inspectionApplication/index.vue 	modified:   src/views/inspectionManagement/commissionInspection/index.vue 	modified:   src/views/inspectionManagement/reportForInspection/index.vue 	modified:   src/views/laboratory/organizational/index.vue 	modified:   src/views/login/index.vue

---
 src/views/login/index.vue |  240 ++++++++++++++++++++++++++++++------------------------------
 1 files changed, 120 insertions(+), 120 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 80d1a0c..3076e66 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -1,113 +1,113 @@
 <style scoped>
-  .enter {
-    width: 100vw;
-    height: 100vh;
-    display: flex;
-    background-image: url("../../assets/404_images/login-form-bg.png");
-    background-size: 100% 100%;
-  }
- 
-  .left {
-    width: calc(100% - 500px);
-    height: 100%;
-    overflow: hidden;
-  }
- 
-  .left img {
-    width: 100%;
-    min-height: 100%;
-  }
- 
-  .right {
-    width: 600px;
-    overflow-y: auto;
-    display: flex;
-    align-items: center;
-    justify-content: center;
-  }
- 
-  .title_big {
-    color: #004EA2;
-    font-size: 40px;
-    margin-bottom: 8px;
-  }
- 
-  .title_small {
-    color: #004EA2;
-    font-size: 24px;
-  }
- 
-  .elform {
-    margin-top: 50px;
-  }
- 
-  .sao {
-    font-size: 14px;
-    color: #004EA2;
-    width: 100%;
-    text-align: right;
-  }
+.enter {
+  width: 100vw;
+  height: 100vh;
+  display: flex;
+  background-image: url("../../assets/404_images/login-form-bg.png");
+  background-size: 100% 100%;
+}
+
+.left {
+  width: calc(100% - 500px);
+  height: 100%;
+  overflow: hidden;
+}
+
+.left img {
+  width: 100%;
+  min-height: 100%;
+}
+
+.right {
+  width: 600px;
+  overflow-y: auto;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+
+.title_big {
+  color: #004EA2;
+  font-size: 40px;
+  margin-bottom: 8px;
+}
+
+.title_small {
+  color: #004EA2;
+  font-size: 24px;
+}
+
+.elform {
+  margin-top: 50px;
+}
+
+.sao {
+  font-size: 14px;
+  color: #004EA2;
+  width: 100%;
+  text-align: right;
+}
 </style>
- 
+
 <style>
-  .enter .el-form-item__label {
-    font-size: 20px;
-    color: #333;
-    line-height: 48px;
-  }
- 
-  .enter .el-form-item {
-    margin-bottom: 30px;
-  }
- 
-  .enter .el-input__inner {
-    height: 48px;
-  }
- 
-  .enter .el-button {
-    background-color: #1763EB;
-    color: #fff;
-    border: 0;
-    border-radius: 16px;
-    width: 100%;
-    height: 48px;
-  }
- 
-  .enter input::-webkit-input-placeholder,
-  .enter textarea::-webkit-input-placeholder {
-    font-size: 14px;
-  }
- 
-  .enter input::-moz-placeholder,
-  .enter textarea::-moz-placeholder {
-    font-size: 10px;
-  }
- 
-  .enter input:-ms-input-placeholder,
-  .enter textarea:-ms-input-placeholder {
-    font-size: 10px;
-  }
- 
-  .enter input:-moz-placeholder,
-  .enter textarea:-moz-placeholder {
-    font-size: 10px;
-  }
-  .copyright{
-    width: 100%;
-    position: relative;
-    top: 140px;
-  }
-  .copyright p{
-    padding: 2px 0px;
-    font-size: 5px;
-    text-align: center;
-    color: lightgray;
-  }
-  .copyright >p:nth-child(3){
-    text-decoration: underline;
-  }
+.enter .el-form-item__label {
+  font-size: 20px;
+  color: #333;
+  line-height: 48px;
+}
+
+.enter .el-form-item {
+  margin-bottom: 30px;
+}
+
+.enter .el-input__inner {
+  height: 48px;
+}
+
+.enter .el-button {
+  background-color: #1763EB;
+  color: #fff;
+  border: 0;
+  border-radius: 16px;
+  width: 100%;
+  height: 48px;
+}
+
+.enter input::-webkit-input-placeholder,
+.enter textarea::-webkit-input-placeholder {
+  font-size: 14px;
+}
+
+.enter input::-moz-placeholder,
+.enter textarea::-moz-placeholder {
+  font-size: 10px;
+}
+
+.enter input:-ms-input-placeholder,
+.enter textarea:-ms-input-placeholder {
+  font-size: 10px;
+}
+
+.enter input:-moz-placeholder,
+.enter textarea:-moz-placeholder {
+  font-size: 10px;
+}
+.copyright{
+  width: 100%;
+  position: relative;
+  top: 140px;
+}
+.copyright p{
+  padding: 2px 0px;
+  font-size: 5px;
+  text-align: center;
+  color: lightgray;
+}
+.copyright >p:nth-child(3){
+  text-decoration: underline;
+}
 </style>
- 
+
 <template>
   <div class="enter">
     <div class="left">
@@ -118,7 +118,7 @@
         <div class="title_big">娆㈣繋鎮ㄧ櫥褰曪紒</div>
         <div class="title_small">瑁呭鐢电紗LIMS瀹為獙瀹ょ鐞嗙郴缁�</div>
         <el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="elform" :hide-required-asterisk="true">
-          <el-form-item label="鐢ㄦ埛鍚�" prop="username">
+          <el-form-item label="璐﹀彿" prop="username">
             <el-input v-model="ruleForm.username" placeholder="璇疯緭鍏ヨ处鍙�" clearable></el-input>
           </el-form-item>
           <el-form-item label="瀵嗙爜" prop="password">
@@ -127,7 +127,7 @@
           <el-form-item style="margin-bottom: 8px;">
             <el-col :span="12"><el-checkbox v-model="ruleForm.remumberme">璁颁綇瀵嗙爜</el-checkbox></el-col>
             <el-col :span="12" style="text-align: right;"><el-checkbox
-                v-model="ruleForm.autoenter">鑷姩鐧诲綍</el-checkbox></el-col>
+              v-model="ruleForm.autoenter">鑷姩鐧诲綍</el-checkbox></el-col>
           </el-form-item>
           <el-form-item style="margin-bottom: 15px;">
             <el-button type="primary" @click="submitForm('ruleForm')" :loading="btnload">绔嬪嵆鐧诲綍</el-button>
@@ -135,23 +135,23 @@
         </el-form>
         <div class="sao">寰俊鎵爜鐧诲綍</div>
         <div class="copyright">
-          <p>姹熶笢閲戝叿璁惧鏈夐檺鍏徃</p>
-          <p>鐗堟潈鎵�鏈塁opyright 漏锔� 2012-2021 ZTT.All Rights Reserved.</p>
-          <p>[鑻廔CP澶�10047815鍙�-1]</p>
+          <!-- <p>鏈夐檺鍏徃</p>
+          <p>鐗堟潈鎵�鏈塁opyright 漏锔� </p>
+          <p>[鑻廔CP澶�10047815鍙�-1]</p> -->
         </div>
       </div>
     </div>
   </div>
 </template>
- 
+
 <script>
 import { get } from "@/api/util/requestUtil.js"
 export default {
   data() {
     return {
       ruleForm: {
-        username: "",
-        password: "",
+        username: "admin",
+        password: "admin",
         remumberme: false,
         autoenter: false
       },
@@ -201,11 +201,11 @@
           this.$store.dispatch('user/login', this.ruleForm).then(async (res) => {
             let name = "";
             await get(this.$url.info).then(res => {
-                  this.user = res.data;
-                  name = res.data.name;
-                  sessionStorage.setItem("user", JSON.stringify(res.data));
-                  sessionStorage.setItem("flushPage",0);
-              })
+              this.user = res.data;
+              name = res.data.name;
+              sessionStorage.setItem("user", JSON.stringify(res.data));
+              sessionStorage.setItem("flushPage",0);
+            })
             localStorage.setItem('rememberme', this.ruleForm.remumberme);
             localStorage.setItem('autoenter', this.ruleForm.autoenter);
             if (this.ruleForm.remumberme==true||this.ruleForm.autoenter==true) {
@@ -231,4 +231,4 @@
     },
   }
 }
-</script>
\ No newline at end of file
+</script>

--
Gitblit v1.9.3