@ -639,7 +639,6 @@ export default {
currentPage: 1,
pageSize: 20,
total: null,
searchH: 241,
resideathAddObj1: {}, // 死亡登记子组件
conditions: [],
activeName: "",
@ -714,10 +713,9 @@ export default {
computed: {
...mapGetters(["clientHeight", "iframeHeight"]),
tableHeight() {
const h =
this.clientHeight - this.searchH - 241 + this.iframeHeight;
const _h = this.clientHeight - 241 - this.searchH;
return this.$store.state.inIframe ? h : _h;
return this.$store.state.inIframe
? this.clientHeight - 450 + this.iframeHeigh
: this.clientHeight - 450;
},
@ -304,7 +304,7 @@ export default {
tableLoading: true,
total: 0,
searchH: 115,
searchH: 170,
formShow: false,
formTitle: "",
rowObj: {},
@ -1,7 +1,8 @@
<template>
<div v-if="pageLoading" class="g-main">
<div class="m-search" ref="searchCard">
<el-form
<div class="m-search" ref="searchCard" style="flex-direction: column;">
<section :class="boxHeight ? 'm-form-box-height' : 'm-form-box-height-auto'">
ref="searchForm"
:inline="true"
:model="searchForm"
@ -141,6 +142,7 @@
</el-date-picker>
</el-form-item>
</el-form>
</section>
<el-row>
<el-col :span="24" align="right">
<el-button type="primary" size="small" @click="handleSearch"
@ -152,6 +154,17 @@
@click="resetForm('searchForm')"
>重置</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-row>
</div>
@ -266,8 +279,7 @@
</template>
</el-table-column>
</el-table>
<div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
@ -279,6 +291,8 @@
</el-pagination>
<el-dialog
title="需求信息"
@ -665,6 +679,9 @@ export default {
value: "finished",
],
boxHeight:true,
serviceOptions: [
{
label: "志愿者",
@ -896,8 +913,8 @@ export default {
const h = this.clientHeight - this.searchH - 280 + this.iframeHeigh;
const _h = this.clientHeight - 280 - this.searchH;
const h = this.clientHeight - this.searchH - 450 + this.iframeHeigh;
const _h = this.clientHeight - 450 - this.searchH;
@ -797,17 +797,25 @@ export default {
async addFuwu() {
// 处理服务范围数据
await this.operationOption();
this.formData.attachmentList = [...this.fileList];
// this.formData.attachmentList = [...this.fileList];
this.fileList.forEach(item=>{
this.formData.attachmentList.push({
name:item.attachmentName,
type:item.attachmentType,
url:item.attachmentUrl,
format:item.attachmentFormat,
duration:0,
})
this.formData.assignInfo = this.newFormData;
let url = "/governance/policy/addPolicy";
if (this.formType === "add" || this.formType === "copy") {
url = "/governance/policy/addPolicy";
this.formData.policyId = "";
// this.formData.policyId = "";
} else {
url = "/heart/policy/update";
this.formData.policyId = this.policyId;
// this.formData.policyId = this.policyId;
}
// const url = 'http://yapi.elinkservice.cn/mock/245/heart/icServiceProject/service/initiate'
@ -330,8 +330,8 @@ export default {
maxTableHeight() {
? this.clientHeight - 400 + this.iframeHeigh
: this.clientHeight - 400;
@ -526,9 +526,9 @@ export default {
? this.clientHeight -
ref_search_height -
265 +
280 +
this.iframeHeight
: this.clientHeight - ref_search_height - 265;
: this.clientHeight - ref_search_height - 280;
@ -172,7 +172,7 @@ export default {
created() {},
return this.$store.state.inIframe ? this.clientHeight - 410 + this.iframeHeigh : this.clientHeight - 410;
return this.$store.state.inIframe ? this.clientHeight - 450 + this.iframeHeigh : this.clientHeight - 450;
...mapGetters(['clientHeight', 'iframeHeight'])
@ -155,7 +155,7 @@ export default {