|
@@ -179,7 +179,7 @@
|
|
|
</div>
|
|
|
<div slot="footer">
|
|
|
<el-button @click="dialogVisible=false">取消</el-button>
|
|
|
- <el-button type="primary" @click="handelConfirm">确定</el-button>
|
|
|
+ <el-button :loading="loading" type="primary" @click="handelConfirm">确定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
@@ -203,6 +203,7 @@ export default {
|
|
|
mixins: [Base, BaseData],
|
|
|
data() {
|
|
|
return {
|
|
|
+ loading: false,
|
|
|
row: {},
|
|
|
confirmList: [],
|
|
|
selectList: [],
|
|
@@ -403,20 +404,22 @@ export default {
|
|
|
},
|
|
|
|
|
|
async handelConfirm() {
|
|
|
- this.$refs['elForm'].validate(async valid => {
|
|
|
- // if (!valid) return
|
|
|
- // ApplyAddWorkController/AddConfirmResultAddWork
|
|
|
- console.log(this.confirmForm)
|
|
|
-
|
|
|
- const { data } = await this.baseRequest1('ApplyContractController', 'AddConfirmResult', { ...this.confirmForm })
|
|
|
- if (data.code == 200) {
|
|
|
- this.$message.success('处理成功')
|
|
|
- this.form = {}
|
|
|
- this.confirmForm = { confirmContent: '' }
|
|
|
- this.dialogVisible = false
|
|
|
- this.$emit('getData')
|
|
|
- }
|
|
|
- })
|
|
|
+ window.location.href = 'http://112.25.69.137:8088//workflow/request/ViewRequestOS.jsp?reflush=1'
|
|
|
+ // this.$refs['elForm'].validate(async valid => {
|
|
|
+ // // if (!valid) return
|
|
|
+ // // ApplyAddWorkController/AddConfirmResultAddWork
|
|
|
+ // console.log(this.confirmForm)
|
|
|
+ // this.loading = true
|
|
|
+ // const { data } = await this.baseRequest1('ApplyContractController', 'AddConfirmResult', { ...this.confirmForm })
|
|
|
+ // if (data.code == 200) {
|
|
|
+ // this.loading = false
|
|
|
+ // this.$message.success('处理成功')
|
|
|
+ // this.form = {}
|
|
|
+ // this.confirmForm = { confirmContent: '' }
|
|
|
+ // this.dialogVisible = false
|
|
|
+ // this.$emit('getData')
|
|
|
+ // }
|
|
|
+ // })
|
|
|
},
|
|
|
findRoomTree: function() {
|
|
|
const _this = this
|