修复分享类型显示bug
This commit is contained in:
parent
bb1d7aa922
commit
70daacf1b7
@ -1 +0,0 @@
|
|||||||
|
|
@ -126,19 +126,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="al-r">
|
|
||||||
<el-pagination
|
|
||||||
:hide-on-single-page="true"
|
|
||||||
:current-page="currentPage"
|
|
||||||
:page-sizes="[10, 20, 50, 100]"
|
|
||||||
:page-size="pageSize"
|
|
||||||
layout="total, sizes, prev, pager, next"
|
|
||||||
:total="total"
|
|
||||||
class="al-r"
|
|
||||||
@size-change="sizeChange"
|
|
||||||
@current-change="pageChange"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<span slot="footer">
|
<span slot="footer">
|
||||||
<el-button @click="modalShareTypeVisible = false">关 闭</el-button>
|
<el-button @click="modalShareTypeVisible = false">关 闭</el-button>
|
||||||
</span>
|
</span>
|
||||||
@ -342,9 +329,6 @@ export default {
|
|||||||
// modal - shareType
|
// modal - shareType
|
||||||
modalShareTypeVisible: false,
|
modalShareTypeVisible: false,
|
||||||
shareTypeList: [],
|
shareTypeList: [],
|
||||||
pageSize: 10,
|
|
||||||
currentPage: 1,
|
|
||||||
total: 0,
|
|
||||||
// modal - shareTypeEdit
|
// modal - shareTypeEdit
|
||||||
modalShareTypeEditVisible: false,
|
modalShareTypeEditVisible: false,
|
||||||
shareTypeForm: {
|
shareTypeForm: {
|
||||||
@ -419,10 +403,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getShareTypes() {
|
getShareTypes() {
|
||||||
getShareTypes({
|
getShareTypes()
|
||||||
pageSize: this.pageSize,
|
|
||||||
currentPage: this.currentPage
|
|
||||||
})
|
|
||||||
.then(res => {
|
.then(res => {
|
||||||
const data = res.data
|
const data = res.data
|
||||||
if (data.errcode === 0) {
|
if (data.errcode === 0) {
|
||||||
@ -608,14 +589,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
sizeChange(val) {
|
|
||||||
this.pageSize = val
|
|
||||||
this.getShareTypes()
|
|
||||||
},
|
|
||||||
pageChange(val) {
|
|
||||||
this.currentPage = val
|
|
||||||
this.getShareTypes()
|
|
||||||
},
|
|
||||||
// modal - 地域
|
// modal - 地域
|
||||||
addArea() {
|
addArea() {
|
||||||
this.openModalAreaEdit()
|
this.openModalAreaEdit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user