This commit is contained in:
lcw
2026-04-28 11:26:26 +08:00
parent 9fa073546b
commit cd8347d3d1
120 changed files with 8751 additions and 3896 deletions

View File

@ -65,7 +65,7 @@ import { IdCard } from "@/utils/validate.js";
import * as MOSTY from "@/components/MyComponents/index";
import FormMessage from "@/components/aboutTable/FormMessage.vue";
import ChooseUser from "@/components/ChooseList/ChooseUser/index.vue";
import { ref, reactive, onMounted, getCurrentInstance, watch } from "vue";
import { ref, reactive, onMounted, getCurrentInstance, watch, computed } from "vue";
import { tbGsxtZdryUpdate } from "@/api/zdr.js";
const { proxy } = getCurrentInstance();
const {
@ -136,7 +136,7 @@ const rules = reactive({
const listQuery = ref({}); //表单
const chooseMarksVisible = ref(false); // 控制标签选择弹窗显示
const roleIds = ref([]); // 已选择的标签ID
const formData = ref([
const formData = computed(() => [
{ label: "人员照片", prop: "ryzp", type: "slot", width: "100%" },
{ label: "姓名", prop: "ryXm", type: "input", width: "30%" },
{ label: "身份证号", prop: "rySfzh", type: "input", width: "30%" },
@ -144,7 +144,7 @@ const formData = ref([
label: "性别",
prop: "ryXb",
type: "select",
options: D_BZ_XB,
options: D_BZ_XB.value,
width: "30%"
},
{ label: "出生日期", prop: "ryCsrq", type: "date", width: "30%" },
@ -152,7 +152,7 @@ const formData = ref([
label: "民族",
prop: "ryMz",
type: "select",
options: D_BZ_MZ,
options: D_BZ_MZ.value,
width: "30%"
},
{
@ -166,7 +166,7 @@ const formData = ref([
label: "预警等级",
prop: "zdrYjdj",
type: "select",
options: D_GS_ZDR_YJDJ,
options: D_GS_ZDR_YJDJ.value,
width: "30%"
},
{ label: "管控民警", prop: "gkMjXm", type: "slot", width: "30%" },
@ -180,14 +180,14 @@ const formData = ref([
label: "文化程度",
prop: "whcdBm",
type: "select",
options: D_BZ_WHCD,
options: D_BZ_WHCD.value,
width: "30%"
},
{
label: "政治面貌",
prop: "zzmm",
type: "select",
options: D_BZ_ZZMM,
options: D_BZ_ZZMM.value,
width: "30%"
},
{ label: "职业", prop: "zyBm", type: "input", width: "30%" },
@ -195,7 +195,7 @@ const formData = ref([
label: "人员级别",
prop: "zdrRyjb",
type: "select",
options: D_GS_ZDR_RYJB,
options: D_GS_ZDR_RYJB.value,
width: "30%"
},
{ label: "户籍地区划", prop: "hjdQh", type: "input", width: "30%" },
@ -218,14 +218,14 @@ const formData = ref([
label: "所属警种",
prop: "zdrSsjz",
type: "select",
options: D_GS_BK_SSJZ,
options: D_GS_BK_SSJZ.value,
width: "30%"
},
{
label: "涉及警种",
prop: "zdrSjjz",
type: "select",
options: D_GS_BK_SSJZ,
options: D_GS_BK_SSJZ.value,
multiple: true,
width: "30%"
},
@ -233,21 +233,21 @@ const formData = ref([
label: "婚姻状态",
prop: "hyzk",
type: "select",
options: D_BZ_HYZK,
options: D_BZ_HYZK.value,
width: "30%"
},
{
label: "处置状态",
prop: "zdrCzzt",
type: "select",
options: D_GS_ZDR_CZZT,
options: D_GS_ZDR_CZZT.value,
width: "30%"
},
{
label: "布控状态",
prop: "zdrBkZt",
type: "select",
options: D_BZ_RCBKZT,
options: D_BZ_RCBKZT.value,
width: "30%"
},
// { label: "人员类型", prop: "rylx", type: "select", options: D_ZDRY_RYLX },