Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1
zouap 4 years ago
parent
commit
d68f09029a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      routers/repo/user_data_analysis.go
  2. +1
    -1
      web_src/js/components/UserAnalysis.vue

+ 1
- 1
routers/repo/user_data_analysis.go View File

@@ -67,7 +67,7 @@ func QueryUserStaticDataPage(ctx *context.Context) {
if IsReturnFile { if IsReturnFile {
//writer exec file. //writer exec file.
xlsx := excelize.NewFile() xlsx := excelize.NewFile()
sheetName := ctx.Tr("static.sheetname")
sheetName := ctx.Tr("user.static.sheetname")
index := xlsx.NewSheet(sheetName) index := xlsx.NewSheet(sheetName)
dataHeader := map[string]string{ dataHeader := map[string]string{
"A1": ctx.Tr("user.static.id"), "A1": ctx.Tr("user.static.id"),


+ 1
- 1
web_src/js/components/UserAnalysis.vue View File

@@ -29,7 +29,7 @@
<a style="display:inline-block;margin-left: 20px; " id = 'download'> <a style="display:inline-block;margin-left: 20px; " id = 'download'>
<i class="el-icon-download"></i> <i class="el-icon-download"></i>
<!--<span ><a @click="exportData()">下载报告</a> </span> --> <!--<span ><a @click="exportData()">下载报告</a> </span> -->
<span ><a :href= "'/tool/query_user_static_page/?startDate='+this.params.beginTime+'&endDate='+this.params.endTime+'&IsReturnFile=true'">下载报告</a> </span>
<span ><a :href= "'/tool/query_user_static_page/?startDate=2021-11-01&endDate=2021-11-16&IsReturnFile=true'">下载报告</a> </span>
</a> </a>
<span style="display:inline-block;margin-left: 20px; "> <span style="display:inline-block;margin-left: 20px; ">
<el-input size="small" placeholder="输入用户名搜索" v-model="search" class="input-with-select" @keyup.enter.native="searchName() "><i slot="suffix" class="el-input__icon el-icon-search"></i> <el-input size="small" placeholder="输入用户名搜索" v-model="search" class="input-with-select" @keyup.enter.native="searchName() "><i slot="suffix" class="el-input__icon el-icon-search"></i>


Loading…
Cancel
Save