更新页面
This commit is contained in:
@ -93,10 +93,6 @@ const pageData = reactive({
|
||||
tableColumn: [
|
||||
{ label: "管辖单位", prop: "gxDwDm", showSolt: true, width: 200 },
|
||||
{ label: "姓名", prop: "ryXm", showSolt: true, width: 130 },
|
||||
{ label: "英文姓名", prop: "ryXmYw", showSolt: true, width: 130 },
|
||||
{ label: "别名", prop: "ryBm", showSolt: true, width: 130 },
|
||||
{ label: "网名", prop: "ryWm", showSolt: true, width: 130 },
|
||||
{ label: "绰号", prop: "ryCh", showSolt: true, width: 130 },
|
||||
{ label: "手机号码", prop: "rySjhm", showSolt: true, width: 130 },
|
||||
{ label: "身份证号码", prop: "rySfzh", showSolt: true, width: 130 },
|
||||
{ label: "户籍地址", prop: "ryHjdz", showSolt: true, width: 130 },
|
||||
|
@ -13,7 +13,7 @@
|
||||
<el-icon style="vertical-align: middle"><CirclePlus /></el-icon>
|
||||
<span style="vertical-align: middle" @click="handleData('add', '')" >新增</span>
|
||||
</el-button>
|
||||
<el-button type="primary" size="small" @click="importData">
|
||||
<el-button type="primary" size="small" @click="isImport = true">
|
||||
<span style="vertical-align: middle">导入内容</span>
|
||||
</el-button>
|
||||
<el-button type="danger" size="small" @click="exportData">
|
||||
@ -59,6 +59,11 @@
|
||||
:controlsWidth="pageData.controlsWidth"
|
||||
@chooseData="chooseDataBottom"
|
||||
>
|
||||
<template #bqList="{ row }">
|
||||
<div v-if="row.bqList">
|
||||
<el-tag v-for="(it,idx) in row.bqList" :key="idx">{{ it.bqMc }}、</el-tag>
|
||||
</div>
|
||||
</template>
|
||||
<template #fxDj="{ row }">
|
||||
<DictTag
|
||||
:tag="false"
|
||||
@ -101,18 +106,20 @@
|
||||
<!-- 弹窗智能分析 -->
|
||||
<IntelligentParsing :tableData="pageData.tableData" ref="IntelligentParsingRef" @upadate="getModelList" />
|
||||
<addForm ref="addFormDiloag" @onSearch="onSearch" />
|
||||
<Jbbg v-model="isShow" :type="chooselx" :ids="ids" @change="getModelList" :dic="{D_GS_RQFJ_FXDJ}"></Jbbg>
|
||||
<Model v-model="isShow" :type="chooselx" :ids="ids" @change="getModelList" :dic="{D_GS_RQFJ_FXDJ}"></Model>
|
||||
<Export :show="isImport" lx="fjnr" @closeImport="isImport = false" @handleImport="handleImport" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import Export from "@/components/export/index.vue";
|
||||
import CheckBox from "@/components/checkBox/index.vue";
|
||||
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 addForm from "./components/addForm.vue";
|
||||
import Jbbg from "./components/model.vue";
|
||||
import Model from "./components/model.vue";
|
||||
import IntelligentParsing from "./components/IntelligentParsing.vue";
|
||||
import { ElMessage } from "element-plus";
|
||||
import { qcckGet } from "@/api/qcckApi.js";
|
||||
@ -123,6 +130,7 @@ const searchConfiger = ref([
|
||||
{ label: "管辖部门", prop: "ssbm", placeholder: "请选择管辖部门", showType: "department" },
|
||||
{ label: "是否关注", prop: "sfgz", placeholder: "请选择是否关注", showType: "select", options:D_BZ_SF },
|
||||
]);
|
||||
const isImport = ref(false)
|
||||
const checkData = reactive({
|
||||
hasChoose: ["警情"],
|
||||
list: ["警情","人力情报","线索","民警处置文本", "交通事故"],
|
||||
@ -171,7 +179,9 @@ const pageData = reactive({
|
||||
{ label: "现住地址", prop: "ryXzdz" ,showOverflowTooltip:true},
|
||||
{ label: "附件照片", prop: "ryFjZp" ,showOverflowTooltip:true},
|
||||
{ label: "管辖单位", prop: "gxDwDm" ,showOverflowTooltip:true},
|
||||
{ label: "管控民警", prop: "gxMj" ,showOverflowTooltip:true},
|
||||
{ label: "责任部门", prop: "ssbm",showOverflowTooltip:true},
|
||||
{ label: "标签", prop: "bqList",showOverflowTooltip:true, showSolt: true },
|
||||
{ label: "风险等级", prop: "fxDj",showOverflowTooltip:true, showSolt: true },
|
||||
{ label: "风险类别", prop: "fxLb",showOverflowTooltip:true, showSolt: true },
|
||||
{ label: "是否关注", prop: "sfGz",showOverflowTooltip:true, showSolt: true },
|
||||
@ -197,7 +207,7 @@ const changeSize = (val) => {
|
||||
};
|
||||
|
||||
// 获取内容列表
|
||||
const getList = (val) => {
|
||||
const getList = () => {
|
||||
pageData.tableConfiger.loading = true;
|
||||
let data = { ...queryFrom.value };
|
||||
let url = "/mosty-gsxt/tbGsxtRqfjNr/selectPage";
|
||||
@ -212,8 +222,7 @@ const getList = (val) => {
|
||||
//获取模型识别列表
|
||||
const getModelList = (val) => {
|
||||
let data = { ...pageData.pageConfiger };
|
||||
let url = "/mosty-gsxt/tbGsxtRqfjRy/selectPage";
|
||||
qcckGet(data, url).then((res) => {
|
||||
qcckGet(data, "/mosty-gsxt/tbGsxtRqfjRy/selectPage").then((res) => {
|
||||
pageData.tableData2 = res.records || [];
|
||||
pageData.total = res.total;
|
||||
})
|
||||
@ -241,20 +250,27 @@ const chooseDataBottom = (val) =>{
|
||||
}
|
||||
|
||||
const chooseType = (val)=>{
|
||||
if(ids.value.length == 0) return ElMessage.warning("请选择对应的数据");
|
||||
chooselx.value = val;
|
||||
switch(val){
|
||||
case '级别变更':
|
||||
case '警种变更':
|
||||
case '指定分配':
|
||||
case '添加标签':
|
||||
case '警种变更':
|
||||
case '指定分配':
|
||||
case '添加标签':
|
||||
if(ids.value.length == 0) return ElMessage.warning("请选择对应的数据");
|
||||
isShow.value = true;
|
||||
break;
|
||||
case '导出':
|
||||
window.open('/mosty-api/mosty-gsxt/tbGsxtRqfjRy/exportRyfjFxjg');
|
||||
break;
|
||||
case '批量删除':
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
const handleImport = (val) =>{
|
||||
getList()
|
||||
}
|
||||
|
||||
const tabHeightFn = () => {
|
||||
pageData.tableHeight2 = window.innerHeight - searchBox.value.offsetHeight - 650;
|
||||
window.onresize = function () { tabHeightFn(); };
|
||||
|
Reference in New Issue
Block a user