|
@@ -74,6 +74,17 @@ export default {
|
|
|
this.modalIsShow = true;
|
|
|
},
|
|
|
async submit() {
|
|
|
+ if (this.exam.cloudMarkPushDataStatus === "FINISH") {
|
|
|
+ const confirm = await this.$confirm(
|
|
|
+ `当前批次已经推送过,确定要重新推送吗?`,
|
|
|
+ "提示",
|
|
|
+ {
|
|
|
+ type: "warning",
|
|
|
+ }
|
|
|
+ ).catch(() => {});
|
|
|
+ if (confirm !== "confirm") return;
|
|
|
+ }
|
|
|
+
|
|
|
if (this.isSubmit) return;
|
|
|
this.isSubmit = true;
|
|
|
const data = await pushCloudMarkExam(this.modalForm).catch(() => {});
|