feat: There is no way the

This commit is contained in:
super_liu
2021-09-09 18:04:54 +08:00
parent aabd953a3b
commit 8096036c2d
@@ -2042,8 +2042,9 @@ export default {
},
// 查询二级菜单
selectMenuList () {
this.$http.get('sarResource/ts-resource', {
sorDivide: 'BUSINESS_STAND'
this.$http.get('sarResource/ts-resource/getList', {
sorDivide: 'BUSINESS_STAND',
userId: this.$store.getters.userInfo.userId
}, {}, res => {
if (res.ok) {
this.treeList = res.data
@@ -2383,6 +2384,7 @@ export default {
this.personCollect.collectResId = item.id
this.personCollect.collectTitle = item.standName + ' ( 编号:' + item.standSort + ' ' + item.standCode + ' )'
this.personCollect.collectType = 'BUSINESS_STAND'
this.personCollect.userId = this.$store.getters.userInfo.userId
this.$http.postData('person/personCollect', this.personCollect, {
_this: this
}, res => {
@@ -3410,8 +3412,8 @@ export default {
}
// 处理我的收藏和个性化标签传参
if (this.selectSarMenu.id === 'qbwdsc') {
this.sarBussionessSearch.menuId = undefined
this.sarBussionessSearch.labelMenuId = undefined
this.sarBussionessSearch.menuId = 'qbwdsc'
this.sarBussionessSearch.collectMenuId = 'qbwdsc'
} else if (this.selectSarMenu.id === 'gxhbq' || this.selectSarMenu.pId === 'gxhbq') {
this.sarBussionessSearch.menuId = undefined