Commit 1bff37dc authored by zhengke's avatar zhengke

首页新增 TempType查询

parent d6369be6
...@@ -122,6 +122,7 @@ ...@@ -122,6 +122,7 @@
import { useScreenStore } from "@/store/screen"; import { useScreenStore } from "@/store/screen";
import { storeToRefs } from "pinia"; import { storeToRefs } from "pinia";
import { injectKeyTemplate } from '@/types/injectKey' import { injectKeyTemplate } from '@/types/injectKey'
import { query } from '@/utils/common'
import LayoutPool from './LayoutPool.vue' import LayoutPool from './LayoutPool.vue'
import { ElLoading, ElMessage, ElMessageBox } from "element-plus"; import { ElLoading, ElMessage, ElMessageBox } from "element-plus";
...@@ -153,6 +154,7 @@ ...@@ -153,6 +154,7 @@
SeasonName: '', //季节名称 SeasonName: '', //季节名称
ColorName: '', //颜色名称 ColorName: '', //颜色名称
pageCount: 0, //总页数 pageCount: 0, //总页数
TempType: 2,
}) })
const loading = ref(false as any) const loading = ref(false as any)
...@@ -241,6 +243,7 @@ ...@@ -241,6 +243,7 @@
* 获取模板市场分页列表 * 获取模板市场分页列表
*/ */
const queryTemplateBySearchHandler = async () => { const queryTemplateBySearchHandler = async () => {
queryObj.TempType = query().TempType
loading.value = true loading.value = true
try { try {
if(queryObj.pageIndex == 1) dataList.value =[] if(queryObj.pageIndex == 1) dataList.value =[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment