| | |
| | | showClose: false |
| | | }).then(async () => { |
| | | _this.answer.verifyStatus = 2 |
| | | _this.submitAnswer('数据已经成功的上传至服务器,并已经保存好。谢谢。') |
| | | _this.submitAnswer('数据已经成功地上传至服务器,并已经保存好。谢谢。') |
| | | }).catch(async () => { |
| | | _this.formLoading = false |
| | | _this.submitDisable = false |
| | | }) |
| | | } else { |
| | | _this.answer.verifyStatus = 1 |
| | | _this.submitAnswer('您已经完成了工作行为问卷,数据已经成功的上传至服务器,并已经保存好。谢谢。') |
| | | _this.submitAnswer('您已经完成了工作行为问卷,数据已经成功地上传至服务器,并已经保存好。谢谢。') |
| | | } |
| | | }, |
| | | startDo: function () { |
| | |
| | | let _this = this |
| | | examPaperAnswerApi.answerSubmit(this.answer, _this.memberToken).then(re => { |
| | | if (re.code === 1) { |
| | | _this.$router.push({ path: '/exam/finish', query: { name: _this.form.name, content: mess } }) |
| | | _this.$router.push({ path: '/exam/finish', query: { name: _this.form.name, content: mess, tokenId: _this.memberToken } }) |
| | | } else { |
| | | _this.$message.error(re.message) |
| | | } |