|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="descriptions-table"> |
|
|
|
<el-table :data="tableData" style="width: 100%"> |
|
|
|
<el-table-column prop="awardsName" label="奖项名称" align="center"> |
|
|
|
<el-table :data="tableData" style="width: 100%"> |
|
|
|
<el-table-column prop="awardsName" label="奖项名称" align="center"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="awardsLetter" label="荣誉文书编号" width="250" align="center"> |
|
|
|
</el-table-column> |
|
|
@ -20,28 +20,34 @@ |
|
|
|
@pagination="getResult" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { behaviorList } from "@/api/enterpriseInformation" |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
enterpriseId: "", |
|
|
|
dataApi: { |
|
|
|
data: { |
|
|
|
enterpriseId: "", |
|
|
|
type: "1" |
|
|
|
} |
|
|
|
}, |
|
|
|
tableData: [], |
|
|
|
apidata:{ |
|
|
|
pageNum:1, |
|
|
|
pageSize:10, |
|
|
|
apidata: { |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 10, |
|
|
|
}, |
|
|
|
pageSizes: [10, 20, 30, 50], |
|
|
|
total:0 |
|
|
|
total: 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted(){ |
|
|
|
this.enterpriseId = this.$route.query.enterpriseId |
|
|
|
mounted() { |
|
|
|
this.dataApi.data.enterpriseId = this.$route.query.enterpriseId |
|
|
|
this.getResult() |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
methods: { |
|
|
|
getResult() { |
|
|
|
behaviorList({enterpriseId:this.enterpriseId,type:"1"}).then(res => { |
|
|
|
behaviorList(this.dataApi).then(res => { |
|
|
|
this.tableData = res.data.records |
|
|
|
this.total = res.data.total |
|
|
|
}) |
|
|
@ -49,9 +55,11 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="less" scoped> |
|
|
|
.descriptions-table { |
|
|
|
min-height: 500px; |
|
|
|
|
|
|
|
/deep/.el-table { |
|
|
|
margin-top: 10px; |
|
|
|
|
|
|
|