|
@@ -7,40 +7,15 @@
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-item label="stateDate">
|
|
|
|
- <a-input placeholder="请输入stateDate" v-model="queryParam.stateDate"></a-input>
|
|
|
|
|
|
+ <a-form-item label="选择日期">
|
|
|
|
+<!-- <a-input placeholder="请输入stateDate" v-model="queryParam.stateDate"></a-input>-->
|
|
|
|
+ <a-date-picker v-model="queryParam.stateDate" format="YYYY-MM-DD" style="width:100%" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="productLine">
|
|
|
|
- <a-input placeholder="请输入productLine" v-model="queryParam.productLine"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <template v-if="toggleSearchStatus">
|
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="taskName">
|
|
|
|
- <a-input placeholder="请输入taskName" v-model="queryParam.taskName"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="clientName">
|
|
|
|
- <a-input placeholder="请输入clientName" v-model="queryParam.clientName"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="channelId">
|
|
|
|
- <a-input placeholder="请输入channelId" v-model="queryParam.channelId"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </template>
|
|
|
|
<a-col :md="6" :sm="8" >
|
|
<a-col :md="6" :sm="8" >
|
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
<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="searchQuery" icon="search">查询</a-button>
|
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
- <a @click="handleToggleSearch" style="margin-left: 8px">
|
|
|
|
- {{ toggleSearchStatus ? '收起' : '展开' }}
|
|
|
|
- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
|
|
|
- </a>
|
|
|
|
</span>
|
|
</span>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
@@ -50,8 +25,6 @@
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
<!-- 操作按钮区域 -->
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
|
|
- <a-button type="primary" icon="download" @click="handleExportXls('聚划算后端数据')">导出</a-button>
|
|
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
</a-upload>
|
|
</a-upload>
|
|
@@ -65,11 +38,6 @@
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
<!-- table区域-begin -->
|
|
<div>
|
|
<div>
|
|
- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
|
- <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
|
|
- <a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
<a-table
|
|
<a-table
|
|
ref="table"
|
|
ref="table"
|
|
size="middle"
|
|
size="middle"
|
|
@@ -79,7 +47,6 @@
|
|
:dataSource="dataSource"
|
|
:dataSource="dataSource"
|
|
:pagination="ipagination"
|
|
:pagination="ipagination"
|
|
:loading="loading"
|
|
:loading="loading"
|
|
- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
|
@change="handleTableChange">
|
|
@change="handleTableChange">
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
<span slot="action" slot-scope="text, record">
|
|
@@ -122,58 +89,48 @@
|
|
description: '聚划算后端数据管理页面',
|
|
description: '聚划算后端数据管理页面',
|
|
// 表头
|
|
// 表头
|
|
columns: [
|
|
columns: [
|
|
- {
|
|
|
|
- title: '#',
|
|
|
|
- dataIndex: '',
|
|
|
|
- key:'rowIndex',
|
|
|
|
- width:60,
|
|
|
|
- align:"center",
|
|
|
|
- customRender:function (t,r,index) {
|
|
|
|
- return parseInt(index)+1;
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
- title: 'stateDate',
|
|
|
|
|
|
+ title: '日期',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'stateDate'
|
|
dataIndex: 'stateDate'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'productLine',
|
|
|
|
|
|
+ title: '产品线',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'productLine'
|
|
dataIndex: 'productLine'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'taskName',
|
|
|
|
|
|
+ title: '任务名称',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'taskName'
|
|
dataIndex: 'taskName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'clientName',
|
|
|
|
|
|
+ title: '客户端',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'clientName'
|
|
dataIndex: 'clientName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'channelId',
|
|
|
|
|
|
+ title: '渠道id',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'channelId'
|
|
dataIndex: 'channelId'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'channelName',
|
|
|
|
|
|
+ title: '渠道名称',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'channelName'
|
|
dataIndex: 'channelName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'adId',
|
|
|
|
|
|
+ title: '计划id',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'adId'
|
|
dataIndex: 'adId'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'pageView',
|
|
|
|
|
|
+ title: '页面访问UV',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'pageView'
|
|
dataIndex: 'pageView'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: 'dealNumber',
|
|
|
|
|
|
+ title: '成交笔数',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'dealNumber'
|
|
dataIndex: 'dealNumber'
|
|
},
|
|
},
|
|
@@ -199,7 +156,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|