This commit is contained in:
2026-01-25 19:50:18 +08:00
parent 606184075b
commit 0067d31b32
8 changed files with 32 additions and 74 deletions

View File

@ -70,15 +70,12 @@ const disabled = ref(false);
// 初始化数据
const init = (type, row) => {
title.value = type == 'edit' ? '编辑' : '新增'
dialogForm.value = true;
if(type == 'edit'){
}
};
// 根据id查询详情
const getDataById = (id) => {
// qcckGet({id}, "/mosty-gsxt/tbGsxtZdcl/selectByid").then((res) => {
// listQuery.value = res;
// listQuery.value.fjdz = listQuery.value.fjdz?.split(",");
// });
};
// 提交
const submit = () => {
@ -90,9 +87,6 @@ const submit = () => {
return { bqdl: listQuery.value.dlid, bqdm: item.bqDm, bqmc: item.bqMc, bqsm: item.bqSm, bqys: item.bqYs }
})
const promes = [...a, ...b]
// data.fjdz = data.fjdz?.join(",");
let url = title.value == "新增" ? "/mosty-gsxt/gsxt/bqbk/saveList" : "/mosty-gsxt/tbGsxtZdcl/update";
loading.value = true;

View File

@ -139,8 +139,8 @@ const getList = () => {
pageData.tableConfiger.loading = false;
});
};
const AddFrom = () => {
addForm.value.init()
const AddFrom = (type,row) => {
addForm.value.init(type,row)
}
const handleItem = (type,row) => {
proxy.$confirm('确认撤控吗?', '提示', {