|
@@ -313,10 +313,17 @@ export default {
|
|
text: this.curQue.article
|
|
text: this.curQue.article
|
|
})
|
|
})
|
|
.then(res => {
|
|
.then(res => {
|
|
- window.open(
|
|
|
|
- window.location.origin +
|
|
|
|
- `/GCLS-TC/#/textanalysis/Result?id=${res.record.id}&type=文本分析`
|
|
|
|
- );
|
|
|
|
|
|
+ if (this.tokenData && this.tokenData.user_type === "APP") {
|
|
|
|
+ window.open(
|
|
|
|
+ window.location.origin +
|
|
|
|
+ `/GCLS-TC/#/Integration/TextAnalyser/Result?id=${res.record.id}&type=文本分析`
|
|
|
|
+ );
|
|
|
|
+ } else {
|
|
|
|
+ window.open(
|
|
|
|
+ window.location.origin +
|
|
|
|
+ `/GCLS-TC/#/textanalysis/Result?id=${res.record.id}&type=文本分析`
|
|
|
|
+ );
|
|
|
|
+ }
|
|
loading.close();
|
|
loading.close();
|
|
})
|
|
})
|
|
.catch(res => {
|
|
.catch(res => {
|