+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
-
-
- 生成本月社区自查问卷表
-
-
-
本月已参与调研人数 {{ personQty }}人
-
-
-

-
-
{{ synthesisScore }}
-
综合得分
-
-
-
-

-

-
{{synthesisScoreBtLastMonth || '--'}}
-
-
较上月
-
-
-
-
-
-
![Image]()
-
-
{{ item.score }}
-
{{ item.satisfactionCategoryName }}
-
-
-
-

-

-
{{item.scoreDiffBtLastMonth}}
-
-
较上月
-
-
-
-
-
-
-
-
-
+
+
+ 生成本月社区自查问卷表
+
+
+
本月已参与调研人数 {{ personQty }}人
+
+
+

+
+
{{ synthesisScore }}
+
综合得分
+
+
+
+

+

+
{{ synthesisScoreBtLastMonth < 0
+ ? Math.abs(synthesisScoreBtLastMonth)
+ : synthesisScoreBtLastMonth}}
+
较上月
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- 加载中
...
+
+
+
+
![Image]()
+
+
{{ item.score }}
+
{{ item.satisfactionCategoryName }}
+
+
+
+

+

+
+ {{
+ item.scoreDiffBtLastMonth < 0
+ ? Math.abs(item.scoreDiffBtLastMonth)
+ : item.scoreDiffBtLastMonth
+ }}
+
+
+
较上月
+
-
-
- 问卷链接: {{ questionnaireUrl }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{
+ scope.row.synthesisScore
+ }}
+
+

+

+
{{
+ scope.row.synthesisScoreDiffBtLastMonth < 0
+ ? Math.abs(scope.row.synthesisScoreDiffBtLastMonth)
+ : scope.row.synthesisScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.culturalFacilityScore
+ }}
+
+

+

+
{{
+ scope.row.culturalFacilityScoreDiffBtLastMonth < 0
+ ? Math.abs(
+ scope.row.culturalFacilityScoreDiffBtLastMonth
+ )
+ : scope.row.culturalFacilityScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.basicEducationScore
+ }}
+
+

+

+
{{
+ scope.row.basicEducationScoreDiffBtLastMonth < 0
+ ? Math.abs(
+ scope.row.basicEducationScoreDiffBtLastMonth
+ )
+ : scope.row.basicEducationScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.sportsFacilityScore
+ }}
+
+

+

+
{{
+ scope.row.sportsFacilityScoreDiffBtLastMonth < 0
+ ? Math.abs(
+ scope.row.sportsFacilityScoreDiffBtLastMonth
+ )
+ : scope.row.sportsFacilityScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.ecologicalEnvScore
+ }}
+
+

+

+
{{
+ scope.row.ecologicalEnvScoreDiffBtLastMonth < 0
+ ? Math.abs(
+ scope.row.ecologicalEnvScoreDiffBtLastMonth
+ )
+ : scope.row.ecologicalEnvScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.socialSecurityScore
+ }}
+
+

+

+
{{
+ scope.row.socialSecurityScoreDiffBtLastMonth < 0
+ ? Math.abs(
+ scope.row.socialSecurityScoreDiffBtLastMonth
+ )
+ : scope.row.socialSecurityScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.socialAssistanceScore
+ }}
+
+

+

+
{{
+ scope.row.socialAssistanceScoreDiffBtLastMonth < 0
+ ? Math.abs(
+ scope.row.socialAssistanceScoreDiffBtLastMonth
+ )
+ : scope.row.socialAssistanceScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.oldPeopleProvideScore
+ }}
+
+

+

+
{{
+ scope.row.oldPeopleProvideScoreDiffBtLastMonth < 0
+ ? Math.abs(
+ scope.row.oldPeopleProvideScoreDiffBtLastMonth
+ )
+ : scope.row.oldPeopleProvideScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+
+
{{
+ scope.row.medicalScore
+ }}
+
+

+

+
{{
+ scope.row.medicalScoreDiffBtLastMonth < 0
+ ? Math.abs(scope.row.medicalScoreDiffBtLastMonth)
+ : scope.row.medicalScoreDiffBtLastMonth
+ }}
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+ 共{{ total }}条
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 加载中...
+
+
+ 问卷链接: {{ questionnaireUrl }}
+
+
+
From 9588901433504ee80982690285413016fdcf3b6d Mon Sep 17 00:00:00 2001
From: duanliangtao
Date: Tue, 14 Nov 2023 18:01:16 +0800
Subject: [PATCH 3/4] =?UTF-8?q?12345=E6=8A=A5=E5=91=8A=E4=BA=8C=E7=BA=A7?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E7=9A=84=E5=AE=9E=E7=8E=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/goverhotline/areaNoSameList.vue | 131 ++++++++++++
.../modules/goverhotline/areaSameList.vue | 91 +++++++++
src/views/modules/goverhotline/formList.vue | 20 +-
src/views/modules/goverhotline/index.vue | 189 ++++++++++++++++--
src/views/modules/goverhotline/mobileList.vue | 90 +++++++++
5 files changed, 508 insertions(+), 13 deletions(-)
create mode 100644 src/views/modules/goverhotline/areaNoSameList.vue
create mode 100644 src/views/modules/goverhotline/areaSameList.vue
create mode 100644 src/views/modules/goverhotline/mobileList.vue
diff --git a/src/views/modules/goverhotline/areaNoSameList.vue b/src/views/modules/goverhotline/areaNoSameList.vue
new file mode 100644
index 000000000..dfa2a9c04
--- /dev/null
+++ b/src/views/modules/goverhotline/areaNoSameList.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/goverhotline/areaSameList.vue b/src/views/modules/goverhotline/areaSameList.vue
new file mode 100644
index 000000000..7785c5850
--- /dev/null
+++ b/src/views/modules/goverhotline/areaSameList.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/goverhotline/formList.vue b/src/views/modules/goverhotline/formList.vue
index c0b918339..04a8b8864 100644
--- a/src/views/modules/goverhotline/formList.vue
+++ b/src/views/modules/goverhotline/formList.vue
@@ -62,7 +62,9 @@ export default {
firstIdList: [],
secondIdList: [],
workOrderNum: "",
- departId:""
+ departId:"",
+ content:"",
+ mobile:""
},
pageNo: 0,
pageSize: 20,
@@ -105,6 +107,14 @@ export default {
this.formData.departId = this.departId;
}
+ if(this.address){
+ this.formData.content = this.address;
+ }
+
+ if(this.mobile){
+ this.formData.mobile = this.mobile;
+ }
+
const { pageSize, pageNo, formData } = this;
const { data, code, msg } = await requestPost(url, {
pageSize,
@@ -131,6 +141,14 @@ export default {
type:String,
default:''
},
+ address:{
+ type:String,
+ default:''
+ },
+ mobile:{
+ type:String,
+ default:''
+ },
departId:{
type:String,
default:''
diff --git a/src/views/modules/goverhotline/index.vue b/src/views/modules/goverhotline/index.vue
index fbc7f33ab..b7c5154cf 100644
--- a/src/views/modules/goverhotline/index.vue
+++ b/src/views/modules/goverhotline/index.vue
@@ -105,32 +105,39 @@
+
+ 查看更多
+
(二)同一人员重复投诉
-
+
+ 查看更多
+
(三)同一区域不同类型投诉
-
+
-
+
+
+ 查看更多
@@ -154,6 +161,8 @@
@handleClose="handleClose"
:recId="recId"
:departId="departId"
+ :address="address"
+ :mobile="mobile"
@handelClickDetail="handelClickDetail"
>
+
+
+
+
+
+
+
+
+
+
+
+
@@ -180,12 +246,15 @@ import axios from "axios";
import * as echarts from "echarts";
import formList from "./formList";
+import areaSameList from "./areaSameList";
+import areaNoSameList from "./areaNoSameList";
+import mobileList from "./mobileList";
import util from "@js/util.js";
import followDetail from "./followDetail";
import eventInfo from "../shequzhili/event/cpts/event-info";
export default {
- components: {formList, followDetail,eventInfo},
+ components: {formList, followDetail,eventInfo,areaSameList,mobileList,areaNoSameList},
data() {
return {
@@ -222,6 +291,9 @@ export default {
showFormList: false,
showFormDetail: false,
+ showAreaSameEventList: false,
+ showMobileEventList: false,
+ showAreaNoSameEventList: false,
recId: "",
departId:"",
@@ -230,6 +302,9 @@ export default {
eventDetailData: {},
pageType: "info",
+ mergeObj: {},
+ mergeArr: ['address'],
+
categoryChartOption: {
@@ -618,13 +693,15 @@ export default {
}
},
handelClickChart(params) {
+ this.hiddenAllDialog();
this.showFormList = true;
- this.departId ='';
+ this.cleanSearchForm();
this.recId = params.data.id;
},
handelClickDepartChart(params) {
+ this.hiddenAllDialog();
this.showFormList = true;
- this.recId ='';
+ this.cleanSearchForm();
this.departId = params.data.id;
},
handleClose() {
@@ -642,20 +719,21 @@ export default {
} else {
this.eventDetailData = { ...data };
this.pageType = "info";
+ this.showFormList = true;
this.showFormDetail = true;
}
},
handleClose() {
- this.showFormDetail = false;
+ this.hiddenAllDialog();
this.pageType = "list";
- this.eventId = "";
+ this.cleanSearchForm();
this.getTableData();
},
handleOk() {
- this.showFormDetail = false;
+ this.hiddenAllDialog();
this.pageType = "list";
- this.eventId = "";
+ this.cleanSearchForm();
this.pageNo = 1;
this.getTableData();
},
@@ -809,6 +887,9 @@ export default {
})
: [];
+ // 合并行
+ this.getSpanArr(this.addressMobileData);
+
if (this.report && this.report.categoryCount && Object.keys(this.report.categoryCount).length > 0) {
this.categoryCountShow = true;
}
@@ -827,8 +908,92 @@ export default {
},
clickAddressData(row, column){
- console.log("============clickAddressData============");
- console.log(row);
+ this.hiddenAllDialog();
+ this.showFormList = true;
+ this.recId = row.categoryId;
+ this.address = row.address;
+ },
+
+ handelMoreAddressData(){
+ this.hiddenAllDialog();
+ this.cleanSearchForm();
+ this.showAreaSameEventList = true;
+ },
+ handelMoreMobileData(){
+ this.hiddenAllDialog();
+ this.cleanSearchForm();
+ this.showMobileEventList = true;
+ },
+ handelMoreAddressMobileData(){
+ this.hiddenAllDialog();
+ this.cleanSearchForm();
+ this.showAreaNoSameEventList = true;
+ },
+
+ clickMobileData(row, column){
+ this.hiddenAllDialog();
+ this.showFormList = true;
+ this.cleanSearchForm();
+ this.mobile = row.mobile;
+ },
+
+ clickAddressMobileData(row, column){
+ this.hiddenAllDialog();
+ this.showFormList = true;
+ this.cleanSearchForm();
+ this.address = row.address;
+ },
+
+ cleanSearchForm(){
+ this.departId ='';
+ this.eventId = "";
+ this.recId ='';
+ this.address ='';
+ this.mobile ='';
+ },
+
+ hiddenAllDialog(){
+ this.showFormList = false;
+ this.showFormDetail = false;
+ this.showAreaSameEventList = false;
+ this.showMobileEventList = false;
+ this.showAreaNoSameEventList = false;
+ },
+
+ getSpanArr(data) {
+ this.mergeArr.forEach((key, index1) => {
+ let count = 0; // 用来记录需要合并行的起始位置
+ this.mergeObj[key] = []; // 记录每一列的合并信息
+ data.forEach((item, index) => {
+ // index == 0表示数据为第一行,直接 push 一个 1
+ if(index === 0) {
+ this.mergeObj[key].push(1);
+ } else {
+ // 判断当前行是否与上一行其值相等 如果相等 在 count 记录的位置其值 +1 表示当前行需要合并 并push 一个 0 作为占位
+ if(item[key] === data[index - 1][key]) {
+ this.mergeObj[key][count] += 1;
+ this.mergeObj[key].push(0);
+ } else {
+ // 如果当前行和上一行其值不相等
+ count = index; // 记录当前位置
+ this.mergeObj[key].push(1); // 重新push 一个 1
+ }
+ }
+ })
+ })
+ },
+ // 默认接受四个值 { 当前行的值, 当前列的值, 行的下标, 列的下标 }
+ objectSpanMethod({ row, column, rowIndex, columnIndex }) {
+ // 判断列的属性
+ if(this.mergeArr.indexOf(column.property) !== -1) {
+ // 判断其值是不是为0
+ if(this.mergeObj[column.property][rowIndex]) {
+ return [this.mergeObj[column.property][rowIndex], 1]
+ } else {
+ // 如果为0则为需要合并的行
+ return [0, 0];
+ }
+ }
}
},
diff --git a/src/views/modules/goverhotline/mobileList.vue b/src/views/modules/goverhotline/mobileList.vue
new file mode 100644
index 000000000..c0347a7f0
--- /dev/null
+++ b/src/views/modules/goverhotline/mobileList.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
From b90a6c36511df48e1651a7a70cb148bab816c0bf Mon Sep 17 00:00:00 2001
From: mk <2403457699@qq.com>
Date: Wed, 15 Nov 2023 14:59:46 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E8=87=AA=E6=9F=A5?=
=?UTF-8?q?=E8=A1=97=E9=81=93=E7=89=88=E5=AE=8C=E6=88=90,=E6=A0=87?=
=?UTF-8?q?=E7=AD=BE=E6=9C=80=E7=BB=88=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../communityService/labelConfig/addForm.vue | 136 +++---
.../communitySelfInsp/communityDialog.vue | 417 ++++++++++++++++++
.../communitySelfInsp/formList.vue | 5 +
.../satisfaction/communitySelfInsp/index.vue | 108 ++++-
4 files changed, 577 insertions(+), 89 deletions(-)
create mode 100644 src/views/modules/satisfaction/communitySelfInsp/communityDialog.vue
diff --git a/src/views/modules/communityService/labelConfig/addForm.vue b/src/views/modules/communityService/labelConfig/addForm.vue
index ce2e2bdb9..c9a13a1b1 100644
--- a/src/views/modules/communityService/labelConfig/addForm.vue
+++ b/src/views/modules/communityService/labelConfig/addForm.vue
@@ -7,12 +7,8 @@
class="div_form"
:rules="rules"
>
-
-
+
+
- (您可以按关键词查找使用已有标签,也可以新建标签)
+ (您可以按关键词查找使用已有标签,也可以
+ 新建标签 )
- * 设置标签查询条件
+
+ * 设置标签查询条件
+
@@ -54,7 +55,7 @@
-
+
@@ -120,8 +121,7 @@
item.itemType == 'checkbox'
"
v-model="scope.row.colVal"
- @change="changeFormState = true"
-
+ @change="changeFormState = true"
placeholder="请选择"
clearable
>
@@ -138,8 +138,7 @@
item.itemType === 'input' || item.itemType === 'textarea'
"
v-model="scope.row.colVal"
- @change="changeFormState = true"
-
+ @change="changeFormState = true"
placeholder="请输入"
clearable
>
@@ -148,8 +147,7 @@
v-else-if="item.itemType === 'inputNum'"
class="item_width_2"
v-model="scope.row.colVal"
- @change="changeFormState = true"
-
+ @change="changeFormState = true"
:min="0"
size="mini"
label="请输入"
@@ -158,8 +156,7 @@
v-else-if="
item.itemType === 'datepicker' || item.itemType === 'date'
"
- @change="changeFormState = true"
-
+ @change="changeFormState = true"
v-model="scope.row.colVal"
class="item_width_2"
type="datetime"
@@ -174,8 +171,7 @@
size="mini"
placeholder="请输入"
v-model="scope.row.colVal"
- @change="changeFormState = true"
-
+ @change="changeFormState = true"
>
@@ -190,7 +186,6 @@
v-model="scope.row.nextLogicalRel"
placeholder="请选择"
@change="changeFormState = true"
-
clearable
>
-
+
- 您已变更了“{{this.formData.tagName}}”标签的查询条件,请按新条件修改原标签名称,便于以后再次查找使用。
+
+ 您已变更了“{{
+ this.formData.tagName
+ }}”标签的查询条件,请按新条件修改原标签名称,便于以后再次查找使用。
+
取 消
item.colKey == row.itemId);
this.tableData[index].tableName = arr[0].tableName;
this.tableData[index].colKey = arr[0].colKey;
@@ -477,7 +454,9 @@ export default {
}
// this.tableData[index].colVal = ''
// this.tableData[index].queryType = ''
- } else if (row.dataSource == "resi" && row.itemId != "") {
+ } else if ((row.dataSource == "resi"||row.dataSource == "house") && row.itemId != "") {
+
+ console.log(row);
arr = row.itemIdOpction.filter((item) => item.itemId == row.itemId);
this.tableData[index].tableName = arr[0].tableName;
this.tableData[index].colKey = arr[0].columnName;
@@ -511,7 +490,6 @@ export default {
} else {
this.$set(this.tableData[index], "correspondingOpction", arr);
}
-
},
async getCompareList() {
const url = "/sys/dict/data/dictlist";
@@ -587,14 +565,14 @@ export default {
async addSubmit() {
var url = "";
var params = {};
- if ( this.changeFormState && this.formState) {
+ if (this.changeFormState && this.formState) {
url = "/governance/resiSearchTag/updateResiSearchTag";
params = {
tagName: this.formData.tagName,
rules: this.tableData,
tagId: this.tagId,
};
- } else {
+ } else {
url = "/governance/resiSearchTag/addResiSearchTag";
params = {
tagName: this.formData.tagName,
@@ -680,13 +658,19 @@ export default {
},
// 删除一行
handleClickDelete(index) {
- this.changeFormState = true
+ this.changeFormState = true;
this.tableData.splice(index, 1);
},
handleClearItemId(row, index) {
this.tableData[index].colVal = "";
this.tableData[index].queryType = "";
},
+ clearRow() {
+ this.tableData = [];
+ this.formData.tagName = "";
+ this.formState = false
+ this.handleClickAddRow();
+ },
},
props: {},
computed: {},
diff --git a/src/views/modules/satisfaction/communitySelfInsp/communityDialog.vue b/src/views/modules/satisfaction/communitySelfInsp/communityDialog.vue
new file mode 100644
index 000000000..3d196113b
--- /dev/null
+++ b/src/views/modules/satisfaction/communitySelfInsp/communityDialog.vue
@@ -0,0 +1,417 @@
+
+
+
+
+
+
+
+ 本月已参与调研人数 {{ personQty }}人
+
+
+
+

+
+
+ {{ synthesisScore < 0 ? Math.abs(synthesisScore) : synthesisScore }}
+
+
综合得分
+
+
+
+

+

+
{{
+ synthesisScoreBtLastMonth < 0
+ ? Math.abs(synthesisScoreBtLastMonth)
+ : synthesisScoreBtLastMonth
+ }}
+
+
较上月
+
+
+
+
+
+
![Image]()
+
+
{{ item.score }}
+
{{ item.satisfactionCategoryName }}
+
+
+
+

+

+
+ {{
+ item.scoreDiffBtLastMonth < 0
+ ? Math.abs(item.scoreDiffBtLastMonth)
+ : item.scoreDiffBtLastMonth
+ }}
+
+
+
较上月
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/satisfaction/communitySelfInsp/formList.vue b/src/views/modules/satisfaction/communitySelfInsp/formList.vue
index d33396895..43cb724d0 100644
--- a/src/views/modules/satisfaction/communitySelfInsp/formList.vue
+++ b/src/views/modules/satisfaction/communitySelfInsp/formList.vue
@@ -176,6 +176,7 @@ export default {
...this.formData,
pageNo: this.pageNo,
pageSize: this.pageSize,
+ agencyId: this.communityId
};
let url = '/governance/satisfaction/communitySelfInsp/inspResult/list'
const { data, code, msg } = await requestGet(url, params)
@@ -207,6 +208,10 @@ export default {
seriesName: {
type: String,
default: ''
+ },
+ communityId:{
+ type: String,
+ default: ''
}
},
//监听
diff --git a/src/views/modules/satisfaction/communitySelfInsp/index.vue b/src/views/modules/satisfaction/communitySelfInsp/index.vue
index 911835e27..6f35fb98c 100644
--- a/src/views/modules/satisfaction/communitySelfInsp/index.vue
+++ b/src/views/modules/satisfaction/communitySelfInsp/index.vue
@@ -62,7 +62,13 @@
alt="Image"
/>
-
{{ synthesisScore }}
+
+ {{
+ synthesisScore < 0
+ ? Math.abs(synthesisScore)
+ : synthesisScore
+ }}
+
综合得分
@@ -81,9 +87,11 @@
synthesisScoreBtLastMonth != null
"
/>
- {{ synthesisScoreBtLastMonth < 0
- ? Math.abs(synthesisScoreBtLastMonth)
- : synthesisScoreBtLastMonth}}
+ {{
+ synthesisScoreBtLastMonth < 0
+ ? Math.abs(synthesisScoreBtLastMonth)
+ : synthesisScoreBtLastMonth
+ }}
较上月
@@ -537,30 +545,97 @@