|
@ -1,7 +1,8 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div v-if="pageLoading" class="g-main"> |
|
|
<div v-if="pageLoading" class="g-main"> |
|
|
<div class="m-search" ref="searchCard"> |
|
|
<div class="m-search" ref="searchCard" style="flex-direction: column;"> |
|
|
<el-form |
|
|
<section :class="boxHeight ? 'm-form-box-height' : 'm-form-box-height-auto'"> |
|
|
|
|
|
<el-form |
|
|
ref="searchForm" |
|
|
ref="searchForm" |
|
|
:inline="true" |
|
|
:inline="true" |
|
|
:model="searchForm" |
|
|
:model="searchForm" |
|
@ -141,6 +142,7 @@ |
|
|
</el-date-picker> |
|
|
</el-date-picker> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
</section> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="24" align="right"> |
|
|
<el-col :span="24" align="right"> |
|
|
<el-button type="primary" size="small" @click="handleSearch" |
|
|
<el-button type="primary" size="small" @click="handleSearch" |
|
@ -152,6 +154,17 @@ |
|
|
@click="resetForm('searchForm')" |
|
|
@click="resetForm('searchForm')" |
|
|
>重置</el-button |
|
|
>重置</el-button |
|
|
> |
|
|
> |
|
|
|
|
|
<el-button |
|
|
|
|
|
style="margin:0 6px 0 10px" |
|
|
|
|
|
size="small" |
|
|
|
|
|
class="div-table-button--blue" |
|
|
|
|
|
type="text" |
|
|
|
|
|
@click="boxHeight = !boxHeight" |
|
|
|
|
|
>{{ boxHeight ? "展开" : "收起" |
|
|
|
|
|
}}<i |
|
|
|
|
|
:class="boxHeight ? 'el-icon-arrow-down' : 'el-icon-arrow-up'" |
|
|
|
|
|
></i |
|
|
|
|
|
></el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
</div> |
|
|
</div> |
|
@ -266,8 +279,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
|
|
|
<el-pagination |
|
|
<el-pagination |
|
|
@size-change="handleSizeChange" |
|
|
@size-change="handleSizeChange" |
|
|
@current-change="handleCurrentChange" |
|
|
@current-change="handleCurrentChange" |
|
@ -279,6 +291,8 @@ |
|
|
> |
|
|
> |
|
|
</el-pagination> |
|
|
</el-pagination> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
<el-dialog |
|
|
title="需求信息" |
|
|
title="需求信息" |
|
@ -665,6 +679,9 @@ export default { |
|
|
value: "finished", |
|
|
value: "finished", |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
|
|
|
boxHeight:true, |
|
|
|
|
|
|
|
|
serviceOptions: [ |
|
|
serviceOptions: [ |
|
|
{ |
|
|
{ |
|
|
label: "志愿者", |
|
|
label: "志愿者", |
|
@ -896,8 +913,8 @@ export default { |
|
|
computed: { |
|
|
computed: { |
|
|
...mapGetters(["clientHeight", "iframeHeight"]), |
|
|
...mapGetters(["clientHeight", "iframeHeight"]), |
|
|
tableHeight() { |
|
|
tableHeight() { |
|
|
const h = this.clientHeight - this.searchH - 280 + this.iframeHeigh; |
|
|
const h = this.clientHeight - this.searchH - 450 + this.iframeHeigh; |
|
|
const _h = this.clientHeight - 280 - this.searchH; |
|
|
const _h = this.clientHeight - 450 - this.searchH; |
|
|
return this.$store.state.inIframe ? h : _h; |
|
|
return this.$store.state.inIframe ? h : _h; |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|