| | |
| | | chat(item) { |
| | | if (item.SystemRouting) { |
| | | console.log('系统路由不可对话') |
| | | this.$router.push({ |
| | | path: item.SystemRouting, |
| | | }) |
| | | const fullUrl = `${window.location.origin}/#${item.SystemRouting}`; |
| | | window.open(fullUrl, '_blank'); |
| | | // this.$router.push({ |
| | | // path: item.SystemRouting, |
| | | // }) |
| | | } else { |
| | | this.$router.push({ |
| | | path: '/AgentChat', |
| | |
| | | }; |
| | | }, |
| | | mounted() { |
| | | |
| | | this.getAgentDataList(); |
| | | }, |
| | | watch: { |
| | |
| | | chat(item) { |
| | | if (item.SystemRouting) { |
| | | console.log('系统路由不可对话') |
| | | this.$router.push({ |
| | | path: item.SystemRouting, |
| | | }) |
| | | const fullUrl = `${window.location.origin}/#${item.SystemRouting}`; |
| | | window.open(fullUrl, '_blank'); |
| | | // this.$router.push({ |
| | | // path: item.SystemRouting, |
| | | // }) |
| | | } else { |
| | | this.$router.push({ |
| | | path: '/AgentChat', |
| | |
| | | acc[item.评分细则] = item.得分; |
| | | return acc; |
| | | }, {}); |
| | | this.radarData=[total1,total2,total3,total4,total5] |
| | | this.renderRadar(this.radarData); // 重新渲染树图 |
| | | this.loadingSub = false; |
| | | this.hasRadarData = true; |
| | |
| | | } else if (!this.fileUrl) { |
| | | alert('请上传尽调报告'); |
| | | } else { |
| | | this.getRadarData(this.fileUrl) |
| | | // this.getRadarData(this.fileUrl) |
| | | // 调用接口获取得分数据 |
| | | this.fetchScores(this.fileUrl); |
| | | } |
| | |
| | | } |
| | | |
| | | .search-box { |
| | | width: 500px; |
| | | padding: 100px; |
| | | width: 400px; |
| | | padding: 50px; |
| | | |
| | | .tit { |
| | | font-size: 30px; |