Browse Source

Merge branch 'dev_contract'

shibei_master
zhangyuan 3 years ago
parent
commit
cd7ced96d6
  1. 28
      src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue

28
src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue

@ -258,17 +258,27 @@ export default {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
this.$message({
message: this.$t('prompt.success'),
type: 'success',
duration: 500,
onClose: () => {
this.visible = false
this.$emit('refreshDataList')
}
})
//
this.fileJurisdiction(params)
}).catch(() => {})
},
//
fileJurisdiction (params) {
this.$http.post('/pli/power/rentContractInfo/send', params).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
this.$message({
message: this.$t('prompt.success'),
type: 'success',
duration: 500,
onClose: () => {
this.visible = false
this.$emit('refreshDataList')
}
})
}).catch(() => {})
},
//
dataFormSubmitHandle: debounce(function () {
this.$refs['dataForm'].validate((valid) => {

Loading…
Cancel
Save