diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue index 6ea4970..0afb35f 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue @@ -118,7 +118,7 @@ const searchConfiger = ref( { label: "姓名", prop: 'xm', placeholder: "请输入姓名", showType: "input" }, { label: "身份证号码", prop: 'sfzh', placeholder: "请输入身份证号码", showType: "input" }, { label: "电话号码", prop: 'dh', placeholder: "请输入电话号码", showType: "input" }, - { label: "预警标签", prop: 'yjbqmc', placeholder: "请输入预警标签", showType: "input" }, + { label: "预警标签", prop: 'xwms', placeholder: "请输入预警标签", showType: "input" }, { label: "部门", prop: 'ssbmdm', placeholder: "请选择部门", showType: "department" }, { label: "级别", prop: 'bqys', placeholder: "请选择级别", showType: "select" ,options: D_BZ_YJJB}, { label: "积分段", prop: 'jfd', placeholder: "请选择积分段", showType: "Slot" }, @@ -147,7 +147,7 @@ const pageData = reactive({ { label: "预警时间", prop: "yjsj" }, { label: "姓名", prop: "xm" }, { label: "身份证号", prop: "sfzh" }, - { label: "标签", prop: "yjbqmc" }, + { label: "标签", prop: "xwms" }, { label: "接收单位", prop: "ssbm" }, { label: "活动频次", prop: "xwcs", showSolt: true }, { label: "预警分值", prop: "xwfz", }, @@ -346,7 +346,7 @@ const exportExl = () => { yjsj: "预警时间", xm: "姓名", sfzh: "身份证号", - yjbqmc: "标签", + xwms: "标签", ssbm: "接收单位", sfcs: "活动频次", sffz: "预警分值", diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/item/items.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/item/items.vue index 549719b..92ea0f8 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/item/items.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/item/items.vue @@ -53,12 +53,14 @@ const props = defineProps({ const list = ref([]) const Fklist = ref([]) onMounted(() => { - qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => { - list.value = res.records || [] - }) - qcckGet({},'/mosty-gsxt/yjzxXwyj/'+ props.row.id).then((res) => { - Fklist.value = res.fkList || [] - }) + if(props.row.id){ + qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => { + list.value = res.records || [] + }) + qcckGet({},'/mosty-gsxt/yjzxXwyj/'+ props.row.id).then((res) => { + Fklist.value = res.fkList || [] + }) + } })