更新页面

This commit is contained in:
2025-07-04 10:57:21 +08:00
parent c82e2f1972
commit 19677b36a6
8 changed files with 64 additions and 615 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="dialog" v-if="dialogForm">
<div class="head_box">
<span class="title">情报数据采集{{ title }}</span>
<span class="title">情报信息流转{{ title }}</span>
<div>
<el-button size="small" @click="close">关闭</el-button>
</div>

View File

@ -1,7 +1,7 @@
<template>
<div>
<div class="titleBox">
<PageTitle title="情报数据采集">
<PageTitle title="情报信息流转">
<el-button type="primary" @click="addEdit('add', '')">
<el-icon style="vertical-align: middle"><CirclePlus /></el-icon>
<span style="vertical-align: middle">新增</span>
@ -14,15 +14,7 @@
</div>
<!-- 搜索 -->
<div ref="searchBox">
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount">
<template #defaultSlot>
<div>
<el-input-number v-model="queryFrom.xqy"></el-input-number>
<span class="ml10 mr10" style="color: #000;"></span>
<el-input-number v-model="queryFrom.dqy"></el-input-number>
</div>
</template>
</Search>
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"/>
</div>
<!-- 表格 -->
<div class="tabBox">
@ -34,22 +26,12 @@
:tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth"
@chooseData="chooseData">
<!-- 事故照片 -->
<template #accidentPhoto="{ row }">
<el-image
style="width: 50px; height: 50px"
:src="row.accidentPhoto"
:preview-src-list="[row.accidentPhoto]">
</el-image>
</template>
<!-- 附件 -->
<template #attachment="{ row }">
<el-button type="primary" link @click="viewAttachment(row)">查看</el-button>
</template>
<!-- 操作 -->
<template #controls="{ row }">
<el-link type="primary" link @click="addEdit('detail', row)">详情</el-link>
<el-link type="primary" link @click="deleteClue(row)">删除</el-link>
<el-link size="small" type="primary" @click="addEdit('detail', row)">详情</el-link>
<el-link size="small" type="success" @click="addEdit('edit', row)">编辑</el-link>
<el-link size="small" type="danger" @click="deleteRow(row)">删除</el-link>
<el-link size="small" type="warning" @click="transferClue(row)">续报</el-link>
</template>
</MyTable>
<Pages
@ -72,7 +54,7 @@ import PageTitle from "@/components/aboutTable/PageTitle.vue";
import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue";
import DetailForm from "./components/addEditForm.vue";
import DetailForm from "./components/addForm.vue";
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
@ -80,33 +62,57 @@ const detailDiloag = ref();
const searchBox = ref(); //搜索框
const searchConfiger = ref([
{ label: "线索名称", prop: 'clueName', placeholder: "请输入线索名称", showType: "input" },
{ label: "语义关键字", prop: 'semanticKeyword', placeholder: "请输入语义关键字", showType: "input" },
{ label: "线索类型", prop: 'clueType', placeholder: "请选择线索类型", showType: "select", options: [] },
{ label: "线索来源", prop: 'clueSource', placeholder: "请选择线索来源", showType: "select", options: [] },
{ label: "开始时间", prop: 'startTime', placeholder: "请选择开始时间", showType: "datetime" },
{ label: "结束时间", prop: 'endTime', placeholder: "请选择结束时间", showType: "datetime" },
{ label: "线索名称", prop: 'clueTitle', placeholder: "请输入线索名称", showType: "input" },
{ label: "语义关键字", prop: 'semanticKeywords', placeholder: "请输入语义关键字", showType: "input" },
{ label: "线索类型", prop: 'clueType', placeholder: "请选择线索类型", showType: "select" },
{ label: "线索来源", prop: 'clueSource', placeholder: "请选择线索来源", showType: "select" },
{ label: "线索状态", prop: 'xszt', placeholder: "请选择线索状态", showType: "select" },
{ label: "处置状态", prop: 'czzt', placeholder: "请选择处置状态", showType: "select" },
{ label: "开始时间", prop: 'startTime', placeholder: "请选择开始时间", showType: "date" },
{ label: "结束时间", prop: 'endTime', placeholder: "请选择结束时间", showType: "date" },
{ label: "指向地点", prop: 'targetLocation', placeholder: "请输入指向地点", showType: "input" },
]);
const queryFrom = ref({});
const pageData = reactive({
tableData: [
{
clueNo:'1001',
clueName:'疑似人员聚集',
clueType:'人员聚集',
clueSource:'群众举报',
startTime:'2024-01-01 08:00:00',
endTime:'2024-01-01 18:00:00',
targetLocation:'某街道',
clueContent:'发现多名可疑人员在该区域频繁出入,疑似从事非法活动。',
attachment:'report.pdf'
clueNo: "XS20240101001",
clueTitle: "可疑人员活动线索",
clueType: "人员线索",
clueSource: "群众举报",
startTime: "2024-01-01 08:00:00",
endTime: "2024-01-01 18:00:00",
targetLocation: "某市某区某街道",
clueContent: "发现多名可疑人员在该区域频繁出入,疑似从事非法活动。",
attachment: "report.pdf"
},
{
clueNo: "XS20240101002",
clueTitle: "涉毒交易线索",
clueType: "违法犯罪线索",
clueSource: "技术侦查",
startTime: "2024-01-02 10:00:00",
endTime: "2024-01-02 16:00:00",
targetLocation: "某市某区某小区",
clueContent: "监控发现多次可疑交易活动,疑似涉及违禁物品。",
attachment: "evidence.docx"
},
{
clueNo: "XS20240101003",
clueTitle: "非法聚集线索",
clueType: "群体性事件",
clueSource: "网络监控",
startTime: "2024-01-03 14:00:00",
endTime: "2024-01-03 22:00:00",
targetLocation: "某市某广场",
clueContent: "网络平台发现有组织策划非法聚集活动的信息。",
attachment: "online_evidence.zip"
}
],
keyCount: 0,
tableConfiger: {
rowHieght: 61,
showSelectType: "checkbox",
showSelectType: "checkBox",
loading: false
},
total: 0,
@ -114,20 +120,22 @@ const pageData = reactive({
pageSize: 20,
pageCurrent: 1
},
controlsWidth: 120,
controlsWidth: 220,
tableColumn: [
{ label: "线索编号", prop: "clueNo" },
{ label: "线索名称", prop: "clueName" },
{ label: "线索名称", prop: "clueTitle" },
{ label: "线索类型", prop: "clueType" },
{ label: "线索来源", prop: "clueSource" },
{ label: "开始时间", prop: "startTime" ,showOverflowTooltip: true},
{ label: "结束时间", prop: "endTime" ,showOverflowTooltip: true},
{ label: "指向地点", prop: "targetLocation" ,showOverflowTooltip: true},
{ label: "线索内容", prop: "clueContent",showOverflowTooltip: true },
{ label: "开始时间", prop: "startTime" },
{ label: "结束时间", prop: "endTime" },
{ label: "指向地点", prop: "targetLocation" },
{ label: "线索内容", prop: "clueContent", width: 200 },
{ label: "附件", prop: "attachment", slot: true },
]
});
const queryFrom = ref({});
onMounted(() => {
getList()
tabHeightFn();
@ -186,3 +194,4 @@ const tabHeightFn = () => {
background: rgba(0, 0, 0, 0.5) !important;
}
</style>