导出excel功能开发
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
|
||||
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
|
||||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
||||
<script src="http://lib.baomitu.com/qs/6.10.3/qs.min.js"></script>
|
||||
<link rel="stylesheet" href="/Contents/index.css">
|
||||
<script src="/Contents/vue.min.js"></script>
|
||||
<script src="/Contents/index.js"></script>
|
||||
<script src="/Contents/axios.min.js"></script>
|
||||
<script src="/Contents/qs.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -320,7 +320,7 @@
|
||||
},
|
||||
export_excel() {
|
||||
this.loading = true;
|
||||
this.download('/gb/yjb/api/ningbozhichun/export_excel', this.dateFormat("YYYYmmddHHMMSS", new Date()) + "-共赴宁波之春.xlsx", this.loading_false);
|
||||
this.download('/gb/yjb/api/outsidewall/export_excel', this.dateFormat("YYYYmmddHHMMSS", new Date()) + "-问卷调查结果.xlsx", this.loading_false);
|
||||
},
|
||||
check_login() {
|
||||
this.token = window.sessionStorage.getItem('__TOKEN');
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
|
||||
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
|
||||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
||||
<script src="http://lib.baomitu.com/qs/6.10.3/qs.min.js"></script>
|
||||
<link rel="stylesheet" href="/Contents/index.css">
|
||||
<script src="/Contents/vue.min.js"></script>
|
||||
<script src="/Contents/index.js"></script>
|
||||
<script src="/Contents/axios.min.js"></script>
|
||||
<script src="/Contents/qs.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
<h3 style="text-align:center;">
|
||||
<el-button @@click="toBuildPage">查看幢统计</el-button>
|
||||
<el-button type="primary" @@click="export_excel" :loading="loading">导出Excel</el-button>
|
||||
@*<el-button type="primary" @@click="export_excel" :loading="loading">导出Excel</el-button>*@
|
||||
</h3>
|
||||
<el-image ref="myImg" class="my-img" :src="dialogImageUrl" :preview-src-list="dialogImageUrls">
|
||||
</el-image>
|
||||
|
||||
2
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/axios.min.js
vendored
Normal file
2
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/axios.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
1
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/index.css
Normal file
1
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/index.css
Normal file
File diff suppressed because one or more lines are too long
1
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/index.js
Normal file
1
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/index.js
Normal file
File diff suppressed because one or more lines are too long
1
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/qs.min.js
vendored
Normal file
1
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/qs.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
11894
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/vue.js
Normal file
11894
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/vue.js
Normal file
File diff suppressed because it is too large
Load Diff
11
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/vue.min.js
vendored
Normal file
11
20220330_Vote/Ewide.Web.Entry/wwwroot/Contents/vue.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user