更新页面

This commit is contained in:
2026-01-25 18:07:15 +08:00
parent 8b34dba464
commit b301ece916
7 changed files with 42 additions and 36 deletions

View File

@ -118,7 +118,7 @@ const searchConfiger = ref(
{ label: "姓名", prop: 'xm', placeholder: "请输入姓名", showType: "input" }, { label: "姓名", prop: 'xm', placeholder: "请输入姓名", showType: "input" },
{ label: "身份证号码", prop: 'sfzh', placeholder: "请输入身份证号码", showType: "input" }, { label: "身份证号码", prop: 'sfzh', placeholder: "请输入身份证号码", showType: "input" },
{ label: "电话号码", prop: 'dh', 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: 'ssbmdm', placeholder: "请选择部门", showType: "department" },
{ label: "级别", prop: 'bqys', placeholder: "请选择级别", showType: "select" ,options: D_BZ_YJJB}, { label: "级别", prop: 'bqys', placeholder: "请选择级别", showType: "select" ,options: D_BZ_YJJB},
{ label: "积分段", prop: 'jfd', placeholder: "请选择积分段", showType: "Slot" }, { label: "积分段", prop: 'jfd', placeholder: "请选择积分段", showType: "Slot" },
@ -147,7 +147,7 @@ const pageData = reactive({
{ label: "预警时间", prop: "yjsj" }, { label: "预警时间", prop: "yjsj" },
{ label: "姓名", prop: "xm" }, { label: "姓名", prop: "xm" },
{ label: "身份证号", prop: "sfzh" }, { label: "身份证号", prop: "sfzh" },
{ label: "标签", prop: "yjbqmc" }, { label: "标签", prop: "xwms" },
{ label: "接收单位", prop: "ssbm" }, { label: "接收单位", prop: "ssbm" },
{ label: "活动频次", prop: "xwcs", showSolt: true }, { label: "活动频次", prop: "xwcs", showSolt: true },
{ label: "预警分值", prop: "xwfz", }, { label: "预警分值", prop: "xwfz", },
@ -346,7 +346,7 @@ const exportExl = () => {
yjsj: "预警时间", yjsj: "预警时间",
xm: "姓名", xm: "姓名",
sfzh: "身份证号", sfzh: "身份证号",
yjbqmc: "标签", xwms: "标签",
ssbm: "接收单位", ssbm: "接收单位",
sfcs: "活动频次", sfcs: "活动频次",
sffz: "预警分值", sffz: "预警分值",

View File

@ -53,12 +53,14 @@ const props = defineProps({
const list = ref([]) const list = ref([])
const Fklist = ref([]) const Fklist = ref([])
onMounted(() => { onMounted(() => {
if(props.row.id){
qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => { qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => {
list.value = res.records || [] list.value = res.records || []
}) })
qcckGet({},'/mosty-gsxt/yjzxXwyj/'+ props.row.id).then((res) => { qcckGet({},'/mosty-gsxt/yjzxXwyj/'+ props.row.id).then((res) => {
Fklist.value = res.fkList || [] Fklist.value = res.fkList || []
}) })
}
}) })
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@ -53,12 +53,14 @@ const props = defineProps({
const list = ref([]) const list = ref([])
const Fklist = ref([]) const Fklist = ref([])
onMounted(() => { onMounted(() => {
if(props.row.id){
qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => { qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => {
list.value = res.records || [] list.value = res.records || []
}) })
qcckGet({},'/mosty-gsxt/yjzxZhyj/'+ props.row.id).then((res) => { qcckGet({},'/mosty-gsxt/yjzxZhyj/'+ props.row.id).then((res) => {
Fklist.value = res.fkList || [] Fklist.value = res.fkList || []
}) })
}
}) })
// console.log('row😃: ', props.row); // console.log('row😃: ', props.row);
</script> </script>

View File

@ -127,21 +127,21 @@ const pageData = reactive({
pageSize: 20, pageSize: 20,
pageCurrent: 1 pageCurrent: 1
}, },
controlsWidth: 240, //操作栏宽度 controlsWidth: 180, //操作栏宽度
tableColumn: [ tableColumn: [
{ label: "状态", prop: "czzt", showSolt: true }, { label: "状态", prop: "czzt", showSolt: true },
{ label: "预警时间", prop: "yjFssj" }, { label: "预警时间", prop: "yjFssj" ,width: 160},
{ label: "人员姓名", prop: "yjRyxm" }, { label: "人员姓名", prop: "yjRyxm" },
{ label: "身份证号码", prop: "yjRysfzh"}, { label: "身份证号码", prop: "yjRysfzh" ,width: 180},
{ label: "性别", prop: "sex" ,showSolt: true }, { label: "性别", prop: "sex" ,showSolt: true,width: 60 },
{ label: "年龄", prop: "age", showSolt: true }, // { label: "年龄", prop: "age", showSolt: true,width: 60 },
{ label: "预警级别", prop: "yjJb", showSolt: true }, { label: "预警级别", prop: "yjJb", showSolt: true,width: 84 },
{ label: "人员类别", prop: "bqdl", showSolt: true }, // { label: "人员类别", prop: "bqdl", showSolt: true ,width: 84},
{ label: "细类", prop: "yjbqmc" }, { label: "细类", prop: "yjbqmc",width: 84 },
{ label: "轨迹类别", prop: "yjLylx", showSolt: true }, { label: "轨迹类别", prop: "yjLylx", showSolt: true ,width: 84},
{ label: "活动发生地", prop: "yjDz" }, { label: "活动发生地", prop: "yjDz" },
{ label: "接收单位", prop: "ssbm" }, { label: "接收单位", prop: "ssbm" },
{ label: "预警次数", prop: "yjCs" }, { label: "预警次数", prop: "yjCs" ,width: 84 },
] ]
}); });

