|
@@ -4233,6 +4233,12 @@ export default {
|
4233
|
4233
|
|
4234
|
4234
|
},
|
4235
|
4235
|
submitAction() {
|
|
4236
|
+ const loading = this.$loading({
|
|
4237
|
+ lock: true,
|
|
4238
|
+ text: 'Loading',
|
|
4239
|
+ spinner: 'el-icon-loading',
|
|
4240
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
4241
|
+ })
|
4236
|
4242
|
var template
|
4237
|
4243
|
if (this.form.firstWeek == 1) {
|
4238
|
4244
|
template = this.first_template
|
|
@@ -4262,6 +4268,7 @@ export default {
|
4262
|
4268
|
}
|
4263
|
4269
|
synchroSchedule(params).then(response => {
|
4264
|
4270
|
if (response.data.state == 1) {
|
|
4271
|
+ loading.close()
|
4265
|
4272
|
var msg = response.data.data.msg
|
4266
|
4273
|
this.$message.success("同步成功!")
|
4267
|
4274
|
this.newVisible = false
|