Browse Source

init

newStyle
lancer 2 years ago
parent
commit
1163a286a0
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      src/views/Scheduling/index.vue

+ 11
- 1
src/views/Scheduling/index.vue View File

@@ -165,7 +165,7 @@
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="showVisible = false">取 消</el-button> <el-button @click="showVisible = false">取 消</el-button>
<el-button type="primary" @click="save()">保存</el-button>
<el-button type="primary" :loading="loadingFlag" @click="save()">保存</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
@@ -313,6 +313,11 @@ export default {
}) })
.then(res=>{ .then(res=>{
// console.log(res); // console.log(res);
this.loadingFlag=true
setTimeout(() => {
this.loadingFlag=false
console.log('防重')
}, 1);
this.$message.success('修改成功') this.$message.success('修改成功')
this.showVisible=false this.showVisible=false
this.AgentPoollist(); this.AgentPoollist();
@@ -329,6 +334,11 @@ export default {
}) })
.then(res=>{ .then(res=>{
// console.log(res); // console.log(res);
this.loadingFlag=true
setTimeout(() => {
this.loadingFlag=false
console.log('防重')
}, 1);
this.$message.success('修改成功') this.$message.success('修改成功')
this.showVisible=false this.showVisible=false
this.AgentPoollist(); this.AgentPoollist();


Loading…
Cancel
Save