|  | @@ -1722,11 +1722,11 @@ export class ProjectDetail implements OnInit, OnDestroy {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    // 检查技能匹配度并提示
 | 
	
		
			
				|  |  | -  checkSkillMismatch(): void {
 | 
	
		
			
				|  |  | +  async checkSkillMismatch(): Promise<void> {
 | 
	
		
			
				|  |  |      const warning = this.getSkillMismatchWarning();
 | 
	
		
			
				|  |  |      if (warning) {
 | 
	
		
			
				|  |  |        // 显示技能不匹配警告
 | 
	
		
			
				|  |  | -      if (confirm(`${warning}\n是否联系技术组长协调支持?`)) {
 | 
	
		
			
				|  |  | +      if (await window?.fmode?.confirm(`${warning}\n是否联系技术组长协调支持?`)) {
 | 
	
		
			
				|  |  |          this.notifyTeamLeader('skill-mismatch');
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -3938,7 +3938,7 @@ export class ProjectDetail implements OnInit, OnDestroy {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    
 | 
	
		
			
				|  |  |    // 启动自动结算(只有技术人员可触发)
 | 
	
		
			
				|  |  | -  initiateAutoSettlement(): void {
 | 
	
		
			
				|  |  | +  async initiateAutoSettlement(): Promise<void> {
 | 
	
		
			
				|  |  |      if (this.isAutoSettling) return;
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      // 权限检查
 | 
	
	
		
			
				|  | @@ -3949,7 +3949,7 @@ export class ProjectDetail implements OnInit, OnDestroy {
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      // 验收状态检查
 | 
	
		
			
				|  |  |      if (!this.isProjectAccepted()) {
 | 
	
		
			
				|  |  | -      const confirmStart = confirm('项目尚未完成全部验收,确定要启动结算流程吗?');
 | 
	
		
			
				|  |  | +      const confirmStart = await window?.fmode?.confirm('项目尚未完成全部验收,确定要启动结算流程吗?');
 | 
	
		
			
				|  |  |        if (!confirmStart) return;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      
 | 
	
	
		
			
				|  | @@ -4565,7 +4565,7 @@ export class ProjectDetail implements OnInit, OnDestroy {
 | 
	
		
			
				|  |  |      console.log('⚙️ 设置关键词监控');
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      if (this.isKeywordMonitoringActive) {
 | 
	
		
			
				|  |  | -      const confirmStop = confirm('⚙️ 关键词监控管理\n\n状态:✅ 已激活\n监控关键词:' + this.complaintKeywords.join('、') + '\n\n是否停止监控?');
 | 
	
		
			
				|  |  | +      const confirmStop = await window?.fmode?.confirm('⚙️ 关键词监控管理\n\n状态:✅ 已激活\n监控关键词:' + this.complaintKeywords.join('、') + '\n\n是否停止监控?');
 | 
	
		
			
				|  |  |        if (confirmStop) {
 | 
	
		
			
				|  |  |          this.isKeywordMonitoringActive = false;
 | 
	
		
			
				|  |  |         await window?.fmode?.alert('⏸️ 关键词监控已停止\n\n系统将不再自动抓取企业微信群中的投诉关键词');
 | 
	
	
		
			
				|  | @@ -4671,14 +4671,14 @@ export class ProjectDetail implements OnInit, OnDestroy {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    
 | 
	
		
			
				|  |  |    // 确认投诉处理完成
 | 
	
		
			
				|  |  | -  confirmComplaint(): void {
 | 
	
		
			
				|  |  | +  async confirmComplaint(): Promise<void> {
 | 
	
		
			
				|  |  |      console.log('✅ 确认投诉处理完成');
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      // 检查是否有未处理的投诉
 | 
	
		
			
				|  |  |      const pendingComplaints = this.exceptionHistories.filter(c => c.status === '待处理');
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      if (pendingComplaints.length > 0) {
 | 
	
		
			
				|  |  | -      const confirmAnyway = confirm(`还有 ${pendingComplaints.length} 个投诉未处理,确定要标记为已完成吗?`);
 | 
	
		
			
				|  |  | +      const confirmAnyway = await window?.fmode?.confirm(`还有 ${pendingComplaints.length} 个投诉未处理,确定要标记为已完成吗?`);
 | 
	
		
			
				|  |  |        if (!confirmAnyway) return;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      
 | 
	
	
		
			
				|  | @@ -5537,10 +5537,10 @@ export class ProjectDetail implements OnInit, OnDestroy {
 | 
	
		
			
				|  |  |    /**
 | 
	
		
			
				|  |  |     * 采纳建议
 | 
	
		
			
				|  |  |     */
 | 
	
		
			
				|  |  | -  acceptSuggestion(suggestion: any): void {
 | 
	
		
			
				|  |  | +  async acceptSuggestion(suggestion: any): Promise<void> {
 | 
	
		
			
				|  |  |      const confirmMessage = `确定要采纳这条优化建议吗?\n\n类别:${suggestion.category}\n预期提升:${suggestion.expectedImprovement}`;
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  | -    if (confirm(confirmMessage)) {
 | 
	
		
			
				|  |  | +    if (await window?.fmode?.confirm(confirmMessage)) {
 | 
	
		
			
				|  |  |        // 标记建议为已采纳
 | 
	
		
			
				|  |  |        suggestion.accepted = true;
 | 
	
		
			
				|  |  |        suggestion.acceptedAt = new Date();
 |