Commit 0896eb60 by 刘润源

报表-样式修改

parent a5fd5afe
......@@ -5,7 +5,7 @@
<!-- 搜索区域 -->
<a-form layout="inline">
<a-row :gutter="24">
<a-col :md="12" :sm="12">
<a-col :md="6" :sm="12">
<a-form-item label="时间选择:">
<a-range-picker @change="onChange" />
</a-form-item>
......@@ -17,7 +17,6 @@
<a-button v-show="callback" style="margin-left: 10px">导出中<a-spin style="margin-left: 5px" size="small"/></a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
......@@ -48,10 +47,14 @@
endTime :''
},
columns: [
{title: '县分',
dataIndex: 'subName',
width: 80,
fixed : 'left'
},
{title:'时间',
children: [
{title:'业务类型',children: [
{dataIndex: 'subName', width: 80, title: '县分'},
{dataIndex: 'schoolNum', width: 80, title: '学校数'},
{dataIndex: 'studentNum', width: 80, title: '学生数'}
]}
......@@ -149,6 +152,9 @@
},
handleSubmit() {
this.callback=true;
var today = new Date();
today.setTime(today.getTime());
var s2 = today.getFullYear()+"-" + (today.getMonth()+1) + "-" + today.getDate();
exportFile(reportDownload(), "一人一码统计报表" + nowdate + ".xlsx",this.downloadstatu);
},
downloadstatu(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment