feat:生成考试试卷

This commit is contained in:
zty 2024-05-30 14:05:14 +08:00
parent a29e8bad30
commit 8f8b771c8f
3 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -141,8 +141,7 @@
handleUpSuccess(res, file, filelist) { handleUpSuccess(res, file, filelist) {
let that =this; let that =this;
if (res.code == 201){ if (res.code == 201){
// this.impForm.file = res.data.path; that.impForm.doc_path = res.data.path;
that.impForm.doc_path = "C:\\code\\data\\test.docx";
console.log(that.impForm) console.log(that.impForm)
UploadPaper(that.impForm).then(res => { UploadPaper(that.impForm).then(res => {
if (res.code == 200) { if (res.code == 200) {

View File

@ -134,7 +134,6 @@
this.submitLoding = true; this.submitLoding = true;
updatePaper(this.Form.id,this.Form).then(response => { updatePaper(this.Form.id,this.Form).then(response => {
this.submitLoding = false; this.submitLoding = false;
this.$forceUpdate();
this.$message({ this.$message({
type: "success", type: "success",
message: "编辑成功!" message: "编辑成功!"