lxl
2022-09-20 b8720f30d8916555067c22acb7fda83efbc2f9f3
暂存
已添加1个文件
已修改10个文件
1016 ■■■■ 文件已修改
public/config/config.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/lang/en.js 76 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/lang/zh.js 74 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/navMenu.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 194 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Archive/index.vue 43 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Thematic/index.vue 124 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/databaseMonitoring.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/logLog.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/operationLog.vue 116 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/tokentool.vue 358 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/config/config.js
@@ -5,4 +5,5 @@
var serverUrl = 'http://192.168.20.106/LFServer/';
var api_Url = 'http://192.168.20.106/';
var sql_Url = 'http://192.168.20.39:8081/admin/druid/sql.html'; //数据库监控地址
var sql_Url = 'http://192.168.20.39:8081/admin/druid/sql.html';
src/assets/lang/en.js
@@ -4,12 +4,13 @@
    choose: 'Please choose',
    name: 'name',
    edit: 'edit',
    delete: 'delete',
    delete: 'Delete',
    username: 'UserName',
    empty: 'Empty',
    iquery: 'IQuery',
    selectdate: 'Please select a date',
    pleaseInput: 'Please input',
    update: 'Modify',
  },
  dataManage: {
    dataManage: 'Data Manage',
@@ -61,7 +62,62 @@
    logLog: 'ConLog',
    operationLog: 'Operation Log',
    databaseMonitoring: 'Database Monitoring',
<<<<<<< HEAD
    blackwhiteList: "Black/White List"
=======
    tokentool: 'Token Tool',
    tokentoolObj: {
      first: 'Service List',
      second: 'Token management',
      serviceid: 'Resource ID',
      serviceName: 'Service name',
      excelTemplate: 'Excel Template',
      uploadExcel: 'Upload Excel',
      serviceToken: 'Token generation place',
      pleaseInput: 'After applying for a token, you can copy it here',
      copy: 'Copy',
      tokenName: 'Token Name',
      tokenStatus: 'Token Status',
      tokenAll: 'All',
      tokeNormal: 'Normal',
      tokenInvalid: 'Invalid',
      tokenRenewal: 'Renewal',
      serialnumber: 'Serial Number',
      applysystem: 'Apply to use the system',
      applicantIP: 'Applicant IP',
      applicationtime: 'Application time',
      applytime: 'Apply for use time (s)',
      tokenstring: 'Token string',
      serviceAddress: 'Service address',
      porstServiceAddress: 'Post proxy service address',
      sourcesystem: 'sourcesystem',
      pubicnot: 'Public or not',
      suffixID: 'Suffix ID',
      goonlinenot: 'Go online or not',
      primaryKey: 'Primary key',
      applyToken: 'Apply for Token',
      operation: 'Operation',
      resourcetoken: 'Resource ID of the token',
      tokeninformation: 'Token information',
      autorenew: 'Auto renew',
    },
    operationLogObj: {
      queryRegion: 'QueryRegion',
      resourceName: 'resourceName',
      operationType: 'operationType',
      operatingTime: 'operatingTime',
      inquire: 'inquire',
      empty: 'empty',
      num: 'num',
      username: 'username',
      systematicName: 'systematicName',
      IP: ' IP',
      pleaseInput: 'pleaseInput',
      pleaseSelect: 'pleaseSelect',
      optionDate: 'optionDate',
      selectTime: 'selectTime',
    },
>>>>>>> eb8b11722d1d778311ae7c4eb47869288e30ade6
  },
  synthesis: {
    synthesis: 'Comprehensive Display',
@@ -130,6 +186,24 @@
    operationtype: 'Operation Type',
    operationStatus: 'Operation Status',
  },
  themaic: {
    name: 'Themaic Map',
    maptltle: 'Map Title',
    all: 'All',
    sortbytime: 'Sort by Time',
    sortbyviews: 'Sort by Views',
    find: 'Find',
    record: 'pieces of data',
  },
  archive: {
    name: 'Piping materials',
    keyword: 'Keyword',
    uname: 'Name',
    type: 'Type',
    modifications: 'Revision number',
    creationtime: 'Creation Time',
    state: 'State',
  },
};
export default en;
src/assets/lang/zh.js
@@ -10,6 +10,7 @@
    iquery: '查询',
    selectdate: '请选择日期',
    pleaseInput: '请输入',
    update: '修改',
  },
  dataManage: {
    dataManage: '数据管理',
@@ -61,6 +62,7 @@
    logLog: '登录日志',
    operationLog: '操作日志',
    databaseMonitoring: '数据库监控',
<<<<<<< HEAD
    blackwhiteList: "黑/白名单",
    BWL: {
      blackList: "黑名单",
@@ -79,6 +81,60 @@
      change: '修改',
      index:"序号",
    }
=======
    tokentool: 'Token工具',
    tokentoolObj: {
      first: '服务列表',
      second: 'Token管理',
      serviceid: '资源ID',
      serviceName: '服务名称',
      excelTemplate: 'Excel模板',
      uploadExcel: '上传Excel',
      serviceToken: 'Token ç”Ÿæˆå¤„',
      pleaseInput: '申请Token后此处可复制',
      copy: '复制',
      tokenName: 'Token查询',
      tokenStatus: 'Token状态',
      tokenAll: '全部',
      tokeNormal: '正常',
      tokenInvalid: '失效',
      tokenRenewal: '续期',
      serialnumber: '序号',
      applysystem: '申请使用系统',
      applicantIP: '申请者IP',
      applicationtime: '申请时间',
      applytime: '申请使用时间(s)',
      tokenstring: 'Token串',
      serviceAddress: '服务地址',
      porstServiceAddress: '代理后服务地址',
      sourcesystem: '来源系统',
      pubicnot: '是否公开',
      suffixID: '后缀ID',
      goonlinenot: '是否上线',
      primaryKey: '主键',
      applyToken: '申请Token',
      operation: '操作',
      resourcetoken: 'Token所属资源ID',
      tokeninformation: 'Token信息',
      autorenew: '自动续约',
    },
    operationLogObj: {
      queryRegion: '查询区',
      resourceName: '资源名称',
      operationType: '操作类型',
      operatingTime: '操作时间',
      inquire: '查询',
      empty: '清空',
      num: '序号',
      username: '用户名',
      systematicName: '系统名称',
      IP: ' IP',
      pleaseInput: '请输入',
      pleaseSelect: '请选择',
      optionDate: '选择日期',
      selectTime: '选择时间',
    },
>>>>>>> eb8b11722d1d778311ae7c4eb47869288e30ade6
  },
  synthesis: {
    synthesis: '综合展示',
@@ -147,6 +203,24 @@
    operationtype: '操作类型',
    operationStatus: '操作状态',
  },
  themaic: {
    name: '专题地图',
    maptltle: '地图名称',
    all: '全部',
    sortbytime: '按时间排序',
    sortbyviews: '按浏览次数排序',
    find: '共找到',
    record: '条数据',
  },
  archive: {
    name: '管道资料',
    keyword: '关键字',
    uname: '名称',
    type: '类型',
    modifications: '修改次数',
    creationtime: '创建时间',
    state: '状态',
  },
};
export default zh;
src/components/navMenu.vue
@@ -102,8 +102,13 @@
              <el-menu-item index="databaseMonitoring">{{
                $t("operatManage.databaseMonitoring")
              }}</el-menu-item>
