更新
This commit is contained in:
@ -78,9 +78,12 @@ const pageForm = reactive({
|
|||||||
const emits = defineEmits(["update:modelValue"]);
|
const emits = defineEmits(["update:modelValue"]);
|
||||||
|
|
||||||
const getList = () =>{
|
const getList = () =>{
|
||||||
|
pageForm.tableConfiger.loading = true;
|
||||||
qcckGet({},'/mosty-gsxt/qbcj/getXshbXq').then(res=>{
|
qcckGet({},'/mosty-gsxt/qbcj/getXshbXq').then(res=>{
|
||||||
console.log(res,'============监听');
|
|
||||||
pageForm.tableData = res || [];
|
pageForm.tableData = res || [];
|
||||||
|
pageForm.tableConfiger.loading = false;
|
||||||
|
}).catch(()=>{
|
||||||
|
pageForm.tableConfiger.loading = false;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ const handleZdhb = () =>{
|
|||||||
|
|
||||||
// 手动合并
|
// 手动合并
|
||||||
const handleSdhb = () =>{
|
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(() => {
|
proxy.$confirm("是否确定要合并?", "警告", {type: "warning"}).then(() => {
|
||||||
qcckPost(ids.value,'/mosty-gsxt/qbcj/getXshbSdhb').then(res=>{
|
qcckPost(ids.value,'/mosty-gsxt/qbcj/getXshbSdhb').then(res=>{
|
||||||
proxy.$message({ type: "success", message: "合并成功" });
|
proxy.$message({ type: "success", message: "合并成功" });
|
||||||
|
Reference in New Issue
Block a user