This commit is contained in:
2025-07-14 16:56:58 +08:00
parent 6a2b4e12c5
commit 09a47e5369
2 changed files with 5 additions and 2 deletions

View File

@ -78,9 +78,12 @@ const pageForm = reactive({
const emits = defineEmits(["update:modelValue"]);
const getList = () =>{
pageForm.tableConfiger.loading = true;
qcckGet({},'/mosty-gsxt/qbcj/getXshbXq').then(res=>{
console.log(res,'============监听');
pageForm.tableData = res || [];
pageForm.tableConfiger.loading = false;
}).catch(()=>{
pageForm.tableConfiger.loading = false;
})
}

View File

@ -182,7 +182,7 @@ const handleZdhb = () =>{
// 手动合并
const handleSdhb = () =>{
if(ids.value.length == 0) return proxy.$message({ type: "success", message: "请先选择需要合并的数据" });
if(ids.value.length < 2) return proxy.$message({ type: "warning", message: "请先选择需要合并的数据,并且至少选择 2 条数据。" });
proxy.$confirm("是否确定要合并?", "警告", {type: "warning"}).then(() => {
qcckPost(ids.value,'/mosty-gsxt/qbcj/getXshbSdhb').then(res=>{
proxy.$message({ type: "success", message: "合并成功" });