添加未来建制列表

This commit is contained in:
WindowBird 2025-08-29 18:01:28 +08:00
parent 13d2323190
commit e4641df339
3 changed files with 13 additions and 41 deletions

View File

@ -19,3 +19,14 @@ export function getInstitutionalList(params = {}) {
};
return get("/app/formed/listFormed", { ...defaultParams, ...params });
}
export function getFutureList(params = {}) {
const defaultParams = {
pageNum: 1,
pageSize: 10,
orderByColumn: "createTime",
isAsc: "desc",
states: [1, 2], // 关键:直接传递数组
};
return get("/app/formed/listFormed", { ...defaultParams, ...params });
}

View File

@ -138,46 +138,7 @@ export default {
createTime: "2025-07-09 13:50:57",
coverUrl: "https://api.ccttiot.com/IMG01-1751968117197.jpg",
},
{
id: "17",
templeId: "12",
title: "施工情况02",
content: "<p>施工情况02施工情况02...</p>",
status: "1",
templeName: "寒山寺",
createTime: "2025-07-09 13:50:57",
coverUrl: "https://api.ccttiot.com/IMG01-1751968117197.jpg",
},
{
id: "19",
templeId: "12",
title: "施工情况01232",
content: "<p>施工情况02施工情况02...</p>",
status: "1",
templeName: "寒山寺",
createTime: "2025-07-09 13:50:57",
coverUrl: "https://api.ccttiot.com/IMG01-1751968117197.jpg",
},
{
id: "19",
templeId: "12",
title: "施工情况01232",
content: "<p>施工情况02施工情况02...</p>",
status: "1",
templeName: "寒山寺",
createTime: "2025-07-09 13:50:57",
coverUrl: "https://api.ccttiot.com/IMG01-1751968117197.jpg",
},
{
id: "19",
templeId: "12",
title: "施工情况01232",
content: "<p>施工情况02施工情况02...</p>",
status: "1",
templeName: "寒山寺",
createTime: "2025-07-09 13:50:57",
coverUrl: "https://api.ccttiot.com/IMG01-1751968117197.jpg",
},
{
id: "19",
templeId: "12",

View File

@ -1,6 +1,6 @@
<template>
<view class="page">
<custom-navbar title="建制" />
<custom-navbar ref="customNavbar" title="建制" />
<tile-grid />
<view class="header">
<!-- 状态展示 -->