fix(系统设置): 查看不同项目成员数据开始页未重置
--bug=1032154 --user=宋昌昌 【系统设置】github#27138,项目列表中切换不同产项目的成员列表,上一个项目成员列表的展示会影响下一个项目成员列表的展示 https://www.tapd.cn/55049933/s/1435220
This commit is contained in:
parent
1fa1f926b8
commit
54d18bb225
|
@ -422,6 +422,7 @@ export default {
|
||||||
cellClick(row) {
|
cellClick(row) {
|
||||||
this.rowProjectId = row.id;
|
this.rowProjectId = row.id;
|
||||||
// 保存当前点击的组织信息到currentRow
|
// 保存当前点击的组织信息到currentRow
|
||||||
|
this.dialogCurrentPage = 1;
|
||||||
this.currentWorkspaceRow = row;
|
this.currentWorkspaceRow = row;
|
||||||
this.currentProjectId = row.id;
|
this.currentProjectId = row.id;
|
||||||
let param = {
|
let param = {
|
||||||
|
@ -429,7 +430,6 @@ export default {
|
||||||
projectId: row.id
|
projectId: row.id
|
||||||
};
|
};
|
||||||
this.memberTableLoading = getProjectMemberPages(this.dialogCurrentPage, this.dialogPageSize, row.workspaceId, param).then(res => {
|
this.memberTableLoading = getProjectMemberPages(this.dialogCurrentPage, this.dialogPageSize, row.workspaceId, param).then(res => {
|
||||||
console.log(111)
|
|
||||||
let data = res.data;
|
let data = res.data;
|
||||||
let {listObject, itemCount} = data;
|
let {listObject, itemCount} = data;
|
||||||
this.memberLineData = listObject;
|
this.memberLineData = listObject;
|
||||||
|
|
|
@ -55,6 +55,7 @@ import io.metersphere.service.remote.project.TrackIssueTemplateService;
|
||||||
import io.metersphere.service.wapper.TrackProjectService;
|
import io.metersphere.service.wapper.TrackProjectService;
|
||||||
import io.metersphere.service.wapper.UserService;
|
import io.metersphere.service.wapper.UserService;
|
||||||
import io.metersphere.utils.DistinctKeyUtil;
|
import io.metersphere.utils.DistinctKeyUtil;
|
||||||
|
import io.metersphere.xpack.track.dto.AttachmentRequest;
|
||||||
import io.metersphere.xpack.track.dto.PlatformStatusDTO;
|
import io.metersphere.xpack.track.dto.PlatformStatusDTO;
|
||||||
import io.metersphere.xpack.track.dto.PlatformUser;
|
import io.metersphere.xpack.track.dto.PlatformUser;
|
||||||
import io.metersphere.xpack.track.dto.*;
|
import io.metersphere.xpack.track.dto.*;
|
||||||
|
@ -2110,7 +2111,7 @@ public class IssuesService {
|
||||||
try {
|
try {
|
||||||
XpackIssueService xpackIssueService = CommonBeanFactory.getBean(XpackIssueService.class);
|
XpackIssueService xpackIssueService = CommonBeanFactory.getBean(XpackIssueService.class);
|
||||||
xpackIssueService.syncThirdPartyIssues(project, syncRequest);
|
xpackIssueService.syncThirdPartyIssues(project, syncRequest);
|
||||||
if (platformPluginService.isPluginPlatform(project.getPlatform())) {
|
if (PlatformPluginService.isPluginPlatform(project.getPlatform())) {
|
||||||
syncAllPluginIssueAttachment(project, syncRequest);
|
syncAllPluginIssueAttachment(project, syncRequest);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue