提交
This commit is contained in:
@@ -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();
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user