|
@@ -0,0 +1,95 @@
|
|
|
|
+<template>
|
|
|
|
+ <a-card :bordered="false">
|
|
|
|
+
|
|
|
|
+ <!-- 查询区域 -->
|
|
|
|
+ <div class="table-page-search-wrapper">
|
|
|
|
+ <a-form layout="inline">
|
|
|
|
+ <a-row :gutter="24">
|
|
|
|
+
|
|
|
|
+ <a-col :md="6" :sm="8">
|
|
|
|
+ <a-form-item label="产品名称">
|
|
|
|
+ <a-input placeholder="请输入产品名称" v-model="queryParam.name"></a-input>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="8" >
|
|
|
|
+ <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
|
|
+ <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
|
|
|
|
+ <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
|
|
+ </span>
|
|
|
|
+ </a-col>
|
|
|
|
+
|
|
|
|
+ </a-row>
|
|
|
|
+ </a-form>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- table区域-begin -->
|
|
|
|
+ <div>
|
|
|
|
+
|
|
|
|
+ <a-table
|
|
|
|
+ ref="table"
|
|
|
|
+ size="middle"
|
|
|
|
+ bordered
|
|
|
|
+ rowKey="id"
|
|
|
|
+ :columns="columns"
|
|
|
|
+ :dataSource="dataSource"
|
|
|
|
+ :pagination="ipagination"
|
|
|
|
+ :loading="loading">
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </a-table>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- table区域-end -->
|
|
|
|
+
|
|
|
|
+ <!-- 表单区域 -->
|
|
|
|
+ <kuaishouAppProduct-modal ref="modalForm" @ok="modalFormOk"></kuaishouAppProduct-modal>
|
|
|
|
+ </a-card>
|
|
|
|
+</template>
|
|
|
|
+
|
|
|
|
+<script>
|
|
|
|
+ import KuaishouAppProductModal from './modules/KuaishouAppProductModal'
|
|
|
|
+ import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
|
+
|
|
|
|
+ export default {
|
|
|
|
+ name: "KuaishouAppProductList",
|
|
|
|
+ mixins:[JeecgListMixin],
|
|
|
|
+ components: {
|
|
|
|
+ KuaishouAppProductModal
|
|
|
|
+ },
|
|
|
|
+ data () {
|
|
|
|
+ return {
|
|
|
|
+ description: '快手推广产品管理页面',
|
|
|
|
+ // 表头
|
|
|
|
+ columns: [
|
|
|
|
+ {
|
|
|
|
+ title: '产品名称',
|
|
|
|
+ align:"center",
|
|
|
|
+ dataIndex: 'name'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '投放日期',
|
|
|
|
+ align:"center",
|
|
|
|
+ dataIndex: 'createTime'
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
|
|
+ url: {
|
|
|
|
+ list: "/kuaishou.modules.app/kuaishouAppProduct/list",
|
|
|
|
+ delete: "/kuaishou.modules.app/kuaishouAppProduct/delete",
|
|
|
|
+ deleteBatch: "/kuaishou.modules.app/kuaishouAppProduct/deleteBatch",
|
|
|
|
+ exportXlsUrl: "kuaishou.modules.app/kuaishouAppProduct/exportXls",
|
|
|
|
+ importExcelUrl: "kuaishou.modules.app/kuaishouAppProduct/importExcel",
|
|
|
|
+ },
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ computed: {
|
|
|
|
+ importExcelUrl: function(){
|
|
|
|
+ return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ methods: {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+</script>
|
|
|
|
+<style scoped>
|
|
|
|
+ @import '~@assets/less/common.less'
|
|
|
|
+</style>
|