commit
This commit is contained in:
@@ -129,8 +129,8 @@ layout("/layouts/platform.html"){
|
|||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false">关 闭</el-button>
|
<el-button @click="dialogVisible = false">关 闭</el-button>
|
||||||
<el-button type="primary" @click="doSubmit(false)">保 存</el-button>
|
<el-button type="primary" @click="doSubmit(false)" :loading="formLoading">保 存</el-button>
|
||||||
<el-button type="primary" @click="doSubmit(true)">提 交</el-button>
|
<el-button type="primary" @click="doSubmit(true)" :loading="formLoading">提 交</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@@ -226,6 +226,7 @@ layout("/layouts/platform.html"){
|
|||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
this.formLoading = true
|
||||||
$.post("/platform/reimbursementPreAudit/manage/doSubmit", {
|
$.post("/platform/reimbursementPreAudit/manage/doSubmit", {
|
||||||
preAudit: JSON.stringify(this.formData),
|
preAudit: JSON.stringify(this.formData),
|
||||||
flag: flag
|
flag: flag
|
||||||
@@ -238,6 +239,7 @@ layout("/layouts/platform.html"){
|
|||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
this.pageData()
|
this.pageData()
|
||||||
}
|
}
|
||||||
|
this.formLoading = false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user