|
@ -105,9 +105,10 @@ |
|
|
</el-row> |
|
|
</el-row> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="m-table"> |
|
|
<div class="g-table"> |
|
|
<div class="div_btn"> |
|
|
<el-button type="primary" |
|
|
<el-button type="primary" |
|
|
|
|
|
size="small" |
|
|
@click="handleCreateBtnClick">新增 |
|
|
@click="handleCreateBtnClick">新增 |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-upload |
|
|
<el-upload |
|
@ -125,21 +126,25 @@ |
|
|
:http-request="uploadHttpRequest" |
|
|
:http-request="uploadHttpRequest" |
|
|
style="display: inline-block;margin:0px 10px" |
|
|
style="display: inline-block;margin:0px 10px" |
|
|
> |
|
|
> |
|
|
<el-button type="primary" :loading="importLoading">导入</el-button> |
|
|
<el-button type="primary" :loading="importLoading" |
|
|
|
|
|
size="small" |
|
|
|
|
|
class="diy-button--white el-button--default">导入</el-button> |
|
|
</el-upload> |
|
|
</el-upload> |
|
|
<el-button type="primary" |
|
|
<el-button type="primary" |
|
|
|
|
|
size="small" |
|
|
:loading="exportBtnLoading" |
|
|
:loading="exportBtnLoading" |
|
|
@click="handleExportBtnClick">导出 |
|
|
@click="handleExportBtnClick">导出 |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button type="primary" |
|
|
<el-button type="primary" |
|
|
|
|
|
size="small" |
|
|
|
|
|
class="diy-button--white el-button--default" |
|
|
@click="handleDownloadTemplateBtnClick">下载模板 |
|
|
@click="handleDownloadTemplateBtnClick">下载模板 |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button type="primary" |
|
|
<el-button type="primary" |
|
|
|
|
|
size="small" |
|
|
@click="handleDeleteBatchBtnClick">批量删除 |
|
|
@click="handleDeleteBatchBtnClick">批量删除 |
|
|
</el-button> |
|
|
</el-button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div style="margin-top: 10px;margin-bottom: 10px"> |
|
|
|
|
|
<el-table |
|
|
<el-table |
|
|
:data="partymemberList" |
|
|
:data="partymemberList" |
|
|
border |
|
|
border |
|
@ -147,7 +152,8 @@ |
|
|
@select-all="handleMultiSelect" |
|
|
@select-all="handleMultiSelect" |
|
|
@selection-change="handleMultiSelect" |
|
|
@selection-change="handleMultiSelect" |
|
|
style="width: 100%" |
|
|
style="width: 100%" |
|
|
table |
|
|
class="m-table-item" |
|
|
|
|
|
:height="maxTableHeight" |
|
|
> |
|
|
> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
type="selection" |
|
|
type="selection" |
|
@ -159,6 +165,7 @@ |
|
|
width="180"> |
|
|
width="180"> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
|
|
|
|
|
|
prop="name" |
|
|
prop="name" |
|
|
label="姓名" |
|
|
label="姓名" |
|
|
width="180"> |
|
|
width="180"> |
|
@ -243,8 +250,6 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div> |
|
|
<div> |
|
|
<el-pagination |
|
|
<el-pagination |
|
|
background |
|
|
background |
|
@ -257,6 +262,7 @@ |
|
|
:total="total"> |
|
|
:total="total"> |
|
|
</el-pagination> |
|
|
</el-pagination> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
<Create ref="create" @finishUpdate="search"></Create> |
|
|
<Create ref="create" @finishUpdate="search"></Create> |
|
|
<Detail ref="detail" @finishUpdate="search"></Detail> |
|
|
<Detail ref="detail" @finishUpdate="search"></Detail> |
|
|
<Update ref="update" @finishUpdate="search"></Update> |
|
|
<Update ref="update" @finishUpdate="search"></Update> |
|
@ -268,6 +274,7 @@ |
|
|
|
|
|
|
|
|
import { defineComponent } from 'vue' |
|
|
import { defineComponent } from 'vue' |
|
|
import { Loading } from 'element-ui'; |
|
|
import { Loading } from 'element-ui'; |
|
|
|
|
|
import { mapGetters } from "vuex"; |
|
|
import Create from './create' |
|
|
import Create from './create' |
|
|
import Detail from './detail' |
|
|
import Detail from './detail' |
|
|
import Update from './update' |
|
|
import Update from './update' |
|
@ -358,7 +365,8 @@ export default { |
|
|
label: 'partyOrgName', |
|
|
label: 'partyOrgName', |
|
|
checkStrictly: true, |
|
|
checkStrictly: true, |
|
|
multiple: false |
|
|
multiple: false |
|
|
} |
|
|
}, |
|
|
|
|
|
searchH: 160, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -702,7 +710,15 @@ export default { |
|
|
this.searchForm.pageNo = pageNo; |
|
|
this.searchForm.pageNo = pageNo; |
|
|
this.search(); |
|
|
this.search(); |
|
|
}, |
|
|
}, |
|
|
} |
|
|
}, |
|
|
|
|
|
computed: { |
|
|
|
|
|
maxTableHeight() { |
|
|
|
|
|
const h = this.clientHeight - this.searchH - 330 + this.iframeHeight; |
|
|
|
|
|
const _h = this.clientHeight - 330 - this.searchH; |
|
|
|
|
|
return this.$store.state.inIframe ? h : _h; |
|
|
|
|
|
}, |
|
|
|
|
|
...mapGetters(["clientHeight", "iframeHeight"]), |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|