<!--
授权风险日志
@Author: linqian
@date: 2022-08-25 09:53
-->
<template>
  <div>
    <!-- 搜索项 -->
    <search-bar ref="searchbar" :conditionForm="conditionForm" @submitSearch="receiveSearch"></search-bar>
    <!-- 表格 -->
    <new-table
      ref="table"
      :tableUrl="tableUrl"
      :tableHeader="tableHeader"
      :condition="condition"
    >
    </new-table>
  </div>
</template>

<script>
import newTable from '@/components/new-table';
import searchBar from '@/components/search-bar';
import { searchOpt } from '@/mixins/page-opt';
export default {
  components: {
    newTable,
    searchBar
  },
  mixins: [searchOpt],
  data() {
    return {
      tableUrl: "/authsvr/v2/selfauth/redListApplyLog",
      tableHeader: [
        {
          prop: 'logSender',
          label: '日志发送方'
        },
        {
          prop: 'logReceiver',
          label: '日志接收方'
        },
        {
          prop: 'userName',
          label: '姓名'
        },
        {
          prop: 'idcard',
          label: '身份证号码'
        },
        {
          prop: 'riskType',
          label: '风险类型',
          code: "DM_AUTHOR_RISK_TYPE "
        },
        {
          prop: 'riskContent',
          label: '风险内容'
        },
        {
          prop: 'logSendTime',
          label: '风险发送时间'
        }
      ],
      conditionForm: [
        {
          label: '风险发送时间',
          name: 'logSendTime',
          op: 'between',
          type: 'DATE',
          value: '',
          valueFormat: 'yyyyMMddHHmmss',
          component: 'DgDatePicker'
        }
      ]
    };
  },
  computed: {},
  methods: {},
  created() {},
  mounted() {}
};
</script>

<style lang='scss'>
</style>