|
@@ -114,13 +114,33 @@ export default {
|
|
|
},
|
|
|
anewSubmit(item) {
|
|
|
this.loading = true;
|
|
|
- postapi({
|
|
|
+ postapi({
|
|
|
url: "/GCLSTCServer/tools/TS/reparse",
|
|
|
data: {
|
|
|
partitionKey: item.partitionKey,
|
|
|
},
|
|
|
})
|
|
|
.then((res) => {
|
|
|
+ window.open(
|
|
|
+ this.$router.resolve({
|
|
|
+ path: "/textanalysis/Result",
|
|
|
+ query: {
|
|
|
+ partitionKey: res.data.result.partitionKey,
|
|
|
+ subjectWords: res.data.result.subjectWords,
|
|
|
+ wordTextCount: res.data.result.textCount,
|
|
|
+ wordCount: res.data.result.wordCount,
|
|
|
+ vocabularyTextCount: res.data.result.vocabularyTextCount,
|
|
|
+ vocabularyCount: res.data.result.vocabularyCount,
|
|
|
+ pinyinCount: res.data.result.pinyinCount,
|
|
|
+ pinyinTextCount: res.data.result.pinyinTextCount,
|
|
|
+ pinyinDifficulty: res.data.result.pinyinDifficulty,
|
|
|
+ wordDifficulty: res.data.result.wordDifficulty,
|
|
|
+ vocabularyDifficulty: res.data.result.vocabularyDifficulty,
|
|
|
+ type: "文本分析",
|
|
|
+ },
|
|
|
+ }).href,
|
|
|
+ "_blank"
|
|
|
+ );
|
|
|
this.getlist(true);
|
|
|
// this.loading = false;
|
|
|
})
|
|
@@ -144,6 +164,26 @@ export default {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
this.txt = "";
|
|
|
+ window.open(
|
|
|
+ this.$router.resolve({
|
|
|
+ path: "/textanalysis/Result",
|
|
|
+ query: {
|
|
|
+ partitionKey: res.data.result.partitionKey,
|
|
|
+ subjectWords: res.data.result.subjectWords,
|
|
|
+ wordTextCount: res.data.result.textCount,
|
|
|
+ wordCount: res.data.result.wordCount,
|
|
|
+ vocabularyTextCount: res.data.result.vocabularyTextCount,
|
|
|
+ vocabularyCount: res.data.result.vocabularyCount,
|
|
|
+ pinyinCount: res.data.result.pinyinCount,
|
|
|
+ pinyinTextCount: res.data.result.pinyinTextCount,
|
|
|
+ pinyinDifficulty: res.data.result.pinyinDifficulty,
|
|
|
+ wordDifficulty: res.data.result.wordDifficulty,
|
|
|
+ vocabularyDifficulty: res.data.result.vocabularyDifficulty,
|
|
|
+ type: "文本分析",
|
|
|
+ },
|
|
|
+ }).href,
|
|
|
+ "_blank"
|
|
|
+ );
|
|
|
this.getlist(true);
|
|
|
// this.loading = false;
|
|
|
})
|