Browse Source

Merge branch 'feature/dev_point_manage' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into feature/dev_point_manage

master
123456 3 years ago
parent
commit
e8795e50aa
  1. 2
      src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue
  2. 6
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

2
src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue

@ -419,7 +419,7 @@ export default {
) )
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.internalMsg); return this.$message.error(res.internalMsg ? res.internalMsg : res.msg);
} }
this.$message({ this.$message({
message: this.$t("prompt.success"), message: this.$t("prompt.success"),

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

@ -500,11 +500,11 @@ export default {
if (!valid) { if (!valid) {
return false; return false;
} }
if(this.morningTime === null){ if(this.morningTime === null && this.dataForm.noAvailableVaccines !== '1'){
this.$message.error('请填写上午接种时间'); this.$message.error('请填写上午接种时间');
return false return false
} }
if(this.afterTime === null ){ if(this.afterTime === null && this.dataForm.noAvailableVaccines !== '1'){
this.$message.error('请填写下午接种时间'); this.$message.error('请填写下午接种时间');
return false return false
} }
@ -514,7 +514,7 @@ export default {
) )
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.internalMsg); return this.$message.error(res.internalMsg ? res.internalMsg : res.msg);
} }
this.$message({ this.$message({
message: this.$t("prompt.success"), message: this.$t("prompt.success"),

Loading…
Cancel
Save