This commit is contained in:
2025-04-18 13:00:32 +08:00
parent c2a3789e23
commit c9b62477e6
2 changed files with 6 additions and 3 deletions

View File

@@ -109,12 +109,14 @@ export default {
methods: { methods: {
// 获取编辑列表数据 // 获取编辑列表数据
getDate() { getDate() {
this.$emit('loading',true)
this.$api this.$api
.post('/api/Recommend/lists', this.messform) .post('/api/Recommend/lists', this.messform)
.then((res) => { .then((res) => {
this.revTable = res.data.lists; this.revTable = res.data.lists;
this.Total = res.data.total; this.Total = res.data.total;
this.loading = false; this.$emit('loading',false)
// this.loading = false;
}) })
.catch((err) => { .catch((err) => {
console.log(err); console.log(err);
@@ -123,7 +125,8 @@ export default {
// 关键字搜索 // 关键字搜索
handleSearch() { handleSearch() {
this.loading = true;
// this.loading = true;
// console.log(this.messform) // console.log(this.messform)
this.getDate(); this.getDate();
}, },

View File

@@ -120,7 +120,7 @@
</div> </div>
</div> </div>
<div v-if="isSelectAI"> <div v-if="isSelectAI">
<commonAI @openSelect="openSelect" @openDetail="openDetail"></commonAI> <commonAI @openSelect="openSelect" @openDetail="openDetail" @loading="(status)=>loading=status"></commonAI>
</div> </div>
</div> </div>
<el-dialog <el-dialog