|
|
@ -20,28 +20,34 @@ |
|
|
|
@pagination="getResult" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { behaviorList } from "@/api/enterpriseInformation" |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
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; |
|
|
|
|
|
|
|