|
|
@@ -180,26 +180,24 @@
|
|
|
"Users":[
|
|
|
{
|
|
|
"IlabAccount":content_arr[0].input,
|
|
|
- "UserID" : content_arr[1].input,
|
|
|
- "SetUserID":content_arr[2].input,
|
|
|
- "Name":content_arr[3].input,
|
|
|
- "School":content_arr[4].input,
|
|
|
- "Department":content_arr[5].input,
|
|
|
- "Profession":content_arr[6].input,
|
|
|
- "Class":content_arr[7].input,
|
|
|
- "StudentID":Number(content_arr[8].input),
|
|
|
- "Post":content_arr[9].input,
|
|
|
- "PhoneNum":Number(content_arr[10].input),
|
|
|
- "Email":content_arr[11].input,
|
|
|
- "Nation":content_arr[12].input,
|
|
|
- "PoliticsStatus":content_arr[13].input,
|
|
|
- "NativePlace":content_arr[14].input,
|
|
|
- "Certificate":content_arr[15].input,
|
|
|
- "CertificateNum":content_arr[16].input
|
|
|
+ "Name":content_arr[1].input,
|
|
|
+ "School":content_arr[2].input,
|
|
|
+ "Department":content_arr[3].input,
|
|
|
+ "Profession":content_arr[4].input,
|
|
|
+ "Class":content_arr[5].input,
|
|
|
+ "StudentID":Number(content_arr[6].input),
|
|
|
+ "Post":content_arr[7].input,
|
|
|
+ "PhoneNum":Number(content_arr[8].input),
|
|
|
+ "Email":content_arr[9].input,
|
|
|
+ "Nation":content_arr[10].input,
|
|
|
+ "PoliticsStatus":content_arr[11].input,
|
|
|
+ "NativePlace":content_arr[12].input,
|
|
|
+ "Certificate":content_arr[13].input,
|
|
|
+ "CertificateNum":content_arr[14].input,
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
- // console.log('data===',data)
|
|
|
+ console.log('添加用户data===',data)
|
|
|
|
|
|
uni.showLoading({
|
|
|
title: '上传中'
|
|
|
@@ -231,23 +229,12 @@
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
-
|
|
|
this.$refs.popForm.setContent([
|
|
|
{
|
|
|
'name':'Ilab账号',
|
|
|
'input':'',
|
|
|
'type' :'text'
|
|
|
},
|
|
|
- {
|
|
|
- 'name':'设置用户',
|
|
|
- 'input':mydata_userInfo.userID,
|
|
|
- 'type' :'text'
|
|
|
- },
|
|
|
- {
|
|
|
- 'name':'被设置用户ID',
|
|
|
- 'input':'',
|
|
|
- 'type' :'text'
|
|
|
- },
|
|
|
{
|
|
|
'name':'姓名',
|
|
|
'input':'',
|
|
|
@@ -278,11 +265,6 @@
|
|
|
'input':'',
|
|
|
'type' :'text'
|
|
|
},
|
|
|
- {
|
|
|
- 'name':'Post',
|
|
|
- 'input':'',
|
|
|
- 'type' :'text'
|
|
|
- },
|
|
|
{
|
|
|
'name':'职务',
|
|
|
'input':'',
|
|
|
@@ -323,7 +305,99 @@
|
|
|
'input':'',
|
|
|
'type' :'text'
|
|
|
}
|
|
|
- ],callback);
|
|
|
+ ],callback);
|
|
|
+ // this.$refs.popForm.setContent([
|
|
|
+ // {
|
|
|
+ // 'name':'Ilab账号',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'设置用户',
|
|
|
+ // 'input':mydata_userInfo.userID,
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'被设置用户ID',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'姓名',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'学校',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'院系',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'专业',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'班级',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'学号',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'Post',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'职务',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'电话',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'邮箱',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'民族',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'政治面貌',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'籍贯',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'证件类型',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // 'name':'证件号码',
|
|
|
+ // 'input':'',
|
|
|
+ // 'type' :'text'
|
|
|
+ // }
|
|
|
+ // ],callback);
|
|
|
},
|
|
|
modify(dataUser)
|
|
|
{
|