|
@@ -231,6 +231,15 @@
|
|
|
><i class="el-icon-download"></i> 下载</el-button
|
|
|
>
|
|
|
</el-dropdown-item>
|
|
|
+ <el-dropdown-item>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
+ @click="exportOriginalPaper(scope.row)"
|
|
|
+ ><i class="el-icon-download"></i> 导出原卷</el-button
|
|
|
+ >
|
|
|
+ </el-dropdown-item>
|
|
|
<el-dropdown-item>
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -574,6 +583,22 @@ export default {
|
|
|
this.searchOrgName();
|
|
|
},
|
|
|
methods: {
|
|
|
+ exportOriginalPaper(row) {
|
|
|
+ var key = this.user.key;
|
|
|
+ var token = this.user.token;
|
|
|
+ //window.location.href = QUESTION_API+"/originalPaper/export/"+row.id+"/"+ this.user.displayName;
|
|
|
+ window.open(
|
|
|
+ QUESTION_API +
|
|
|
+ "/originalPaper/exportPlus/" +
|
|
|
+ row.id +
|
|
|
+ "/" +
|
|
|
+ this.user.displayName +
|
|
|
+ "?$key=" +
|
|
|
+ key +
|
|
|
+ "&$token=" +
|
|
|
+ token
|
|
|
+ );
|
|
|
+ },
|
|
|
showSeqMode() {
|
|
|
for (let i = 0; i < this.exportModel.exportContentList.length; i++) {
|
|
|
let element = this.exportModel.exportContentList[i];
|