Prechádzať zdrojové kódy

开发linux设备初始化版本上传的界面

vothin 2 rokov pred
rodič
commit
a4ff857b48

+ 6 - 5
languages/en.js

@@ -992,8 +992,8 @@ module.exports = {
     hisManage: 'His query',
     interactionChars: 'Interaction statistics',
     partSetting: 'Organization settings',
-    functionRoleMapping:'Function Role Setting',
-    interactionChain:'Interaction Accept Order',
+    functionRoleMapping: 'Function Role Setting',
+    interactionChain: 'Interaction Accept Order',
     allClerk: 'All employees',
     allCustomer: 'All users',
     allDevice: 'All devices',
@@ -1004,12 +1004,13 @@ module.exports = {
     organization: 'Organization',
     roleManage: 'Role management',
     debugging485: '485 debugging',
+    linuxVersion: 'Linux device version',
     deviceFrame: 'Device space',
     ledDevice: 'LED devices',
-    entraceguardUser:'Passage setting',
+    entraceguardUser: 'Passage setting',
     customBoardManage: 'Custom Board Screen',
-    customBoardDesigner:'Designer Board Screen',
-    staffManageFrames:'Staff Serve Structure'
+    customBoardDesigner: 'Designer Board Screen',
+    staffManageFrames: 'Staff Serve Structure'
   },
   deviceType: {
     NURSE_HOST: 'Nurse Host',

+ 6 - 5
languages/es.js

@@ -993,8 +993,8 @@ module.exports = {
     hisManage: 'Su consulta',
     interactionChars: 'Interacción Estadísticas',
     partSetting: 'Organización construir',
-    functionRoleMapping:'Configuración funciones',
-    interactionChain:'Aceptar órdenes de forma interactiva',
+    functionRoleMapping: 'Configuración funciones',
+    interactionChain: 'Aceptar órdenes de forma interactiva',
     allClerk: 'Todos los empleados',
     allCustomer: 'Todos los usuarios',
     allDevice: 'Todos los dispositivos',
@@ -1005,12 +1005,13 @@ module.exports = {
     organization: 'Organización',
     roleManage: 'Administración de roles',
     debugging485: '485 depurando',
+    linuxVersion: 'Versión del dispositivo Linux',
     deviceFrame: 'Espacio del dispositivo',
     ledDevice: 'Dispositivos LED',
-    entraceguardUser:'Configuración de paso',
+    entraceguardUser: 'Configuración de paso',
     customBoardManage: 'Pantalla de tablero personalizada',
-    customBoardDesigner:'Pantalla del tablero de diseño',
-    staffManageFrames:'Estructura del servicio al personal'
+    customBoardDesigner: 'Pantalla del tablero de diseño',
+    staffManageFrames: 'Estructura del servicio al personal'
   },
   deviceType: {
     NURSE_HOST: 'Enfermera anfitriona',

+ 3 - 2
languages/ru-RU.js

@@ -969,11 +969,12 @@ module.exports = {
     organization: 'Организация',
     roleManage: 'Управление ролями',
     debugging485: '485 отладка',
+    linuxVersion: 'Версия устройства Linux',
     deviceFrame: 'Пространство устройства',
     ledDevice: 'Светодиодные устройства',
-    entraceguardUser:'Параметры прохода',
+    entraceguardUser: 'Параметры прохода',
     customBoardManage: 'Настройка экрана панели',
-    customBoardDesigner:'Экран панели'
+    customBoardDesigner: 'Экран панели'
   },
   deviceType: {
     NURSE_HOST: 'Устройство медсестры',

+ 4 - 3
languages/zh-CN.js

@@ -1006,11 +1006,12 @@ module.exports = {
     roleManage: '角色管理',
     debugging485: '485调试',
     deviceFrame: '设备空间',
+    linuxVersion: 'Linux设备版本',
     ledDevice: 'LED点阵屏',
-    entraceguardUser:'用户通行设置',
+    entraceguardUser: '用户通行设置',
     customBoardManage: '自定义信息看板屏',
-    customBoardDesigner:'看板屏设计',
-    staffManageFrames:'空间管理设置'
+    customBoardDesigner: '看板屏设计',
+    staffManageFrames: '空间管理设置'
   },
   deviceType: {
     NURSE_HOST: '护士主机',

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 20044 - 0
package-lock.json


+ 13 - 1
src/router/index.js

@@ -828,12 +828,24 @@ export const adminRoutes = [
       {
         path: 'index',
         component: () => import('@/views/ncs-485/index'),
-        name: 'rolemanager',
+        name: '485Commissioning',
         meta: { title: i18n.t('tab.debugging485'), icon: 'authen', noCache: true }
       }
     ]
   },
   {
+    path: '/ncs-linux-version',
+    component: Layout,
+    children: [
+      {
+        path: 'index',
+        component: () => import('@/views/ncs-linux-version/linuxVersionSetting'),
+        name: 'linuxVersion',
+        meta: { title: i18n.t('tab.linuxVersion'), icon: 'nested', noCache: true }
+      }
+    ]
+  },
+  {
     path: '/device-frame',
     component: Layout,
     children: [

+ 41 - 0
src/views/ncs-linux-version/linuxVersionSetting.vue

@@ -0,0 +1,41 @@
+<template>
+  <div>
+    <el-tabs v-model="activeName" style="margin:15px;" type="border-card">
+      <el-tab-pane :label="this.$t('partInfo.linuxDoor')" name="linuxDoor">
+        <keep-alive>
+          <app-version-manager :part-id="part_id" :device-type="303" />
+        </keep-alive>
+      </el-tab-pane>
+      <el-tab-pane :label="this.$t('partInfo.linuxsickbed')" name="linuxsickbed">
+        <keep-alive>
+          <app-version-manager :part-id="part_id" :device-type="304" />
+        </keep-alive>
+      </el-tab-pane>
+      <el-tab-pane :label="this.$t('deviceType.EMERGENCY_GATEWAY')" name="emergencyGateway">
+        <keep-alive>
+          <app-version-manager :part-id="part_id" :device-type="131" />
+        </keep-alive>
+      </el-tab-pane>
+    </el-tabs>
+  </div>
+</template>
+
+<script>
+import PartInfoEdit from '@/views/ncs-orginazition/components/partInfoEdit'
+import PartUserManager from '@/views/ncs-orginazition/components/partUserManager'
+import AppVersionManager from '@/views/ncs-orginazition/components/AppVersionManager'
+export default {
+  name: 'LinuxVersionSetting',
+  components: { AppVersionManager, PartUserManager, PartInfoEdit },
+  data() {
+    return {
+      part_id: 0,
+      activeName: 'linuxDoor'
+    }
+  }
+}
+</script>
+
+<style scoped>
+
+</style>