diff --git a/src/apps/AppWalkask/add.vue b/src/apps/AppWalkask/add.vue index 8a586755..bf781cac 100644 --- a/src/apps/AppWalkask/add.vue +++ b/src/apps/AppWalkask/add.vue @@ -16,6 +16,14 @@
+ + + + + + +
+ @@ -85,6 +93,7 @@ export default { name: '', optionId: '', + showVisitTime: false, } }, computed: { ...mapState(['user']) }, @@ -144,6 +153,9 @@ export default { if (!this.forms.name) { return this.$u.toast('请选择走访对象') } + if (!this.forms.visitTime) { + return this.$u.toast('请选择走访时间') + } if (!this.forms.title) { return this.$u.toast('请输入入户走访事项') } @@ -161,6 +173,7 @@ export default { areaId: this.forms.areaId, applicationId: this.forms.applicationId, name: this.forms.name, + visitTime: this.forms.visitTime, optionId: this.forms.optionId, // menuLevel3Name: this.forms.menuLevel3Name, applicationId: this.forms.applicationId, @@ -193,6 +206,10 @@ export default { this.forms.areaId = e }, + change(e) { + this.forms.visitTime = e.result + }, + realityStstus(e) { this.forms.reality = e[0].label this.forms.realityValue = e[0].value diff --git a/src/saas/AppWalkask/add.vue b/src/saas/AppWalkask/add.vue index 58e8a2a8..75358b35 100644 --- a/src/saas/AppWalkask/add.vue +++ b/src/saas/AppWalkask/add.vue @@ -3,14 +3,20 @@
- -
+ + + + + + +
+ @@ -80,6 +86,7 @@ export default { name: '', optionId: '', + showVisitTime: false, } }, computed: { ...mapState(['user']) }, @@ -139,6 +146,9 @@ export default { if (!this.forms.name) { return this.$u.toast('请选择走访对象') } + if (!this.forms.visitTime) { + return this.$u.toast('请选择走访时间') + } if (!this.forms.title) { return this.$u.toast('请输入入户走访事项') } @@ -156,6 +166,7 @@ export default { areaId: this.forms.areaId, applicationId: this.forms.applicationId, name: this.forms.name, + visitTime: this.forms.visitTime, optionId: this.forms.optionId, // menuLevel3Name: this.forms.menuLevel3Name, applicationId: this.forms.applicationId, @@ -188,6 +199,10 @@ export default { this.forms.areaId = e }, + change(e) { + this.forms.visitTime = e.result + }, + realityStstus(e) { this.forms.reality = e[0].label this.forms.realityValue = e[0].value