@@ -219,7 +222,8 @@
timer: null,
min: 60,
isDisabled: false,
- rejecterId: ''
+ rejecterId: '',
+ userNames: ''
}
},
@@ -238,15 +242,15 @@
methods: {
getMemberInfo () {
- this.instance.post(`/app/appmasssendingtask/detailStatistics`, null, {
+ this.instance.post(`/app/whchatmomentstask/detailStatistics`, null, {
params: {
...this.search1,
taskId: this.params.id
}
}).then(res => {
if (res.code === 0) {
- this.tableData1 = res.data.executedList.records
- this.total1 = res.data.executedList.total
+ // this.tableData1 = res.data.executedList.records
+ // this.total1 = res.data.executedList.total
this.memberInfo = res.data
}
})
@@ -264,7 +268,7 @@
},
sendMsg () {
- this.instance.post(`/app/appmasssendingtask/remindSend?id=${this.params.id}`).then(res => {
+ this.instance.post(`/app/whchatmomentstask/remindExamine?id=${this.params.id}`).then(res => {
if (res.code === 0) {
this.$message.success('提醒成功')
this.getInfo(this.params.id)
@@ -288,7 +292,7 @@
},
getInfo (id) {
- this.instance.post(`/app/whchatmomentstask/customerTasKDetail?id=${id}`).then(res => {
+ this.instance.post(`/app/whchatmomentstask/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) {
this.info = res.data
if (res.data.status === '4' && res.data.remindTime) {
@@ -308,15 +312,13 @@
}
})
- this.info.wxGroups = res.data.wxGroups.map(v => {
- this.groups.push(...v.groupIds.split(','))
-
- return {
- ...v,
- groupIds: v.groupIds.split(',')
- }
+ let userNames = ''
+ res.data.executorList.forEach(e => {
+ userNames = e.executorName + userNames
})
+ this.userNames = res.data.executorList.map(e => e.executorName).join(',')
+
if (res.data.examines && res.data.examines.length) {
const user = res.data.examines.filter(v => v.examineStatus === '2')