This commit is contained in:
lcw
2025-09-25 09:44:43 +08:00
parent 691216c207
commit 5ae8ac0355
8 changed files with 236 additions and 121 deletions

View File

@ -19,27 +19,33 @@ import FormMessage from "@/components/aboutTable/FormMessage.vue";
import { ref, reactive,defineEmits,getCurrentInstance } from 'vue';
const emit = defineEmits(["refresh"]);
const { proxy } = getCurrentInstance();
const props = defineProps({
dict: {
default: [[]], //二维数组
type: Array
}
})
const dialogForm = ref(false);
const FormRef = ref();
const listQuery = ref({});
const loading = ref(false);
const formList = reactive([
[
{ label: "姓名", prop: "name", type: "input" },
{ label: "证件号码", prop: "idNumber", type: "input" },
{ label: "联系电话", prop: "contactInfo", type: "input" },
{ label: "姓名", prop: "xm", type: "input" },
{ label: "证件号码", prop: "sfzh", type: "input" },
{ label: "联系电话", prop: "lxdh", type: "input" },
],
[
{ label: "是否年检", prop: "isUploaded", type: "input" },
{ label: "年检时间", prop: "inspectionTime", type: "input" },
{ label: "是否年检", prop: "isnj", type:"select",options: props.dict.D_BZ_SF},
{ label: "年检时间", prop: "njsj", type: "date" },
],
])
// 初始化数据
const init = (type, id,) => {
const init = (type, row,) => {
dialogForm.value = true;
listQuery.value=row
};
const close = () => {