Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main
* 'main' of http://192.168.1.42/developOne/harmonyPool: feat: 1)电子报默认图 fix:意图完成时上报 id 拼接 feat: 1)编辑我的频道- 频道编辑页面,第一次无地理信息,第二次有地理信息和我频道id字符串
Showing
8 changed files
with
38 additions
and
117 deletions
| @@ -32,9 +32,10 @@ export class SpConstants{ | @@ -32,9 +32,10 @@ export class SpConstants{ | ||
| 32 | static PUBLICVISUTORMODE_INTERESTTAGS = 'PublicVisitorMode_InterestTags' | 32 | static PUBLICVISUTORMODE_INTERESTTAGS = 'PublicVisitorMode_InterestTags' |
| 33 | 33 | ||
| 34 | //定位相关 | 34 | //定位相关 |
| 35 | - static LOCATION_CITY_NAME = "location_city_name" //定位 | ||
| 36 | - static LOCATION_CITY_CODE = "location_city_code" //定位 | 35 | + static LOCATION_CITY_NAME = "location_city_name" //城市名称 |
| 36 | + static LOCATION_CITY_CODE = "location_city_code" //城市code | ||
| 37 | static LOCATION_PROVINCE_CODE = "location_province_code" //定位,省份code | 37 | static LOCATION_PROVINCE_CODE = "location_province_code" //定位,省份code |
| 38 | + static LOCATION_PROVINCE_NAME = "location_province_name" //定位,省份名称 | ||
| 38 | static LOCATION_DISTRICT_CODE = "location_district_code" //定位,区县,返回9位,如:合肥-瑶海区-310115114 | 39 | static LOCATION_DISTRICT_CODE = "location_district_code" //定位,区县,返回9位,如:合肥-瑶海区-310115114 |
| 39 | static LOCATION_PERMISSION_REFUSE = "location_permission_refuse" //定位 | 40 | static LOCATION_PERMISSION_REFUSE = "location_permission_refuse" //定位 |
| 40 | 41 |
| @@ -40,6 +40,7 @@ export struct ENewspaperItemComponent { | @@ -40,6 +40,7 @@ export struct ENewspaperItemComponent { | ||
| 40 | Image(this.newspaperListItemBean.pagePic) | 40 | Image(this.newspaperListItemBean.pagePic) |
| 41 | .width(px2vp(this.itemPicWidth)) | 41 | .width(px2vp(this.itemPicWidth)) |
| 42 | .height(px2vp(this.itemPicHeight)) | 42 | .height(px2vp(this.itemPicHeight)) |
| 43 | + .alt($r('app.media.paper_placeholder')) | ||
| 43 | .onComplete((event) => { | 44 | .onComplete((event) => { |
| 44 | if (event?.loadingStatus == 1) { | 45 | if (event?.loadingStatus == 1) { |
| 45 | this.contentWidth = event?.contentWidth | 46 | this.contentWidth = event?.contentWidth |
| @@ -49,8 +50,9 @@ export struct ENewspaperItemComponent { | @@ -49,8 +50,9 @@ export struct ENewspaperItemComponent { | ||
| 49 | }) | 50 | }) |
| 50 | .objectFit(ImageFit.Fill) | 51 | .objectFit(ImageFit.Fill) |
| 51 | .zIndex(10) | 52 | .zIndex(10) |
| 52 | - newsSkeleton() | ||
| 53 | - .zIndex(1) | 53 | + // newsSkeleton() |
| 54 | + // .height('100%') | ||
| 55 | + // .zIndex(1) | ||
| 54 | if (this.contentWidth !== 0) { | 56 | if (this.contentWidth !== 0) { |
| 55 | Canvas(this.context) | 57 | Canvas(this.context) |
| 56 | .width(px2vp(this.contentWidth)) | 58 | .width(px2vp(this.contentWidth)) |
| @@ -68,7 +68,7 @@ struct ChannelSubscriptionLayout { | @@ -68,7 +68,7 @@ struct ChannelSubscriptionLayout { | ||
| 68 | 68 | ||
| 69 | let item = this.myChannelList.splice(index, 1)[0] | 69 | let item = this.myChannelList.splice(index, 1)[0] |
| 70 | this.channelIds.splice(index, 1) | 70 | this.channelIds.splice(index, 1) |
| 71 | - AppStorage.setOrCreate('channelIds', JSON.stringify(this.channelIds)) | 71 | + AppStorage.setOrCreate('channelIds', this.channelIds.join(',')) |
| 72 | 72 | ||
| 73 | /* | 73 | /* |
| 74 | 删除的频道信息回到原栏目中去 | 74 | 删除的频道信息回到原栏目中去 |
| @@ -80,7 +80,6 @@ struct ChannelSubscriptionLayout { | @@ -80,7 +80,6 @@ struct ChannelSubscriptionLayout { | ||
| 80 | this.localChannelList.unshift(item) | 80 | this.localChannelList.unshift(item) |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | - | ||
| 84 | // 删除频道的索引值大于 我的栏目中频道最大索引值 | 83 | // 删除频道的索引值大于 我的栏目中频道最大索引值 |
| 85 | if (this.currentTopNavSelectedIndex > this.channelIds.length - 1) { | 84 | if (this.currentTopNavSelectedIndex > this.channelIds.length - 1) { |
| 86 | //使用默认频道 | 85 | //使用默认频道 |
| @@ -131,8 +130,8 @@ struct ChannelSubscriptionLayout { | @@ -131,8 +130,8 @@ struct ChannelSubscriptionLayout { | ||
| 131 | this.myChannelList.push(item) | 130 | this.myChannelList.push(item) |
| 132 | AppStorage.setOrCreate('channelIds', this.channelIds.join(',')) | 131 | AppStorage.setOrCreate('channelIds', this.channelIds.join(',')) |
| 133 | 132 | ||
| 134 | - // let storageChannelIds: string = AppStorage.get<string>('channelIds') || '' | ||
| 135 | - // console.debug('TopNavigationComponent', 'addChannelItem==>' + storageChannelIds) | 133 | + let storageChannelIds: string = AppStorage.get<string>('channelIds') || '' |
| 134 | + console.debug('TopNavigationComponent', 'addChannelItem==>' + storageChannelIds) | ||
| 136 | } | 135 | } |
| 137 | 136 | ||
| 138 | itemMove(index: number, newIndex: number): void { | 137 | itemMove(index: number, newIndex: number): void { |
| @@ -602,7 +601,7 @@ struct ChannelSubscriptionLayout { | @@ -602,7 +601,7 @@ struct ChannelSubscriptionLayout { | ||
| 602 | this.channelIds.push(item.channelId) | 601 | this.channelIds.push(item.channelId) |
| 603 | } | 602 | } |
| 604 | }) | 603 | }) |
| 605 | - // console.debug('TopNavigationComponent', '--changeMyChannelData channelIds--->' + this.channelIds.join(',')) | 604 | + console.debug('TopNavigationComponent', '--changeMyChannelData channelIds--->' + this.channelIds.join(',')) |
| 606 | 605 | ||
| 607 | } | 606 | } |
| 608 | } | 607 | } |
| @@ -64,8 +64,8 @@ export struct TopNavigationComponentNew { | @@ -64,8 +64,8 @@ export struct TopNavigationComponentNew { | ||
| 64 | @State indicatorLeftMargin: number = 0 | 64 | @State indicatorLeftMargin: number = 0 |
| 65 | @State indicatorWidth: number = 0 | 65 | @State indicatorWidth: number = 0 |
| 66 | @State isClickMorningEveningPaper: boolean = false | 66 | @State isClickMorningEveningPaper: boolean = false |
| 67 | - // 顶部导航栏是否有临时跳转频道数据不 | ||
| 68 | - @State haveTempTabData : boolean = false | 67 | + // 顶部导航栏是否有临时跳转频道数据不 |
| 68 | + @State haveTempTabData: boolean = false | ||
| 69 | 69 | ||
| 70 | build() { | 70 | build() { |
| 71 | Column() { | 71 | Column() { |
| @@ -217,7 +217,7 @@ export struct TopNavigationComponentNew { | @@ -217,7 +217,7 @@ export struct TopNavigationComponentNew { | ||
| 217 | myChannelList: $myChannelList, | 217 | myChannelList: $myChannelList, |
| 218 | moreChannelList: $moreChannelList, | 218 | moreChannelList: $moreChannelList, |
| 219 | localChannelList: $localChannelList, | 219 | localChannelList: $localChannelList, |
| 220 | - haveTempTabData:this.haveTempTabData, | 220 | + haveTempTabData: this.haveTempTabData, |
| 221 | changeTab: (index) => { | 221 | changeTab: (index) => { |
| 222 | this.channelJumpToPage(index) | 222 | this.channelJumpToPage(index) |
| 223 | } | 223 | } |
| @@ -377,7 +377,6 @@ export struct TopNavigationComponentNew { | @@ -377,7 +377,6 @@ export struct TopNavigationComponentNew { | ||
| 377 | this.listScroller.scrollToIndex(index, true, ScrollAlign.CENTER) | 377 | this.listScroller.scrollToIndex(index, true, ScrollAlign.CENTER) |
| 378 | } | 378 | } |
| 379 | 379 | ||
| 380 | - | ||
| 381 | /** | 380 | /** |
| 382 | * 频道是播报 | 381 | * 频道是播报 |
| 383 | * @param item | 382 | * @param item |
| @@ -557,7 +556,6 @@ export struct TopNavigationComponentNew { | @@ -557,7 +556,6 @@ export struct TopNavigationComponentNew { | ||
| 557 | return -1 | 556 | return -1 |
| 558 | } | 557 | } |
| 559 | 558 | ||
| 560 | - | ||
| 561 | /** | 559 | /** |
| 562 | * 新闻,从其他里拿数据 | 560 | * 新闻,从其他里拿数据 |
| 563 | */ | 561 | */ |
| @@ -565,7 +563,7 @@ export struct TopNavigationComponentNew { | @@ -565,7 +563,7 @@ export struct TopNavigationComponentNew { | ||
| 565 | for (let i = 0; i < this.moreChannelList.length; i++) { | 563 | for (let i = 0; i < this.moreChannelList.length; i++) { |
| 566 | let topNavDTO: TopNavDTO = this.moreChannelList[i] | 564 | let topNavDTO: TopNavDTO = this.moreChannelList[i] |
| 567 | if (topNavDTO.channelId?.toString() === channelId) { | 565 | if (topNavDTO.channelId?.toString() === channelId) { |
| 568 | - this.moreChannelList.splice(i,1) | 566 | + this.moreChannelList.splice(i, 1) |
| 569 | this.haveTempTabData = true | 567 | this.haveTempTabData = true |
| 570 | return topNavDTO | 568 | return topNavDTO |
| 571 | } | 569 | } |
| @@ -573,7 +571,7 @@ export struct TopNavigationComponentNew { | @@ -573,7 +571,7 @@ export struct TopNavigationComponentNew { | ||
| 573 | for (let j = 0; j < this.localChannelList.length; j++) { | 571 | for (let j = 0; j < this.localChannelList.length; j++) { |
| 574 | let topNavDTO: TopNavDTO = this.localChannelList[j] | 572 | let topNavDTO: TopNavDTO = this.localChannelList[j] |
| 575 | if (topNavDTO.channelId?.toString() === channelId) { | 573 | if (topNavDTO.channelId?.toString() === channelId) { |
| 576 | - this.localChannelList.splice(j,1) | 574 | + this.localChannelList.splice(j, 1) |
| 577 | this.haveTempTabData = true | 575 | this.haveTempTabData = true |
| 578 | return topNavDTO | 576 | return topNavDTO |
| 579 | } | 577 | } |
| @@ -621,130 +619,47 @@ export struct TopNavigationComponentNew { | @@ -621,130 +619,47 @@ export struct TopNavigationComponentNew { | ||
| 621 | //请求顶导数据 | 619 | //请求顶导数据 |
| 622 | async getTopNavList(id: number) { | 620 | async getTopNavList(id: number) { |
| 623 | 621 | ||
| 624 | - Logger.debug(TAG, 'getTopNavList==>' + this.storageChannelIds) | 622 | + Logger.debug(TAG, 'getTopNavList=存储=>' + this.storageChannelIds) |
| 625 | 623 | ||
| 626 | let bottomNavDetail = await ChannelViewModel.getBottomNavDetailData(id, this.storageChannelIds) | 624 | let bottomNavDetail = await ChannelViewModel.getBottomNavDetailData(id, this.storageChannelIds) |
| 627 | let topNavList = bottomNavDetail?.topNavChannelList || [] | 625 | let topNavList = bottomNavDetail?.topNavChannelList || [] |
| 628 | 626 | ||
| 629 | - let cityName = SPHelper.default.getSync(SpConstants.LOCATION_CITY_NAME, '') as string | 627 | + //let provinceName = SPHelper.default.getSync(SpConstants.LOCATION_PROVINCE_NAME, '') as string |
| 630 | let _myChannelList: TopNavDTO [] = [] | 628 | let _myChannelList: TopNavDTO [] = [] |
| 631 | - let _storageChannelIds: string [] = [] //list1 | ||
| 632 | - let defaultMyChannelList: TopNavDTO[] = [] | ||
| 633 | - let defaultList = [...topNavList] | ||
| 634 | - | ||
| 635 | - Logger.debug(TAG, 'cityName=>' + cityName) | ||
| 636 | - // 排序 | ||
| 637 | - defaultList.sort((a, b) => { | ||
| 638 | - return a.num - b.num; | ||
| 639 | - }); | ||
| 640 | - | ||
| 641 | - //defaultMyChannelList | ||
| 642 | - defaultList.forEach(item => { | ||
| 643 | - if (item.defaultPermitted === 1 || item.movePermitted === 0 || item.delPermitted === 0 || | ||
| 644 | - item.headlinesOn === 1) { | ||
| 645 | - defaultMyChannelList.push(item); | ||
| 646 | - } | ||
| 647 | - if (item.defaultPermitted === 1) { | ||
| 648 | - this.homeChannelList.push(item) | ||
| 649 | - } | ||
| 650 | - }) | ||
| 651 | - | ||
| 652 | - //有缓存频道id | ||
| 653 | - if (this.storageChannelIds) { | ||
| 654 | - _storageChannelIds = this.storageChannelIds.split(',') | ||
| 655 | 629 | ||
| 656 | - } | ||
| 657 | - | ||
| 658 | - defaultMyChannelList.forEach(item => { | ||
| 659 | - item.myChannel = '1' | 630 | + topNavList.forEach(item => { |
| 660 | if (item.defaultPermitted === 1) { | 631 | if (item.defaultPermitted === 1) { |
| 661 | - item.homeChannel = '1' | ||
| 662 | - } | ||
| 663 | - let index = defaultList.findIndex(_item => _item.channelId === item.channelId) | ||
| 664 | - if (index !== -1) { | ||
| 665 | - defaultList.splice(index, 1) | 632 | + console.debug('TopNavigationComponent', '--homeChannelList--->' + item.name) |
| 633 | + this.homeChannelList.push(item) | ||
| 666 | } | 634 | } |
| 667 | - }) | ||
| 668 | - defaultList.unshift(...defaultMyChannelList) | ||
| 669 | 635 | ||
| 670 | - defaultList.forEach((item, index) => { | ||
| 671 | - if (item.channelType === 2) { | ||
| 672 | - if (cityName.includes(item.name)) { | ||
| 673 | - item.myChannel = '1' | ||
| 674 | - } | ||
| 675 | - item.localChannel = '1' | ||
| 676 | - } | ||
| 677 | - if (index >= 11) { | ||
| 678 | - if (item.channelType === 1) { | ||
| 679 | - item.moreChannel = '1' | ||
| 680 | - } | ||
| 681 | - } else { | ||
| 682 | - if (item.channelType === 1 && item.myChannel !== '1') { | ||
| 683 | - item.moreChannel = '1' | ||
| 684 | - } | ||
| 685 | - } | ||
| 686 | - if (this.storageChannelIds && _storageChannelIds.includes(String(item.channelId))) { | ||
| 687 | - item.myChannel = '1' | ||
| 688 | - } | ||
| 689 | - //频道分类 | ||
| 690 | //TODO 暂时隐藏播报 | 636 | //TODO 暂时隐藏播报 |
| 691 | if (item.name !== '播报') { | 637 | if (item.name !== '播报') { |
| 692 | if (item.myChannel === '1') { | 638 | if (item.myChannel === '1') { |
| 693 | _myChannelList.push(item) | 639 | _myChannelList.push(item) |
| 694 | - } | ||
| 695 | - if (item.moreChannel === '1' && item.myChannel !== '1') { | 640 | + } else if (item.moreChannel === '1' && item.myChannel !== '1') { |
| 696 | this.moreChannelList.push(item) | 641 | this.moreChannelList.push(item) |
| 697 | - } | ||
| 698 | - if (item.localChannel === '1' && item.myChannel !== '1') { | 642 | + } else if (item.localChannel === '1' && item.myChannel !== '1') { |
| 699 | this.localChannelList.push(item) | 643 | this.localChannelList.push(item) |
| 700 | } | 644 | } |
| 701 | } | 645 | } |
| 702 | }) | 646 | }) |
| 703 | 647 | ||
| 704 | - //根据缓存数组排序 | ||
| 705 | - if (this.storageChannelIds) { | ||
| 706 | - | ||
| 707 | - // let sortedyChannelList: TopNavDTO [] = [] | ||
| 708 | - // | ||
| 709 | - // _storageChannelIds.forEach((channelId) => { | ||
| 710 | - // console.debug(TAG, 'getTopNavList=0=>' + channelId) | ||
| 711 | - // for (let a of _myChannelList) { | ||
| 712 | - // | ||
| 713 | - // console.debug(TAG, | ||
| 714 | - // 'getTopNavList=1=>' + channelId + ' ' + a.channelId + ' ' + (channelId == String(a.channelId))) | ||
| 715 | - // if (channelId == String(a.channelId)) { | ||
| 716 | - // sortedyChannelList.push(a) | ||
| 717 | - // break; | ||
| 718 | - // } | ||
| 719 | - // } | ||
| 720 | - // | ||
| 721 | - // }) | ||
| 722 | - | ||
| 723 | - let sortedyChannelList = _myChannelList.sort((item1, item2) => { | ||
| 724 | - let index1 = this.storageChannelIds.indexOf(String(item1.channelId)); | ||
| 725 | - let index2 = this.storageChannelIds.indexOf(String(item2.channelId)); | ||
| 726 | - return index1 - index2; | ||
| 727 | - }); | ||
| 728 | - _myChannelList = sortedyChannelList | ||
| 729 | - } | ||
| 730 | - | ||
| 731 | - Logger.debug(TAG,'cityName===>'+cityName) | ||
| 732 | - // if (cityName) { | ||
| 733 | - // let index = _myChannelList.findIndex(ele => cityName.includes(ele.name)) | ||
| 734 | - // Logger.debug(TAG,'index===>'+index) | ||
| 735 | - // const localChannelitem = _myChannelList.splice(index, 1)[0]; | ||
| 736 | - // // 将当前地区频道插入到第四个 | ||
| 737 | - // _myChannelList.splice(3, 0, localChannelitem); | ||
| 738 | - // //_myChannelList[3] = localChannelitem | ||
| 739 | - // } | ||
| 740 | - | ||
| 741 | this.myChannelList = _myChannelList | 648 | this.myChannelList = _myChannelList |
| 742 | 649 | ||
| 743 | - | ||
| 744 | //缓存首页频道 | 650 | //缓存首页频道 |
| 745 | let index = this.myChannelList.findIndex(_item => _item?.channelId === this.indexSettingChannelId) | 651 | let index = this.myChannelList.findIndex(_item => _item?.channelId === this.indexSettingChannelId) |
| 746 | if (index > -1) { | 652 | if (index > -1) { |
| 747 | this.currentTopNavSelectedIndex = index | 653 | this.currentTopNavSelectedIndex = index |
| 748 | } | 654 | } |
| 655 | + | ||
| 656 | + // 存储我的频道栏目中的频道id信息 | ||
| 657 | + let channelIds: number [] = [] | ||
| 658 | + this.myChannelList.forEach(item => { | ||
| 659 | + if (item != undefined && item.channelId != undefined) { | ||
| 660 | + channelIds.push(item.channelId) | ||
| 661 | + } | ||
| 662 | + }) | ||
| 663 | + AppStorage.setOrCreate('channelIds', channelIds.join(',')) | ||
| 749 | } | 664 | } |
| 750 | } | 665 | } |
| @@ -96,7 +96,7 @@ export function viewBlogItemInsightIntentShare(context: common.UIAbilityContext, | @@ -96,7 +96,7 @@ export function viewBlogItemInsightIntentShare(context: common.UIAbilityContext, | ||
| 96 | }, | 96 | }, |
| 97 | intentEntityInfo: { | 97 | intentEntityInfo: { |
| 98 | entityName: 'Blog', | 98 | entityName: 'Blog', |
| 99 | - entityId: String(item?.newsId) || '', | 99 | + entityId: `objectId=${item?.newsId}&objectType=${item?.newsType}` || '', |
| 100 | displayName: item?.newsTitle || '', | 100 | displayName: item?.newsTitle || '', |
| 101 | entityGroupId: String(item?.reLInfo?.channelId), //channelId | 101 | entityGroupId: String(item?.reLInfo?.channelId), //channelId |
| 102 | logoURL: item.fullColumnImgUrls.length > 0 ? item.fullColumnImgUrls[0]?.url : item.firstFrameImageUri || 'https://cdnjdphoto.aikan.pdnews.cn/WapApi/800/launcher_icon.png', | 102 | logoURL: item.fullColumnImgUrls.length > 0 ? item.fullColumnImgUrls[0]?.url : item.firstFrameImageUri || 'https://cdnjdphoto.aikan.pdnews.cn/WapApi/800/launcher_icon.png', |
| @@ -145,7 +145,7 @@ export function viewColumInsightIntentShare(context: common.UIAbilityContext, en | @@ -145,7 +145,7 @@ export function viewColumInsightIntentShare(context: common.UIAbilityContext, en | ||
| 145 | entityId, | 145 | entityId, |
| 146 | displayName: pageInfoBean?.topicInfo?.title, | 146 | displayName: pageInfoBean?.topicInfo?.title, |
| 147 | description: pageInfoBean?.shareSummary, | 147 | description: pageInfoBean?.shareSummary, |
| 148 | - logoURL: pageInfoBean?.shareCoverUrl, | 148 | + logoURL: pageInfoBean?.shareCoverUrl || 'https://cdnjdphoto.aikan.pdnews.cn/WapApi/800/launcher_icon.png', |
| 149 | activityType: ['RecentViews'], | 149 | activityType: ['RecentViews'], |
| 150 | columnTitle: pageInfoBean?.topicInfo?.title, | 150 | columnTitle: pageInfoBean?.topicInfo?.title, |
| 151 | columnSubTitle: pageInfoBean?.shareSummary, | 151 | columnSubTitle: pageInfoBean?.shareSummary, |
46.2 KB
| @@ -117,6 +117,7 @@ export class HWLocationUtils { | @@ -117,6 +117,7 @@ export class HWLocationUtils { | ||
| 117 | let code: string[] = await HWLocationUtils.getCityCode(data[0].administrativeArea, data[0].subAdministrativeArea) | 117 | let code: string[] = await HWLocationUtils.getCityCode(data[0].administrativeArea, data[0].subAdministrativeArea) |
| 118 | if (code && code.length >= 2) { | 118 | if (code && code.length >= 2) { |
| 119 | SPHelper.default.save(SpConstants.LOCATION_CITY_NAME, cityName) | 119 | SPHelper.default.save(SpConstants.LOCATION_CITY_NAME, cityName) |
| 120 | + SPHelper.default.save(SpConstants.LOCATION_PROVINCE_NAME, data[0].administrativeArea) | ||
| 120 | SPHelper.default.save(SpConstants.LOCATION_PROVINCE_CODE, code[0]) | 121 | SPHelper.default.save(SpConstants.LOCATION_PROVINCE_CODE, code[0]) |
| 121 | SPHelper.default.save(SpConstants.LOCATION_CITY_CODE, code[1]) | 122 | SPHelper.default.save(SpConstants.LOCATION_CITY_CODE, code[1]) |
| 122 | } | 123 | } |
| @@ -12,6 +12,7 @@ import DailyPaperTopicModel from 'wdComponent/src/main/ets/model/DailyPaperTopic | @@ -12,6 +12,7 @@ import DailyPaperTopicModel from 'wdComponent/src/main/ets/model/DailyPaperTopic | ||
| 12 | */ | 12 | */ |
| 13 | export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | 13 | export default class InsightIntentExecutorImpl extends InsightIntentExecutor { |
| 14 | private static readonly ViewBlog = 'ViewBlog'; | 14 | private static readonly ViewBlog = 'ViewBlog'; |
| 15 | + private static readonly ViewColumn = 'ViewColumn'; | ||
| 15 | private static readonly ViewColumnUpdate = 'ViewColumnUpdate'; | 16 | private static readonly ViewColumnUpdate = 'ViewColumnUpdate'; |
| 16 | 17 | ||
| 17 | /** | 18 | /** |
| @@ -31,6 +32,8 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | @@ -31,6 +32,8 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | ||
| 31 | return this.jumpToViewBlog(param, pageLoader); | 32 | return this.jumpToViewBlog(param, pageLoader); |
| 32 | case InsightIntentExecutorImpl.ViewColumnUpdate: | 33 | case InsightIntentExecutorImpl.ViewColumnUpdate: |
| 33 | return this.jumpToViewColumnUpdate(param, pageLoader); | 34 | return this.jumpToViewColumnUpdate(param, pageLoader); |
| 35 | + case InsightIntentExecutorImpl.ViewColumn: | ||
| 36 | + return this.jumpToViewColumnUpdate(param, pageLoader); | ||
| 34 | default: | 37 | default: |
| 35 | break; | 38 | break; |
| 36 | } | 39 | } |
-
Please register or login to post a comment