vothin il y a 11 mois
Parent
commit
bbc7b736af

+ 1 - 1
languages/zh-CN.js

@@ -1,7 +1,7 @@
 // 中文语言包
 module.exports = {
   action: {
-    wdklCallingSystem: '呼叫系统配置中心',
+    wdklCallingSystem: '智慧呼叫对讲系统养老体征管理系统',
     home: '首页',
     add: '新增',
     edit: '编辑',

+ 3 - 3
public/domain.js

@@ -1,7 +1,7 @@
 const domain = {
-  serverUrl: 'http://8.129.220.143:8005',
-  DeviceUrl: 'http://8.129.220.143:8006',
-  mediaUrl: 'http://8.129.220.143:8004',
+  serverUrl: 'http://192.168.1.40:8005',
+  DeviceUrl: 'http://192.168.1.40:8006',
+  mediaUrl: 'http://192.168.1.40:8004',
   OnlineSystemUrl: 'http://api.base.wdklian.com',
   gateWayUrl:'http://8.129.220.143:8014',
   fileServer: 'http://8.129.220.143:8012',

BIN
src/assets/loginBg.jpg


BIN
src/assets/loginBg.jpg.bak


+ 1 - 1
src/layout/components/Navbar.vue

@@ -7,7 +7,7 @@
     <div class="right-menu">
       <template v-if="device!=='mobile'">
         <!--        <search id="header-search" class="right-menu-item" />-->
-        <div class="right-menu-item" style="color: #409EFF">{{ partInfo.full_name }} {{ partInfo.part_name }}</div>
+        <div class="right-menu-item" style="color: #FF9F9F">{{ partInfo.full_name }} {{ partInfo.part_name }}</div>
         <div class="right-menu-item" style="color: #ff4949;font-size: 14px">{{ licence }}</div>
         <error-log class="errLog-container right-menu-item hover-effect" />
 

+ 12 - 12
src/layout/components/Sidebar/Logo.vue

@@ -1,16 +1,16 @@
 <template>
-  <div class="sidebar-logo-container" :class="{'collapse':collapse}">
-    <transition name="sidebarLogoFade">
-      <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
-        <img v-if="logo" :src="logo" class="sidebar-logo">
-        <!--        <h1 v-else class="sidebar-title">{{ title }} </h1>-->
-      </router-link>
-      <router-link v-else key="expand" class="sidebar-logo-link" to="/">
-        <img v-if="logo" :src="logo" class="sidebar-logo">
-        <!--        <h1 class="sidebar-title">{{ title }} </h1>-->
-      </router-link>
-    </transition>
-  </div>
+<!--  <div class="sidebar-logo-container" :class="{'collapse':collapse}">-->
+<!--    <transition name="sidebarLogoFade">-->
+<!--      <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">-->
+<!--        <img v-if="logo" :src="logo" class="sidebar-logo">-->
+<!--        &lt;!&ndash;        <h1 v-else class="sidebar-title">{{ title }} </h1>&ndash;&gt;-->
+<!--      </router-link>-->
+<!--      <router-link v-else key="expand" class="sidebar-logo-link" to="/">-->
+<!--        <img v-if="logo" :src="logo" class="sidebar-logo">-->
+<!--        &lt;!&ndash;        <h1 class="sidebar-title">{{ title }} </h1>&ndash;&gt;-->
+<!--      </router-link>-->
+<!--    </transition>-->
+<!--  </div>-->
 </template>
 
 <script>

+ 2 - 2
src/layout/components/TagsView/index.vue

@@ -226,9 +226,9 @@ export default {
         margin-right: 15px;
       }
       &.active {
-        background-color: #42b983;
+        background-color: #FF9F9F;
         color: #fff;
-        border-color: #42b983;
+        border-color: #FF9F9F;
         &::before {
           content: '';
           background: #fff;

+ 3 - 1
src/main.js

@@ -4,7 +4,6 @@ import Cookies from 'js-cookie'
 
 import 'normalize.css/normalize.css' // a modern alternative to CSS resets
 
-
 import Element from 'element-ui'
 import './styles/element-variables.scss'
 import enLang from 'element-ui/lib/locale/lang/en'// 如果使用中文语言包请默认支持,无需额外引入,请删除该依赖
@@ -16,6 +15,7 @@ import '@/styles/quill.core.css'
 import '@/styles/quill.bubble.css'
 import '@/styles/quill.snow.css'
 import '@/styles/iconfont.css'
+import { updateThemeColor } from '@/color/colorChange'
 
 import App from './App'
 import store from './store'
@@ -91,6 +91,8 @@ Vue.use(BaiduMap, {
 
 Vue.config.productionTip = false
 
+// updateThemeColor('FF9F9F')
+
 new Vue({
   el: '#app',
   i18n, // 将VueI18n挂载到vue实例上

+ 325 - 323
src/router/index.js

@@ -88,12 +88,13 @@ export const partRoutes = [
       component: () => import('@/views/hospitalFrame/frameTreeView'),
       name: 'part-frame-tree',
       meta: { title: i18n.t('tab.frameManage'), icon: 'tree', noCache: true } // 空间位置
-    }, {
-      path: 'clerk_frame_manage',
-      component: () => import('@/views/ncs-clerk-frame-manage/index'),
-      name: 'clerk-frame-manage',
-      meta: { title: i18n.t('tab.staffManageFrames'), icon: 'frame_manage', noCache: true }
-    }
+    },
+    // {
+    //   path: 'clerk_frame_manage',
+    //   component: () => import('@/views/ncs-clerk-frame-manage/index'),
+    //   name: 'clerk-frame-manage',
+    //   meta: { title: i18n.t('tab.staffManageFrames'), icon: 'frame_manage', noCache: true }
+    // }
     ]
   },
   {
@@ -109,41 +110,41 @@ export const partRoutes = [
         name: 'device-list',
         meta: { title: i18n.t('tab.deviceManage'), icon: 'component', noCache: true } // 所有设备
       },
-      {
-        path: 'mobile',
-        component: () => import('@/views/ncs-device/nurse_watch'),
-        name: 'device-mobile',
-        hidden: !enableMobile,
-        meta: { title: i18n.t('tab.mobileDeviceManage'), icon: 'el-icon-watch', noCache: true } // 移动设备
-      },
-      {
-        path: 'user_watch',
-        component: () => import('@/views/ncs-device/user_watch'),
-        name: 'user-watch',
-        hidden: !enableCustomerDevice,
-        meta: { title: i18n.t('tab.userLocationManage'), icon: 'el-icon-watch-1', noCache: true } // 用户设备
-      },
-      {
-        path: 'sos',
-        component: () => import('@/views/ncs-sos-device-setting/sos_device_setting'),
-        name: 'sos-device',
-        hidden: !enableSosDevice,
-        meta: { title: i18n.t('tab.sosDeviceSettingManage'), icon: 'el-icon-s-help', noCache: true } // 报警设备
-      },
-      {
-        path: 'map',
-        component: () => import('@/views/customer/myMapHtml'),
-        name: 'device-map',
-        meta: { title: i18n.t('customerManage.footprint'), icon: 'area', noCache: true }, // 足迹
-        hidden: true
-      },
-      {
-        path: 'nbdevice_condition',
-        component: () => import('@/views/ncs-device/nbDeviceCondition'),
-        name: 'nbdevice-condition',
-        meta: { title: i18n.t('tab.nbiotDeviceStatus'), icon: 'iot', noCache: true },
-        hidden: !enableNBiot
-      },
+      // {
+      //   path: 'mobile',
+      //   component: () => import('@/views/ncs-device/nurse_watch'),
+      //   name: 'device-mobile',
+      //   hidden: !enableMobile,
+      //   meta: { title: i18n.t('tab.mobileDeviceManage'), icon: 'el-icon-watch', noCache: true } // 移动设备
+      // },
+      // {
+      //   path: 'user_watch',
+      //   component: () => import('@/views/ncs-device/user_watch'),
+      //   name: 'user-watch',
+      //   hidden: !enableCustomerDevice,
+      //   meta: { title: i18n.t('tab.userLocationManage'), icon: 'el-icon-watch-1', noCache: true } // 用户设备
+      // },
+      // {
+      //   path: 'sos',
+      //   component: () => import('@/views/ncs-sos-device-setting/sos_device_setting'),
+      //   name: 'sos-device',
+      //   hidden: !enableSosDevice,
+      //   meta: { title: i18n.t('tab.sosDeviceSettingManage'), icon: 'el-icon-s-help', noCache: true } // 报警设备
+      // },
+      // {
+      //   path: 'map',
+      //   component: () => import('@/views/customer/myMapHtml'),
+      //   name: 'device-map',
+      //   meta: { title: i18n.t('customerManage.footprint'), icon: 'area', noCache: true }, // 足迹
+      //   hidden: true
+      // },
+      // {
+      //   path: 'nbdevice_condition',
+      //   component: () => import('@/views/ncs-device/nbDeviceCondition'),
+      //   name: 'nbdevice-condition',
+      //   meta: { title: i18n.t('tab.nbiotDeviceStatus'), icon: 'iot', noCache: true },
+      //   hidden: !enableNBiot
+      // },
       {
         path: 'information_board',
         component: () => import('@/views/calling-board/index'),
@@ -165,73 +166,73 @@ export const partRoutes = [
         meta: { title: i18n.t('tab.customBoardDesigner'), icon: 'el-icon-data-board', noCache: true },
         hidden: true
       },
-      {
-        path: 'device_menu',
-        component: () => import('@/views/ncs-device-menu/index'),
-        name: 'device-menu',
-        meta: { title: i18n.t('tab.deviceMenuManager'), icon: 'el-icon-menu', noCache: true }
-      },
-      {
-        path: 'device_menu_detail/:id',
-        component: () => import('@/views/ncs-device-menu-detail/index'),
-        name: 'device-menu-detail',
-        meta: { title: i18n.t('tab.deviceMenuDetail'), icon: 'el-icon-tickets', noCache: true },
-        hidden: true
-      },
       // {
-      //   path: 'led',
-      //   component: () => import('@/views/ncs-led/ledDeviceManagement'),
-      //   name: 'led-manager',
-      //   meta: { title: i18n.t('tab.ledDeviceManager'), icon: 'led', noCache: true },
-      //   hidden: uiVersion === 2
+      //   path: 'device_menu',
+      //   component: () => import('@/views/ncs-device-menu/index'),
+      //   name: 'device-menu',
+      //   meta: { title: i18n.t('tab.deviceMenuManager'), icon: 'el-icon-menu', noCache: true }
       // },
-      {
-        path: 'led-control',
-        component: () => import('@/views/ncs-led/ledControl'),
-        name: 'led-control',
-        meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }, // LED点阵屏
-        hidden: true
-      }
-    ]
-  },
-  // 职员相关
-  {
-    path: '/clerk',
-    component: Layout,
-    redirect: '/clerk/list',
-    name: 'part-clerk',
-    meta: { title: i18n.t('tab.clerkManage'), icon: 'peoples', noCache: true },
-    children: [
-      {
-        path: 'list',
-        component: () => import('@/views/ncs-clerk/clerkManagement'),
-        name: 'clerk-list',
-        meta: { title: i18n.t('tab.clerkManage'), icon: 'el-icon-user-solid', noCache: true }
-      },
-      {
-        path: 'nfc_interaction_list',
-        component: () => import('@/views/nfc-interaction/index'),
-        name: 'nfc-interaction-list',
-        meta: { title: i18n.t('tab.clerkCalendar'), icon: 'el-icon-date', noCache: true }
-      }
+      // {
+      //   path: 'device_menu_detail/:id',
+      //   component: () => import('@/views/ncs-device-menu-detail/index'),
+      //   name: 'device-menu-detail',
+      //   meta: { title: i18n.t('tab.deviceMenuDetail'), icon: 'el-icon-tickets', noCache: true },
+      //   hidden: true
+      // },
+      // // {
+      // //   path: 'led',
+      // //   component: () => import('@/views/ncs-led/ledDeviceManagement'),
+      // //   name: 'led-manager',
+      // //   meta: { title: i18n.t('tab.ledDeviceManager'), icon: 'led', noCache: true },
+      // //   hidden: uiVersion === 2
+      // // },
+      // {
+      //   path: 'led-control',
+      //   component: () => import('@/views/ncs-led/ledControl'),
+      //   name: 'led-control',
+      //   meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }, // LED点阵屏
+      //   hidden: true
+      // }
     ]
   },
-  // 门禁
-  {
-    path: '/entrace_guard',
-    component: Layout,
-    name: 'entrace-guard',
-    redirect: '/entrace_guard/users',
-    hidden: !enableEntraceguard,
-    children: [
-      {
-        path: 'users',
-        component: () => import('@/views/entrace-guard/users'),
-        name: 'entrace-guard-list',
-        meta: { title: i18n.t('tab.entraceguardUser'), icon: 'pass_through', noCache: true },
-        hidden: !enableEntraceguard
-      }]
-  },
+  // // 职员相关
+  // {
+  //   path: '/clerk',
+  //   component: Layout,
+  //   redirect: '/clerk/list',
+  //   name: 'part-clerk',
+  //   meta: { title: i18n.t('tab.clerkManage'), icon: 'peoples', noCache: true },
+  //   children: [
+  //     {
+  //       path: 'list',
+  //       component: () => import('@/views/ncs-clerk/clerkManagement'),
+  //       name: 'clerk-list',
+  //       meta: { title: i18n.t('tab.clerkManage'), icon: 'el-icon-user-solid', noCache: true }
+  //     }
+      // {
+      //   path: 'nfc_interaction_list',
+      //   component: () => import('@/views/nfc-interaction/index'),
+      //   name: 'nfc-interaction-list',
+      //   meta: { title: i18n.t('tab.clerkCalendar'), icon: 'el-icon-date', noCache: true }
+      // }
+  //   ]
+  // },
+  // // 门禁
+  // {
+  //   path: '/entrace_guard',
+  //   component: Layout,
+  //   name: 'entrace-guard',
+  //   redirect: '/entrace_guard/users',
+  //   hidden: !enableEntraceguard,
+  //   children: [
+  //     {
+  //       path: 'users',
+  //       component: () => import('@/views/entrace-guard/users'),
+  //       name: 'entrace-guard-list',
+  //       meta: { title: i18n.t('tab.entraceguardUser'), icon: 'pass_through', noCache: true },
+  //       hidden: !enableEntraceguard
+  //     }]
+  // },
   // 客户信息
   {
     path: '/customer',
@@ -267,13 +268,13 @@ export const partRoutes = [
         name: 'advice',
         meta: { title: i18n.t('tab.customerAdvice'), icon: 'area', noCache: true },
         hidden: true
-      },
-      {
-        path: '/customer_affair',
-        component: () => import('@/views/ncs-customer-affair/index'),
-        name: 'customer-affair',
-        meta: { title: i18n.t('zy20240530.customerAffair'), icon: 'el-icon-notebook-2', noCache: true }
       }
+      // {
+      //   path: '/customer_affair',
+      //   component: () => import('@/views/ncs-customer-affair/index'),
+      //   name: 'customer-affair',
+      //   meta: { title: i18n.t('zy20240530.customerAffair'), icon: 'el-icon-notebook-2', noCache: true }
+      // }
     ]
   },
   // 便签
@@ -292,20 +293,20 @@ export const partRoutes = [
       }
     ]
   },
-  // 文档管理
-  {
-    path: '/file-manager',
-    component: Layout,
-    redirect: '/file-manager/index',
-    children: [
-      {
-        path: 'index',
-        component: () => import('@/views/ncs-file-manager/index'),
-        name: 'file-manager',
-        meta: { title: i18n.t('wu20240322.fileManager'), icon: 'el-icon-folder-opened', noCache: true }
-      }
-    ]
-  },
+  // // 文档管理
+  // {
+  //   path: '/file-manager',
+  //   component: Layout,
+  //   redirect: '/file-manager/index',
+  //   children: [
+  //     {
+  //       path: 'index',
+  //       component: () => import('@/views/ncs-file-manager/index'),
+  //       name: 'file-manager',
+  //       meta: { title: i18n.t('wu20240322.fileManager'), icon: 'el-icon-folder-opened', noCache: true }
+  //     }
+  //   ]
+  // },
   // 任务
   {
     path: '/task',
@@ -323,92 +324,93 @@ export const partRoutes = [
     ]
   },
   // 交互信息
-  {
-    path: '/interaction',
-    component: Layout,
-    redirect: '/interaction/history',
-    name: 'interaction',
-    meta: { title: i18n.t('tab.interaction'), icon: 'list', noCache: true },
-    children: [
-      {
-        path: 'history',
-        component: () => import('@/views/ncs-interaction/index'),
-        name: 'interaction-history',
-        meta: { title: i18n.t('tab.interactionHistory'), icon: 'list', noCache: true }
-      }, {
-        path: 'chars',
-        component: () => import('@/views/ncs-chars/index'),
-        name: 'interaction-chars',
-        meta: { title: i18n.t('tab.interactionChars'), icon: 'el-icon-pie-chart', noCache: true }
-      }
-    ]
-  },
-  // 消息中心
-  {
-    path: '/message-center',
-    component: Layout,
-    // redirect: '/interaction/history',
-    name: 'message-center',
-    meta: { title: i18n.t('mc.messageCenter'), icon: 'el-icon-message', noCache: true },
-    children: [
-      {
-        path: 'message-type',
-        component: () => import('@/views/message-center/message-type/index'),
-        name: 'message-type',
-        meta: { title: i18n.t('mc.messageType'), icon: 'messageType', noCache: true }
-      },
-      {
-        path: 'messages',
-        component: () => import('@/views/message-center/messages/index'),
-        name: 'messages',
-        meta: { title: i18n.t('mc.messages'), icon: 'messageList', noCache: true }
-      },
-      {
-        path: 'messages-edit/:id?',
-        component: () => import('@/views/message-center/messages/message-edit'),
-        name: 'message-edit',
-        meta: { title: i18n.t('mc.messagesModule.addMessage'), icon: 'messageList', noCache: true },
-        hidden: true
-      },
-      {
-        path: 'template-param',
-        component: () => import('@/views/message-center/template-paramer/index'),
-        name: 'template-param',
-        meta: { title: i18n.t('mc.templateParamer'), icon: 'templateParamer', noCache: true }
-      },
-      {
-        path: 'message-template',
-        component: () => import('@/views/message-center/message-template/index'),
-        name: 'message-template',
-        meta: { title: i18n.t('mc.messageTemplate'), icon: 'messageTemplate', noCache: true }
-      }
-    ]
-  },
-
-  // 广播
-  {
-    path: '/broadcast',
-    component: Layout,
-    name: 'broadcast',
-    redirect: '/broadcast/index',
-    hidden: !enableBroadcast || uiVersion !== 1,
-    children: [
-      {
-        path: 'index',
-        component: () => import('@/views/ncs-broadcast/index'),
-        name: 'broadcast-list',
-        meta: { title: i18n.t('tab.broadcastManage'), icon: 'el-icon-headset', noCache: true }, // 广播设置
-        hidden: !enableBroadcast || uiVersion !== 1
-      },
-      {
-        path: 'edit/:id?',
-        component: () => import('@/views/ncs-broadcast/broadcastEdit'),
-        name: 'broadcast-edit',
-        meta: { title: i18n.t('tab.broadcastEdit'), icon: 'area', noCache: true },
-        hidden: true
-      }
-    ]
-  },
+  // {
+  //   path: '/interaction',
+  //   component: Layout,
+  //   redirect: '/interaction/history',
+  //   name: 'interaction',
+  //   meta: { title: i18n.t('tab.interaction'), icon: 'list', noCache: true },
+  //   children: [
+  //     {
+  //       path: 'history',
+  //       component: () => import('@/views/ncs-interaction/index'),
+  //       name: 'interaction-history',
+  //       meta: { title: i18n.t('tab.interactionHistory'), icon: 'list', noCache: true }
+  //     },
+      // {
+      //   path: 'chars',
+      //   component: () => import('@/views/ncs-chars/index'),
+      //   name: 'interaction-chars',
+      //   meta: { title: i18n.t('tab.interactionChars'), icon: 'el-icon-pie-chart', noCache: true }
+      // }
+  //   ]
+  // },
+  // // 消息中心
+  // {
+  //   path: '/message-center',
+  //   component: Layout,
+  //   // redirect: '/interaction/history',
+  //   name: 'message-center',
+  //   meta: { title: i18n.t('mc.messageCenter'), icon: 'el-icon-message', noCache: true },
+  //   children: [
+  //     {
+  //       path: 'message-type',
+  //       component: () => import('@/views/message-center/message-type/index'),
+  //       name: 'message-type',
+  //       meta: { title: i18n.t('mc.messageType'), icon: 'messageType', noCache: true }
+  //     },
+  //     {
+  //       path: 'messages',
+  //       component: () => import('@/views/message-center/messages/index'),
+  //       name: 'messages',
+  //       meta: { title: i18n.t('mc.messages'), icon: 'messageList', noCache: true }
+  //     },
+  //     {
+  //       path: 'messages-edit/:id?',
+  //       component: () => import('@/views/message-center/messages/message-edit'),
+  //       name: 'message-edit',
+  //       meta: { title: i18n.t('mc.messagesModule.addMessage'), icon: 'messageList', noCache: true },
+  //       hidden: true
+  //     },
+  //     {
+  //       path: 'template-param',
+  //       component: () => import('@/views/message-center/template-paramer/index'),
+  //       name: 'template-param',
+  //       meta: { title: i18n.t('mc.templateParamer'), icon: 'templateParamer', noCache: true }
+  //     },
+  //     {
+  //       path: 'message-template',
+  //       component: () => import('@/views/message-center/message-template/index'),
+  //       name: 'message-template',
+  //       meta: { title: i18n.t('mc.messageTemplate'), icon: 'messageTemplate', noCache: true }
+  //     }
+  //   ]
+  // },
+  //
+  // // 广播
+  // {
+  //   path: '/broadcast',
+  //   component: Layout,
+  //   name: 'broadcast',
+  //   redirect: '/broadcast/index',
+  //   hidden: !enableBroadcast || uiVersion !== 1,
+  //   children: [
+  //     {
+  //       path: 'index',
+  //       component: () => import('@/views/ncs-broadcast/index'),
+  //       name: 'broadcast-list',
+  //       meta: { title: i18n.t('tab.broadcastManage'), icon: 'el-icon-headset', noCache: true }, // 广播设置
+  //       hidden: !enableBroadcast || uiVersion !== 1
+  //     },
+  //     {
+  //       path: 'edit/:id?',
+  //       component: () => import('@/views/ncs-broadcast/broadcastEdit'),
+  //       name: 'broadcast-edit',
+  //       meta: { title: i18n.t('tab.broadcastEdit'), icon: 'area', noCache: true },
+  //       hidden: true
+  //     }
+  //   ]
+  // },
   // {
   //   path: '/infoboard_designer',
   //   component: Layout,
@@ -423,119 +425,119 @@ export const partRoutes = [
   //   ],
   //   hidden: true
   // },
-  {
-    path: '/settings',
-    component: Layout,
-    redirect: '/settings/index',
-    name: 'settings',
-    meta: {
-      title: i18n.t('tab.settings'),
-      icon: 'el-icon-s-tools'
-    },
-    children: [
-      {
-        path: 'index',
-        component: () => import('@/views/calling-setting/index'),
-        name: 'part-settings',
-        meta: { title: i18n.t('tab.partSettings'), icon: 'el-icon-s-tools', noCache: true } // 机构设置
-      }, {
-        path: 'nurse_config',
-        component: () => import('@/views/ncs-nurse-config/index'),
-        name: 'nurse-config',
-        meta: { title: i18n.t('tab.nurseConfig'), icon: 'care1', noCache: true }, // 护理参数
-        hidden: uiVersion !== 1
-      },
-      {
-        path: 'channel',
-        component: () => import('@/views/hospitalFrame/index'),
-        name: 'channel',
-        redirect: '/settings/channel/index',
-        meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true },
-        children: [
-          {
-            path: 'index',
-            component: () => import('@/views/ncs-channel/index'),
-            name: 'channel-im',
-            meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true }
-          },
-          {
-            path: 'history/:id?',
-            component: () => import('@/views/ncs-channel/channelImHistory'),
-            name: 'channel-im-history',
-            meta: { title: i18n.t('tab.channelImHistory'), icon: 'area', noCache: true },
-            hidden: true
-          }
-        ]
-      }, {
-        path: 'event_list',
-        component: () => import('@/views/ncs-event/index'),
-        name: 'event-list',
-        meta: { title: i18n.t('tab.eventManage'), icon: 'el-icon-notebook-2', noCache: true }
-      }, {
-        path: 'components',
-        component: () => import('@/views/hospitalFrame/index'),
-        redirect: '/settings/components/function_mapping',
-        name: 'beds-side',
-        meta: {
-          title: i18n.t('tab.bedsideInteraction'),
-          icon: 'component'
-        },
-        children: [
-          {
-            path: 'function_mapping',
-            component: () => import('@/views/function-mapping/index'),
-            name: 'function-mapping',
-            meta: { title: i18n.t('tab.functionRoleMapping'), icon: 'function', noCache: true }
-          },
-          {
-            path: 'interaction_chain',
-            component: () => import('@/views/interaction-chain/index'),
-            name: 'interaction-chain',
-            meta: { title: i18n.t('tab.interactionChain'), icon: 'squence', noCache: true } // 交互接收顺序
-          },
-          {
-            path: 'countdonw',
-            component: () => import('@/views/ncs-countdown-config/index'),
-            name: 'countdown-config',
-            meta: { title: i18n.t('tab.countdownConfig'), icon: 'countdown', noCache: true }
-          },
-          {
-            path: 'screentip',
-            component: () => import('@/views/ncs-screentip/index'),
-            name: 'screen-tip',
-            meta: { title: i18n.t('tab.screentip'), icon: 'screen_tip', noCache: true }
-          }
-        ]
-      }, {
-        path: '/frame_group',
-        component: () => import('@/views/hospitalFrame/index'),
-        name: 'frame-group-manager',
-        redirect: '/frame_group/index',
-        children: [
-          {
-            path: 'index',
-            component: () => import('@/views/hospitalFrame/frameGroup'),
-            name: 'frame-group',
-            meta: { title: i18n.t('tab.frameGroupManage'), icon: 'area', noCache: true }
-          },
-          {
-            path: 'edit/:id?',
-            component: () => import('@/views/hospitalFrame/frameGroupEdit'),
-            name: 'frame-group-edit',
-            meta: { title: i18n.t('tab.frameGroupEdit'), icon: 'area', noCache: true },
-            hidden: true
-          },
-          {
-            path: 'watch_frame/:id?',
-            component: () => import('@/views/hospitalFrame/nurse_watch_frame'),
-            name: 'nurse-watch-frame',
-            meta: { title: i18n.t('tab.watchFrameManage'), icon: 'area', noCache: true },
-            hidden: true
-          }
-        ]
-      }
-    ]
-  },
+  // {
+  //   path: '/settings',
+  //   component: Layout,
+  //   redirect: '/settings/index',
+  //   name: 'settings',
+  //   meta: {
+  //     title: i18n.t('tab.settings'),
+  //     icon: 'el-icon-s-tools'
+  //   },
+  //   children: [
+  //     {
+  //       path: 'index',
+  //       component: () => import('@/views/calling-setting/index'),
+  //       name: 'part-settings',
+  //       meta: { title: i18n.t('tab.partSettings'), icon: 'el-icon-s-tools', noCache: true } // 机构设置
+  //     }, {
+  //       path: 'nurse_config',
+  //       component: () => import('@/views/ncs-nurse-config/index'),
+  //       name: 'nurse-config',
+  //       meta: { title: i18n.t('tab.nurseConfig'), icon: 'care1', noCache: true }, // 护理参数
+  //       hidden: uiVersion !== 1
+  //     },
+  //     {
+  //       path: 'channel',
+  //       component: () => import('@/views/hospitalFrame/index'),
+  //       name: 'channel',
+  //       redirect: '/settings/channel/index',
+  //       meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true },
+  //       children: [
+  //         {
+  //           path: 'index',
+  //           component: () => import('@/views/ncs-channel/index'),
+  //           name: 'channel-im',
+  //           meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true }
+  //         },
+  //         {
+  //           path: 'history/:id?',
+  //           component: () => import('@/views/ncs-channel/channelImHistory'),
+  //           name: 'channel-im-history',
+  //           meta: { title: i18n.t('tab.channelImHistory'), icon: 'area', noCache: true },
+  //           hidden: true
+  //         }
+  //       ]
+  //     }, {
+  //       path: 'event_list',
+  //       component: () => import('@/views/ncs-event/index'),
+  //       name: 'event-list',
+  //       meta: { title: i18n.t('tab.eventManage'), icon: 'el-icon-notebook-2', noCache: true }
+  //     }, {
+  //       path: 'components',
+  //       component: () => import('@/views/hospitalFrame/index'),
+  //       redirect: '/settings/components/function_mapping',
+  //       name: 'beds-side',
+  //       meta: {
+  //         title: i18n.t('tab.bedsideInteraction'),
+  //         icon: 'component'
+  //       },
+  //       children: [
+  //         {
+  //           path: 'function_mapping',
+  //           component: () => import('@/views/function-mapping/index'),
+  //           name: 'function-mapping',
+  //           meta: { title: i18n.t('tab.functionRoleMapping'), icon: 'function', noCache: true }
+  //         },
+  //         {
+  //           path: 'interaction_chain',
+  //           component: () => import('@/views/interaction-chain/index'),
+  //           name: 'interaction-chain',
+  //           meta: { title: i18n.t('tab.interactionChain'), icon: 'squence', noCache: true } // 交互接收顺序
+  //         },
+  //         {
+  //           path: 'countdonw',
+  //           component: () => import('@/views/ncs-countdown-config/index'),
+  //           name: 'countdown-config',
+  //           meta: { title: i18n.t('tab.countdownConfig'), icon: 'countdown', noCache: true }
+  //         },
+  //         {
+  //           path: 'screentip',
+  //           component: () => import('@/views/ncs-screentip/index'),
+  //           name: 'screen-tip',
+  //           meta: { title: i18n.t('tab.screentip'), icon: 'screen_tip', noCache: true }
+  //         }
+  //       ]
+  //     }, {
+  //       path: '/frame_group',
+  //       component: () => import('@/views/hospitalFrame/index'),
+  //       name: 'frame-group-manager',
+  //       redirect: '/frame_group/index',
+  //       children: [
+  //         {
+  //           path: 'index',
+  //           component: () => import('@/views/hospitalFrame/frameGroup'),
+  //           name: 'frame-group',
+  //           meta: { title: i18n.t('tab.frameGroupManage'), icon: 'area', noCache: true }
+  //         },
+  //         {
+  //           path: 'edit/:id?',
+  //           component: () => import('@/views/hospitalFrame/frameGroupEdit'),
+  //           name: 'frame-group-edit',
+  //           meta: { title: i18n.t('tab.frameGroupEdit'), icon: 'area', noCache: true },
+  //           hidden: true
+  //         },
+  //         {
+  //           path: 'watch_frame/:id?',
+  //           component: () => import('@/views/hospitalFrame/nurse_watch_frame'),
+  //           name: 'nurse-watch-frame',
+  //           meta: { title: i18n.t('tab.watchFrameManage'), icon: 'area', noCache: true },
+  //           hidden: true
+  //         }
+  //       ]
+  //     }
+  //   ]
+  // },
   { path: '*', redirect: '/404', hidden: true }
 ]
 export const hospitalRoutes = [

+ 5 - 5
src/styles/variables.scss

@@ -10,14 +10,14 @@ $panGreen: #30B08F;
 
 // sidebar
 $menuText:#bfcbd9;
-$menuActiveText:#409EFF;
+$menuActiveText:#FFFFFF;
 $subMenuActiveText:#f4f4f5; // https://github.com/ElemeFE/element/issues/12951
 
-$menuBg:#304156;
-$menuHover:#263445;
+$menuBg:#F76F78;
+$menuHover:#F76F78;
 
-$subMenuBg:#1f2d3d;
-$subMenuHover:#001528;
+$subMenuBg:#FF9F9F;
+$subMenuHover:#FF9F9F;
 
 $sideBarWidth: 210px;
 

+ 94 - 94
src/views/customer/components/customerManager.vue

@@ -166,7 +166,7 @@
                       </el-form-item>
                     </el-col>
                   </el-row>
-                  <el-form-item :label="this.$t('customerManage.illnessDesc3')">
+<!--                  <el-form-item :label="this.$t('customerManage.illnessDesc3')">-->
 <!--                    <el-input-->
 <!--                      v-model="formmodel.illness_desc"-->
 <!--                      type="textarea"-->
@@ -175,10 +175,10 @@
 <!--                      :maxlength="50"-->
 <!--                      :placeholder="this.$t('customerManage.inputIllnessDesc')"-->
 <!--                    />-->
-                    <el-select v-model="formmodel.illness_desc" :placeholder="this.$t('customerManage.choiceIllnessDesc')" clearable>
-                      <el-option v-for="(item, index) in Object.keys(childbirthTypeEnum)" :key="index" :label="childbirthTypeEnum[item]" :value="item" />
-                    </el-select>
-                  </el-form-item>
+<!--                    <el-select v-model="formmodel.illness_desc" :placeholder="this.$t('customerManage.choiceIllnessDesc')" clearable>-->
+<!--                      <el-option v-for="(item, index) in Object.keys(childbirthTypeEnum)" :key="index" :label="childbirthTypeEnum[item]" :value="item" />-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
                 </el-col>
                 <el-col :span="8">
                   <el-form-item :label="this.$t('member.face')">
@@ -250,98 +250,98 @@
             </el-form>
           </div>
         </el-tab-pane>
-        <el-tab-pane v-if="formmodel.id" :label="this.$t('customerManage.customerRelative')" name="customerRelative">
-          <div style="height: 450px">
-            <!--            <customer-relative :member-id="memberId" />-->
-            <el-table
-                :data="relativeData"
-                height="250"
-                border
-                style="width: 100%"
-            >
-              <el-table-column
-                  prop="named"
-                  :label="this.$t('customerManage.customerRelativeTrueName')"
-                  width="180"
-              />
+<!--        <el-tab-pane v-if="formmodel.id" :label="this.$t('customerManage.customerRelative')" name="customerRelative">-->
+<!--          <div style="height: 450px">-->
+<!--            &lt;!&ndash;            <customer-relative :member-id="memberId" />&ndash;&gt;-->
+<!--            <el-table-->
+<!--                :data="relativeData"-->
+<!--                height="250"-->
+<!--                border-->
+<!--                style="width: 100%"-->
+<!--            >-->
+<!--              <el-table-column-->
+<!--                  prop="named"-->
+<!--                  :label="this.$t('customerManage.customerRelativeTrueName')"-->
+<!--                  width="180"-->
+<!--              />-->
+<!--&lt;!&ndash;              <el-table-column&ndash;&gt;-->
+<!--&lt;!&ndash;                  prop="sex"&ndash;&gt;-->
+<!--&lt;!&ndash;                  :label="this.$t('member.sex')"&ndash;&gt;-->
+<!--&lt;!&ndash;                  width="180"&ndash;&gt;-->
+<!--&lt;!&ndash;                  :formatter="formatterSex"&ndash;&gt;-->
+<!--&lt;!&ndash;              />&ndash;&gt;-->
 <!--              <el-table-column-->
-<!--                  prop="sex"-->
-<!--                  :label="this.$t('member.sex')"-->
+<!--                  prop="relative_name"-->
+<!--                  :label="this.$t('customerManage.relativeName')"-->
 <!--                  width="180"-->
-<!--                  :formatter="formatterSex"-->
+<!--                  :formatter="formatterRelativeName"-->
 <!--              />-->
-              <el-table-column
-                  prop="relative_name"
-                  :label="this.$t('customerManage.relativeName')"
-                  width="180"
-                  :formatter="formatterRelativeName"
-              />
-              <el-table-column
-                  prop="mobile"
-                  :label="this.$t('member.mobile')"
-              />
-              <el-table-column
-                  :label="this.$t('action.handle')"
-                  width="100"
-              >
-                <template slot-scope="scope">
-                  <el-button type="danger" size="mini" @click="handlerDeleteRelative(scope.row.id)">{{ deleted }}</el-button>
-                </template>
-              </el-table-column>
-            </el-table>
+<!--              <el-table-column-->
+<!--                  prop="mobile"-->
+<!--                  :label="this.$t('member.mobile')"-->
+<!--              />-->
+<!--              <el-table-column-->
+<!--                  :label="this.$t('action.handle')"-->
+<!--                  width="100"-->
+<!--              >-->
+<!--                <template slot-scope="scope">-->
+<!--                  <el-button type="danger" size="mini" @click="handlerDeleteRelative(scope.row.id)">{{ deleted }}</el-button>-->
+<!--                </template>-->
+<!--              </el-table-column>-->
+<!--            </el-table>-->
 
-            <el-form ref="relativeForm" :model="relativeFormModel" :rules="relativeRules" label-width="120px" style="margin-top:20px">
-              <el-row>
-                <el-col :span="12">
-                  <el-form-item :label="this.$t('customerManage.customerRelativeTrueName')" prop="true_name">
-                    <el-input v-model="relativeFormModel.true_name" clearable :placeholder="this.$t('customerManage.inputCustomerRelativeTrueName')" :maxlength="20" />
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
-                  <el-form-item :label="this.$t('customerManage.relativeName')" prop="relative_name">
-<!--                    <el-input v-model="relativeFormModel.relative_name" clearable-->
-<!--                              :placeholder="this.$t('customerManage.inputRelativeName')" :maxlength="20" />-->
-                    <el-select v-model="relativeFormModel.relative_name" :placeholder="this.$t('customerManage.choiceRelativeName')" clearable  @change="relativeNameChange">
-                      <el-option v-for="(item, index) in Object.keys(relativeNameTypeEnum)" :key="index" :label="relativeNameTypeEnum[item]" :value="item" />
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-              </el-row>
-              <el-row>
+<!--            <el-form ref="relativeForm" :model="relativeFormModel" :rules="relativeRules" label-width="120px" style="margin-top:20px">-->
+<!--              <el-row>-->
 <!--                <el-col :span="12">-->
-<!--                  <el-form-item :label="this.$t('member.sex')" class="form-item-sex">-->
-<!--                    <el-radio v-model="relativeFormModel.sex" :label="0">{{ this.$t('member.woman') }}</el-radio>-->
-<!--                    <el-radio v-model="relativeFormModel.sex" :label="1">{{ this.$t('member.man') }}</el-radio>-->
-<!--                    &lt;!&ndash;                    <el-radio v-model="relativeFormModel.sex" :label="2">未知</el-radio>&ndash;&gt;-->
+<!--                  <el-form-item :label="this.$t('customerManage.customerRelativeTrueName')" prop="true_name">-->
+<!--                    <el-input v-model="relativeFormModel.true_name" clearable :placeholder="this.$t('customerManage.inputCustomerRelativeTrueName')" :maxlength="20" />-->
 <!--                  </el-form-item>-->
 <!--                </el-col>-->
-                <el-col :span="12">
-                  <el-form-item :label="this.$t('member.mobile')" prop="mobile">
-                    <el-input v-model="relativeFormModel.mobile" clearable :placeholder="this.$t('member.inputMobile')" :maxlength="20" />
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
-                  <el-form-item v-if="isChild"
-                      :label="this.$t('member.birthday2')" prop="birthday">
-                    <el-date-picker
-                        v-model="relativeFormModel.birthday"
-                        type="date"
-                        :editable="false"
-                        value-format="timestamp"
-                        :placeholder="this.$t('member.choiceBirthday2')"
-                        :picker-options="{ disabledDate(time) { return time.getTime() > Date.now() }}"
-                    />
-                  </el-form-item>
-                </el-col>
-              </el-row>
-              <el-form-item>
-                <el-button type="primary" @click="addRelative">{{ this.$t('action.add') }}</el-button>
-              </el-form-item>
-            </el-form>
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item :label="this.$t('customerManage.relativeName')" prop="relative_name">-->
+<!--&lt;!&ndash;                    <el-input v-model="relativeFormModel.relative_name" clearable&ndash;&gt;-->
+<!--&lt;!&ndash;                              :placeholder="this.$t('customerManage.inputRelativeName')" :maxlength="20" />&ndash;&gt;-->
+<!--                    <el-select v-model="relativeFormModel.relative_name" :placeholder="this.$t('customerManage.choiceRelativeName')" clearable  @change="relativeNameChange">-->
+<!--                      <el-option v-for="(item, index) in Object.keys(relativeNameTypeEnum)" :key="index" :label="relativeNameTypeEnum[item]" :value="item" />-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--              </el-row>-->
+<!--              <el-row>-->
+<!--&lt;!&ndash;                <el-col :span="12">&ndash;&gt;-->
+<!--&lt;!&ndash;                  <el-form-item :label="this.$t('member.sex')" class="form-item-sex">&ndash;&gt;-->
+<!--&lt;!&ndash;                    <el-radio v-model="relativeFormModel.sex" :label="0">{{ this.$t('member.woman') }}</el-radio>&ndash;&gt;-->
+<!--&lt;!&ndash;                    <el-radio v-model="relativeFormModel.sex" :label="1">{{ this.$t('member.man') }}</el-radio>&ndash;&gt;-->
+<!--&lt;!&ndash;                    &lt;!&ndash;                    <el-radio v-model="relativeFormModel.sex" :label="2">未知</el-radio>&ndash;&gt;&ndash;&gt;-->
+<!--&lt;!&ndash;                  </el-form-item>&ndash;&gt;-->
+<!--&lt;!&ndash;                </el-col>&ndash;&gt;-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item :label="this.$t('member.mobile')" prop="mobile">-->
+<!--                    <el-input v-model="relativeFormModel.mobile" clearable :placeholder="this.$t('member.inputMobile')" :maxlength="20" />-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item v-if="isChild"-->
+<!--                      :label="this.$t('member.birthday2')" prop="birthday">-->
+<!--                    <el-date-picker-->
+<!--                        v-model="relativeFormModel.birthday"-->
+<!--                        type="date"-->
+<!--                        :editable="false"-->
+<!--                        value-format="timestamp"-->
+<!--                        :placeholder="this.$t('member.choiceBirthday2')"-->
+<!--                        :picker-options="{ disabledDate(time) { return time.getTime() > Date.now() }}"-->
+<!--                    />-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--              </el-row>-->
+<!--              <el-form-item>-->
+<!--                <el-button type="primary" @click="addRelative">{{ this.$t('action.add') }}</el-button>-->
+<!--              </el-form-item>-->
+<!--            </el-form>-->
 
-          </div>
+<!--          </div>-->
 
-        </el-tab-pane>
+<!--        </el-tab-pane>-->
 
         <el-tab-pane v-if="formmodel.id" :label="this.$t('customerManage.vital')" name="customer-vital-sign">
             <vital-sign-log :member-id="formmodel.member_id+''" :active-name="'vital_signs1'"/>
@@ -409,13 +409,13 @@
             </div>
           </div>
         </el-tab-pane>
-        <el-tab-pane v-if="formmodel.id" :label="this.$t('customerManage.footprint')" name="footprint">
-<!--          <my-map-html :map-url="mapUrl" style="width: 100%; height: 670px;"></my-map-html>-->
-        </el-tab-pane>
+<!--        <el-tab-pane v-if="formmodel.id" :label="this.$t('customerManage.footprint')" name="footprint">-->
+<!--&lt;!&ndash;          <my-map-html :map-url="mapUrl" style="width: 100%; height: 670px;"></my-map-html>&ndash;&gt;-->
+<!--        </el-tab-pane>-->
 
-        <el-tab-pane v-if="formmodel.id" :label="this.$t('customerManage.fee')" name="customer-fee-sign">
-          <customer-fee :customer-id="formmodel.id" :active-name="'fee_signs1'"/>
-        </el-tab-pane>
+<!--        <el-tab-pane v-if="formmodel.id" :label="this.$t('customerManage.fee')" name="customer-fee-sign">-->
+<!--          <customer-fee :customer-id="formmodel.id" :active-name="'fee_signs1'"/>-->
+<!--        </el-tab-pane>-->
       </el-tabs>
     </el-dialog>
     <!-- 用户信息 -->

+ 1 - 1
src/views/dashboard/calling/index.vue

@@ -76,7 +76,7 @@
         <el-card style="maring:10px">
           <div slot="header" class="clearfix">
             <span style="float: left">{{ this.$t('home.recentInteract') }}</span>
-            <el-link type="primary" style="float: right" @click="goMove('interaction-history')">{{ this.$t("action.more") }}</el-link>
+<!--            <el-link type="primary" style="float: right" @click="goMove('interaction-history')">{{ this.$t("action.more") }}</el-link>-->
           </div>
           <div style="height: 300px">
             <el-table :data="callingHistoryList" height="300px">

+ 91 - 91
src/views/ncs-task/index.vue

@@ -8,18 +8,18 @@
     </el-tabs>
 
     <ag-grid-layout
-      toolbar
-      :table-height="tableHeight"
-      theme="ag-theme-alpine"
-      :column-defs="columnDefs"
-      :row-data="tableData"
-      :locale-text="localeText"
-      :grid-options="gridOptions"
-      :default-col-def="defaultColDef"
-      :animate-rows="true"
-      :row-selection="rowSelection"
-      @filterChanged="filterModifed"
-      @sortChanged="gridSortChange"
+        toolbar
+        :table-height="tableHeight"
+        theme="ag-theme-alpine"
+        :column-defs="columnDefs"
+        :row-data="tableData"
+        :locale-text="localeText"
+        :grid-options="gridOptions"
+        :default-col-def="defaultColDef"
+        :animate-rows="true"
+        :row-selection="rowSelection"
+        @filterChanged="filterModifed"
+        @sortChanged="gridSortChange"
     >
       <div slot="toolbar" class="inner-toolbar">
         <!--                <div class="toolbar-search">-->
@@ -31,15 +31,15 @@
         </div>
       </div>
       <el-pagination
-        v-if="pageData"
-        slot="pagination"
-        :current-page="pageData.page_no"
-        :page-sizes="[10, 20, 50, 100]"
-        :page-size="pageData.page_size"
-        layout="total, sizes, prev, pager, next, jumper"
-        :total="pageData.data_total"
-        @size-change="handlePageSizeChange"
-        @current-change="handlePageCurrentChange"
+          v-if="pageData"
+          slot="pagination"
+          :current-page="pageData.page_no"
+          :page-sizes="[10, 20, 50, 100]"
+          :page-size="pageData.page_size"
+          layout="total, sizes, prev, pager, next, jumper"
+          :total="pageData.data_total"
+          @size-change="handlePageSizeChange"
+          @current-change="handlePageCurrentChange"
       />
     </ag-grid-layout>
     <!--编辑表单-->
@@ -49,27 +49,27 @@
           <div v-if="editflag === 1">
             <el-form-item :label="this.$t('task.isTaskSuccess')">
               <el-switch
-                v-model="task_success"
-                :active-text="this.$t('task.success')"
-                :inactive-text="this.$t('task.failed')"
+                  v-model="task_success"
+                  :active-text="this.$t('task.success')"
+                  :inactive-text="this.$t('task.failed')"
               />
             </el-form-item>
             <el-form-item :label="this.$t('task.taskToTime')" prop="task_do_time">
               <el-date-picker
-                v-model="formmodel.task_do_time"
-                type="datetime"
-                value-format="timestamp"
-                :placeholder="this.$t('task.taskToTime')"
+                  v-model="formmodel.task_do_time"
+                  type="datetime"
+                  value-format="timestamp"
+                  :placeholder="this.$t('task.taskToTime')"
               />
             </el-form-item>
           </div>
           <div v-if="!task_success">
             <el-form-item :label="this.$t('task.taskPlanTime')" prop="task_plan_time">
               <el-date-picker
-                v-model="formmodel.task_plan_time"
-                type="datetime"
-                value-format="timestamp"
-                :placeholder="this.$t('task.taskPlanTime')"
+                  v-model="formmodel.task_plan_time"
+                  type="datetime"
+                  value-format="timestamp"
+                  :placeholder="this.$t('task.taskPlanTime')"
               />
             </el-form-item>
             <el-form-item :label="this.$t('action.content')" prop="task_content">
@@ -77,12 +77,12 @@
             </el-form-item>
             <el-form-item :label="this.$t('action.uploader')">
               <el-upload
-                v-if="!filePath"
-                class="avatar-uploader"
-                :action="`${uploadServer}?scene=avatar`"
-                :show-file-list="false"
-                :on-success="uploaded"
-                :before-upload="handleShopLogoBefore"
+                  v-if="!filePath"
+                  class="avatar-uploader"
+                  :action="`${uploadServer}?scene=avatar`"
+                  :show-file-list="false"
+                  :on-success="uploaded"
+                  :before-upload="handleShopLogoBefore"
               >
                 <i class="el-icon-plus avatar-uploader-icon" />
               </el-upload>
@@ -240,7 +240,7 @@ export default {
         comparator: this.testComparator
       }
     },
