Commit c410e3c4d41587a846c83f0171038681c4299061
1 parent
696f2d42
init
Showing
2 changed files
with
9 additions
and
6 deletions
src/views/basic/ask/analysis.vue
| ... | ... | @@ -167,9 +167,15 @@ export default { |
| 167 | 167 | }, |
| 168 | 168 | methods: { |
| 169 | 169 | print() { |
| 170 | + let name = ""; | |
| 171 | + this.tabList.map((item) => { | |
| 172 | + if (item.value == this.type) { | |
| 173 | + name = item.name; | |
| 174 | + } | |
| 175 | + }); | |
| 170 | 176 | tablePrint( |
| 171 | 177 | "print-content", |
| 172 | - this.detail.title + "_" + this.tabList[this.type - 1] | |
| 178 | + (this.detail.title || this.subjectNames.join()) + "_" + name | |
| 173 | 179 | ); |
| 174 | 180 | }, |
| 175 | 181 | setType(type) { | ... | ... |
src/views/basic/test/list.vue
| ... | ... | @@ -146,9 +146,6 @@ |
| 146 | 146 | </el-tooltip> |
| 147 | 147 | <template v-else>未设置答案</template> |
| 148 | 148 | </template> |
| 149 | - <!-- <el-tooltip v-else effect="dark" content="答卷录分" placement="top"> | |
| 150 | - <el-button type="primary" circle size="mini" @click="openScoreSet(scoped.row)">分</el-button> | |
| 151 | - </el-tooltip> --> | |
| 152 | 149 | <el-tooltip |
| 153 | 150 | v-else |
| 154 | 151 | effect="dark" |
| ... | ... | @@ -328,8 +325,8 @@ export default { |
| 328 | 325 | path: "/testAnalysis", |
| 329 | 326 | query: { |
| 330 | 327 | id: this.multipleSelection[0], |
| 331 | - title: this.multipleData[0].title, | |
| 332 | - score: this.multipleData[0].examPaperScore || 0, | |
| 328 | + title: multipleData[0].title, | |
| 329 | + score: multipleData[0].examPaperScore || 0, | |
| 333 | 330 | type: 1, |
| 334 | 331 | subjectName: subjectArr.join(), |
| 335 | 332 | classId: classIds, | ... | ... |