From a2ea43607baf9d1eceae132f38ad0c8173e23b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=8E=B2?= Date: Fri, 15 Mar 2024 18:43:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=A1=E6=A0=B8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E9=A1=B5=E3=80=81=E8=B0=83=E6=95=B4=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E9=87=87=E9=9B=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 3 +- src/pages/infoCollection/constant.js | 5 + src/pages/infoCollection/data.js | 4 + src/pages/infoCollection/index.vue | 291 ++++++++++++--------- .../infoCollection/infoExamineStatus/index.vue | 123 ++++++++- .../infoCollection/infoSubmitResult/index.vue | 8 +- src/pages/login/register/index.vue | 73 +++++- 7 files changed, 368 insertions(+), 139 deletions(-) create mode 100644 src/pages/infoCollection/constant.js create mode 100644 src/pages/infoCollection/data.js diff --git a/src/pages.json b/src/pages.json index 486e71f..484d2b0 100644 --- a/src/pages.json +++ b/src/pages.json @@ -41,7 +41,8 @@ { "path": "pages/infoCollection/infoExamineStatus/index", "style": { - "navigationBarTitleText": "申报信息" + "navigationBarTitleText": "申报信息", + "navigationBarBackgroundColor": "#ffffff" } }, { diff --git a/src/pages/infoCollection/constant.js b/src/pages/infoCollection/constant.js new file mode 100644 index 0000000..df8685c --- /dev/null +++ b/src/pages/infoCollection/constant.js @@ -0,0 +1,5 @@ +// 性别 +export const genderType = { + 0: '女', + 1: '男', +} diff --git a/src/pages/infoCollection/data.js b/src/pages/infoCollection/data.js new file mode 100644 index 0000000..712ed87 --- /dev/null +++ b/src/pages/infoCollection/data.js @@ -0,0 +1,4 @@ +export const genderList = [ + {value: 1, label: '男'}, {value: 0, label: '女'} +] + diff --git a/src/pages/infoCollection/index.vue b/src/pages/infoCollection/index.vue index 4c63594..deb29cc 100644 --- a/src/pages/infoCollection/index.vue +++ b/src/pages/infoCollection/index.vue @@ -7,154 +7,155 @@ - + - - + + + v-model="genderType[formData.gender]" type="select" placeholder="请选择性别" style="pointer-events: none"> + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{item.name}} - + - + - - - - + + + + + + + + + + + + + + - - - - - - - - + - - - - - - - - - - - - - - - - - - - - {{item.name}} - - - - - * 当有关行业机构提出人才引入需求/计划时,中心将会优先从锦囊人才中筛选、匹配并进行人才推荐。 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -169,6 +170,8 @@ import {ref, reactive, toRefs} from 'vue'; import {onLoad, onReady} from '@dcloudio/uni-app'; + import {genderList} from '@/pages/infoCollection/data' + import {genderType} from '@/pages/infoCollection/constant' const labelTextStyle = {'color': '#535357', 'font-size': '28rpx', 'line-height': '40rpx'} const inputTextStyle = {'color': '#12111E', 'font-size': '28rpx', 'line-height': '40rpx', 'margin-left': '30rpx'} @@ -182,8 +185,28 @@ const data = reactive({ formData: { - name: "", - sex: "", + name: '', //姓名 + gender: null, //性别 + country: '', //国籍 + city: null, //城市 + paperworkType: null, //证件类型 + idNumber: '', //证件号码 + birthday: '', //出生日期 + highLevel: null, //最高学位 + highEducation: null, //最高学历 + researchDirection: '', //研究方向 + profession: null, //专业技术职称 + professionLevel: null, //专业技术职称-级别 + technology: [], //技术类型 + phone: '', //手机号码 + email: '', //E-mail + address: '', //通讯地址 + zipCode: '', //邮政编码 + telephone: '', //电话 + fax: '', //传真 + introduction: '', //个人简介 + isBole: null, //是否愿意加入中心的伯乐锦囊 + list: [ { name: '加入', @@ -228,6 +251,7 @@ ], checkboxValue: '临床研究' }, + isShowGender: false, rules: { name: [{ required: true, @@ -240,6 +264,13 @@ const {formData} = toRefs(data) + const onSelect1 =(arr) => { + console.log(12345,arr,genderType[data.formData.gender]) + let current = arr[0]; + data.formData.gender = current.value; + console.log(12345,data.formData.gender,genderType[data.formData.gender]) + } + const submit = () => { console.log(111, formData.name, formRef.value.model.name) formRef.value.validate(valid => { diff --git a/src/pages/infoCollection/infoExamineStatus/index.vue b/src/pages/infoCollection/infoExamineStatus/index.vue index b1d06e9..18af075 100644 --- a/src/pages/infoCollection/infoExamineStatus/index.vue +++ b/src/pages/infoCollection/infoExamineStatus/index.vue @@ -1,11 +1,132 @@ diff --git a/src/pages/infoCollection/infoSubmitResult/index.vue b/src/pages/infoCollection/infoSubmitResult/index.vue index 5056407..94cae5e 100644 --- a/src/pages/infoCollection/infoSubmitResult/index.vue +++ b/src/pages/infoCollection/infoSubmitResult/index.vue @@ -5,7 +5,7 @@ 提交成功 您的申请已提交,审核需要一些时间,请您耐心等待 @@ -14,6 +14,12 @@ + +