层级数据

This commit is contained in:
clay
2022-01-10 23:25:40 +08:00
parent f213b292d0
commit c0244569fb
10 changed files with 654 additions and 241 deletions

View File

@@ -86,7 +86,7 @@
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" type="index" align="center">
<template slot-scope="scope">
<span>{{ ((queryParams.pageInfo.pageNum - 1) * queryParams.pageInfo.pageSize + scope.$index + 1)}}</span>
<span>{{ ((queryParams.pageInfo.pageNum - 1) * queryParams.pageInfo.pageSize + scope.$index + 1)}}</span>
</template>
</el-table-column>
<el-table-column label="标题" align="center" prop="title" />
@@ -330,7 +330,7 @@ export default {
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
this.form.imgurl = this.form.imgurl.url
// this.form.imgurl = this.form.imgurl.url
if (this.form.id != null) {
updateBanner(this.form).then(response => {
this.msgSuccess("修改成功");