提交
This commit is contained in:
@@ -109,12 +109,14 @@ export default {
|
||||
methods: {
|
||||
// 获取编辑列表数据
|
||||
getDate() {
|
||||
this.$emit('loading',true)
|
||||
this.$api
|
||||
.post('/api/Recommend/lists', this.messform)
|
||||
.then((res) => {
|
||||
this.revTable = res.data.lists;
|
||||
this.Total = res.data.total;
|
||||
this.loading = false;
|
||||
this.$emit('loading',false)
|
||||
// this.loading = false;
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
@@ -123,7 +125,8 @@ export default {
|
||||
|
||||
// 关键字搜索
|
||||
handleSearch() {
|
||||
this.loading = true;
|
||||
|
||||
// this.loading = true;
|
||||
// console.log(this.messform)
|
||||
this.getDate();
|
||||
},
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="isSelectAI">
|
||||
<commonAI @openSelect="openSelect" @openDetail="openDetail"></commonAI>
|
||||
<commonAI @openSelect="openSelect" @openDetail="openDetail" @loading="(status)=>loading=status"></commonAI>
|
||||
</div>
|
||||
</div>
|
||||
<el-dialog
|
||||
|
||||
Reference in New Issue
Block a user