Commit b93ba9b2 authored by 华国豪's avatar 华国豪 🙄

优化

parent 36928608
......@@ -57,7 +57,7 @@
<p v-if="d.w">{{d.w.CreateName}} 提交于 {{item.CreateDate}}</p>
<div class="cont">{{item.Content}}</div>
<div class="attach">
附件:<span @click="openFile(item.Attach)">{{item.Attach!=="" ? item.Attach : '无'}}</span>
附件:<span @click="openFile(item.Attach)" style="cursor: pointer;">{{item.Attach!=="" ? item.Attach : '无'}}</span>
</div>
</el-card>
</div>
......
......@@ -83,7 +83,7 @@
:value="$t('pub.searchBtn')"
@click="getList();resetPageIndex()"
/>
<button class="normalBtn" @click="method5()">导出</button>
<button class="normalBtn" @click="exportFile()">导出</button>
</li>
</ul>
</div>
......@@ -258,6 +258,11 @@ export default {
//this.getEmployee();
},
methods: {
exportFile(){
this.apipost('', {}, r=>{
})
},
resetPageIndex() {
this.msg.pageIndex = 1;
this.currentPage = 1;
......
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