diff --git a/src/api/sjxsgl.js b/src/api/sjxsgl.js
new file mode 100644
index 0000000..18b38a9
--- /dev/null
+++ b/src/api/sjxsgl.js
@@ -0,0 +1,43 @@
+import request from "@/utils/request";
+const api = "/mosty-api/mosty-gsxt";
+// 新增系数
+export const sjxsglAddEntity = (data) => {
+ return request({
+ url: api + "/sjxsgl/addEntity",
+ method: "POST",
+ data
+ });
+};
+// 删除系数
+export const sjxsglDeleteEntity = (data) => {
+ return request({
+ url: api + "/sjxsgl/deleteEntity",
+ method: "DELETE",
+ data
+ });
+};
+
+// 修改系数
+export const sjxsglEditEntity = (data) => {
+ return request({
+ url: api + "/sjxsgl/editEntity",
+ method: "PUT",
+ data
+ });
+};
+// 分页查询
+export const sjxsglGetPageList = (params) => {
+ return request({
+ url: api + "/sjxsgl/getPageList",
+ method: "GET",
+ params
+ });
+};
+
+export const sjxsgId = (id) => {
+ return request({
+ url: api + `/sjxsgl/${id}`,
+ method: "GET",
+ });
+}
+
diff --git a/src/api/yj.js b/src/api/yj.js
index e6a1192..9fdebdc 100644
--- a/src/api/yj.js
+++ b/src/api/yj.js
@@ -78,6 +78,13 @@ export const tbGsxtBqzhSelectList = (params) => {
params
})
}
+// 组合标签详情
+export const tbGsxtBqzhId = (id) => {
+ return request({
+ url: api + `/tbGsxtBqzh/${id}`,
+ method: "get",
+ })
+}
// 身份标签
export const yjzxSfyjSelectList = (params) => {
return request({
diff --git a/src/components/ChooseList/ChooseJf/index.vue b/src/components/ChooseList/ChooseJf/index.vue
new file mode 100644
index 0000000..0844e83
--- /dev/null
+++ b/src/components/ChooseList/ChooseJf/index.vue
@@ -0,0 +1,241 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/aboutTable/FormMessage.vue b/src/components/aboutTable/FormMessage.vue
index 3be5689..6b77e0b 100644
--- a/src/components/aboutTable/FormMessage.vue
+++ b/src/components/aboutTable/FormMessage.vue
@@ -9,7 +9,7 @@
-
+
diff --git a/src/router/index.js b/src/router/index.js
index 7764570..1e31145 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -623,6 +623,19 @@ export const publicRoutes = [
name: "dataApplication",
meta: { title: "数据应用", icon: "article" },
children: [
+ {
+ path: "/IntegralCoefficient",
+ name: "IntegralCoefficient",
+ component: () =>
+ import(
+ "@/views/backOfficeSystem/fourColorManage/IntegralCoefficient/index"
+ ),
+ meta: {
+ title: "积分系数配置",
+ icon: "article"
+ }
+ },
+
{
path: "/IdentityManage",
name: "IdentityManage",
diff --git a/src/utils/tools.js b/src/utils/tools.js
index 09d446e..1e77c04 100644
--- a/src/utils/tools.js
+++ b/src/utils/tools.js
@@ -93,6 +93,7 @@ export function timeValidate(date, type) {
const hh = time.getHours().toString().padStart(2, '0')
const mm = time.getMinutes().toString().padStart(2, '0')
const ss = time.getSeconds().toString().padStart(2, '0')
+
if (type == 'ymd') {
return `${yyyy}-${MM}-${dd}`;
}
diff --git a/src/utils/webSocket.js b/src/utils/webSocket.js
index 169e538..48b853e 100644
--- a/src/utils/webSocket.js
+++ b/src/utils/webSocket.js
@@ -1,7 +1,7 @@
// let url = "ws://89.40.9.89:2109/mosty-api/mosty-websocket/socket/"; //线上
let url = "ws://155.240.22.30:2109/mosty-api/mosty-websocket/socket/"; //线上
-if(process.env.NODE_ENV === 'development') {
+if (process.env.NODE_ENV === 'development') {
url = "ws://47.108.232.77:9537/mosty-api/mosty-websocket/socket/"; //本地
}
import {
diff --git a/src/views/backOfficeSystem/fourColorManage/IntegralCoefficient/components/editAddForm.vue b/src/views/backOfficeSystem/fourColorManage/IntegralCoefficient/components/editAddForm.vue
new file mode 100644
index 0000000..c82e3c1
--- /dev/null
+++ b/src/views/backOfficeSystem/fourColorManage/IntegralCoefficient/components/editAddForm.vue
@@ -0,0 +1,118 @@
+
+
+
+
积分系数规则{{ title }}
+
+ 保存
+ 关闭
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/backOfficeSystem/fourColorManage/IntegralCoefficient/index.vue b/src/views/backOfficeSystem/fourColorManage/IntegralCoefficient/index.vue
new file mode 100644
index 0000000..e7dbf91
--- /dev/null
+++ b/src/views/backOfficeSystem/fourColorManage/IntegralCoefficient/index.vue
@@ -0,0 +1,149 @@
+
+
+
+
+
+
+
diff --git a/src/views/backOfficeSystem/fourColorManage/tagManage/index.vue b/src/views/backOfficeSystem/fourColorManage/tagManage/index.vue
index 4de5fa5..1b6329d 100644
--- a/src/views/backOfficeSystem/fourColorManage/tagManage/index.vue
+++ b/src/views/backOfficeSystem/fourColorManage/tagManage/index.vue
@@ -12,7 +12,9 @@
导入
-->
-
+
+
+
新增
@@ -23,38 +25,31 @@
-
+
-
+
- 编辑
- 删除
+ 配置系统
+ 编辑
+ 删除
-
+
-
+
+
@@ -64,19 +59,21 @@ import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue";
import EditAddForm from "./components/editAddForm.vue";
+import ChooseJf from '@/components/ChooseList/ChooseJf/index.vue'
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
+import { tbGsxtBqzhId } from "@/api/yj.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
const { proxy } = getCurrentInstance();
-const { D_GS_BQ_DJ,D_GS_SSYJ,D_GS_BQ_LB,D_GS_BQ_LX } = proxy.$dict("D_GS_BQ_DJ","D_GS_SSYJ","D_GS_BQ_LB","D_GS_BQ_LX"); //获取字典数据
+const { D_GS_BQ_DJ, D_GS_SSYJ, D_GS_BQ_LB, D_GS_BQ_LX } = proxy.$dict("D_GS_BQ_DJ", "D_GS_SSYJ", "D_GS_BQ_LB", "D_GS_BQ_LX"); //获取字典数据
const detailDiloag = ref();
const show = ref(false)
const searchBox = ref(); //搜索框
const searchConfiger = ref(
[
- { label: "组合标签名称", prop: 'bqMc', placeholder: "请输入组合标签名称", showType: "input"},
- // { label: "组合标签标签等级", prop: 'bqDj', placeholder: "请选择组合标签标签等级", showType: "select",options: D_GS_BQ_DJ },
- { label: "组合标签颜色", prop: 'bqYs', placeholder: "请选择组合标签标签颜色", showType: "select",options: D_GS_SSYJ },
-]);
+ { label: "组合标签名称", prop: 'bqMc', placeholder: "请输入组合标签名称", showType: "input" },
+ // { label: "组合标签标签等级", prop: 'bqDj', placeholder: "请选择组合标签标签等级", showType: "select",options: D_GS_BQ_DJ },
+ { label: "组合标签颜色", prop: 'bqYs', placeholder: "请选择组合标签标签颜色", showType: "select", options: D_GS_SSYJ },
+ ]);
const queryFrom = ref({});
const pageData = reactive({
tableData: [], //表格数据
@@ -96,9 +93,9 @@ const pageData = reactive({
{ label: "组合标签名称", prop: "bqMc" },
{ label: "标签代码", prop: "bqDm" },
// { label: "组合标签等级", prop: "bqDj",showSolt:true },
- { label: "组合标签颜色", prop: "bqYs",showSolt:true },
- { label: "组合标签分值", prop: "bqFz"},
- { label: "组合标签说明", prop: "bqSm",showOverflowTooltip:true },
+ { label: "组合标签颜色", prop: "bqYs", showSolt: true },
+ { label: "组合标签分值", prop: "bqFz" },
+ { label: "组合标签说明", prop: "bqSm", showOverflowTooltip: true },
]
});
onMounted(() => {
@@ -108,51 +105,61 @@ onMounted(() => {
// 搜索
-const onSearch = (val) =>{
- queryFrom.value = {...val}
+const onSearch = (val) => {
+ queryFrom.value = { ...val }
pageData.pageConfiger.pageCurrent = 1;
getList()
}
-const changeNo = (val) =>{
+const changeNo = (val) => {
pageData.pageConfiger.pageCurrent = val;
getList()
}
-const changeSize = (val) =>{
+const changeSize = (val) => {
pageData.pageConfiger.pageSize = val;
getList()
}
-const getList = () =>{
+const getList = () => {
pageData.tableConfiger.loading = true;
- qcckGet(queryFrom.value,'/mosty-gsxt/tbGsxtBqzh/selectPage').then((res)=>{
+ qcckGet(queryFrom.value, '/mosty-gsxt/tbGsxtBqzh/selectPage').then((res) => {
pageData.tableData = res.records;
pageData.total = res.total;
pageData.tableConfiger.loading = false;
- }).catch(()=>{
+ }).catch(() => {
pageData.tableConfiger.loading = false;
})
}
// 删除
-const delDictItem = (id) =>{
- proxy.$confirm("确定要删除", "警告", {type: "warning"}).then(() => {
- qcckDelete({},'/mosty-gsxt/tbGsxtBqzh/'+id).then(()=>{
- proxy.$message({ type: "success", message: "删除成功" });
+const delDictItem = (id) => {
+ proxy.$confirm("确定要删除", "警告", { type: "warning" }).then(() => {
+ qcckDelete({}, '/mosty-gsxt/tbGsxtBqzh/' + id).then(() => {
+ proxy.$message({ type: "success", message: "删除成功" });
getList();
})
- }).catch(() => {});
+ }).catch(() => { });
}
// 新增
const addEdit = (type, row) => {
show.value = true;
- nextTick(()=>{
+ nextTick(() => {
detailDiloag.value.init(type, row,);
})
};
-
+// 选择系数
+const chooseJfShow = ref(false)
+const chooseJfBh = ref()
+const roleIds=ref()
+const chooseJfFun = (val) => {
+ chooseJfBh.value=val.id
+ tbGsxtBqzhId(val.id).then(res => {
+ roleIds.value=res.sjxspzList.map(item => item.xsid)
+ chooseJfShow.value = true
+})
+}
// 表格高度计算
const tabHeightFn = () => {
diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue
index 9759324..8d48510 100644
--- a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue
+++ b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue
@@ -47,6 +47,7 @@
全息档案
处置建议
+ 配置系统
签收
@@ -74,7 +75,8 @@
-
+
diff --git a/src/views/backOfficeSystem/policeReport/index.vue b/src/views/backOfficeSystem/policeReport/index.vue
index 26fd347..37eaa65 100644
--- a/src/views/backOfficeSystem/policeReport/index.vue
+++ b/src/views/backOfficeSystem/policeReport/index.vue
@@ -25,16 +25,17 @@
+
+{{ row.ypzt === '01' ? '已研判' : '未研判' }}
+
- 研判
- 深度研判
详情
- 研判
- 深度研判
+ 研判
+ 深度研判
-
+
@@ -122,7 +123,7 @@ const pageData = reactive({
{ label: "警情类型", prop: "jqlbdm",showSolt:true },
{ label: "警情地址", prop: "jqdz" },
{ label: "补充接警内容", prop: "bcjjnr", showOverflowTooltip: true },
-
+ { label: "研判状态", prop: "ypzt",showSolt:true },
]
});
diff --git a/src/views/home/components/keyGroups.vue b/src/views/home/components/keyGroups.vue
new file mode 100644
index 0000000..809e9ca
--- /dev/null
+++ b/src/views/home/components/keyGroups.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - {{ item.bqMc }}({{
+ item.bqFz || 0 }} 分)
+
+
+
+ {{ row.zdryList ? row.zdryList.length : 0 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/keyPerson.vue b/src/views/home/components/keyPerson.vue
new file mode 100644
index 0000000..4f06c7e
--- /dev/null
+++ b/src/views/home/components/keyPerson.vue
@@ -0,0 +1,209 @@
+
+
+
+
+
+
+
+
+
+ - {{ item.bqMc }}({{
+ item.bqFz || 0 }} 分)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.xtSjzt == 0 ? "注销" : row.xtSjzt == 1 ? "正常" : "封存" }}
+
+
+
+
+ 移除
+ 送审
+ 编辑
+ 详情
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/numberWarnings.vue b/src/views/home/components/numberWarnings.vue
new file mode 100644
index 0000000..bc5f41b
--- /dev/null
+++ b/src/views/home/components/numberWarnings.vue
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+
+

+

+
+
+
+
+

+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全息档案
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/policeReports.vue b/src/views/home/components/policeReports.vue
new file mode 100644
index 0000000..1e84f65
--- /dev/null
+++ b/src/views/home/components/policeReports.vue
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.ypzt === '01' ? '已研判' : '未研判' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index aaa1ea3..0842cd2 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -247,7 +247,7 @@ const handleOpenNotification = () => {
startPopupLoop()
}
}
-const makerCenter = () => {
+const makerCenter = () => {
const dw = require("@/assets/point/dingwei.png")
qcckGet({},'/mosty-gsxt/tbYjxx/selectSsbm').then(res=>{
emitter.emit('deletePointArea','hm')
@@ -317,7 +317,7 @@ onMounted(() => {
getTbYjxxGetList()
// 初始化音频播放器
initAudioPlayer()
- // webSoket.connect()
+ webSoket.connect()
// 监听音频播放事件,获取WebSocket消息数据
emitter.on("openYp", (newsDate) => {
// 使用工具类播放音频,自动处理静音切换
diff --git a/src/views/home/model/mesgSwitch/zdryDiloding.vue b/src/views/home/model/mesgSwitch/zdryDiloding.vue
index 1b9936f..b94abc5 100644
--- a/src/views/home/model/mesgSwitch/zdryDiloding.vue
+++ b/src/views/home/model/mesgSwitch/zdryDiloding.vue
@@ -1,5 +1,5 @@
-
+
-
+
{{ item.label }}
@@ -8,11 +8,20 @@
+
+
+
+