From 238394ece67cfd50b2a5ab9e5db8cea8eaa65285 Mon Sep 17 00:00:00 2001 From: LL Date: Tue, 13 Jan 2026 15:41:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E7=82=B9=E7=B1=BB=E5=88=AB?= =?UTF-8?q?=E5=92=8C=E9=87=8D=E7=82=B9=E4=BA=BA=E5=91=98=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=92=8C=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 20 + src/utils/enum.js | 162 ++ .../components/keyCategoryDialog.vue | 471 ++++ .../hengAnShield/keyCategory/index.vue | 235 ++ .../keyPersonnel/addKeyPersonnel.vue | 1490 +++++++++++ .../keyPersonnel/components/checkPassword.vue | 66 + .../keyPersonnel/editKeyPersonnel.vue | 2177 +++++++++++++++++ .../hengAnShield/keyPersonnel/index.vue | 605 +++++ 8 files changed, 5226 insertions(+) create mode 100644 src/utils/enum.js create mode 100644 src/views/modules/hengAnShield/keyCategory/components/keyCategoryDialog.vue create mode 100644 src/views/modules/hengAnShield/keyCategory/index.vue create mode 100644 src/views/modules/hengAnShield/keyPersonnel/addKeyPersonnel.vue create mode 100644 src/views/modules/hengAnShield/keyPersonnel/components/checkPassword.vue create mode 100644 src/views/modules/hengAnShield/keyPersonnel/editKeyPersonnel.vue create mode 100644 src/views/modules/hengAnShield/keyPersonnel/index.vue diff --git a/src/router/index.js b/src/router/index.js index f7ac63a8c..71e0f0f76 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -227,6 +227,26 @@ export const moduleRoutes = { isTab: true, title: "编辑居民", }, + }, + { + path: "add-key-personnel", + props: true, + name: "add-key-personnel", + component: () => import("@/views/modules/hengAnShield/keyPersonnel/addKeyPersonnel.vue"), + meta: { + isTab: true, + title: "新增重点人员", + }, + }, + { + path: "edit-key-personnel", + props: true, + name: "edit-key-personnel", + component: () => import("@/views/modules/hengAnShield/keyPersonnel/editKeyPersonnel.vue"), + meta: { + isTab: true, + title: "编辑重点人员", + }, } ], }; diff --git a/src/utils/enum.js b/src/utils/enum.js new file mode 100644 index 000000000..4dda91113 --- /dev/null +++ b/src/utils/enum.js @@ -0,0 +1,162 @@ +/** 固定值 */ +export const categoryAllList = [ + { + label: "群众", + value: "partyFlag0", + }, + { + label: "流动人员", + value: "FLOATING_FLAG", + }, + { + label: "党员", + value: "partyFlag1", + }, + { + label: "共青团员", + value: "partyFlag2", + }, + { + label: "残疾人", + value: "DISABILITY_FLAG", + }, + { + label: "大病", + value: "SERIOUS_ILLNESS_FLAG", + }, + { + label: "慢病", + value: "CHRONIC_DISEASE_FLAG", + }, + { + label: "老年人", + value: "OLD_PEOPLE_FLAG", + children: [ + { + label: "失能老人", + value: "DISABLED_FLAG", + }, + { + label: "空巢老人", + value: "EMPTY_NESTER_FLAG", + }, + { + label: "失智老人", + value: "DEMENTED_FLAG", + }, + { + label: "独居老人", + value: "LIVE_ALONE_FLAG", + }, + { + label: "普通老年人", + value: "OLD_PEOPLE_FLAG", + }, + ], + }, + { + label: "低保人员", + value: "SUBSISTENCE_ALLOWANCE_FLAG", + }, + { + label: "退役军人", + value: "VETERAN_FLAG", + }, + { + label: "保障房人员", + value: "ENSURE_HOUSE_FLAG", + }, + { + label: "育龄妇女", + value: "FERTILE_WOMAN_FLAG", + }, + { + label: "特扶人员", + value: "SPECIAL_SUPPORT_FLAG", + children: [ + { + label: "子女伤残", + value: "CHILDREN_DISABILITY_FLAG", + }, + { + label: "子女死亡", + value: "CHILDREN_DEATH", + }, + ], + }, + { + label: "留守儿童", + value: "LBC_FLAG", + children: null, + }, + { + label: "艾滋病人员", + value: "AIDS_FLAG", + children: null, + }, + { + label: "失业人员", + value: "UNEMPLOYED_FLAG", + }, + { + label: "新阶层人士", + value: "NEW_STRATUM_FLAG", + }, + { + label: "新就业群体", + value: "NEG_FLAG", + children: null, + }, + { + label: "安置帮教人员", + value: "anzhibangjiao", + }, + { + label: "吸毒人员", + value: "xidurenyuan", + }, + { + label: "社区矫正人员", + value: "shequjiaozheng", + }, + { + label: "不良青少年", + value: "buliangqingshaonian", + }, + { + label: "肇事肇祸精神障碍患者", + value: "zhaoshizhaohuojingshenbing", + }, + { + label: "邪教人员", + value: "xiejiaorenyuan", + }, + { + label: "信访人员", + value: "xinfang", + }, + { + label: "统战人员", + value: "tongzhan", + }, + { + label: "志愿者", + value: "VOLUNTEER_FLAG", + }, + { + label: "网格员", + value: "GRID_MEMBER_FLAG", + }, + { + label: "楼长", + value: "BUILDING_CHIEF_FLAG", + }, + { + label: "单元长", + value: "UNIT_CHIEF_FLAG", + }, + { + label: "公益岗", + value: "PUBLIC_WELFARE_FLAG", + }, +]; diff --git a/src/views/modules/hengAnShield/keyCategory/components/keyCategoryDialog.vue b/src/views/modules/hengAnShield/keyCategory/components/keyCategoryDialog.vue new file mode 100644 index 000000000..7c2d60735 --- /dev/null +++ b/src/views/modules/hengAnShield/keyCategory/components/keyCategoryDialog.vue @@ -0,0 +1,471 @@ + + + + + + \ No newline at end of file diff --git a/src/views/modules/hengAnShield/keyCategory/index.vue b/src/views/modules/hengAnShield/keyCategory/index.vue new file mode 100644 index 000000000..e61e86643 --- /dev/null +++ b/src/views/modules/hengAnShield/keyCategory/index.vue @@ -0,0 +1,235 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/hengAnShield/keyPersonnel/addKeyPersonnel.vue b/src/views/modules/hengAnShield/keyPersonnel/addKeyPersonnel.vue new file mode 100644 index 000000000..8006b8594 --- /dev/null +++ b/src/views/modules/hengAnShield/keyPersonnel/addKeyPersonnel.vue @@ -0,0 +1,1490 @@ + + + diff --git a/src/views/modules/hengAnShield/keyPersonnel/components/checkPassword.vue b/src/views/modules/hengAnShield/keyPersonnel/components/checkPassword.vue new file mode 100644 index 000000000..1fc790e34 --- /dev/null +++ b/src/views/modules/hengAnShield/keyPersonnel/components/checkPassword.vue @@ -0,0 +1,66 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/hengAnShield/keyPersonnel/editKeyPersonnel.vue b/src/views/modules/hengAnShield/keyPersonnel/editKeyPersonnel.vue new file mode 100644 index 000000000..53259fb81 --- /dev/null +++ b/src/views/modules/hengAnShield/keyPersonnel/editKeyPersonnel.vue @@ -0,0 +1,2177 @@ + + + + + diff --git a/src/views/modules/hengAnShield/keyPersonnel/index.vue b/src/views/modules/hengAnShield/keyPersonnel/index.vue new file mode 100644 index 000000000..122f8edaf --- /dev/null +++ b/src/views/modules/hengAnShield/keyPersonnel/index.vue @@ -0,0 +1,605 @@ + + +