diff --git a/src/apps/AppMonitoringObject/Add.vue b/src/apps/AppMonitoringObject/Add.vue
index a34dbf29..59b8e8ad 100644
--- a/src/apps/AppMonitoringObject/Add.vue
+++ b/src/apps/AppMonitoringObject/Add.vue
@@ -291,7 +291,7 @@
@@ -429,17 +429,26 @@ export default {
if(this.form.files.length) {
this.form.photo = this.form.files[0].url
}
-
+ if(this.photo.length) {
+ this.form.photo = this.photo[0].accessUrl
+ }
+
this.form.girdId = this.girdInfo.girdId
this.form.girdName = this.girdInfo.girdName
this.form.householdIdNumber = this.form.idNumber
this.form.householdRelation = '01'
this.form.isHousehold = 1
- this.form.photo = this.photo[0].accessUrl
this.current = 1
},
submit() {
+ if(!this.form.riskType) {
+ return this.$u.toast('请选择风险因素')
+ }
+
+ if(!this.form.detail) {
+ return this.$u.toast('请输入备注说明')
+ }
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
...this.form,
diff --git a/src/apps/AppMonitoringObject/List.vue b/src/apps/AppMonitoringObject/List.vue
index 4263ed91..96c214cf 100644
--- a/src/apps/AppMonitoringObject/List.vue
+++ b/src/apps/AppMonitoringObject/List.vue
@@ -2,7 +2,7 @@