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 {