Commit 9f47fa96 authored by 李苏's avatar 李苏 💬

履职 新增download

parent 638ea938
......@@ -36,12 +36,19 @@
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton>
<!-- <AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton> -->
<AttachFileButton :app='app'></AttachFileButton>
<el-button @click="sclzbg" size='mini'
type="primary">生成履职报告</el-button>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!--<WorkFlowButton :app='this'></WorkFlowButton>-->
......@@ -73,6 +80,9 @@
<script>
/* 引入需要的接口*/
/* 引入需要的接口*/
import {
downloadJson
} from 'common/src/utils/request'
import {
doQuery,
doQueryOwn,
......@@ -125,6 +135,16 @@
}
},
methods: {
sclzbg(){
let params={
pageSize:this.$refs.TablePager.pageSize,
pageNo:this.$refs.TablePager.pageNo,
...this.queryParams
}
downloadJson('aqgl/rcgl/lzrw/exportWord',params,'履职报告.docx')
},
getRow: function(e) {
this.rowItem = e
this.$refs.report.queryParams.rwid=e.id
......
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