sensitiveIdentify.vue 1.65 KB
<route lang="yaml">
  name: sensitiveIdentify
</route>

<script lang="ts" setup name="sensitiveIdentify">
import TableTools from "@/components/Tools/table_tools.vue";
import { commonPageConfig } from '@/components/PageNav/index';
import { TableColumnWidth } from "@/utils/enum";
import {
  getSensitiveDataTaskList,
} from '@/api/modules/dataAnonymization';

const router = useRouter()
const { proxy } = getCurrentInstance() as any;

const searchItemList = ref([{
  type: "input",
  label: "",
  field: "taskName",
  default: "",
  placeholder: "任务名称",
  clearable: true,
}, {
  type: "select",
  label: "",
  field: "fieldType",
  default: null,
  options: [],
  placeholder: "数据来源",
  clearable: true,
  filterable: true,
}])

/** 分页及搜索传参信息配置。 */
const page = ref({
  ...commonPageConfig,
  generalizeFileName: '',
  fieldType: ''
});

</script>

<template>
  <div class="container_wrap">
    <div class="table_tool_wrap">
      <!-- 头部搜索 -->
      <!-- <TableTools :searchItems="searchItemList" :searchId="'data-label-search'" @search="toSearch" :init="false" />
      <div class="tools_btns">
        <el-button type="primary" @click="handleCreate">新建</el-button>
      </div> -->
    </div>
    <div class="table_panel_wrap">
      <!-- 右侧标签管理表格 -->
      <!-- <Table :tableInfo="tableInfo" @tablePageChange="tablePageChange" /> -->
    </div>
  </div>
</template>

<style lang="scss" scoped>
.table_tool_wrap {
  width: 100%;
  height: 84px !important;
  padding: 0 8px;

  .tools_btns {
    padding: 0px 0 0;
  }
}

.table_panel_wrap {
  width: 100%;
  height: calc(100% - 84px);
  padding: 0px 8px 0;
}
</style>