From 377c62b0d61d3db70f818e321aaad069331783ab Mon Sep 17 00:00:00 2001 From: lcw <1878680531@qq.com> Date: Thu, 25 Sep 2025 12:42:28 +0800 Subject: [PATCH] lcw --- src/api/pxzx.js | 8 + .../ChooseList/ChooseBapxry/index.vue | 182 ++++++++++++++++ .../components/detailForm.vue | 16 +- .../components/pxApllication.vue | 196 ++++++++++++------ .../AnnualInspectionApplicants/index.vue | 1 - 5 files changed, 334 insertions(+), 69 deletions(-) create mode 100644 src/components/ChooseList/ChooseBapxry/index.vue diff --git a/src/api/pxzx.js b/src/api/pxzx.js index 08da16c..ff6aa36 100644 --- a/src/api/pxzx.js +++ b/src/api/pxzx.js @@ -83,3 +83,11 @@ export const baxxNjryNjryNjsh = (data) => { data }); }; +// /baxx/njpx / saveEntity +export const baxxNjpxSaveEntity = (data) => { + return request({ + url: api + "/baxx/njpx/saveEntity", + method: "POST", + data + }); +}; diff --git a/src/components/ChooseList/ChooseBapxry/index.vue b/src/components/ChooseList/ChooseBapxry/index.vue new file mode 100644 index 0000000..a42e046 --- /dev/null +++ b/src/components/ChooseList/ChooseBapxry/index.vue @@ -0,0 +1,182 @@ + + + + + + diff --git a/src/views/Training/AnnualInspection/components/detailForm.vue b/src/views/Training/AnnualInspection/components/detailForm.vue index ea57a64..9b72b24 100644 --- a/src/views/Training/AnnualInspection/components/detailForm.vue +++ b/src/views/Training/AnnualInspection/components/detailForm.vue @@ -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 = () => { diff --git a/src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue b/src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue index a550917..e8d334e 100644 --- a/src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue +++ b/src/views/Training/AnnualInspectionApplicants/components/pxApllication.vue @@ -3,73 +3,66 @@
年检培训申请
- 保存 + 保存 关闭
- +
-
培训保安人员
- 培训保安人员 + +
+ - +
+