|
@@ -64,6 +64,28 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="录入人">
|
|
|
|
+ <el-input
|
|
|
|
+ class="search_width"
|
|
|
|
+ v-model="formSearch.creator"
|
|
|
|
+ placeholder="录入人"
|
|
|
|
+ size="small"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="6">
|
|
|
|
+ <el-form-item label="修改人">
|
|
|
|
+ <el-input
|
|
|
|
+ class="search_width"
|
|
|
|
+ v-model="formSearch.lastModifyName"
|
|
|
|
+ placeholder="修改人"
|
|
|
|
+ size="small"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<div class="search_down">
|
|
<div class="search_down">
|
|
<el-button size="small" type="primary" @click="searchFrom"
|
|
<el-button size="small" type="primary" @click="searchFrom"
|
|
@@ -216,6 +238,15 @@
|
|
><i class="el-icon-download"></i> 下载</el-button
|
|
><i class="el-icon-download"></i> 下载</el-button
|
|
>
|
|
>
|
|
</el-dropdown-item>
|
|
</el-dropdown-item>
|
|
|
|
+ <el-dropdown-item>
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="primary"
|
|
|
|
+ @click="exportPaperAnswer(scope.row)"
|
|
|
|
+ plain
|
|
|
|
+ ><i class="el-icon-download"></i>导出答案</el-button
|
|
|
|
+ >
|
|
|
|
+ </el-dropdown-item>
|
|
<el-dropdown-item>
|
|
<el-dropdown-item>
|
|
<el-button
|
|
<el-button
|
|
size="mini"
|
|
size="mini"
|
|
@@ -368,6 +399,8 @@ export default {
|
|
formSearch: {
|
|
formSearch: {
|
|
courseNo: "",
|
|
courseNo: "",
|
|
courseName: "",
|
|
courseName: "",
|
|
|
|
+ creator: "",
|
|
|
|
+ lastModifyName: "",
|
|
level: "",
|
|
level: "",
|
|
name: "",
|
|
name: "",
|
|
},
|
|
},
|
|
@@ -645,6 +678,19 @@ export default {
|
|
token
|
|
token
|
|
);
|
|
);
|
|
},
|
|
},
|
|
|
|
+ exportPaperAnswer(row) {
|
|
|
|
+ var key = this.user.key;
|
|
|
|
+ var token = this.user.token;
|
|
|
|
+ window.open(
|
|
|
|
+ QUESTION_API +
|
|
|
|
+ "/paper/answer/export/" +
|
|
|
|
+ row.id +
|
|
|
|
+ "?$key=" +
|
|
|
|
+ key +
|
|
|
|
+ "&$token=" +
|
|
|
|
+ token
|
|
|
|
+ );
|
|
|
|
+ },
|
|
openInit() {
|
|
openInit() {
|
|
this.difficultyDegree = 0.1;
|
|
this.difficultyDegree = 0.1;
|
|
this.publicity = true;
|
|
this.publicity = true;
|