|
|
@@ -77,7 +77,7 @@
|
|
|
import { Component, Vue } from "vue-property-decorator";
|
|
|
import { GetDesignList, DeleteEntity, insideGetDesignList, insideDeleteEntity } from "@/api/indexAI";
|
|
|
import { Lazyload, Loading } from 'vant';
|
|
|
-import { toLBHome } from '@/utils/index';
|
|
|
+import { toLBHome, getWecomType } from '@/utils/index';
|
|
|
|
|
|
Vue.use(Lazyload);
|
|
|
Vue.use(Loading);
|
|
|
@@ -201,14 +201,15 @@ export default class Resout extends Vue {
|
|
|
|
|
|
// 获取数据列表 - 支持加载更多
|
|
|
getDataInfioList(isLoadMore = false): void {
|
|
|
+ const userWecomType = sessionStorage.getItem("userWecomType") ? Number(sessionStorage.getItem("userWecomType")) : 5;
|
|
|
const queryJson = {
|
|
|
// WXuserid: userInfo.loginName
|
|
|
+ wecomType:userWecomType
|
|
|
};
|
|
|
|
|
|
const formData = new FormData();
|
|
|
formData.append("pagination", JSON.stringify(this.pagination));
|
|
|
formData.append("queryJson", JSON.stringify(queryJson));
|
|
|
-
|
|
|
this.GetDesignListToApi[this.wallType](formData).then((res) => {
|
|
|
if (res.StatusCode == 200) {
|
|
|
// 加载更多时合并数据,否则替换数据
|