使用tanstack/vue-query

This commit is contained in:
2024-09-19 19:27:55 +08:00
parent 13b57fa2ed
commit 2866a07493
12 changed files with 440 additions and 337 deletions

View File

@@ -6,14 +6,14 @@
class="my-custom-class"
:columns="props.columns"
:data="previewRecord"
:column="1"
:column="3"
size="mini"
></ma-info>
</a-modal>
</template>
<script setup>
import { ref, reactive } from "vue"
import { ref } from "vue"
import MaInfo from "@/components/ma-info/index.vue"
// 提供open方法给外界并获取整行数据
const visible = ref(false)

View File

@@ -199,7 +199,6 @@ const useCrudInit = function () {
}
]
},
// 这是只为了搜索的字段
{
title: "时间范围",
hide: true,
@@ -261,6 +260,7 @@ const useCrudInit = function () {
hide: true,
search: false,
formType: "select",
allowCreate: true,
dict: { name: "devplant", props: { label: "title", value: "key" } }
},
{