From b77c5cc7ee373cda4548f047087c59b48479af05 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 26 Apr 2023 14:14:29 +0800 Subject: [PATCH 01/19] =?UTF-8?q?=E9=BB=94=E8=A5=BF=E5=8D=97=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/bigscreen/dv/AppQxnDv.vue | 11 +- packages/bigscreen/dv/components/DvMap.vue | 427 ++++++++++----------- 2 files changed, 218 insertions(+), 220 deletions(-) diff --git a/packages/bigscreen/dv/AppQxnDv.vue b/packages/bigscreen/dv/AppQxnDv.vue index fb961835..d9060753 100644 --- a/packages/bigscreen/dv/AppQxnDv.vue +++ b/packages/bigscreen/dv/AppQxnDv.vue @@ -122,7 +122,7 @@
- +
@@ -623,7 +623,7 @@ methods: { init (gridId) { this.gridId = '' - this.gridParentId = gridId + this.gridParentId = gridId || 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A' this.instance.post(`/wxgridinfo/tree`, null, { params: { gridParentId: gridId || '', @@ -638,6 +638,12 @@ } } }) + + this.getInfo() + }, + + getInfo () { + }, Hex2RGBA(color, alpha = 1) { @@ -944,6 +950,7 @@ padding: 30px 14px 14px; background-image: linear-gradient(0deg, rgba(40, 182, 253, 0.08) 1%, rgba(0, 102, 154, 0.2) 100%); border-radius: 6px; + box-shadow: inset 0 -1px 0 0 transparent; transition: all ease 0.3s; &:hover { diff --git a/packages/bigscreen/dv/components/DvMap.vue b/packages/bigscreen/dv/components/DvMap.vue index 3b9c4891..b56e941d 100644 --- a/packages/bigscreen/dv/components/DvMap.vue +++ b/packages/bigscreen/dv/components/DvMap.vue @@ -6,37 +6,37 @@
-

兴仁公安局

+

{{ title }}

- 派出所 + {{ info['派出所数量'] }}
- 派出所 + {{ info['群数量'] }}
- 派出所 + {{ info['成员总数'] }}
- 派出所 + {{ info['群成员数量'] }}
- 派出所 + {{ rate }}
- 派出所 + {{ info['派出所数量'] }}
- 派出所 + {{ info['群主人数'] }}
@@ -47,45 +47,36 @@ + + diff --git a/project/pidu/app/AppKeywordManagement/AppKeywordManagement.vue b/project/pidu/app/AppKeywordManagement/AppKeywordManagement.vue new file mode 100644 index 00000000..14698d0d --- /dev/null +++ b/project/pidu/app/AppKeywordManagement/AppKeywordManagement.vue @@ -0,0 +1,309 @@ + + + + + diff --git a/project/pidu/app/AppSensitive/AppSensitive.vue b/project/pidu/app/AppSensitive/AppSensitive.vue new file mode 100644 index 00000000..2ce07259 --- /dev/null +++ b/project/pidu/app/AppSensitive/AppSensitive.vue @@ -0,0 +1,324 @@ + + + + + diff --git a/project/pidu/app/AppSessionArchive/AppSessionArchive.vue b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue new file mode 100644 index 00000000..38f95336 --- /dev/null +++ b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue @@ -0,0 +1,932 @@ + + + + + diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue new file mode 100644 index 00000000..1b9b0b48 --- /dev/null +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -0,0 +1,168 @@ + + + + + From 9370e764bb04fae7d39e5c7ab0dc6335fa3857d3 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 26 Apr 2023 16:16:46 +0800 Subject: [PATCH 03/19] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=85=91=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppIntegralStatistics.vue | 2 +- .../pidu/app/AppSensitive/AppSensitive.vue | 21 +- .../AppSessionArchive/AppSessionArchive.vue | 944 +----------------- .../AppSessionArchive/components/Detail.vue | 268 +++-- .../app/AppSessionArchive/components/List.vue | 931 +++++++++++++++++ 5 files changed, 1182 insertions(+), 984 deletions(-) create mode 100644 project/pidu/app/AppSessionArchive/components/List.vue diff --git a/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue b/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue index 9ee0bc6c..3a8b769e 100644 --- a/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue +++ b/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue @@ -80,7 +80,7 @@ diff --git a/project/pidu/app/AppSensitive/AppSensitive.vue b/project/pidu/app/AppSensitive/AppSensitive.vue index 2ce07259..9947c605 100644 --- a/project/pidu/app/AppSensitive/AppSensitive.vue +++ b/project/pidu/app/AppSensitive/AppSensitive.vue @@ -12,9 +12,14 @@ @select="onAreaChange"/> + + + @@ -111,14 +116,14 @@ export default { ...mapState(['user']), colConfigs() { return [ - { prop: "name", label: '提交人', align: "left"}, - { prop: "departmentName", label: '部门'}, + { prop: "name", label: '触发敏感词', align: "left"}, + { prop: "departmentName", label: '会话类型'}, { prop: "areaName", label: '行政区划'}, - { prop: "phone", label: '手机号'}, - { prop: "registerCount", label: '登记数'}, - { prop: "friendCount", label: '朋友数'}, - { prop: "confidantCount", label: '知己数'}, - { prop: "createTime", label: '创建时间', width:220}, + { prop: "phone", label: '部门'}, + { prop: "registerCount", label: '涉及对象'}, + { prop: "friendCount", label: '姓名'}, + { prop: "confidantCount", label: '手机号'}, + { prop: "createTime", label: '日期', width:220}, { slot: "options" }, ] }, diff --git a/project/pidu/app/AppSessionArchive/AppSessionArchive.vue b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue index 38f95336..c6a23516 100644 --- a/project/pidu/app/AppSessionArchive/AppSessionArchive.vue +++ b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue @@ -1,932 +1,70 @@ - diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index 1b9b0b48..3d76aeb1 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -1,66 +1,58 @@ From b5b530d1d7fe2a0c39856910e3223bcc153a3157 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 26 Apr 2023 16:33:55 +0800 Subject: [PATCH 04/19] =?UTF-8?q?=E7=A7=AF=E5=88=86=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppIntegralStatistics.vue | 24 +--- .../AppSessionArchive/components/Detail.vue | 104 +++++++++++++++++- 2 files changed, 108 insertions(+), 20 deletions(-) diff --git a/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue b/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue index 3a8b769e..056ac1d9 100644 --- a/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue +++ b/project/fengdu/app/AppIntegralStatistics/AppIntegralStatistics.vue @@ -77,20 +77,9 @@ {{ row.integralRuleName || row.eventDesc}} - + - - - @@ -113,11 +102,8 @@ {{ details.eventDesc }} - - {{ details.changeIntegral | formatTime }} - - - {{ details.changeIntegral > 0 ? '+' : '-' }}{{ details.changeIntegral }} + + {{ details.integralCalcType == 0 ? '-' : '+' }}{{ details.changeIntegral }} @@ -203,7 +189,7 @@ export default { { prop: "integralUserName", label: '姓名', align: "left", width: "200px" }, { prop: "girdName", label: '所属网格', align: "center", width: "180px" }, { slot: "eventDesc"}, - { slot: "integralType", label: '类型' }, + { prop: "integralType", label: '类型', align: "center", dict: "integralType"}, { slot: "changeIntegral", label: '积分变动', align: "center", }, { prop: "nowIntegral", label: '剩余积分', align: "center", }, { prop: "createTime", label: '时间', align: "center", }, diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index 3d76aeb1..d70c3e35 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -51,6 +51,32 @@
+
+
+
+

2023-04-26 16:11:43

+
+ +
+ +

{{item.content}}

+
+ +
+
+
+

2023-04-26 16:11:43

+
+ +
+ +

{{item.content}}

+
+ +
+
+
+
@@ -90,7 +116,14 @@ search: { name: '' }, - current: 1 + current: 1, + list: [ + {type: 0, content: '123全部全部全部全部全部全部全部全部全部全部全部全部'}, + {type: 1, content: '123'}, + {type: 0, content: '456'}, + {type: 0, content: '123'}, + {type: 1, content: '123'}, + ] } }, @@ -287,6 +320,75 @@ } } } + .content-right-info { + padding: 24px 16px; + .item { + margin-bottom: 48px; + .time { + color: #999; + font-size: 14px; + line-height: 44px; + } + .item-content-flex { + display: flex; + .user-img { + width: 44px; + height: 44px; + margin-right: 8px; + } + .content { + max-width: calc(100% - 144px); + position: relative; + span { + width: 0px; + height: 0px; + border: 10px solid transparent; + position: absolute; + top: 20px; + } + p { + display: inline-block; + padding: 14px 54px 14px 32px; + background-color: #fff; + font-family: PingFangSC-Regular; + font-size: 32px; + color: #333; + word-break: break-all; + } + } + .fail-icon { + width: 32px; + height: 32px; + margin: auto 0 auto 24px; + } + } + } + .item-left { + .content { + span { + left: -18px; + border-right-color: #fff; + } + } + } + .item-right { + width: 100%; + justify-content: right; + .user-img { + margin: 0 0 0 20px; + } + .content { + span { + border-left-color: #C7E7FE; + right: -18px; + } + p { + background-color: #C7E7FE; + padding: 14px 32px 14px 54px; + } + } + } + } } From 16418ba1f51ec2e0d7641938870646f3b4cab2c9 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 26 Apr 2023 16:57:26 +0800 Subject: [PATCH 05/19] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E5=AD=98=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppSessionArchive/components/Detail.vue | 76 ++++++++++++------- 1 file changed, 47 insertions(+), 29 deletions(-) diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index d70c3e35..1cea19e2 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -67,12 +67,12 @@

2023-04-26 16:11:43

- +

{{item.content}}

- +
@@ -118,11 +118,11 @@ }, current: 1, list: [ - {type: 0, content: '123全部全部全部全部全部全部全部全部全部全部全部全部'}, - {type: 1, content: '123'}, - {type: 0, content: '456'}, - {type: 0, content: '123'}, - {type: 1, content: '123'}, + {type: 0, content: '123全部全部全部全部全部全部全部全部全部全部全部全部右右右右123全部全部全部全部全部全部全部全部全部全部全部全部右右右右123全部全部全部全部全部全部全部全部全部全部全部全部右右右右123全部全部全部全部全部全部全部全部全部全部全部全部右右右右123全部全部全部全部全部全部全部全部全部全部全部全部右右右右123全部全部全部全部全部全部全部全部全部全部全部全部右右右右'}, + {type: 1, content: '123左左左左左左123左左左左左左123左左左左左左123左左左左左左123左左左左左左123左左左左左左123左左左左左左123左左左左左左123左左左左左左123左左左左左左'}, + {type: 0, content: '456右右右右'}, + {type: 0, content: '123右右右右'}, + {type: 1, content: '123左左左左'}, ] } }, @@ -328,65 +328,83 @@ color: #999; font-size: 14px; line-height: 44px; + text-align: center; } .item-content-flex { display: flex; .user-img { width: 44px; height: 44px; + border-radius: 50%; margin-right: 8px; } .content { max-width: calc(100% - 144px); position: relative; + background-color: #f3f6f9; + span { width: 0px; height: 0px; border: 10px solid transparent; position: absolute; - top: 20px; + top: 50%; + margin-top: -10px; } p { display: inline-block; - padding: 14px 54px 14px 32px; - background-color: #fff; + padding: 8px; + line-height: 28px; font-family: PingFangSC-Regular; - font-size: 32px; + font-size: 16px; color: #333; word-break: break-all; } } - .fail-icon { - width: 32px; - height: 32px; - margin: auto 0 auto 24px; + .el-icon-warning { + font-size: 32px; + color: #f46; + margin-top: 8px; } } } .item-left { - .content { - span { - left: -18px; - border-right-color: #fff; + .item-content-flex { + .user-img { + margin: 0 20px 0 0; + } + .content { + span { + left: -18px; + border-right-color: #f3f6f9; + } + } + .el-icon-warning { + margin-left: 16px; } } + } .item-right { width: 100%; justify-content: right; - .user-img { - margin: 0 0 0 20px; - } - .content { - span { - border-left-color: #C7E7FE; - right: -18px; + .item-content-flex { + justify-content: end; + .user-img { + margin: 0 0 0 20px; } - p { - background-color: #C7E7FE; - padding: 14px 32px 14px 54px; + .content { + background-color: #90e287; + span { + border-left-color:#90e287; + right: -18px; + } + } + .el-icon-warning { + margin-right: 16px; } } + } } } From 9a3eeca0cfb3c1ba97efaaca99a6367c88458bdc Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 26 Apr 2023 17:32:51 +0800 Subject: [PATCH 06/19] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/bigscreen/dv/AppQxnDv.vue | 203 +++++++- .../bigscreen/dv/components/DoughnutChart.vue | 21 +- packages/bigscreen/dv/components/DvMap.vue | 439 +++++++++--------- 3 files changed, 414 insertions(+), 249 deletions(-) diff --git a/packages/bigscreen/dv/AppQxnDv.vue b/packages/bigscreen/dv/AppQxnDv.vue index d9060753..6b6a1801 100644 --- a/packages/bigscreen/dv/AppQxnDv.vue +++ b/packages/bigscreen/dv/AppQxnDv.vue @@ -113,10 +113,38 @@
-
+

分局数量

- 726,079 + {{ middleTotalInfo['分局数量'] }} + +
+
+
+

派出所

+
+ {{ middleTotalInfo['派出所数量'] }} + +
+
+
+

成员总数

+
+ {{ middleTotalInfo['成员总数'] }} + +
+
+
+

已激活

+
+ {{ middleTotalInfo['已激活'] }} + +
+
+
+

末激活

+
+ {{ middleTotalInfo['未激活'] }}
@@ -127,17 +155,17 @@
民警人数 - 214 + {{ middleTotalInfo['民警'] }}
辅警人数 - 214 + {{ middleTotalInfo['辅警'] }}
其他 - 214 + {{ middleTotalInfo['成员总数'] ? middleTotalInfo['成员总数'] - middleTotalInfo['民警'] - middleTotalInfo['辅警'] : 0 }}
@@ -146,13 +174,19 @@

成员激活

- + +

日均活跃率

- + +
@@ -169,7 +203,7 @@
- +

群动态概况

@@ -206,7 +240,7 @@
- - + --> + + + + +
@@ -598,11 +646,37 @@ policeStationList: [], areaList: [], gridId: '', - gridParentId: 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A' + gridParentId: 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A', + middleTotalInfo: {}, + cyActivityInfo: {}, + wxGroupOverview: {}, + colConfigs: [ + { slot: 'index' }, + { prop: 'ownerName', label: '姓名', align: 'left', width: 56 }, + { prop: 'deptName', label: '单位', align: 'left', width: 84 }, + { prop: 'groupCount', label: '群数量', align: 'center', width: 56 }, + { prop: 'groupMemberCount', label: '群人员', align: 'center', width: 56 }, + { prop: 'newMemberCount', label: '新增群人员', align: 'center' }, + { prop: 'hasMsgGroupCount', label: '有消息的群', align: 'center' }, + { prop: 'msgCount', label: '群聊人数', align: 'center' }, + { prop: 'hasMsgMemberCount', label: '群消息总数', align: 'center' } + ] } }, computed: { + cyjhData () { + return [{key: '已激活', value: this.cyActivityInfo['已激活']}, {key: '未激活', value: this.cyActivityInfo['未激活']}] + }, + + cyjhRate () { + if (!this.cyActivityInfo['已激活']) { + return 0 + } + + return Number(((this.cyActivityInfo['已激活'] / (this.cyActivityInfo['已激活'] + this.cyActivityInfo['未激活'])) * 100).toFixed(2)) + }, + tableConfig () { return this.tableData.map((v, index) => { return { @@ -613,10 +687,20 @@ flex: '' } }) + }, + + tableList () { + const list = this.wxGroupOverview['群动态多维度排行'] + if (!list) { + return [] + } + + return list } }, mounted () { + this.getInfo() this.init() }, @@ -643,7 +727,37 @@ }, getInfo () { + this.instance.post(`/wxgridinfo/comprehensiveOverview`, null, { + params: { + corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA' + } + }).then(res => { + if (res.code === 0) { + this.middleTotalInfo = res.data + } + }) + this.instance.post(`/wxgridinfo/wxGroupOverview`, null, { + params: { + corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA', + gridId: this.gridId || this.gridParentId + } + }).then(res => { + if (res.code === 0) { + this.wxGroupOverview = res.data + } + }) + + this.instance.post(`/wxgridinfo/cyActivity`, null, { + params: { + corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA', + gridId: this.gridId || this.gridParentId + } + }).then(res => { + if (res.code === 0) { + this.cyActivityInfo = res.data + } + }) }, Hex2RGBA(color, alpha = 1) { @@ -679,6 +793,25 @@ background: #0c0c0c; overflow: hidden; + .table-index { + display: flex; + align-items: center; + justify-content: center; + + span { + width: 22px; + height: 20px; + line-height: 20px; + text-align: center; + border-radius: 4px; + border: 1px solid #42BED5; + } + + &.table-index__active span { + border-color: #EDAA38; + } + } + .wrapper { margin-bottom: 12px; } @@ -840,6 +973,54 @@ } } + :deep(.ai-table) { + .el-table { + font-size: 12px; + color: #d0e1e8; + background-color: transparent!important; + + th.el-table__cell.is-leaf, .el-table td.el-table__cell { + border: none!important; + } + + tr.el-table__row--striped td { + background: rgba(33, 180, 253, 0.1)!important; + } + + .el-table__header tr th:first-child .cell { + padding: 0!important; + } + + .el-table__body tr td:first-child .cell { + padding: 0!important; + } + + &.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell { + background-color: rgba(33, 180, 253, 0.1)!important; + } + + th.el-table__cell { + background-color: transparent; + } + + tr { + background-color: transparent; + } + + .el-table__cell { + padding: 7px 0; + color: #d0e1e8; + } + + .el-table__header tr .cell { + color: #02FEFF!important; + } + } + .ai-table__header { + background: rgba(33, 180, 253, 0.1)!important; + } + } + ::-webkit-scrollbar { width: 5px; height: 14px; diff --git a/packages/bigscreen/dv/components/DoughnutChart.vue b/packages/bigscreen/dv/components/DoughnutChart.vue index 743b4bed..bc08f9a8 100644 --- a/packages/bigscreen/dv/components/DoughnutChart.vue +++ b/packages/bigscreen/dv/components/DoughnutChart.vue @@ -7,15 +7,10 @@
-
+
- 已激活成员 -

2142

-
-
- - 未激活成员 -

2142

+ {{ item.key }} +

{{ item.value }}

@@ -23,7 +18,7 @@