| | |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-permissions="['business:membercoupon:create', 'business:membercoupon:exportExcel']"> |
| | | <li><el-button type="primary" @click="$refs.OperaMemberCouponWindow.open('新建', null)" v-permissions="['business:membercoupon:create']">定向发放</el-button></li> |
| | | <li> <el-button type="primary" :loading="isWorking.export" v-permissions="['business:membercoupon:exportExcel']" @click="exportExcel">导出</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | |
| | | > |
| | | </pagination> |
| | | </template> |
| | | |
| | | <OperaMemberCouponWindow ref="OperaMemberCouponWindow" @success="handlePageChange"/> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import OperaMemberCouponWindow from '@/components/business/OperaMemberCouponWindow' |
| | | import Pagination from '@/components/common/Pagination' |
| | | export default { |
| | | name: 'MemberCoupon', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination }, |
| | | components: { TableLayout, Pagination ,OperaMemberCouponWindow}, |
| | | data () { |
| | | return { |
| | | // 搜索 |