天波用户运营管理后台系统
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

78 行
2.3KB

  1. <!--
  2. * @Date: 2022-08-08 10:09:50
  3. * @LastEditors: JinxChen
  4. * @LastEditTime: 2022-09-09 14:54:02
  5. * @FilePath: \TelpoUserManageAdmin\src\views\message-manage\main\send-details\index.vue
  6. * @description: 发送明细
  7. -->
  8. <template>
  9. <div class="home-container">
  10. <!-- 顶部内容 -->
  11. <!-- <div class="top-container">
  12. <el-input
  13. :placeholder="placeholder"
  14. v-model="searchParams.inputValue"
  15. class="search-input"
  16. />
  17. <el-button icon="el-icon-search" @click="onSearch" type="primary" class="search-btn">搜索</el-button>
  18. </div> -->
  19. <TTable :tableData="dataList" :columns="columns"></TTable>
  20. <!-- 分页 -->
  21. <pagination
  22. v-show="total > 0"
  23. ref="pages"
  24. :total="total"
  25. :page.sync="searchParams.page"
  26. :limit.sync="searchParams.limit"
  27. />
  28. </div>
  29. </template>
  30. <script>
  31. import TTable from "@/components/TTable/TTable";
  32. import Pagination from "@/components/Pagination";
  33. export default {
  34. name: "send-details",
  35. components: { TTable, Pagination },
  36. data() {
  37. return {
  38. buttonList: [], // 头部按钮,例子: {name: '添加', type: 'primary', icon: 'el-icon-circle-plus', click: () => { this.AddDialog();}}
  39. searchParams: {
  40. inputValue: "",
  41. page: 1,
  42. limit: 10
  43. },
  44. placeholder: "可输入消息主题",
  45. dataList: [
  46. { sendUser: '张三', sendStatus: '成功', sendTime: '2022.09.09 17:35' },
  47. { sendUser: '李四', sendStatus: '成功', sendTime: '2022.09.09 17:35' },
  48. { sendUser: '王五', sendStatus: '失败', sendTime: '2022.09.09 17:35' },
  49. ],
  50. columns: [
  51. { prop: "sendUser", title: "发送对象", fixed: "left" },
  52. { prop: "sendStatus", title: "发送状态" },
  53. { prop: "sendTime", title: "发送时间" },
  54. ],
  55. total: 1
  56. };
  57. },
  58. mounted() {},
  59. created() {},
  60. methods: {
  61. onSearch() {}
  62. }
  63. };
  64. </script>
  65. <style scoped lang="scss">
  66. .search-input {
  67. width: 350px;
  68. margin-left: 20px;
  69. }
  70. .search-btn {
  71. margin-left: 20px;
  72. width: 100px;
  73. }
  74. </style>