1
Surpriseplus
2022-09-20 527086e70a81fa8fcc006b30e066f393f903143b
src/views/maintenance/operationLog.vue
@@ -8,16 +8,28 @@
    ></My-bread>
    <el-divider />
    <div class="inquire">
    <div class="herder_box">
      {{$t('operatManage.operationLogObj.queryRegion')}}
    </div>
      <div class="herder_box">
        {{ $t("operatManage.operationLogObj.queryRegion") }}
      </div>
      <el-form ref="formData1" :model="form" :inline="true">
        <el-form-item :label="$t('operatManage.operationLogObj.resourceName')" prop="name">
          <el-input v-model="form.name" :placeholder="$t('operatManage.operationLogObj.pleaseInput')" />
        <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="$t('operatManage.operationLogObj.operationType')" prop="region">
          <el-select v-model="form.region" :placeholder="$t('operatManage.operationLogObj.pleaseSelect')">
        <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" />
@@ -44,28 +56,52 @@
          </el-col>
        </el-form-item>
        <el-form-item>
          <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-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>
    <div class="table_box">
      <el-table :data="tableData" stripe style="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
          :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="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="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
          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>
          </template>
        </el-table-column> -->
@@ -217,7 +253,7 @@
      console.log("submit!");
    },
  },
  created() {},
  created() { },
};
</script>
<style lang="less" scoped>
@@ -235,7 +271,7 @@
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    margin-bottom: 20px;
    .herder_box{
    .herder_box {
      padding: 10px;
      border-bottom: 1px solid #ccc;
      margin-bottom: 20px;