View File

@ -187,7 +187,7 @@ const getList = () => {
pageCurrent: pageData.pageConfiger.pageCurrent, pageCurrent: pageData.pageConfiger.pageCurrent,
pageSize: pageData.pageConfiger.pageSize, pageSize: pageData.pageConfiger.pageSize,
} }
delete promes.times; delete params.times;
yjzxSfyjSelectList(params).then((res) => { yjzxSfyjSelectList(params).then((res) => {
pageData.tableData = Array.isArray(res?.records) ? res.records : []; pageData.tableData = Array.isArray(res?.records) ? res.records : [];
pageData.tableData = pageData.tableData.map(item => { pageData.tableData = pageData.tableData.map(item => {

View File

@ -47,12 +47,14 @@ const props = defineProps({
const list = ref([]) const list = ref([])
const Fklist = ref([]) const Fklist = ref([])
onMounted(() => { onMounted(() => {
if(props.row.id){
qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => { qcckPost({yjid: props.row.id},'/mosty-gsxt/yjxx/czjy/getPageList').then((res) => {
list.value = res.records || [] list.value = res.records || []
}) })
qcckGet({},'/mosty-gsxt/yjzxSfyj/'+ props.row.id).then((res) => { qcckGet({},'/mosty-gsxt/yjzxSfyj/'+ props.row.id).then((res) => {
Fklist.value = res.fkList || [] Fklist.value = res.fkList || []
}) })
}
}) })
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@ -122,12 +122,12 @@ const pageData = reactive({
{ label: "处置状态", prop: "czzt", showSolt: true }, { label: "处置状态", prop: "czzt", showSolt: true },
{ label: "预警时间", prop: "yjSj", showOverflowTooltip: true }, { label: "预警时间", prop: "yjSj", showOverflowTooltip: true },
{ label: "姓名", prop: "yjRyxm" }, { label: "姓名", prop: "yjRyxm" },
{ label: "年龄", prop: "nl", showSolt: true }, { label: "年龄", prop: "nl", showSolt: true ,width: 60},
{ label: "数据来源", prop: "yjLylx", showOverflowTooltip: true, showSolt: D_BZ_YJLY }, { label: "数据来源", prop: "yjLylx", showOverflowTooltip: true, showSolt: D_BZ_YJLY },
{ label: "性别", prop: "xb", showSolt: true }, { label: "性别", prop: "xb", showSolt: true,width: 60 },
{ label: "预警级别", prop: "yjJb", showSolt: true }, { label: "预警级别", prop: "yjJb", showSolt: true,width: 84 },
{ label: "预警地点", prop: "yjDz", showOverflowTooltip: true }, { label: "预警地点", prop: "yjDz", showOverflowTooltip: true },
{ label: "预警次数", prop: "yjCs", showOverflowTooltip: true }, { label: "预警次数", prop: "yjCs", showOverflowTooltip: true,width: 84 },
{ label: "布控手机号", prop: "yjRysjh", showOverflowTooltip: true }, { label: "布控手机号", prop: "yjRysjh", showOverflowTooltip: true },
// { label: "布控车牌号", prop: "yjClcph", showOverflowTooltip: true }, // { label: "布控车牌号", prop: "yjClcph", showOverflowTooltip: true },
{ label: "身份证", prop: "yjRysfzh", showOverflowTooltip: true }, { label: "身份证", prop: "yjRysfzh", showOverflowTooltip: true },