Commit b8b7f243 authored by jiangqihao's avatar jiangqihao

Merge branch 'dev' of http://120.25.63.219:6088/rex/portalhtml into dev

parents caa14f7c 12e7aafe
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false">取 消</el-button> <el-button @click="dialogFormVisible = false">取 消</el-button>
<el-button type="primary" @click="approveClick">确 定</el-button> <el-button type="primary" :loading="loading" @click="approveClick">确 定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
...@@ -106,6 +106,7 @@ export default { ...@@ -106,6 +106,7 @@ export default {
objectId: '', objectId: '',
id:'', id:'',
status:0, status:0,
loading:false,
formData: {}, formData: {},
province: [], province: [],
sections: [ sections: [
...@@ -367,14 +368,18 @@ extLockCity_SDK:extLockCity_SDK, ...@@ -367,14 +368,18 @@ extLockCity_SDK:extLockCity_SDK,
extChannelType_SDK:this.formData.ExtChannelType_SDK} extChannelType_SDK:this.formData.ExtChannelType_SDK}
if(this.status==1){ if(this.status==1){
const add={customerDTO:cc,note:this.form.note,result:"approve"} const add={customerDTO:cc,note:this.form.note,result:"approve"}
this.loading=true
ProcessApproval(add).then((resp)=>{ ProcessApproval(add).then((resp)=>{
this.loading=false
this.$message.success("审批成功!") this.$message.success("审批成功!")
this.dialogFormVisible=false this.dialogFormVisible=false
this.$router.back() this.$router.back()
}) })
}else{ }else{
const bdd={customerDTO:cc,note:this.form.note,result:"reject"} const bdd={customerDTO:cc,note:this.form.note,result:"reject"}
this.loading=true
ProcessApproval(bdd).then((resp)=>{ ProcessApproval(bdd).then((resp)=>{
this.loading=false
this.$message.success("退回成功!") this.$message.success("退回成功!")
this.dialogFormVisible=false this.dialogFormVisible=false
this.$router.back() this.$router.back()
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false">取 消</el-button> <el-button @click="dialogFormVisible = false">取 消</el-button>
<el-button type="primary" @click="approveClick">确 定</el-button> <el-button type="primary" :loading="loading" @click="approveClick">确 定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
...@@ -84,6 +84,7 @@ export default { ...@@ -84,6 +84,7 @@ export default {
objectId: '', objectId: '',
id:'', id:'',
status:0, status:0,
loading:false,
formData: {}, formData: {},
province: [], province: [],
sections: [ sections: [
...@@ -337,14 +338,18 @@ extLockCity_SDK:ExtLockCity_SDK, ...@@ -337,14 +338,18 @@ extLockCity_SDK:ExtLockCity_SDK,
extChannelType_SDK:this.formData.ExtChannelType_SDK} extChannelType_SDK:this.formData.ExtChannelType_SDK}
if(this.status==1){ if(this.status==1){
const add={customerDTO:cc,note:this.form.note,result:"approve"} const add={customerDTO:cc,note:this.form.note,result:"approve"}
this.loading=true
ProcessApproval(add).then((resp)=>{ ProcessApproval(add).then((resp)=>{
this.loading=false
this.$message.success("审批成功!") this.$message.success("审批成功!")
this.dialogFormVisible=false this.dialogFormVisible=false
this.$router.back() this.$router.back()
}) })
}else{ }else{
this.loading=true
const bdd={customerDTO:cc,note:this.form.note,result:"reject"} const bdd={customerDTO:cc,note:this.form.note,result:"reject"}
ProcessApproval(bdd).then((resp)=>{ ProcessApproval(bdd).then((resp)=>{
this.loading=false
this.$message.success("退回成功!") this.$message.success("退回成功!")
this.dialogFormVisible=false this.dialogFormVisible=false
this.$router.back() this.$router.back()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment