Browse Source

核酸检测点、疫苗接种点 PC 管理

master
wanggongfeng 3 years ago
parent
commit
b96eff559c
  1. 41
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

41
src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

@ -404,27 +404,26 @@ export default {
// //
dataFormSubmitHandle: debounce( dataFormSubmitHandle: debounce(
function () { function () {
console.log(this.dataForm); this.$refs['dataForm'].validate((valid) => {
// this.$refs['dataForm'].validate((valid) => { if (!valid) {
// if (!valid) { return false
// return false }
// } this.$http[!this.dataForm.id ? 'post' : 'put']('/epmetuser/icPointVaccinesInoculation/', this.dataForm).then(({ data: res }) => {
// this.$http[!this.dataForm.id ? 'post' : 'put']('/epmetuser/icPointVaccinesInoculation/', this.dataForm).then(({ data: res }) => { if (res.code !== 0) {
// if (res.code !== 0) { return this.$message.error(res.msg)
// return this.$message.error(res.msg) }
// } this.$message({
// this.$message({ message: this.$t('prompt.success'),
// message: this.$t('prompt.success'), type: 'success',
// type: 'success', duration: 500,
// duration: 500, onClose: () => {
// onClose: () => { this.visible = false
// this.visible = false this.$emit('refreshDataList')
// this.$emit('refreshDataList') this.closeSubmit()
// this.closeSubmit() }
// } })
// }) }).catch(() => {})
// }).catch(() => {}) })
// })
}, },
1000, 1000,
{ leading: true, trailing: false } { leading: true, trailing: false }

Loading…
Cancel
Save