提交聊天
This commit is contained in:
@@ -16,8 +16,8 @@ Page({
|
||||
obj:{
|
||||
height:'身高',
|
||||
weight:'体重',
|
||||
nation_name:'民族',
|
||||
job_name:'职业',
|
||||
nation_id:'民族',
|
||||
job_id:'职业',
|
||||
marital_status:'婚姻状态',
|
||||
allergy_history:'是否有过敏史?',
|
||||
family_history:'是否有家族病史?',
|
||||
@@ -56,7 +56,7 @@ Page({
|
||||
let arr1=[];
|
||||
let arr2=[];
|
||||
result.forEach(item => {
|
||||
if(item=="weight" || item=="height" || item=="marital_status" || item=="nation_name" || item=="job_name"){
|
||||
if(item=="weight" || item=="height" || item=="marital_status" || item=="nation_id" || item=="job_id"){
|
||||
if(obj[item]){
|
||||
arr1.push(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user