|
@@ -221,15 +221,22 @@ export default {
|
|
|
};
|
|
|
let MethodName =
|
|
|
"teaching-practice_manager-SaveMyHZHandwrittenRecord";
|
|
|
- LearnWebSI(MethodName, data).then(res => {
|
|
|
- if (res.status === 1) {
|
|
|
- this.$message.success("保存成功!");
|
|
|
- obj.hz_handwritten_record_id = res.hz_handwritten_record_id;
|
|
|
- }
|
|
|
- this.imgarr.push(obj);
|
|
|
- this.saveShow = false;
|
|
|
- this.handelReset();
|
|
|
- });
|
|
|
+ LearnWebSI(MethodName, data)
|
|
|
+ .then(res => {
|
|
|
+ if (res.status === 1) {
|
|
|
+ this.$message.success("保存成功!");
|
|
|
+ obj.hz_handwritten_record_id = res.hz_handwritten_record_id;
|
|
|
+ }
|
|
|
+ this.imgarr.push(obj);
|
|
|
+ this.saveShow = false;
|
|
|
+ this.handelReset();
|
|
|
+ })
|
|
|
+ .catch(res => {
|
|
|
+ console.log(res);
|
|
|
+ this.imgarr.push(obj);
|
|
|
+ this.saveShow = false;
|
|
|
+ this.handelReset();
|
|
|
+ });
|
|
|
//console.log(Book_img);
|
|
|
// this.textOcr(res.replace("data:image/png;base64,", ""));
|
|
|
})
|