This commit is contained in:
2025-07-24 14:50:56 +08:00
parent 3b30b2b834
commit 18e569cdd0

View File

@ -25,10 +25,10 @@ import { ref ,reactive, onMounted,getCurrentInstance} from 'vue';
const { proxy } = getCurrentInstance();
const checkData = reactive({
list: ["红", "橙", "黄", "蓝"],
hasChoose: ["红"]
hasChoose: ["红","橙", "黄", "蓝"]
});
const total = ref(0);
const yjJb = ref('');
const yjJb = ref('10,20,30,40');
const pageNum = ref(1);
const loading = ref(false); // 加载中
const personList = ref([]);
@ -60,9 +60,9 @@ const loadList = () =>{
}
const getList = () =>{
let params = { pageSize:10, pageNum:pageNum.value,yjJb:yjJb.value };
let data = { pageSize:10, pageNum:pageNum.value,yjJb:yjJb.value };
loading.value = true;
qcckPost({params},'/mosty-jmxf/tbYjxx/getPageList').then(res=>{
qcckPost(data,'/mosty-jmxf/tbYjxx/getPageList').then(res=>{
loading.value = false;
let arr = res.records || [];
personList.value = pageNum.value == 1 ? arr : personList.value.concat(arr);