bug 30322

This commit is contained in:
shijingjing
2022-06-27 10:34:15 +08:00
parent b5ae298ee9
commit aa846b62a7
2 changed files with 17 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ export default {
},
computed: {
selectText: v => v.value?.length > 0 ? "已选择" : "请选择",
tagAction: v => v.source == 1 ? '/app/wxcp/wxgroupchattag/listAllByCorp' : '/app/wxcp/wxcorptag/listAllByCorp'
tagAction: v => v.source == 2 ? '/app/wxcp/wxgroupchattag/listAllByCorp' : '/app/wxcp/wxcorptag/listAllByCorp'
},
data() {
return {
@@ -80,7 +80,10 @@ export default {
},
getTagsByCorp(dvcpCorpId) {
return this.instance.post(this.tagAction, null, {
params: {dvcpCorpId, size: 9999}
params: {
dvcpCorpId,
size: 9999
}
}).then(res => {
if (res?.data) {
return this.tagOps = res.data.records || []