Commit 36e793b2 authored by sjf1256754123's avatar sjf1256754123

完善字段

parent 9ec9808a
Pipeline #117 canceled with stages
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
data() { data() {
return { return {
id:'', id:'',
radio:['食管癌','胃癌','结直肠肿瘤','炎症性肠病','其它器官恶性肿瘤(如乳腺、卵巢等其它器官)'], radio:[],
shanghaiList:[ shanghaiList:[
{ {
label:'是否离沪', label:'是否离沪',
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
placeholder:'请输入所在部门', placeholder:'请输入所在部门',
type:'input', type:'input',
}, },
{ {
label:'职务', label:'职务',
required:true, required:true,
value:'position', value:'position',
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
}, },
{ {
label:'员工姓名', label:'员工姓名',
required:true, required:true,
value:'name', value:'name',
titleClass:'title', titleClass:'title',
placeholder:'请输入员工姓名', placeholder:'请输入员工姓名',
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
type:'input', type:'input',
}, },
{ {
label:'国籍', label:'国籍',
required:true, required:true,
value:'nationality', value:'nationality',
titleClass:'title', titleClass:'title',
...@@ -329,33 +329,25 @@ ...@@ -329,33 +329,25 @@
opts:[{value:'a',label:'中国'},{value:'b',label:'其它'}] opts:[{value:'a',label:'中国'},{value:'b',label:'其它'}]
}, },
{ {
label:'身份证号', label:'身份证号/护照号',
required:true, required:true,
value:'idCard', value:'idCard',
titleClass:'title', titleClass:'title',
placeholder:'请输入身份证号', placeholder:'请输入身份证号/护照号',
type:'input', type:'input',
}, },
{ {
label:'户籍地址', label:'户籍地址',
required:true, required:true,
value:'relativesGastricAge', value:'householdAddress',
titleClass:'title', titleClass:'title',
placeholder:'请输入户籍地址', placeholder:'请输入户籍地址',
type:'input', type:'input',
}, },
{
label:'护照号',
required:true,
value:'relativesGastricAge',
titleClass:'title',
placeholder:'请输入护照号',
type:'input',
},
{ {
label:'在沪居住(暂住)地址', label:'在沪居住(暂住)地址',
required:true, required:true,
value:'relativesGastricAge', value:'residenceAddress',
titleClass:'title', titleClass:'title',
placeholder:'请输入地址', placeholder:'请输入地址',
type:'input', type:'input',
...@@ -377,7 +369,18 @@ ...@@ -377,7 +369,18 @@
type:'date' type:'date'
} }
], ],
form:{} form:{
orgId:'',
department:'',
position:'',
name:'',
phone:'',
nationality:'',
idCard:'',
householdAddress:'',
residenceAddress:'',
planReturnDate:''
}
} }
}, },
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
}, },
// 获取用户信息 // 获取用户信息
getUserInfo(code) { getUserInfo(code) {
this.$http.post(`/ewell-gastric-cancer-user/wechat/user/auth/api?code=${code}`).then(res => { this.$http.post(`/sict-ncov/user/auth?code=${code}`).then(res => {
const d = res.data const d = res.data
if (d.code == 1) { if (d.code == 1) {
let userInfo = d.object let userInfo = d.object
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment