diff --git a/src/assets/img/AI/助手.gif b/src/assets/img/AI/助手.gif new file mode 100644 index 000000000..ca6c91f46 Binary files /dev/null and b/src/assets/img/AI/助手.gif differ diff --git a/src/assets/img/AI/助手.png b/src/assets/img/AI/助手.png deleted file mode 100644 index 97466bb6c..000000000 Binary files a/src/assets/img/AI/助手.png and /dev/null differ diff --git a/src/assets/img/AI/渐变背景.png b/src/assets/img/AI/渐变背景.png index d64a0588e..8f56fae91 100644 Binary files a/src/assets/img/AI/渐变背景.png and b/src/assets/img/AI/渐变背景.png differ diff --git a/src/views/modules/base/smartExcel/cpts/acceptingPersonel.vue b/src/views/modules/base/smartExcel/cpts/acceptingPersonel.vue index a8ba89806..0319b3a30 100644 --- a/src/views/modules/base/smartExcel/cpts/acceptingPersonel.vue +++ b/src/views/modules/base/smartExcel/cpts/acceptingPersonel.vue @@ -227,7 +227,7 @@ export default { this.selfTag = res.data.list.map(item=>{ return { staffId:item.userId, - name:item.userName + roleStr:item.orgUserName } }) diff --git a/src/views/modules/base/smartExcel/cpts/excel-info.vue b/src/views/modules/base/smartExcel/cpts/excel-info.vue index 71a379e50..2307a4f8e 100644 --- a/src/views/modules/base/smartExcel/cpts/excel-info.vue +++ b/src/views/modules/base/smartExcel/cpts/excel-info.vue @@ -100,27 +100,8 @@ :show-overflow-tooltip="true"> - - - - - - diff --git a/src/views/modules/shequzhili/analysis/cpts/event-list.vue b/src/views/modules/shequzhili/analysis/cpts/event-list.vue index 6a5fd4e63..f90217b26 100644 --- a/src/views/modules/shequzhili/analysis/cpts/event-list.vue +++ b/src/views/modules/shequzhili/analysis/cpts/event-list.vue @@ -61,11 +61,11 @@ - +
- +
AI小助手:为您生成了上周的12345政务热线诉求总结 查看 @@ -55,7 +55,7 @@
{{ analysisList.resolveRate? analysisList.resolveRate:0}}%
- 最终解决率 + 解决率
@@ -65,7 +65,7 @@
{{ analysisList.satisfiedRate? analysisList.satisfiedRate:0}}%
- 最终满意率 + 满意率
@@ -536,14 +536,15 @@ export default { showEventList:false, selectedIndex: 0, titleList: [ + { + value: 1, + label: '社区办件情况' + }, { value: 0, label: '部门科室办件情况' }, - { - value: 1, - label: '社区办件情况' - }, + ], starttime: "", endtime: "", @@ -872,7 +873,6 @@ export default { this.user = this.$store.state.user; this.agencyId = this.user.agencyId; - this.getLastMonthRange() this.getOrgData(); this.agencyLevel = localStorage.getItem("level", this.orgData.level); @@ -880,7 +880,8 @@ export default { // this.initEcharts(); await this.sysAdvancedPage() await this.EventCategoryAnalysis(); - await this.EventCate(); + this.EventCate(); + this.getCommunityList() this.getCategoryTree(); @@ -956,7 +957,7 @@ export default { tooltip: { trigger: "axis" }, legend: { bottom: -5, - data: ["响应率", "按时办结率", "最终解决率", "最终满意率"], + data: ["响应率", "按时办结率", "解决率", "满意率"], }, xAxis: { type: "category", @@ -972,8 +973,8 @@ export default { name: "响应率", type: "bar", barWidth: 20, data: responseRate, color: "#3B82F6" }, { name: "按时办结率", type: "bar", barWidth: 20, data: returnRate, color: "#22C55E" }, - { name: "最终解决率", type: "bar", barWidth: 20, data: resolveRate, color: "#FACC15" }, - { name: "最终满意率", type: "bar", barWidth: 20, data: satisfiedRate, color: "#FB923C" }, + { name: "解决率", type: "bar", barWidth: 20, data: resolveRate, color: "#FACC15" }, + { name: "满意率", type: "bar", barWidth: 20, data: satisfiedRate, color: "#FB923C" }, ], grid: { left: "3%", right: "4%", bottom: "10%", containLabel: true }, dataZoom: [ @@ -1249,7 +1250,7 @@ export default { }, //对部门进行统计 async EventCate() { - const url = "/governance/icEvent/EventCategoryAnalysis"; + const url = "/governance/icEvent/partEventCategoryAnalysis"; // 对社区,部门进行更改 if (this.formData.queryDateStart && this.formData.queryDateEnd) { this.starttime = this.formData.queryDateStart, @@ -1262,22 +1263,47 @@ export default { let param = { startDate: this.starttime, endDate: this.endtime, - usableFlag: true + deptFlag: false } const { data, code, msg } = await requestPost(url, param); if (code === 0) { - data.map(item => { - if (item.assignOrgType == "duty") { - this.departmentList.push(item) - } else { - this.communityList.push(item) - } - }) + this.departmentList=data + // data.map(item => { + // if (item.assignOrgType == "duty") { + // this.departmentList.push(item) + // } else { + // this.communityList.push(item) + // } + // }) this.initChart(); } else { this.$message.error(msg); } }, + async getCommunityList() { + const url = "/governance/icEvent/partEventCategoryAnalysis"; + // 对社区,部门进行更改 + if (this.formData.queryDateStart && this.formData.queryDateEnd) { + this.starttime = this.formData.queryDateStart, + this.endtime = this.formData.queryDateEnd + } else { + { + this.getLastMonthRange() + } + } + let param = { + startDate: this.starttime, + endDate: this.endtime, + deptFlag: true + } + const { data, code, msg } = await requestPost(url, param); + if (code === 0) { + this.communityList=data + // this.initChart(); + } else { + this.$message.error(msg); + } + }, flattenTree(tree, levelKeys = []) { let result = []; console.log(tree, "tree"); diff --git a/src/views/modules/shequzhili/event/cpts/event-info.vue b/src/views/modules/shequzhili/event/cpts/event-info.vue index 90eb67d46..0066a48cc 100644 --- a/src/views/modules/shequzhili/event/cpts/event-info.vue +++ b/src/views/modules/shequzhili/event/cpts/event-info.vue @@ -366,6 +366,8 @@ export default { if (this.eventId) { this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData)); } + console.log(this.eventDetailData,"SDFgklj;dfglk;"); + }, mounted() { }, diff --git a/src/views/modules/shequzhili/event/cpts/process-form-complete.vue b/src/views/modules/shequzhili/event/cpts/process-form-complete.vue index 46009ede8..6af0c8620 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-complete.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-complete.vue @@ -27,7 +27,7 @@ 上传图片 @@ -326,7 +326,7 @@
- 上传图片 @@ -419,7 +419,7 @@ export default { contactFailureList: [{ label: '已接通', value: 1 }, { label: '未接通', value: 0 }], coordinateList: [{ label: '配合', value: 0 }, { label: '未配合', value: 1 }], examineList: [{ label: '合格', value: 0 }, { label: '不合格', value: 1 }], - confirmSolved: [{ label: '问题未解决', value: 0 }, { label: '问题已解决', value: 1 }], + confirmSolved: [{ label: '问题未解决', value: "0" }, { label: '问题已解决', value: "1" }], satisfactionResult: [{ label: '非常满意', value: 'verygood' }, { label: '满意', value: 'good' }, { label: '不满意', value: 'bad' }, { label: '非常不满意', value: 'verybad' }], satisfactionType : [ { @@ -495,7 +495,8 @@ showHotline:false, imgList: [], audioList: [], docList:[], - examineImgList:[] + examineImgList:[], + fileList:[], }; }, components: {}, @@ -544,6 +545,21 @@ showHotline:false, } } + console.log(this.formData,this.eventDetailData,"查看"); + this.formData.examine=this.eventDetailData.lastAuditDetail.examine; + this.formData.confirmSolved=this.eventDetailData.lastAuditDetail.confirmSolved; + this.formData.satisfactionResult=this.eventDetailData.lastAuditDetail.satisfactionResult; + this.examineImgList=this.eventDetailData.lastAuditDetail.internalFile + this.formData.examineContent=this.eventDetailData.lastAuditDetail.examineContent; + this.fileList=this.eventDetailData.lastAuditDetail.internalFile.map(item=>{ + return { + url: item.attachmentUrl, // 假设 attachmentName 是图片的 URL + name:item.attachmentName + }; + } + + ) + // this.formData.satisfactionResult=this.eventDetailData.satisfactionResult; console.log(this.imgList,this.audioList,this.docList,"sdkfljlksdf"); }, }, @@ -557,6 +573,8 @@ showHotline:false, const { user } = this.$store.state; this.agencyId = user.agencyId; this.sysAdvancedPage() + + }, methods: { @@ -608,7 +626,7 @@ showHotline:false, handleAudioSuccess(res, file, fileList) { console.log("res.data.url", file); if (res.code === 0 && res.msg === "success") { - console.log("res.data.url", res.data.url); + console.log("res.data.url", res); this.audioList.push({ attachmentFormat: file.name.split(".").pop(), attachmentName: file.name, diff --git a/src/views/modules/shequzhili/event/cpts/process-form.vue b/src/views/modules/shequzhili/event/cpts/process-form.vue index c28503633..1aab25a16 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form.vue @@ -121,6 +121,8 @@ export default { watch: {}, created() { }, async mounted() { + console.log(this.eventDetailData,"dsfsdfj"); + const { user } = this.$store.state this.agencyId = user.agencyId if (this.eventId) { @@ -133,6 +135,8 @@ export default { }) this.getOrgTreeList() this.sysAdvancedPage() + + }, methods: { async sysAdvancedPage(row) {