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

优化

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