-    this.rowSelection = 'multiple'
+        this.rowSelection = 'multiple'
   },
   mounted() {
     window.onresize = this.windowResize()
@@ -283,13 +283,13 @@ export default {
         type: 'warning'
       }).then(() => {
         API_task.remove(ids).then(
-          response => {
-            this.getList()
-            this.$message({
-              type: 'success',
-              message: this.$t('action.deleted')
-            })
-          }
+            response => {
+              this.getList()
+              this.$message({
+                type: 'success',
+                message: this.$t('action.deleted')
+              })
+            }
         ).catch(response => {
           this.$message({
             type: 'info',
@@ -508,54 +508,54 @@ export default {
 </script>
 
 <style type="text/scss" scoped>
-    .formwrap {
-        border: 1px solid #ebebeb;
-        border-radius: 3px;
-        background: #fff;
-        padding: 24px;
-        min-height: 500px;
-    }
-    /deep/ div.toolbar {
-        height: 70px;
-        padding: 20px 0;
-    }
+.formwrap {
+  border: 1px solid #ebebeb;
+  border-radius: 3px;
+  background: #fff;
+  padding: 24px;
+  min-height: 500px;
+}
+/deep/ div.toolbar {
+  height: 70px;
+  padding: 20px 0;
+}
 
-    .el-input-number, .el-select {
-        width: 100%
-    }
+.el-input-number, .el-select {
+  width: 100%
+}
 
-    .inner-toolbar {
-        display: flex;
-        flex-direction: row;
-        flex-wrap: nowrap;
-        width: 100%;
-        justify-content: space-between;
-        align-items: center;
-    }
-    /deep/ .avatar-uploader .el-upload {
-        border: 1px dashed #d9d9d9;
-        border-radius: 6px;
-        cursor: pointer;
-        position: relative;
-        overflow: hidden;
-    }
+.inner-toolbar {
+  display: flex;
+  flex-direction: row;
+  flex-wrap: nowrap;
+  width: 100%;
+  justify-content: space-between;
+  align-items: center;
+}
+/deep/ .avatar-uploader .el-upload {
+  border: 1px dashed #d9d9d9;
+  border-radius: 6px;
+  cursor: pointer;
+  position: relative;
+  overflow: hidden;
+}
 
-    /deep/ .avatar-uploader .el-upload:hover {
-        border-color: #409EFF;
-    }
+/deep/ .avatar-uploader .el-upload:hover {
+  border-color: #409EFF;
+}
 
-    /deep/ .avatar-uploader-icon {
-        font-size: 28px;
-        color: #8c939d;
-        width: 100px;
-        height: 100px;
-        line-height: 100px;
-        text-align: center;
-    }
+/deep/ .avatar-uploader-icon {
+  font-size: 28px;
+  color: #8c939d;
+  width: 100px;
+  height: 100px;
+  line-height: 100px;
+  text-align: center;
+}
 
-    /deep/ .avatar {
-        width: 100px;
-        height: 100px;
-        display: block;
-    }
+/deep/ .avatar {
+  width: 100px;
+  height: 100px;
+  display: block;
+}
 </style>