|
@@ -225,7 +225,7 @@ export default {
|
|
|
* **/
|
|
|
visbleChange(val) {
|
|
|
if (val) {
|
|
|
- api.POST('/doc/type/dropList').then(data => {
|
|
|
+ api.GET('/doc/type/dropListAll').then(data => {
|
|
|
if (data.code == 0) {
|
|
|
this.classifyList = data.data
|
|
|
}
|
|
@@ -236,9 +236,15 @@ export default {
|
|
|
* @method 分类选择
|
|
|
* **/
|
|
|
classifyChange(val) {
|
|
|
+ this.form.conversationList = []
|
|
|
this.classifyList.find(item => {
|
|
|
if (item.typeId == val) {
|
|
|
this.form.linkUrl = item.linkUrl
|
|
|
+ if (item.list) {
|
|
|
+ item.list.map(val => {
|
|
|
+ this.form.conversationList.push(val.openConversationId)
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
this.detailClassifica(val)
|