diff --git a/src/api/dataWatch/onlineUser.js b/src/api/dataWatch/onlineUser.js new file mode 100644 index 0000000..1e2021b --- /dev/null +++ b/src/api/dataWatch/onlineUser.js @@ -0,0 +1,53 @@ + + +import request from "@/utils/request"; +const api = "/mosty-api/mosty-websocket"; +/** + * 获取在线用户数 + * @param {Object} params - 查询参数 + * @returns {Promise>} 返回在线用户数组 + * + * @typedef {Object} SysUser 在线用户对象 + * @property {string} [avatar] - 头像 + * @property {string} [beginTime] - 用户有效开始时间,默认为当前日期(用户可改) + * @property {string} [birthday] - 出生日期 + * @property {string} [bz] - 备注 + * @property {string} [email] - 用户邮箱 + * @property {string} [endTime] - 用户有效结束时间,默认空 + * @property {number} [id] - 用户ID + * @property {string} [idEntityCard] - 身份证号 + * @property {string} [inDustRialId] - 行业号码(如:警号) + * @property {string} [isVirtualUser] - 是否虚拟用户:1、是 2、不是 + * @property {string} [loginName] - 登录账号 + * @property {number} [managerOrgId] - 管理部门ID + * @property {string} [managerOrgName] - 管理部门名称 + * @property {string} [marital] - 婚姻状态 + * @property {string} [mk] - - + * @property {string} [mobile] - 移动电话 + * @property {string} [nation] - 民族 + * @property {string} [password] - 密码 + * @property {string} [politic] - 政治面貌 + * @property {number} [positionId] - 岗位ID + * @property {string} [positionName] - 岗位名称 + * @property {string} [sex] - 用户性别(0男 1女 2未知) + * @property {string} [sfrh] - - + * @property {string} [telePhone] - 电话号码 + * @property {string} [type] - 人员类别 + * @property {string} [typeName] - 人员类别中文 + * @property {string} [userId] - - + * @property {string} [userName] - 用户昵称 + * @property {string} [userType] - 用户类型(00系统用户 01注册用户) + * @property {string} [whcd] - 文化程度 + + * @property {number} [xzcs] - 选择次数 + */ +export const socketCurrentUser = (params) => { + return request({ + url: api + "/socket/currentUser", + method: "get", + params + }); +}; + + +// import {socketCurrentUser} from "@/api/dataWatch/onlineUser.js" diff --git a/src/plugins/utils/webSocket.js b/src/plugins/utils/webSocket.js index cb00f8c..c5d180e 100644 --- a/src/plugins/utils/webSocket.js +++ b/src/plugins/utils/webSocket.js @@ -1,4 +1,9 @@ -const url = "ws://80.155.0.82:8006/mosty-api/mosty-websocket/socket/"; //线上 +// let url = "ws://80.155.0.82:8006/mosty-api/mosty-websocket/socket/"; //线上 +let url = "ws://155.240.22.30:2109/mosty-api/mosty-websocket/socket/"; //线上 + +if(process.env.NODE_ENV === 'development') { + url = "ws://47.108.232.77:9537/mosty-api/mosty-websocket/socket/"; //本地 +} import { getItem } from "@/utils/storage"; diff --git a/src/utils/webSocket.js b/src/utils/webSocket.js index 4cb1ffc..169e538 100644 --- a/src/utils/webSocket.js +++ b/src/utils/webSocket.js @@ -1,4 +1,9 @@ -const url = "ws://89.40.9.89:2109/mosty-api/mosty-websocket/socket/"; //线上 +// 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') { + url = "ws://47.108.232.77:9537/mosty-api/mosty-websocket/socket/"; //本地 +} import { getItem } from "@/utils/storage"; diff --git a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue index 9795763..bd18d21 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue @@ -190,6 +190,9 @@ const isShowTransferMerchantTc = ref(false) const isShow = ref(false) const searchConfiger = ref([ + { label: "开始时间", prop: "startTime", placeholder: "请选择开始时间", showType: "date" }, + { label: "结束时间", prop: "endTime", placeholder: "请选择结束时间", showType: "date" }, + { label: "所属单位", prop: "ssbmdm", placeholder: "请选择所属单位", showType: "department" }, { label: "情报标题", prop: 'qbmc', placeholder: "请输入情报标题", showType: "input" }, { label: "标签级别", prop: 'qbjb', placeholder: "请选择标签级别", showType: "select", options: D_BZ_BQJB }, { label: "情报处置状态", prop: 'lczt', placeholder: "请选择处置状态", showType: "select", options: D_BZ_LCZT }, @@ -570,8 +573,8 @@ const isShowBtn = (btnName, row = {}) => { const lczt = row.lczt /** 按钮权限 */ const buttonPermissions = { - "市情指领导": ["肯定", "采纳", "回退", "分组", "转线索", "转合成", "转会商","打标签", "修改", "详情","关注部门"], - "市情指挥人员": ["采纳", "回退", "分组", "转线索", "转合成", "转会商","打标签", "修改", "详情","关注部门"], + "市情指领导": ["肯定", "采纳", "回退", "分组", "转线索", "转合成", "转会商", "打标签", "修改", "详情", "关注部门"], + "市情指挥人员": ["采纳", "回退", "分组", "转线索", "转合成", "转会商", "打标签", "修改", "详情", "关注部门"], "县情指人员": ["上报", "回退", "修改", "详情"], "部门": ["上报", "新增", "修改", "续报", "详情"] }; diff --git a/src/views/backOfficeSystem/JudgmentHome/MeetingRoom/index.vue b/src/views/backOfficeSystem/JudgmentHome/MeetingRoom/index.vue index e59cac9..42d2584 100644 --- a/src/views/backOfficeSystem/JudgmentHome/MeetingRoom/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/MeetingRoom/index.vue @@ -2,7 +2,9 @@
- + + + 新增 @@ -29,38 +31,42 @@
- 加入会议 + 加入会议 反馈情况 处置下发
- + - +
发送
- 会议回放 - 编辑 - 删除 + + + 会议回放 + + + 编辑 + + + 删除
- + @@ -73,250 +79,269 @@ diff --git a/src/views/backOfficeSystem/dataMonitor/onlineUserMonitoring/index.vue b/src/views/backOfficeSystem/dataMonitor/onlineUserMonitoring/index.vue index 2d4f04d..731fa3c 100644 --- a/src/views/backOfficeSystem/dataMonitor/onlineUserMonitoring/index.vue +++ b/src/views/backOfficeSystem/dataMonitor/onlineUserMonitoring/index.vue @@ -1,5 +1,170 @@ + + + +