Commit 4299affc by 怪兽?别跑

接口调试

1 parent 40248e56
......@@ -196,6 +196,9 @@
return
}
this.loading = true
if (this.form.attachments == null) {
this.form.attachments = []
}
this.form.attachments.unshift({
content: this.templateInfo,
msgType: 'text'
......
......@@ -83,7 +83,7 @@
@click="
$router.push({
path: 'detail',
query: { id: row.id }
query: { linkId: row.linkId, id: row.id }
})
"
>
......
......@@ -73,18 +73,20 @@
userNames: '',
dialogVisible: false,
userArray: [],
list: []
list: [],
tableSearch: {}
}
},
components: {
SearchTitle
},
created() {
this.query.linkId = this.$route.query.id
this.query.linkId = this.$route.query.linkId
},
methods: {
getData(data) {
this.query.linkId = this.$route.query.id
this.tableSearch = data
this.query.linkId = this.$route.query.linkId
getCustomerInLink(Object.assign({}, this.query, data)).then((res) => {
this.list = res.rows
this.total = res.total
......@@ -109,6 +111,11 @@
return obj.userId
})
.join(',')
this.query.pageNum = 1
getCustomerInLink(Object.assign({}, this.query, this.tableSearch)).then((res) => {
this.list = res.rows
this.total = res.total
})
}
},
created() {}
......
......@@ -185,7 +185,7 @@
}
},
created() {
this.id = this.$route.query.id
this.id = this.$route.query.linkId
this.getTabTotalFn()
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!