liyangzheng il y a 1 an
Parent
commit
847ae7f0ee

+ 2 - 2
src/pages/components/HeadMenu.vue

@@ -99,11 +99,11 @@ export default {
         }
         // 最小化窗口
         function miniSize() {
-            // windowEx.Min()
+            windowEx.Min()
         }
         // 关闭窗口
         function closeSize() {
-            // windowEx.Close()
+            windowEx.Close()
         }
         // 退出登录
         function logOut(){

+ 2 - 2
src/pages/login/LoginNow.vue

@@ -71,8 +71,8 @@ export default {
                     sessionStorage.setItem("loginStatus", isLogin.value)
                     sessionStorage.setItem("userInfo", JSON.stringify(res.data))
                     if (typeof (window.windowEx) != "undefined") {
-                        // windowEx.Size(0, 0) //全屏
-                        // windowEx.Position('center')
+                        windowEx.Size(0, 0) //全屏
+                        windowEx.Position('center')
                     }
                     router.push('/home/mission')
                     ElMessage({

+ 1 - 3
src/pages/system/SystemPage.vue

@@ -10,9 +10,6 @@
                     }">{{ item.name }}</span>
                 </template>
             </div>
-            <div style="text-align: center;">
-                <h2>一次性接线管理</h2>
-            </div>
             <!-- 设置盒子 -->
             <div class="setBox">
 
@@ -114,6 +111,7 @@ export default {
     display: flex;
     justify-content: space-evenly;
     align-items: center;
+    margin-top: 10px;
 }
 
 .traBox {

+ 22 - 4
src/pages/system/components/InsideModule.vue

@@ -1,6 +1,16 @@
 <template>
     <div>
-        <h1>这里是内置</h1>
+        <div class="bigBox">
+            <div style="text-align: center;">
+                <h2>间隔管理</h2>
+            </div>
+            <div class="setBox">
+                <el-button type="primary" plain><el-icon><Plus /></el-icon>添加间隔</el-button>
+            </div>
+            <div class="tableBox">
+
+            </div>
+        </div>
     </div>
 </template>
 
@@ -9,13 +19,21 @@ import { ref, onMounted, toRefs, watch } from 'vue';
 import { ElMessage } from 'element-plus';
 export default {
     setup () {
-        
+        let moduleList = ref([])
+        function searchModule(){
 
-        return {}
+        }
+        onMounted(()=>{
+            searchModule()
+        })
+        return {
+            moduleList,
+            searchModule,
+        }
     }
 }
 </script>
 
-<style lang="scss" scoped>
+<style scoped>
 
 </style>

+ 8 - 1
src/pages/system/components/LitLine.vue

@@ -1,6 +1,9 @@
 <template>
     <div>
         <div class="bigBox">
+            <div style="text-align: center;">
+                <h2>一次性接线管理</h2>
+            </div>
             <div>
                 <el-button type="primary" plain @click="createType">
                     <el-icon>
@@ -157,4 +160,8 @@ export default {
 }
 </script>
 
-<style lang="scss" scoped></style>
+<style scoped>
+.bigBox{
+    margin-top: 10px;
+}
+</style>

+ 1 - 0
src/utils/request.js

@@ -44,6 +44,7 @@ service.interceptors.request.use(
 
             signs = signs.replace(/\+/gi, '%20')
             signs = decodeURIComponent(signs)
+            signs = encodeURIComponent(signs)
             // signs = md5(signs)
             // }
             config.headers['Authorization'] = 'Bearer ' + userToken