Browse Source

dd

shibei_master
13176889840 3 years ago
parent
commit
62c5cf8ed9
  1. 5
      src/views/modules/communityParty/members/cpts/record.vue
  2. 2
      src/views/modules/communityParty/members/index.vue
  3. 3
      src/views/modules/visual/communityParty/community.vue

5
src/views/modules/communityParty/members/cpts/record.vue

@ -64,7 +64,7 @@
<div v-else class="div-content">{{ scope.row.startDate + ' - ' + scope.row.endDate }}</div> <div v-else class="div-content">{{ scope.row.startDate + ' - ' + scope.row.endDate }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="120"> <el-table-column v-if="btnType == 'add'" label="操作" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.isEdit"> <template v-if="scope.row.isEdit">
<el-button <el-button
@ -123,7 +123,7 @@ export default {
data() { data() {
return { return {
btnDisabled: false, btnDisabled: false,
btnType: 'add', btnType: 'cancle',
isEdit: false, isEdit: false,
tableData: [], tableData: [],
tempRow: {} tempRow: {}
@ -217,6 +217,7 @@ export default {
this.$message.success('保存成功') this.$message.success('保存成功')
row.isEdit = false row.isEdit = false
this.isEdit = false this.isEdit = false
this.btnType = 'cancle'
this.getList() this.getList()
} }
}) })

2
src/views/modules/communityParty/members/index.vue

@ -493,7 +493,7 @@ export default {
handleTimeChangePay (val) { handleTimeChangePay (val) {
if (val.length > 0) { if (val.length > 0) {
this.searchForm.payStatrDate = val[0] this.searchForm.payStatrDate = val[0]
this.searchForm.payEndDate = val[0] this.searchForm.payEndDate = val[1]
} else { } else {
this.searchForm.payStatrDate = '' this.searchForm.payStatrDate = ''
this.searchForm.payEndDate = '' this.searchForm.payEndDate = ''

3
src/views/modules/visual/communityParty/community.vue

@ -1187,6 +1187,7 @@ export default {
.box-right { .box-right {
flex: 1; flex: 1;
height: 100%; height: 100%;
margin-left: 10px;
overflow: hidden; overflow: hidden;
.pagination { .pagination {
margin-top: 0; margin-top: 0;
@ -1255,7 +1256,7 @@ export default {
} }
} }
.table-h { .table-h {
height: 320px; height: 300px;
} }
.calc-h { .calc-h {
height: calc(100vh - 240px); height: calc(100vh - 240px);

Loading…
Cancel
Save