This commit is contained in:
lcw
2025-09-25 12:42:28 +08:00
parent 5662689bb5
commit 377c62b0d6
5 changed files with 334 additions and 69 deletions

View File

@ -29,7 +29,14 @@ const dialogForm = ref(false);
const FormRef = ref();
const listQuery = ref({});
const formList = reactive([
const formList = ref([])
// 初始化数据
const init = (type, row,) => {
dialogForm.value = true;
listQuery.value=row
formList.value=[
[
{ label: "姓名", prop: "xm", type: "input" },
{ label: "证件号码", prop: "sfzh", type: "input" },
@ -39,13 +46,8 @@ const formList = reactive([
{ label: "是否年检", prop: "isnj", type:"select",options: props.dict.D_BZ_SF},
{ label: "年检时间", prop: "njsj", type: "date" },
],
])
]
// 初始化数据
const init = (type, row,) => {
dialogForm.value = true;
listQuery.value=row
};
const close = () => {