|
|
|
|
@ -78,43 +78,37 @@
|
|
|
|
|
class="model-card-content" |
|
|
|
|
style="width: calc(100% - 76px)" |
|
|
|
|
> |
|
|
|
|
<el-tooltip :content="item.remarks"> |
|
|
|
|
<div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col"> |
|
|
|
|
<label>模型名称</label> |
|
|
|
|
<span>{{ |
|
|
|
|
<div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col col-24"> |
|
|
|
|
<label>模型名称</label> |
|
|
|
|
<span |
|
|
|
|
class="text-nowrap" |
|
|
|
|
:title="item.modelName" |
|
|
|
|
>{{ |
|
|
|
|
item.modelName |
|
|
|
|
}}</span> |
|
|
|
|
</div> |
|
|
|
|
}}</span |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col"> |
|
|
|
|
<label>创建单位</label> |
|
|
|
|
<span>{{ |
|
|
|
|
item.createDepartName |
|
|
|
|
}}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col col-12"> |
|
|
|
|
<label>分发方式</label> |
|
|
|
|
<span>{{ |
|
|
|
|
getDictLable( |
|
|
|
|
dict.distributionMethod, |
|
|
|
|
item.distributionMethod |
|
|
|
|
) |
|
|
|
|
}}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="col"> |
|
|
|
|
<label>最近活跃时间</label> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col col-24"> |
|
|
|
|
<label>分发方式</label> |
|
|
|
|
<span>{{ |
|
|
|
|
item.updateTime |
|
|
|
|
getDictLable( |
|
|
|
|
dict.distributionMethod, |
|
|
|
|
item.distributionMethod |
|
|
|
|
) |
|
|
|
|
}}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-tooltip> |
|
|
|
|
<div class="col col-24"> |
|
|
|
|
<label>最近活跃时间</label> |
|
|
|
|
<span>{{ |
|
|
|
|
item.updateTime |
|
|
|
|
}}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
@ -520,7 +514,11 @@
|
|
|
|
|
" |
|
|
|
|
>查看线索数据</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" plain @click="handleDetailConfigShow"> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
plain |
|
|
|
|
@click="handleDetailConfigShow" |
|
|
|
|
> |
|
|
|
|
<template #icon> |
|
|
|
|
<icon name="el-icon-Edit" /> |
|
|
|
|
</template> |
|
|
|
|
@ -534,19 +532,13 @@
|
|
|
|
|
<div style="min-height: 300px"> |
|
|
|
|
<div class="table-container"> |
|
|
|
|
<el-table :data="tableData" size="small"> |
|
|
|
|
<el-table-column |
|
|
|
|
label="同步时间" |
|
|
|
|
prop="createTime" |
|
|
|
|
/> |
|
|
|
|
<el-table-column label="同步时间" prop="createTime" /> |
|
|
|
|
<el-table-column |
|
|
|
|
label="预警条数" |
|
|
|
|
prop="size" |
|
|
|
|
align="center" |
|
|
|
|
/> |
|
|
|
|
<el-table-column |
|
|
|
|
label="分发状态" |
|
|
|
|
align="center" |
|
|
|
|
> |
|
|
|
|
<el-table-column label="分发状态" align="center"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-tag |
|
|
|
|
type="success" |
|
|
|
|
@ -577,8 +569,11 @@
|
|
|
|
|
</footer> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog title="线索详细信息配置" v-model="detailConfigShow" width="800px"> |
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
title="线索详细信息配置" |
|
|
|
|
v-model="detailConfigShow" |
|
|
|
|
width="800px" |
|
|
|
|
> |
|
|
|
|
</el-dialog> |
|
|
|
|
</template> |
|
|
|
|
<script setup> |
|
|
|
|
@ -708,20 +703,20 @@ async function openDetail(item) {
|
|
|
|
|
detailShow.value = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const detailConfigShow = ref(false) |
|
|
|
|
const modelClueData = ref({}) |
|
|
|
|
const detailConfigShow = ref(false); |
|
|
|
|
const modelClueData = ref({}); |
|
|
|
|
async function handleDetailConfigShow() { |
|
|
|
|
const data = await listModelClue({ |
|
|
|
|
modelIds: [activeModel.value.id], |
|
|
|
|
current: 1, |
|
|
|
|
size: 1 |
|
|
|
|
}) |
|
|
|
|
size: 1, |
|
|
|
|
}); |
|
|
|
|
if (data.records.length && data.records[0].data) { |
|
|
|
|
console.log(data.records) |
|
|
|
|
console.log(data.records); |
|
|
|
|
} else { |
|
|
|
|
modelClueData.value = JSON.parse(data.records[0].data) |
|
|
|
|
modelClueData.value = JSON.parse(data.records[0].data); |
|
|
|
|
} |
|
|
|
|
detailConfigShow.value = true |
|
|
|
|
detailConfigShow.value = true; |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
@ -729,7 +724,7 @@ async function handleDetailConfigShow() {
|
|
|
|
|
> div { |
|
|
|
|
height: 47px; |
|
|
|
|
line-height: 47px; |
|
|
|
|
padding: 0 36px; |
|
|
|
|
padding-left: 36px; |
|
|
|
|
&:hover, |
|
|
|
|
&[active="true"] { |
|
|
|
|
background: #e1e5ff; |
|
|
|
|
|