@@ -185,8 +317,6 @@ export default {
}
return {
-
-
btnDisable: false,
keyWords: '',
@@ -202,6 +332,20 @@ export default {
longitude: 36.0722275, //经度
latitude: 120.38945519 //纬度
},
+
+ feedbackFormData: {
+ serviceProjectId: '',// 服务项目id
+ serviceProjectName: '',
+ serviceGoal: '',// 服务目标
+ serviceEffect: '',// 服务效果
+ servicePeopleNumber: null,// 服务人数
+ serviceStatus: 'completed',// 服务状态。in_service服务中;completed:已完成
+ satisfaction: '',//满意度。不满意:bad、基本满意:good、非常满意:perfect
+ longitude: '',// 经度
+ latitude: '',// 维度
+ address: '',
+ attachmentList: [],// 附件列表
+ },
serviceList: [],//服务list
endPickerOptions: {
@@ -211,17 +355,18 @@ export default {
disabledDate: startDisabledDate
},
-
projectList: [],
-
+ fileList: [],
+ uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/uploadvariedfile',
}
},
components: {},
mounted () {
if (this.serviceRecordId) {//详情
this.loadInfo()
+
}
- // this.initMap()
+ this.initMap()
console.log('mounted')
},
@@ -240,13 +385,25 @@ export default {
if (code === 0) {
this.formData = { ...data }
this.formData.serviceRecordId = this.serviceRecordId
+ this.feedbackFormData = { ...data.feedBack }
+ this.feedbackFormData.servicePeopleNumber = this.formData.servicePeopleNumber
+ this.feedbackFormData.satisfactionShow = this.feedbackFormData.satisfaction === 'perfect' ? '非常满意' : this.feedbackFormData.satisfaction === 'good' ? '基本满意' : '不满意'
+ this.fileList = []
+ data.feedBack.attachmentList.forEach(element => {
+ let obj = {
+ name: element.attachmentName,
+ format: element.attachmentFormat,
+ url: element.attachmentUrl,
+ }
+ this.fileList.push(obj)
+ });
+
+
} else {
this.$message.error(msg)
}
},
-
-
async handleComfirm () {
this.btnDisable = true
@@ -265,6 +422,7 @@ export default {
},
+
async editFuwu () {
const regPhone = /^1(3|4|5|6|7|8|9)\d{9}$/; //手机号码
if (regPhone.test(this.formData.principalContact) === false) {
@@ -409,7 +567,7 @@ export default {
geocoder
.getAddress({ location: location }) // 将给定的坐标位置转换为地址
.then((result) => {
- this.formData.address = result.result.address
+ // this.formData.address = result.result.address
// 显示搜索到的地址
});
},
@@ -448,7 +606,6 @@ export default {
computed: {
dataRule () {
return {
-
serviceCategoryKey: [
{ required: true, message: '服务类别不能为空', trigger: 'blur' },
],
@@ -485,7 +642,13 @@ export default {
default () {
return []
}
- }
+ },
+ satisfyArray: {
+ type: Array,
+ default () {
+ return []
+ }
+ },
}
}
diff --git a/src/views/modules/communityService/fuwujilu/fuwuList.vue b/src/views/modules/communityService/fuwujilu/fuwuList.vue
index 3ce7a034..2309bd62 100644
--- a/src/views/modules/communityService/fuwujilu/fuwuList.vue
+++ b/src/views/modules/communityService/fuwujilu/fuwuList.vue
@@ -253,6 +253,7 @@
@closed="showDetail = false">
Date: Wed, 8 Jun 2022 16:05:22 +0800
Subject: [PATCH 13/18] 11
---
.../visual/communityGovern/duoyuanDialog.vue | 335 ------------------
1 file changed, 335 deletions(-)
delete mode 100644 src/views/modules/visual/communityGovern/duoyuanDialog.vue
diff --git a/src/views/modules/visual/communityGovern/duoyuanDialog.vue b/src/views/modules/visual/communityGovern/duoyuanDialog.vue
deleted file mode 100644
index dfb584ae..00000000
--- a/src/views/modules/visual/communityGovern/duoyuanDialog.vue
+++ /dev/null
@@ -1,335 +0,0 @@
-
-
-
-
-
-

-
详情
-
-
-
-

-
-
-
-
-
-
-
{{item.reportTime || '2022-05-18'}}
-
{{item.content || '本周加班本周加班本周加班本周加班本周加班本周加班'}}
-
-
-
-
-
-
-
-
-
- 所属网格:
- {{ info.gridName }}
-
-
- 需求类型:
- {{ info.categoryName }}
-
-
-
- 上报类型:
- {{ info.reportTypeName }}
-
-
- 上报人:
- {{ info.reportUserName }}
-
-
- 上报人联系方式 :
- {{ info.reportUserMobile }}
-
-
- 上报时间 :
- {{ info.reportTime }}
-
-
- 需求人 :
- {{ info.demandUserName }}
-
-
- 服务时间 :
- {{ info.wantServiceTime }}
-
-
-
需求内容:
-
{{ info.content }}
-
-
- 服务方 :
- {{ info.serviceShowName }}
-
-
- 实际服务时间 :
- {{ info.serviceStartTime }} 至 {{ info.serviceEndTime }}
-
-
-
- 评价 :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
From b647bcd4aeb521e516811b1ff29e63f51aa15816 Mon Sep 17 00:00:00 2001
From: zhangyuan
Date: Wed, 8 Jun 2022 16:27:12 +0800
Subject: [PATCH 14/18] =?UTF-8?q?=E8=B0=83=E6=8D=A2=E5=80=9F=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/plugins/stats/factagencyuserhousedaily.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue
index 1ad955e1..5cabb481 100644
--- a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue
+++ b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue
@@ -208,7 +208,7 @@ export default {
getGridList() {
const { user } = this.$store.state
this.$http
- .post('/gov/org/icServiceProject/service/serviceScopeTree')
+ .post('/gov/org/userhouse/service/serviceScopeTree')
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
From 0a814607ea1677d8f6e7ff805313865cd13e3ee8 Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Thu, 9 Jun 2022 09:13:30 +0800
Subject: [PATCH 15/18] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../communityService/fuwujilu/detailForm.vue | 104 ++++++++++++------
1 file changed, 69 insertions(+), 35 deletions(-)
diff --git a/src/views/modules/communityService/fuwujilu/detailForm.vue b/src/views/modules/communityService/fuwujilu/detailForm.vue
index e32fcd64..6125199c 100644
--- a/src/views/modules/communityService/fuwujilu/detailForm.vue
+++ b/src/views/modules/communityService/fuwujilu/detailForm.vue
@@ -144,6 +144,7 @@
@@ -151,45 +152,41 @@
prop="serviceGoal"
label-width="150px"
style="display: block">
- {{feedbackFormData.serviceGoal}}
-
+ v-model="feedbackFormData.serviceGoal">
- {{feedbackFormData.serviceEffect}}
-
+ v-model="feedbackFormData.serviceEffect">
- {{feedbackFormData.servicePeopleNumber}}
-
+ label="服务人数">
已完成
+
- {{feedbackFormData.address}}
-
+
-
@@ -252,20 +246,30 @@
-
+ -->