Prechádzať zdrojové kódy

潞宁智能注氮系统更新

lxh 3 mesiacov pred
rodič
commit
7b7aa0ae88

+ 2 - 2
src/router/routes/index.ts

@@ -38,9 +38,9 @@ export const LoginRoute: AppRouteRecordRaw = {
   path: '/login',
   name: 'Login',
   //新版后台登录,如果想要使用旧版登录放开即可
-  // component: () => import('/@/views/sys/login/Login.vue'),
+  component: () => import('/@/views/sys/login/Login.vue'),
   //数据中心登录
-  component: () => import('/@/views/sys/login/LoginDataCenter.vue'),
+  //component: () => import('/@/views/sys/login/LoginDataCenter.vue'),
   // 内页登录
   // component: () => import('/@/views/sys/login/LoginNeiye.vue'),
   // component: () => import('/@/views/system/loginmini/MiniLogin.vue'),

+ 3 - 1
src/views/vent/monitorManager/compressor/index.vue

@@ -99,6 +99,8 @@
 
   // 切换检测数据
   async function getSelectRow(deviceID) {
+    console.log(deviceID,'deviceID---')
+    console.log(options.value,'options.value')
     const currentData = options.value.find((item: any) => {
       return item.id == deviceID;
     });
@@ -110,7 +112,7 @@
   // 获取模型类型
   function changeModalType(currentData) {
     optionType.value = currentData['strtype'];
-    if (currentData['strsystype'] === '1') {
+    if (currentData['strsystype'] == '1') {
       // 空压机
       // modalType.value = 'nitrogen';
       moduleTypeName.value='KYJ'