拍照时间表设置

master
fanluyan 2 years ago
parent 6c3fe9159a
commit b6dd125070

@ -64,7 +64,9 @@
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<!-- <el-button @click="getCheckedNodes"></el-button> --> <!-- <el-button @click="getCheckedNodes"></el-button> -->
<el-button @click="isShow = false"> </el-button> <el-button @click="isShow = false"> </el-button>
<el-button type="primary" @click="submitForm()"> </el-button> <el-button type="primary" @click="submitForm()" :loading="sureloading"
> </el-button
>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
@ -119,6 +121,7 @@ export default {
requestArr: [], //requestid requestArr: [], //requestid
termzzid: [], termzzid: [],
flag: false, flag: false,
sureloading: false,
}; };
}, },
mounted() {}, mounted() {},
@ -210,6 +213,7 @@ export default {
}, },
//requestid //requestid
requestTime() { requestTime() {
this.sureloading = true;
getCmaSchelduleUpload({ getCmaSchelduleUpload({
list: this.requestList, list: this.requestList,
}) })
@ -228,12 +232,14 @@ export default {
clearInterval(this.timer); clearInterval(this.timer);
this.timer = null; this.timer = null;
this.isShow = false; this.isShow = false;
this.sureloading = false;
} else if (this.i > 9) { } else if (this.i > 9) {
this.i = 0; this.i = 0;
this.$message.warning("下发失败,请稍后再试!"); this.$message.warning("下发失败,请稍后再试!");
clearInterval(this.timer); clearInterval(this.timer);
this.timer = null; this.timer = null;
this.isShow = false; this.isShow = false;
this.sureloading = false;
} }
}) })
.catch((err) => {}); .catch((err) => {});

Loading…
Cancel
Save