更新
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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('确认撤控吗?', '提示', {
|
||||
|
||||
Reference in New Issue
Block a user