Ver Fonte

患病情况和儿童主任

“hanlingqiang há 2 anos atrás
pai
commit
8aac5b9a00
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      src/views/weibao/views/collect/index.vue

+ 3 - 2
src/views/weibao/views/collect/index.vue

@@ -144,7 +144,7 @@
                 <van-row class="cell">
                     <van-col span="6">患病情况:</van-col>
                     <van-col span="18">
-                        <van-field name="disease" v-model="form.illness" type="textarea" rows="1" :rules="[{ required: false }]"
+                        <van-field name="disease" v-model="form.prevalence" type="textarea" rows="1" :rules="[{ required: false }]"
                             placeholder="请输入" />
                     </van-col>
                 </van-row>
@@ -303,7 +303,7 @@ export default {
                 tutelageId:'',//儿童主任ID
                 mobile:'',//联系电话
                 healthStatus:'',//健康状况
-                illness:'',//患病情况
+                prevalence:'',//患病情况
                 height:'',//身高
                 weight:'',//体重
                 school:'',//就读学校
@@ -396,6 +396,7 @@ export default {
         this.userInfo = JSON.parse(sessionStorage.getItem('userInfo'))
         this.directorLink = this.userInfo.roleIdStr == '14' ? false : true
         this.modelValue.directorTvalue = this.userInfo.roleIdStr == '14' ? this.userInfo.name :''
+        this.form.tutelageId = this.userInfo.roleIdStr == '14' ? this.userInfo.id :''
         this.form.mobile = this.userInfo.roleIdStr == '14' ? this.userInfo.phone :''
         this.listAreaF()
         this.childTypeF()