staffSendDetail.vue 1.61 KB
<template>
  <div>
    <glsx-combi-form ref="staffSendFormRef" :formObj="searchForm" :formData="staffSendFormData" :inline="true">
      <span slot="footer" slot-scope="scope" class="select-pro">
        <el-button type="default" :size="size" @click="handleSearch(scope)">查询</el-button>
        <el-button type="default" :size="size" @click="handleReset(scope)">重置</el-button>
      </span>
    </glsx-combi-form>
    <GLTable ref="materialRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :tableData="staffSendTableData" :pageConf="pageConf" :tableTotal="tableTotal">
    </GLTable>
  </div>
</template>

<script>
import url from "@/assets/empty.png"
export default {
  name: 'staffSendDetail',
  data() {
    return {
      url,
      searchForm: {
        staffName: ''
      },
      staffSendFormData: [
        {
          label: '姓名:',
          name: 'staffName',
          type: 'input'
        }
      ],
      tableParams: {
        listName: 'list',
        tableOption: false,
        tableColumns: [
          {
            label: '姓名',
            prop: 'staffName'
          },
          {
            label: '发送次数',
            prop: 'sendTimes',
            sortable: true
          },
          {
            label: '阅读次数',
            prop: 'resdTimes',
            sortable: true
          },
          {
            label: '阅读人数',
            prop: 'readPer'
          },
          {
            label: '打开率',
            prop: 'openRate'
          }
        ]
      }
    }
  }
}
</script>

<style lang="" scoped>
    
</style>