diff --git a/pages/fillIn/fillIn.vue b/pages/fillIn/fillIn.vue index 09a6bfd590b1bc9aea9542919947ec36579b5c95..0e387f801bd997186df238143664c930967472a0 100644 --- a/pages/fillIn/fillIn.vue +++ b/pages/fillIn/fillIn.vue @@ -19,7 +19,6 @@ - - - - - - - - @@ -90,18 +60,13 @@ {{form[childItem.value]>-1?childItem.opts[form[childItem.value]].label:'请选择'}} - - - - - @@ -278,7 +243,6 @@ opts:[{value:'a',label:'已经确诊'},{value:'b',label:'疑似诊断'},{value:'b',label:'亲密接触者'},{value:'b',label:'正在接受集中医学观察'},{value:'b',label:'居家观察'},{value:'b',label:'已解除集中医学观察'},{value:'b',label:'无上述情况'}] } ], - list:[ { label:'单位名称', @@ -286,7 +250,7 @@ value:'orgId', titleClass:'title', type:'picker', - opts:[{value:'a',label:'一位'},{value:'b',label:'多位'}] + opts:[] }, { label:'所在部门', @@ -370,13 +334,14 @@ } ], form:{ - orgId:'', + orgId:-1, department:'', position:'', name:'', phone:'', - nationality:'', + nationality:-1, idCard:'', + returnToWork:-1, householdAddress:'', residenceAddress:'', planReturnDate:'' @@ -404,7 +369,14 @@ this.$http.get(`/sict-ncov/org/page`, data).then(res => { const d = res.data if (d.code == 1) { - console.log(d) + let list = [] + d.object.list.forEach(item=>{ + list.push({ + label:item.orgName, + value:item.id + }) + }) + this.list[0].opts = list } }).catch(err => { console.log(err) @@ -429,7 +401,8 @@ }, isShowChild(){ - this.list[11].hidden = this.form['returnToWork'] == 'a' + console.log(this.form['returnToWork']) + this.list[10].hidden = this.form['returnToWork'] == 'a' }, Switch(e,prop){ diff --git a/pages/index/index.vue b/pages/index/index.vue index c8f5e2af5f8b8b59f5596530a8e1a9d9d1521ab5..b1ec53e3d62392039ae136498eb17900d5828585 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -83,7 +83,7 @@ .btnList{ padding-top: 435upx; .btnStaff,.btnSecurity{ - background-color: rgba(129,208,244,0.8); + background-color: #92d0f1; color: #FFFFFF; border-radius: 60upx; width: 52%; diff --git a/pages/security/security.vue b/pages/security/security.vue index b6bca02a519812fd1bbd141f45eeec6969903c57..11af27d6a7129aaf9743f8fe81c6f527429fcb8a 100644 --- a/pages/security/security.vue +++ b/pages/security/security.vue @@ -1,22 +1,95 @@ -