<<<<<<< HEAD
              <el-menu-item index="blackwhiteList">{{
                $t("operatManage.blackwhiteList")
=======
              <el-menu-item index="tokentool">{{
                $t("operatManage.tokentool")
>>>>>>> eb8b11722d1d778311ae7c4eb47869288e30ade6
              }}</el-menu-item>
            </el-submenu>
          </el-submenu>
src/router/index.js
@@ -1,3 +1,4 @@
<<<<<<< HEAD
import Vue from "vue";
import VueRouter from "vue-router";
import Home from "../views/Home.vue";
@@ -17,196 +18,217 @@
import systemMonitoring from "@/views/maintenance/systemMonitoring.vue"; //系统监控
import databaseMonitoring from "@/views/maintenance/databaseMonitoring.vue"; //数据库监控
import parameterConfiguration from "@/views/maintenance/parameterConfiguration.vue"; //参数配置
=======
import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from '../views/Home.vue';
import login from '../components/login';
import Synthesis from '../views/Synthesis/index.vue'; //综合展示
import Thematic from '../views/Thematic/index.vue'; //专题地图
import Archive from '../views/Archive/index.vue'; //资料馆
import userManagement from '@/views/maintenance/userManagement.vue'; //用户管理
import menuSettings from '@/views/maintenance/menuSettings.vue'; //菜单设置
import rests from '@/views/maintenance/rests.vue'; //其他
import authorityManagement from '@/views/maintenance/authorityManagement.vue'; //权限管理
import safetyManagement from '@/views/maintenance/safetyManagement.vue'; //安全管理
import operationLog from '@/views/maintenance/operationLog.vue'; //操作日志
import logLog from '@/views/maintenance/logLog.vue'; //登录日志
import systemMonitoring from '@/views/maintenance/systemMonitoring.vue'; //系统监控
import databaseMonitoring from '@/views/maintenance/databaseMonitoring.vue'; //数据库监控
import tokentool from '@/views/maintenance/tokentool.vue'; //token å·¥å…·
import parameterConfiguration from '@/views/maintenance/parameterConfiguration.vue'; //参数配置
>>>>>>> eb8b11722d1d778311ae7c4eb47869288e30ade6
//数据管理模块
import catalogueManage from "../views/datamanage/catalogueManage.vue"; //数据管理-目录管理
import catalogueManage from '../views/datamanage/catalogueManage.vue'; //数据管理-目录管理
import dataUpdata from "../views/datamanage/dataUpdata.vue"; //数据管理-数据上传
import dataLoading from "../views/datamanage/dataLoading.vue"; //数据管理-数据入库
import metadataManage from "../views/datamanage/metadataManage.vue"; //数据管理-元数据管理
import SpatialData from "../views/datamanage/SpatialData.vue"; //数据管理-空间数据
import versionManage from "../views/datamanage/versionManage.vue"; //数据管理-版本管理
import dictionaryManage from "../views/datamanage/dictionaryManage.vue"; //数据管理-字典管理
import styleManage from "../views/datamanage/styleManage.vue"; //数据管理-样式管理
import addStyle from "../views/datamanage/addStyle.vue"; //数据管理-样式管理-添加样式
import dataUpdata from '../views/datamanage/dataUpdata.vue'; //数据管理-数据上传
import dataLoading from '../views/datamanage/dataLoading.vue'; //数据管理-数据入库
import metadataManage from '../views/datamanage/metadataManage.vue'; //数据管理-元数据管理
import SpatialData from '../views/datamanage/SpatialData.vue'; //数据管理-空间数据
import versionManage from '../views/datamanage/versionManage.vue'; //数据管理-版本管理
import dictionaryManage from '../views/datamanage/dictionaryManage.vue'; //数据管理-字典管理
import styleManage from '../views/datamanage/styleManage.vue'; //数据管理-样式管理
import addStyle from '../views/datamanage/addStyle.vue'; //数据管理-样式管理-添加样式
Vue.use(VueRouter);
const routes = [
  {
    path: "/",
    name: "login",
    path: '/',
    name: 'login',
    component: login,
  },
  {
    path: "/Home",
    name: "Home",
    path: '/Home',
    name: 'Home',
    component: Home,
    children: [
      {
        path: "/Synthesis",
        name: "Synthesis",
        path: '/Synthesis',
        name: 'Synthesis',
        component: Synthesis,
        meta: {
          title: "综合展示",
          title: '综合展示',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/Thematic",
        name: "Thematic",
        path: '/Thematic',
        name: 'Thematic',
        component: Thematic,
        meta: {
          title: "专题地图",
          title: '专题地图',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/Archive",
        name: "Archive",
        path: '/Archive',
        name: 'Archive',
        component: Archive,
        meta: {
          title: "资料馆",
          title: '资料馆',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/catalogueManage",
        name: "catalogueManage",
        path: '/catalogueManage',
        name: 'catalogueManage',
        component: catalogueManage,
        meta: {
          title: "目录管理",
          title: '目录管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/dataUpdata",
        name: "dataUpdata",
        path: '/dataUpdata',
        name: 'dataUpdata',
        component: dataUpdata,
        meta: {
          title: "数据上传",
          title: '数据上传',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/metadataManage",
        path: '/metadataManage',
        component: metadataManage,
        name: "metadataManage",
        name: 'metadataManage',
        meta: {
          title: "元数据管理",
          title: '元数据管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/dataLoading",
        name: "dataLoading",
        path: '/dataLoading',
        name: 'dataLoading',
        component: dataLoading,
        meta: {
          title: "数据入库",
          title: '数据入库',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/SpatialData",
        path: '/SpatialData',
        component: SpatialData,
        name: "SpatialData",
        name: 'SpatialData',
        meta: {
          title: "空间数据",
          title: '空间数据',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/versionManage",
        path: '/versionManage',
        component: versionManage,
        name: "versionManage",
        name: 'versionManage',
        meta: {
          title: "版本管理",
          title: '版本管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/dictionaryManage",
        path: '/dictionaryManage',
        component: dictionaryManage,
        name: "dictionaryManage",
        name: 'dictionaryManage',
        meta: {
          title: "字典管理",
          title: '字典管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/styleManage",
        path: '/styleManage',
        component: styleManage,
        name: "styleManage",
        name: 'styleManage',
        meta: {
          title: "样式管理",
          title: '样式管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/addStyle",
        path: '/addStyle',
        component: addStyle,
        name: "addStyle",
        name: 'addStyle',
        meta: {
          title: "样式管理",
          title: '样式管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/userManagement",
        path: '/userManagement',
        component: userManagement,
        name: "userManagement",
        name: 'userManagement',
        meta: {
          title: "用户管理",
          title: '用户管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/menuSettings",
        path: '/menuSettings',
        component: menuSettings,
        name: "menuSettings",
        name: 'menuSettings',
        meta: {
          title: "菜单设置",
          title: '菜单设置',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/rests",
        path: '/rests',
        component: rests,
        name: "rests",
        name: 'rests',
        meta: {
          title: "其他设置",
          title: '其他设置',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/authorityManagement",
        path: '/authorityManagement',
        component: authorityManagement,
        name: "authorityManagement",
        name: 'authorityManagement',
        meta: {
          title: "权限管理",
          title: '权限管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/safetyManagement",
        path: '/safetyManagement',
        component: safetyManagement,
        name: "safetyManagement",
        name: 'safetyManagement',
        meta: {
          title: "安全管理",
          title: '安全管理',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/operationLog",
        path: '/operationLog',
        component: operationLog,
        name: "operationLog",
        name: 'operationLog',
        meta: {
          title: "操作日志",
          title: '操作日志',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
<<<<<<< HEAD
        path: "/eventlogManage",
        component: eventlogManage,
        name: "eventlogManage",
@@ -217,9 +239,13 @@
      },
      {
        path: "/logLog",
=======
        path: '/logLog',
>>>>>>> eb8b11722d1d778311ae7c4eb47869288e30ade6
        component: logLog,
        name: "logLog",
        name: 'logLog',
        meta: {
<<<<<<< HEAD
          title: "事件日志管理",
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
@@ -230,33 +256,45 @@
        name: "blackwhiteList",
        meta: {
          title: "黑/白名单",
=======
          title: '登录日志',
>>>>>>> eb8b11722d1d778311ae7c4eb47869288e30ade6
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/systemMonitoring",
        path: '/systemMonitoring',
        component: systemMonitoring,
        name: "systemMonitoring",
        name: 'systemMonitoring',
        meta: {
          title: "系统监控",
          title: '系统监控',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/databaseMonitoring",
        path: '/databaseMonitoring',
        component: databaseMonitoring,
        name: "databaseMonitoring",
        name: 'databaseMonitoring',
        meta: {
          title: "数据库监控",
          title: '数据库监控',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: "/parameterConfiguration",
        component: parameterConfiguration,
        name: "parameterConfiguration",
        path: '/tokentool',
        component: tokentool,
        name: 'tokentool',
        meta: {
          title: "参数配置",
          title: 'Token工具',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
      {
        path: '/parameterConfiguration',
        component: parameterConfiguration,
        name: 'parameterConfiguration',
        meta: {
          title: '参数配置',
          requireAuth: true, // æ ‡è¯†è¯¥è·¯ç”±æ˜¯å¦éœ€è¦ç™»å½•
        },
      },
src/views/Archive/index.vue
@@ -2,7 +2,7 @@
  <div class="archive">
    <div class="left_active">
      <el-card class="arch_card">
        <div class="title_active">管道资料</div>
        <div class="title_active">{{ $t("archive.name") }}</div>
        <el-divider />
        <el-tree
          :data="tree"
@@ -17,25 +17,50 @@
        <el-row :gutter="20">
          <el-col :span="6"></el-col>
          <el-col :span="4"
            ><div style="text-align: right; margin-top: 6px">关键字:</div>
            ><div style="text-align: right; margin-top: 6px">
              {{ $t("archive.keyword") }}:
            </div>
          </el-col>
          <el-col :span="4"> <el-input placeholder="请输入...." /></el-col>
          <el-col :span="4"><el-button type="primary">查询</el-button></el-col>
          <el-col :span="4">
            <el-input :placeholder="$t('common.pleaseInput')"
          /></el-col>
          <el-col :span="4"
            ><el-button type="primary">{{
              $t("common.iquery")
            }}</el-button></el-col
          >
          <el-col :span="6"></el-col>
        </el-row>
        <el-divider />
        <el-card shadow="never" class="middle_card">
          <el-table :data="tableData" style="width: 10000px" stripe>
            <el-table-column prop="name" label="名称" width="180" />
            <el-table-column prop="type" sortable label="类型" width="180" />
            <el-table-column
              prop="name"
              :label="$t('archive.uname')"
              width="180"
            />
            <el-table-column
              prop="type"
              sortable
              :label="$t('archive.type')"
              width="180"
            />
            <el-table-column
              prop="count"
              sortable
              label="修改次数"
              :label="$t('archive.modifications')"
              width="180"
            />
            <el-table-column prop="timer" sortable label="创建时间" />
            <el-table-column prop="state" label="状态" width="180" />
            <el-table-column
              prop="timer"
              sortable
              :label="$t('archive.creationtime')"
            />
            <el-table-column
              prop="state"
              :label="$t('archive.state')"
              width="180"
            />
          </el-table>
        </el-card>
        <el-divider />
src/views/Thematic/index.vue
@@ -3,54 +3,98 @@
    <el-card style="height: 100%">
      <el-row :gutter="20">
        <el-col :span="6">
          <div class="th_title">专题地图</div>
          <div class="th_title">{{ $t("themaic.name") }}</div>
        </el-col>
        <el-col :span="4" :offset="14">
          <el-input size="small" placeholder="请输入内容" suffix-icon="el-icon-search" v-model="input3">
          <el-input
            size="small"
            :placeholder="$t('common.pleaseInput')"
            suffix-icon="el-icon-search"
            v-model="input3"
          >
          </el-input>
        </el-col>
      </el-row>
      <el-divider />
      <el-row>
        <el-col :span="5">
          <label style="margin-right: 10px">地图名称:</label>
          <el-select v-model="selvalue" class="m-2" placeholder="Select" style="width: 150px">
            <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
          <label style="margin-right: 10px"
            >{{ $t("themaic.maptltle") }}:</label
          >
          <el-select
            v-model="selvalue"
            class="m-2"
            placeholder="Select"
            style="width: 150px"
          >
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            />
          </el-select>
        </el-col>
        <el-col :span="3">
          <div style="margin-top: 5px">
            <label style="margin-right: 10px">按时间排序:</label>
            <label style="margin-right: 10px"
              >{{ $t("themaic.sortbytime") }}:</label
            >
            <i @click="changetime(1)" :class="{ active: timeindex == 1 }" class="el-icon-caret-bottom"></i>
            <i
              @click="changetime(1)"
              :class="{ active: timeindex == 1 }"
              class="el-icon-caret-bottom"
            ></i>
            <i @click="changetime(2)" :class="{ active: timeindex == 2 }" class="el-icon-caret-top"></i>
            <i
              @click="changetime(2)"
              :class="{ active: timeindex == 2 }"
              class="el-icon-caret-top"
            ></i>
          </div>
        </el-col>
        <el-col :span="3">
          <div style="margin-top: 5px">
            <label style="margin-right: 10px">按浏览次数排序:</label>
            <label style="margin-right: 10px"
              >{{ $t("themaic.sortbyviews") }}:</label
            >
            <i @click="changeChecked(1)" :class="{ active: checkindex == 1 }" class="el-icon-caret-bottom"></i>
            <i
              @click="changeChecked(1)"
              :class="{ active: checkindex == 1 }"
              class="el-icon-caret-bottom"
            ></i>
            <i @click="changeChecked(2)" :class="{ active: checkindex == 2 }" class="el-icon-caret-top"></i>
            <i
              @click="changeChecked(2)"
              :class="{ active: checkindex == 2 }"
              class="el-icon-caret-top"
            ></i>
          </div>
        </el-col>
        <el-col :span="10"> </el-col>
        <el-col :span="3">
          <div style="margin-top: 5px">
            <label style="margin-right: 10px">共找到{{ listcount }}个结果</label>
            {{ $t("themaic.find") }}
            <label style="magin: 0% 15px">{{ listcount }}</label>
            {{ $t("themaic.record") }}
          </div>
        </el-col>
      </el-row>
      <el-divider />
      <el-card shadow="never" class="themic_middle_card">
        <div @click="showThematic(item)" v-for="(item, i) in middleList" class="midedle_div" :key="i">
        <div
          @click="showThematic(item)"
          v-for="(item, i) in middleList"
          class="midedle_div"
          :key="i"
        >
          <el-card class="middle_card">
            <!-- <div>
           </div> -->
            <table>
@@ -61,31 +105,43 @@
              </tr>
              <tr>
                <td>
                  <div class="middle_image"
                    :style="{ background: 'url(' + item.url + ') no-repeat center', 'background-size': '100% 100%', }">
                  </div>
                  <div
                    class="middle_image"
                    :style="{
                      background: 'url(' + item.url + ') no-repeat center',
                      'background-size': '100% 100%',
                    }"
                  ></div>
                </td>
              </tr>
              <tr>
                <td>
                  <div style="position: absolute;
    bottom: 2%;
    right: 4%;"><label class="t2">{{ item.time }}</label><label class="t2">浏览{{ item.count }}次</label></div>
                  <div style="position: absolute; bottom: 2%; right: 4%">
                    <label class="t2">{{ item.time }}</label
                    ><label class="t2">浏览{{ item.count }}次</label>
                  </div>
                </td>
              </tr>
            </table>
          </el-card>
        </div>
      </el-card>
      <el-pagination layout="prev, pager, next, jumper" :total="pagesize" @size-change="handleSizeChange"
        @current-change="handleCurrentChange" />
      <el-pagination
        layout="prev, pager, next, jumper"
        :total="pagesize"
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
      />
    </el-card>
    <el-dialog class="themaic_dialog" :modal-append-to-body="true" :append-to-body="true" :show-close="false"
      :visible.sync="dialogVisible" width="99%" :before-close="handleClose">
    <el-dialog
      class="themaic_dialog"
      :modal-append-to-body="true"
      :append-to-body="true"
      :show-close="false"
      :visible.sync="dialogVisible"
      width="99%"
      :before-close="handleClose"
    >
      <map-View @close="close" :typeIndex="typeIndex"></map-View>
    </el-dialog>
  </div>
@@ -173,8 +229,8 @@
      typeIndex: "",
    };
  },
  mounted(){
     this.timeindex = 7888;
  mounted() {
  },
  methods: {
    close() {
@@ -210,8 +266,8 @@
    showThematic(res) {
      this.typeIndex = res.index;
      this.dialogVisible = true;
      // var url = "http://localhost/" + res.pop;
      // window.open(
src/views/maintenance/databaseMonitoring.vue
@@ -1,6 +1,11 @@
<template>
  <div class="databaseMonitoring_box">
    <My-bread :list="['运维管理', '数据库监控']"></My-bread>
    <My-bread
      :list="[
        `${$t('operatManage.operatManage')}`,
        `${$t('operatManage.databaseMonitoring')}`,
      ]"
    ></My-bread>
    <el-divider />
    <div class="table_box">
      <iframe
src/views/maintenance/logLog.vue
@@ -1,8 +1,16 @@
<template>
  <div class="logLog_box">
    <My-bread :list="['运维管理', '操作日志']"></My-bread>
    <My-bread
      :list="[
        `${$t('operatManage.operatManage')}`,
        `${$t('operatManage.logLog')}`,
      ]"
    ></My-bread>
    <el-divider />
    <div class="inquire">
      <div class="herder_box">
        {{ $t("operatManage.operationLogObj.queryRegion") }}
      </div>
      <el-form ref="formData1" :model="form" :inline="true">
        <!-- ç”¨æˆ·å -->
        <el-form-item :label="$t('common.username')" prop="name">
@@ -135,6 +143,12 @@
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    margin-bottom: 20px;
    .herder_box {
      padding: 10px;
      border-bottom: 1px solid #ccc;
      margin-bottom: 20px;
      font-size: 14px;
    }
  }
  .table_box {
    padding: 10px;
src/views/maintenance/operationLog.vue
@@ -1,26 +1,47 @@
<template>
  <div class="operationLog_box">
    <My-bread :list="['运维管理', '操作日志']"></My-bread>
    <My-bread
      :list="[
        `${$t('operatManage.operatManage')}`,
        `${$t('operatManage.operationLog')}`,
      ]"
    ></My-bread>
    <el-divider />
    <div class="inquire">
      <div class="herder_box">
        {{ $t("operatManage.operationLogObj.queryRegion") }}
      </div>
      <el-form ref="formData1" :model="form" :inline="true">
        <el-form-item label="登录地址" prop="name">
          <el-input v-model="form.name" placeholder="请输入" />
        <el-form-item
          :label="$t('operatManage.operationLogObj.resourceName')"
          prop="name"
        >
          <el-input
            v-model="form.name"
            :placeholder="$t('operatManage.operationLogObj.pleaseInput')"
          />
        </el-form-item>
        <el-form-item label="登录名称" prop="jurisdiction">
          <el-input v-model="form.jurisdiction" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="登录状态" prop="region">
          <el-select v-model="form.region" placeholder="请选择">
            <el-option label="Zone one" value="shanghai" />
            <el-option label="Zone two" value="beijing" />
        <el-form-item
          :label="$t('operatManage.operationLogObj.operationType')"
          prop="region"
        >
          <el-select
            v-model="form.region"
            :placeholder="$t('operatManage.operationLogObj.pleaseSelect')"
          >
            <el-option label="全部" value="shanghai" />
            <el-option label="浏览" value="beijing" />
            <el-option label="下载" value="shanghai" />
            <el-option label="调用" value="beijing" />
            <el-option label="收藏" value="shanghai" />
          </el-select>
        </el-form-item>
        <el-form-item label="登录时间">
        <el-form-item :label="$t('operatManage.operationLogObj.operatingTime')">
          <el-col :span="11">
            <el-date-picker
              type="date"
              placeholder="选择日期"
              :placeholder="$t('operatManage.operationLogObj.optionDate')"
              v-model="form.date1"
              style="width: 100%"
            ></el-date-picker>
@@ -28,41 +49,62 @@
          <el-col class="line text-center" :span="2">-</el-col>
          <el-col :span="11">
            <el-time-picker
              placeholder="选择时间"
              :placeholder="$t('operatManage.operationLogObj.selectTime')"
              v-model="form.date2"
              style="width: 100%"
            ></el-time-picker>
          </el-col>
        </el-form-item>
        <el-form-item>
          <el-button @click="onSubmit">查询</el-button>
          <el-button @click="onSubmit" icon="el-icon-search">{{
            $t("operatManage.operationLogObj.inquire")
          }}</el-button>
          <el-button icon="el-icon-delete">{{
            $t("operatManage.operationLogObj.empty")
          }}</el-button>
        </el-form-item>
      </el-form>
      <div class="btn_box">
        <el-button>添加</el-button>
        <el-button>修改</el-button>
        <el-button>导出</el-button>
        <el-button>清空</el-button>
        <!-- <el-button>删除</el-button> -->
      </div>
    </div>
    <div class="table_box">
      <el-table :data="tableData" stripe style="width: 100%">
        <el-table-column type="selection" width="55" />
        <el-table-column prop="Accessnumber" label="访问编号" />
        <el-table-column prop="name" label="登录名称" />
        <el-table-column prop="ip" label="登录地址" />
        <el-table-column prop="loginaddress" label="登录地点" />
        <el-table-column prop="browser" label="浏览器" />
        <el-table-column prop="operatingsystem" label="操作系统" />
        <el-table-column prop="operatinginformation" label="操作信息" />
        <el-table-column prop="date" label="登录时间" />
        <el-table-column fixed="right" label="操作" width="100">
        <!-- <el-table-column type="selection" width="55" /> -->
        <el-table-column
          :label="$t('operatManage.operationLogObj.num')"
          type="index"
          width="80"
        >
        </el-table-column>
        <!-- <el-table-column prop="Accessnumber" label="访问编号" /> -->
        <el-table-column
          prop="name"
          :label="$t('operatManage.operationLogObj.resourceName')"
        />
        <el-table-column
          prop="operatingsystem"
          :label="$t('operatManage.operationLogObj.operationType')"
        />
        <!-- <el-table-column prop="loginaddress" label="登录地点" /> -->
        <el-table-column
          prop="browser"
          :label="$t('operatManage.operationLogObj.username')"
        />
        <el-table-column
          prop="operatinginformation"
          :label="$t('operatManage.operationLogObj.systematicName')"
        />
        <el-table-column prop="ip" label="IP" />
        <el-table-column
          prop="date"
          :label="$t('operatManage.operationLogObj.operatingTime')"
        />
        <!-- <el-table-column fixed="right" label="操作" width="100">
          <template #default>
            <!-- <el-button type="primary" size="small">修改</el-button> -->
            <el-button type="primary" size="small">删除</el-button>
          </template>
        </el-table-column>
        </el-table-column> -->
      </el-table>
      <div style="margin-top: 40px" class="pagination_box">
        <el-pagination
@@ -211,7 +253,7 @@
      console.log("submit!");
    },
  },
  created() {},
  created() { },
};
</script>
<style lang="less" scoped>
@@ -229,6 +271,12 @@
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    margin-bottom: 20px;
    .herder_box {
      padding: 10px;
      border-bottom: 1px solid #ccc;
      margin-bottom: 20px;
      font-size: 14px;
    }
  }
  .table_box {
    padding: 10px;
src/views/maintenance/tokentool.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,358 @@
<template>
  <div class="tokentool_box">
    <My-bread
      :list="[
        `${$t('operatManage.operatManage')}`,
        `${$t('operatManage.tokentool')}`,
      ]"
    ></My-bread>
    <el-divider />
    <div class="inquire">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane
          :label="$t('operatManage.tokentoolObj.first')"
          name="first"
        >
          <div class="herder_box">
            {{ $t("operatManage.operationLogObj.queryRegion") }}
          </div>
          <el-form ref="formData1" :model="serviceform" :inline="true">
            <el-form-item
              :label="$t('operatManage.tokentoolObj.serviceid')"
              prop="name"
            >
              <el-input
                style="width: 200px"
                v-model="serviceform.serviceId"
                :placeholder="$t('common.pleaseInput')"
              />
            </el-form-item>
            <el-form-item
              :label="$t('operatManage.tokentoolObj.serviceName')"
              prop="region"
            >
              <el-input
                style="width: 200px"
                v-model="serviceform.serviceId"
                :placeholder="$t('common.pleaseInput')"
              />
            </el-form-item>
            <el-form-item>
              <el-button size="small" @click="onSubmit">{{
                $t("operatManage.tokentoolObj.excelTemplate")
              }}</el-button>
              <el-button size="small" @click="onSubmit">{{
                $t("operatManage.tokentoolObj.uploadExcel")
              }}</el-button>
            </el-form-item>
            <br />
            <el-form-item
              :label="$t('operatManage.tokentoolObj.serviceToken')"
              prop="region"
            >
              <el-input
                style="width: 200px"
                v-model="serviceform.serviceToken"
                :disabled="true"
                :title="$t('operatManage.tokentoolObj.pleaseInput')"
                :placeholder="$t('operatManage.tokentoolObj.pleaseInput')"
              />
            </el-form-item>
            <el-form-item>
              <el-button
                icon="el-icon-document-copy"
                size="small"
                @click="oncopy"
                >{{ $t("operatManage.tokentoolObj.copy") }}</el-button
              >
            </el-form-item>
            <!-- æŸ¥è¯¢ æ¸…空 -->
            <el-form-item>
              <el-button icon="el-icon-search" @click="onSubmit">{{
                $t("common.iquery")
              }}</el-button>
              <el-button icon="el-icon-delete" @click="onEmpty('formData1')">{{
                $t("common.empty")
              }}</el-button>
            </el-form-item>
          </el-form>
          <el-table :data="tableData" stripe style="width: 100%">
            <el-table-column
              width="120"
              type="index"
              :label="$t('operatManage.tokentoolObj.serialnumber')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.serviceName')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.serviceAddress')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.porstServiceAddress')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.serviceid')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.sourcesystem')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.pubicnot')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.suffixID')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.goonlinenot')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.primaryKey')"
            />
            <el-table-column
              fixed="right"
              :label="$t('operatManage.tokentoolObj.operation')"
              width="300"
            >
              <template #default>
                <!-- <el-button type="primary" size="small">修改</el-button> -->
                <el-button type="danger" size="small">{{
                  $t("common.delete")
                }}</el-button>
                <el-button type="warning" size="small">{{
                  $t("common.update")
                }}</el-button>
                <el-button type="primary" size="small">{{
                  $t("operatManage.tokentoolObj.applyToken")
                }}</el-button>
              </template>
            </el-table-column>
          </el-table>
        </el-tab-pane>
        <el-tab-pane
          :label="$t('operatManage.tokentoolObj.second')"
          name="second"
        >
          <div class="herder_box">
            {{ $t("operatManage.operationLogObj.queryRegion") }}
          </div>
          <el-form ref="formData1" :model="tokenform" :inline="true">
            <el-form-item
              :label="$t('operatManage.tokentoolObj.serviceid')"
              prop="name"
            >
              <el-input
                style="width: 200px"
                v-model="tokenform.tokenId"
                :placeholder="$t('common.pleaseInput')"
              />
            </el-form-item>
            <el-form-item
              :label="$t('operatManage.tokentoolObj.tokenName')"
              prop="region"
            >
              <el-input
                style="width: 200px"
                v-model="tokenform.tokenName"
                :placeholder="$t('common.pleaseInput')"
              />
            </el-form-item>
            <el-form-item
              :label="$t('operatManage.tokentoolObj.tokenStatus')"
              prop="region"
            >
              <el-select
                v-model="tokenform.region"
                :placeholder="$t('common.choose')"
              >
                <el-option
                  :label="$t('operatManage.tokentoolObj.tokenAll')"
                  value="1"
                />
                <el-option
                  :label="$t('operatManage.tokentoolObj.tokeNormal')"
                  value="2"
                />
                <el-option
                  :label="$t('operatManage.tokentoolObj.tokenInvalid')"
                  value="3"
                />
              </el-select>
            </el-form-item>
            <!-- æŸ¥è¯¢ æ¸…空 -->
            <el-form-item>
              <el-button icon="el-icon-search" @click="onSubmit">{{
                $t("common.iquery")
              }}</el-button>
              <el-button icon="el-icon-delete" @click="onEmpty('formData1')">{{
                $t("common.empty")
              }}</el-button>
            </el-form-item>
          </el-form>
          <el-table :data="tableData1" stripe style="width: 100%">
            <el-table-column
              width="120"
              type="index"
              :label="$t('operatManage.tokentoolObj.serialnumber')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.serviceName')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.applysystem')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.applicantIP')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.applicationtime')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.applytime')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.tokenstring')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.resourcetoken')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.tokeninformation')"
            />
            <el-table-column
              prop="creationtime"
              :label="$t('operatManage.tokentoolObj.tokenStatus')"
            />
            <el-table-column
              fixed="right"
              :label="$t('operatManage.tokentoolObj.autorenew')"
            >
            </el-table-column>
            <el-table-column
              fixed="right"
              :label="$t('operatManage.tokentoolObj.operation')"
              width="200"
            >
              <template #default>
                <el-button type="danger" size="small">{{
                  $t("operatManage.tokentoolObj.tokenInvalid")
                }}</el-button>
                <el-button type="warning" size="small">{{
                  $t("operatManage.tokentoolObj.tokenRenewal")
                }}</el-button>
              </template>
            </el-table-column>
          </el-table>
        </el-tab-pane>
      </el-tabs>
      <div style="margin-top: 40px" class="pagination_box">
        <el-pagination
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="currentPage4"
          :page-sizes="[10, 20, 30, 40]"
          :page-size="10"
          layout="total, sizes, prev, pager, next, jumper"
          :total="9"
        >
        </el-pagination>
      </div>
    </div>
  </div>
</template>
<script>
import MyBread from "../../components/MyBread.vue";
export default {
  //import引入的组件需要注入到对象中才能使用
  components: {
    MyBread,
  },
  data() {
    return {
      currentPage4: 1,
      activeName: 'first',
      serviceform: {
        serviceId: "",
        serviceName: "",
        serviceToken: "",
      },
      tokenform: {
        tokenId: "",
        tokenName: "",
        tokenStatus: ""
      },
      tableData: [{}],
      tableData1: [{}]
    };
  },
  methods: {
    handleSizeChange(val) {
      console.log(`每页 ${val} æ¡`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    },
    onSubmit() {
      console.log("submit!");
    },
    onEmpty(formData1) {
      this.$refs[formData1].resetFields()//重置表单数据
    }
  },
  created() { },
};
</script>
<style scoped>
/deep/ .el-table__fixed-right {
  height: 100% !important;
}
</style>
<style lang="less" scoped>
//@import url(); å¼•入公共cssç±»
.tokentool_box {
  background: rgb(240, 242, 245);
  border-radius: 10px;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  .inquire {
    padding: 10px;
    margin-top: 20px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    margin-bottom: 20px;
    .herder_box {
      padding: 10px;
      border-bottom: 1px solid #ccc;
      margin-bottom: 20px;
      font-size: 14px;
    }
  }
}
</style>