feat:生成考试试卷
This commit is contained in:
parent
a29e8bad30
commit
8f8b771c8f
File diff suppressed because one or more lines are too long
|
@ -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) {
|
||||||
|
|
|
@ -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: "编辑成功!"
|
||||||
|
|
Loading…
Reference in New Issue