|
@@ -324,7 +324,7 @@ export class Dashboard implements OnInit, OnDestroy {
|
|
|
|
|
|
|
|
// 获取公司信息 - 映三色帐套
|
|
// 获取公司信息 - 映三色帐套
|
|
|
const companyQuery = new Parse.Query('Company');
|
|
const companyQuery = new Parse.Query('Company');
|
|
|
- companyQuery.equalTo('objectId', 'E4KpGvTEto');
|
|
|
|
|
|
|
+ companyQuery.equalTo('objectId', 'cDL6R1hgSi');
|
|
|
const company = await companyQuery.first();
|
|
const company = await companyQuery.first();
|
|
|
|
|
|
|
|
if (!company) {
|
|
if (!company) {
|
|
@@ -1462,7 +1462,7 @@ onSearchInput(event: Event): void {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 获取当前公司ID
|
|
// 获取当前公司ID
|
|
|
- const cid = localStorage.getItem('company') || 'E4KpGvTEto';
|
|
|
|
|
|
|
+ const cid = localStorage.getItem('company') || 'cDL6R1hgSi';
|
|
|
|
|
|
|
|
// 导航到wxwork模块的项目详情页,并定位到售后归档阶段
|
|
// 导航到wxwork模块的项目详情页,并定位到售后归档阶段
|
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId, 'aftercare'], {
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId, 'aftercare'], {
|
|
@@ -1479,7 +1479,7 @@ onSearchInput(event: Event): void {
|
|
|
console.log(`📂 查看项目详情: ${projectId}`);
|
|
console.log(`📂 查看项目详情: ${projectId}`);
|
|
|
|
|
|
|
|
// 获取当前公司ID
|
|
// 获取当前公司ID
|
|
|
- const cid = localStorage.getItem('company') || 'E4KpGvTEto';
|
|
|
|
|
|
|
+ const cid = localStorage.getItem('company') || 'cDL6R1hgSi';
|
|
|
|
|
|
|
|
// 导航到wxwork模块的项目详情页
|
|
// 导航到wxwork模块的项目详情页
|
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId]);
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId]);
|
|
@@ -1657,7 +1657,7 @@ onSearchInput(event: Event): void {
|
|
|
*/
|
|
*/
|
|
|
async loadProjectTimelineData(): Promise<void> {
|
|
async loadProjectTimelineData(): Promise<void> {
|
|
|
try {
|
|
try {
|
|
|
- const cid = localStorage.getItem('company') || 'E4KpGvTEto';
|
|
|
|
|
|
|
+ const cid = localStorage.getItem('company') || 'cDL6R1hgSi';
|
|
|
|
|
|
|
|
// 查询当前公司的所有项目
|
|
// 查询当前公司的所有项目
|
|
|
const projectQuery = new Parse.Query('Project');
|
|
const projectQuery = new Parse.Query('Project');
|
|
@@ -2062,7 +2062,7 @@ onSearchInput(event: Event): void {
|
|
|
onUrgentEventViewProject(projectId: string): void {
|
|
onUrgentEventViewProject(projectId: string): void {
|
|
|
console.log('🔍 [紧急事件] 查看项目:', projectId);
|
|
console.log('🔍 [紧急事件] 查看项目:', projectId);
|
|
|
// 跳转到项目详情页
|
|
// 跳转到项目详情页
|
|
|
- const cid = localStorage.getItem('company') || 'E4KpGvTEto';
|
|
|
|
|
|
|
+ const cid = localStorage.getItem('company') || 'cDL6R1hgSi';
|
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId, 'order'], {
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId, 'order'], {
|
|
|
queryParams: { roleName: 'customer-service' }
|
|
queryParams: { roleName: 'customer-service' }
|
|
|
});
|
|
});
|
|
@@ -2163,7 +2163,7 @@ onSearchInput(event: Event): void {
|
|
|
*/
|
|
*/
|
|
|
viewProjectDetails(projectId: string): void {
|
|
viewProjectDetails(projectId: string): void {
|
|
|
console.log('🔍 [客服] 查看项目:', projectId);
|
|
console.log('🔍 [客服] 查看项目:', projectId);
|
|
|
- const cid = localStorage.getItem('company') || 'E4KpGvTEto';
|
|
|
|
|
|
|
+ const cid = localStorage.getItem('company') || 'cDL6R1hgSi';
|
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId, 'order'], {
|
|
this.router.navigate(['/wxwork', cid, 'project', projectId, 'order'], {
|
|
|
queryParams: { roleName: 'customer-service' }
|
|
queryParams: { roleName: 'customer-service' }
|
|
|
});
|
|
});
|
|
@@ -2225,7 +2225,7 @@ onSearchInput(event: Event): void {
|
|
|
navigateToIssue(task: TodoTaskFromIssue): void {
|
|
navigateToIssue(task: TodoTaskFromIssue): void {
|
|
|
console.log('🔍 [待办任务] 查看详情:', task.title);
|
|
console.log('🔍 [待办任务] 查看详情:', task.title);
|
|
|
// 跳转到项目详情页,并打开问题板块
|
|
// 跳转到项目详情页,并打开问题板块
|
|
|
- const cid = localStorage.getItem('company') || 'E4KpGvTEto';
|
|
|
|
|
|
|
+ const cid = localStorage.getItem('company') || 'cDL6R1hgSi';
|
|
|
this.router.navigate(['/wxwork', cid, 'project', task.projectId, 'order'], {
|
|
this.router.navigate(['/wxwork', cid, 'project', task.projectId, 'order'], {
|
|
|
queryParams: {
|
|
queryParams: {
|
|
|
openIssues: 'true',
|
|
openIssues: 'true',
|
|
@@ -2241,7 +2241,7 @@ onSearchInput(event: Event): void {
|
|
|
onTodoTaskViewDetails(task: TodoTaskFromIssue): void {
|
|
onTodoTaskViewDetails(task: TodoTaskFromIssue): void {
|
|
|
console.log('🔍 [待办任务] 查看详情:', task.title);
|
|
console.log('🔍 [待办任务] 查看详情:', task.title);
|
|
|
// 跳转到项目详情页,并打开问题板块
|
|
// 跳转到项目详情页,并打开问题板块
|
|
|
- const cid = localStorage.getItem('company') || 'E4KpGvTEto';
|
|
|
|
|
|
|
+ const cid = localStorage.getItem('company') || 'cDL6R1hgSi';
|
|
|
this.router.navigate(['/wxwork', cid, 'project', task.projectId, 'order'], {
|
|
this.router.navigate(['/wxwork', cid, 'project', task.projectId, 'order'], {
|
|
|
queryParams: {
|
|
queryParams: {
|
|
|
openIssues: 'true',
|
|
openIssues: 'true',
|