From b1088516c8686649a68e79141ef20dd0173171f9 Mon Sep 17 00:00:00 2001
From: mk <2403457699@qq.com>
Date: Tue, 12 Sep 2023 15:52:04 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E8=87=AA=E6=9F=A5=E5=9B=9E?=
=?UTF-8?q?=E8=AE=BF=E8=AE=B0=E5=BD=95=E5=88=97=E8=A1=A8=E5=8A=9F=E8=83=BD?=
=?UTF-8?q?=E8=81=94=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../communitySelfInsp/followList.vue | 24 ++++++++-----------
.../communitySelfInsp/followUpDetail.vue | 4 ++--
.../communitySelfInsp/formList.vue | 7 +++---
.../satisfaction/communitySelfInsp/index.vue | 7 +++---
4 files changed, 19 insertions(+), 23 deletions(-)
diff --git a/src/views/modules/satisfaction/communitySelfInsp/followList.vue b/src/views/modules/satisfaction/communitySelfInsp/followList.vue
index 5204c5e8d..48a26b100 100644
--- a/src/views/modules/satisfaction/communitySelfInsp/followList.vue
+++ b/src/views/modules/satisfaction/communitySelfInsp/followList.vue
@@ -18,7 +18,7 @@
-
{{ scope.row.followUpWay == 1 ? '正常' : '异常' }}
+ {{ scope.row.followUpWay == 1 ? '电话回访' : '上门回访' }}
@@ -80,10 +80,7 @@
},
data() {
return {
- followUpWayList:[{
- label: '无需回访',
- value: '0'
- }, {
+ followUpWayList:[ {
label: '上门回访',
value: '1'
},{
@@ -193,9 +190,9 @@
console.log(row, this.id);
const params = {
...row,
- equipmentId: this.id
+ inspResultId: this.id
};
- const url = ``;
+ const url = `/governance/satisfaction/communitySelfInsp/followUp/save`;
const {
data,
code,
@@ -212,11 +209,10 @@
}
},
async edit(row) {
- console.log(row, this.id);
const params = {
...row
};
- const url = ``;
+ const url = `/governance/satisfaction/communitySelfInsp/followUp/save`;
const {
data,
code,
@@ -233,7 +229,7 @@
},
async del(row) {
let arr = [row.id];
- const url = ``;
+ const url = `/governance/satisfaction/communitySelfInsp/followUp/delete/${row.id}`;
const {
data,
code,
@@ -248,16 +244,16 @@
},
async getList() {
const params = {
- equipmentId: this.id,
+ inspResultId: this.id,
pageNo: 1,
- pageSize: 10000
+ pageSize: 20
};
- const url = ``;
+ const url = `/governance/satisfaction/communitySelfInsp/followUp/list`;
const {
data,
code,
msg
- } = await requestPost(url, params);
+ } = await requestGet(url, params);
if (code === 0) {
this.tableData = data.list.map(item => {
return {
diff --git a/src/views/modules/satisfaction/communitySelfInsp/followUpDetail.vue b/src/views/modules/satisfaction/communitySelfInsp/followUpDetail.vue
index d2c36eb3f..70fb1f53a 100644
--- a/src/views/modules/satisfaction/communitySelfInsp/followUpDetail.vue
+++ b/src/views/modules/satisfaction/communitySelfInsp/followUpDetail.vue
@@ -11,8 +11,8 @@
基本满意
不满意
- {{ index + 1 }}.1您具体对那些方面不满意
-
+ {{ index + 1 }}.1您具体对那些方面不满意
+
{{ itemK.label }}
diff --git a/src/views/modules/satisfaction/communitySelfInsp/formList.vue b/src/views/modules/satisfaction/communitySelfInsp/formList.vue
index 7f81d5109..3b2a833dc 100644
--- a/src/views/modules/satisfaction/communitySelfInsp/formList.vue
+++ b/src/views/modules/satisfaction/communitySelfInsp/formList.vue
@@ -20,8 +20,7 @@
查询
-
+
@@ -126,8 +125,8 @@ export default {
handleDetail(row) {
this.$emit('handelDetail', row.id)
},
- handelFollowUpList() {
- this.$emit('handelFollowUpList', true)
+ handelFollowUpList(row) {
+ this.$emit('handelFollowUpList', row.id)
},
satisfactionCategory(row, name) {
if (row[name]) {
diff --git a/src/views/modules/satisfaction/communitySelfInsp/index.vue b/src/views/modules/satisfaction/communitySelfInsp/index.vue
index 9d473d5bf..71d37f317 100644
--- a/src/views/modules/satisfaction/communitySelfInsp/index.vue
+++ b/src/views/modules/satisfaction/communitySelfInsp/index.vue
@@ -60,11 +60,11 @@
@handelDetail="handelDetail" @handelFollowUpList="handelFollowUpList" :period="formData.period" :seriesName="seriesName" :inspRecordId="formData.inspRecordId">
-
+
-
+
@@ -269,8 +269,9 @@ export default {
this.showFollowUpDetail = true;
this.inspResultId = id
},
- handelFollowUpList() {
+ handelFollowUpList(id) {
this.showFollowUpList = true;
+ this.inspResultId = id
},
async handleCreateMonthlySurvey() {
try {