Browse Source

12345分析报告等等

bug_mk
是小王呀\24601 5 months ago
parent
commit
8d4eb62b14
  1. BIN
      src/assets/img/AI/助手.gif
  2. BIN
      src/assets/img/AI/助手.png
  3. BIN
      src/assets/img/AI/渐变背景.png
  4. 2
      src/views/modules/base/smartExcel/cpts/acceptingPersonel.vue
  5. 21
      src/views/modules/base/smartExcel/cpts/excel-info.vue
  6. 2
      src/views/modules/base/smartExcel/index.vue
  7. 6
      src/views/modules/shequzhili/analysis/cpts/event-list.vue
  8. 68
      src/views/modules/shequzhili/analysis/index.vue
  9. 2
      src/views/modules/shequzhili/event/cpts/event-info.vue
  10. 28
      src/views/modules/shequzhili/event/cpts/process-form-complete.vue
  11. 4
      src/views/modules/shequzhili/event/cpts/process-form.vue

BIN
src/assets/img/AI/助手.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
src/assets/img/AI/助手.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

BIN
src/assets/img/AI/渐变背景.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 43 KiB

2
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
}
})

21
src/views/modules/base/smartExcel/cpts/excel-info.vue

@ -100,27 +100,8 @@
:show-overflow-tooltip="true">
<template slot-scope="scope">
<div style="color: blue;">
{{ scope.row.submitNum }}/{{ scope.row.totalNum }}
{{ scope.row.submitNum + scope.row.resolveNum }}/{{ scope.row.totalNum }}
</div>
</template>
</el-table-column>
<el-table-column prop="resolveNum" align="center" width="110" label="存档进度"
:show-overflow-tooltip="true">
<template slot-scope="scope">
<div style="color: blue;">
{{ scope.row.resolveNum }}/{{ scope.row.totalNum }}
</div>
</template>
</el-table-column>
<el-table-column prop="submitNum" align="center" width="110" label="提交进度"
:show-overflow-tooltip="true">
<template slot-scope="scope">
<div style="color: blue;">
{{ scope.row.submitNum }}/{{ scope.row.totalNum }}
</div>
</template>
</el-table-column>
<el-table-column prop="resolveNum" align="center" width="110" label="存档进度"

2
src/views/modules/base/smartExcel/index.vue

@ -74,7 +74,7 @@
<el-table-column prop="submitNum" align="center" width="110" label="当前提交进度" :show-overflow-tooltip="true">
<template slot-scope="scope" >
<div style="color: blue;">
{{ scope.row.submitNum }}/{{ scope.row.totalNum }}
{{ scope.row.submitNum + scope.row.resolveNum }}/{{ scope.row.totalNum }}
</div>
</template>

6
src/views/modules/shequzhili/analysis/cpts/event-list.vue

@ -61,11 +61,11 @@
</template>
</el-table-column>
</el-table>
<!-- <div>
<div>
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
:current-page.sync="pageNo" :page-sizes="[20, 30, 50]" :page-size="pageSize"
layout="sizes, prev, pager, next, total" :total="total"></el-pagination>
</div> -->
</div>
</div>
<div v-if="pageType==='info'" style="overflow-y: scroll;">
<event-info style="overflow: scroll;" v-if="pageType==='info'" ref="eleEditForm" :eventType="eventType" :pageType="pageType" :eventId="eventId" :eventDetailData="eventDetailData"
@ -191,6 +191,8 @@ export default {
startSubmitTime:this.formDataTime.queryDateStart,
endSubmitTime:this.formDataTime.queryDateEnd,
eventDealType:this.eventDealType,
pageSize:pageSize,
pageNo:pageNo
// agencyId:this.$store.state.user.agencyId
});
if (code == 0) {

68
src/views/modules/shequzhili/analysis/index.vue

@ -2,7 +2,7 @@
<div class="g-main">
<div>
<div class="header">
<img src="@/assets/img/AI/助手.png" alt="">
<img style="width: 40px; height: 40px;" src="@/assets/img/AI/助手.gif" alt="">
<div>
AI小助手为您生成了上周的12345政务热线诉求总结
<el-button type="text" @click="handelClickShowSummarize">查看</el-button>
@ -55,7 +55,7 @@
<div class="item2_div">
<span class="div_span1">{{ analysisList.resolveRate? analysisList.resolveRate:0}}%</span>
<div style="display: flex; align-items: center;justify-content:center;">
<span class="div_span2">最终解决率</span>
<span class="div_span2">解决率</span>
<img style="width: 10px;height: 10px;margin-top: 10px;margin-left: 5px;" src="./img/describe.png">
</div>
</div>
@ -65,7 +65,7 @@
<div class="item2_div">
<span class="div_span1">{{ analysisList.satisfiedRate? analysisList.satisfiedRate:0}}%</span>
<div style="display: flex; align-items: center;justify-content:center;">
<span class="div_span2">最终满意率</span>
<span class="div_span2">满意率</span>
<img style="width: 10px;height: 10px;margin-top: 10px;margin-left: 5px;" src="./img/describe.png">
</div>
</div>
@ -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");

2
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() {
},

28
src/views/modules/shequzhili/event/cpts/process-form-complete.vue

@ -27,7 +27,7 @@
</el-form-item>
<el-form-item label="上传图片" label-width="118px" :class="{ 'form-item': source === 'visiual' }" prop="">
<el-upload v-if="audioList.length < 3" :headers="$getElUploadHeaders()" :action="uploadUlr"
:data="{ customerId: customerId }" :show-file-list="false" :on-success="handleImgSuccess"
:data="{ customerId: customerId }" :show-file-list="false" :on-success="handleImgSuccess"
:before-upload="beforeImgUpload" accept=".jpg,.png,.jpeg">
<el-button type="primary" :disabled="pageType === 'check'">上传图片<i
class="el-icon-upload el-icon--right"></i></el-button>
@ -326,7 +326,7 @@
</div>
<div class="item">
<el-form-item label="上传图片" label-width="118px" :class="{ 'form-item': source === 'visiual' }" prop="">
<el-upload :headers="$getElUploadHeaders()" class="avatar-uploader" :action="uploadUlr"
<el-upload :headers="$getElUploadHeaders()" class="avatar-uploader" :action="uploadUlr" :file-list="fileList"
:data="{ customerId: customerId }" :show-file-list="true" :on-success="handleExamineImgSuccess"
:on-remove="handleExamineImgRemove" :before-upload="beforeImgUpload" accept=".jpg,.png,.jpeg">
<el-button type="primary">上传图片<i class="el-icon-upload el-icon--right"></i></el-button>
@ -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,

4
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) {

Loading…
Cancel
Save