提交代码
parent
6887b0bcf8
commit
45bfbec9c8
|
@ -26,7 +26,7 @@ Page({
|
||||||
superviseUserName:"",
|
superviseUserName:"",
|
||||||
checkWorkingPosition:"",
|
checkWorkingPosition:"",
|
||||||
intro:"",
|
intro:"",
|
||||||
dataTypeLvl1:"a",
|
dataTypeLvl1:"1",
|
||||||
dataTypeLvl2:"",
|
dataTypeLvl2:"",
|
||||||
dataTypeLvl1List:[],
|
dataTypeLvl1List:[],
|
||||||
dataTypeLvl2List:[],
|
dataTypeLvl2List:[],
|
||||||
|
@ -142,7 +142,7 @@ Page({
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
let tempData = []
|
let tempData = []
|
||||||
res.data.forEach(it =>{
|
res.data.forEach(it =>{
|
||||||
if(it.cssClass=="1"){
|
if(it.remark=="1"){
|
||||||
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -169,7 +169,7 @@ Page({
|
||||||
})
|
})
|
||||||
let tempData = []
|
let tempData = []
|
||||||
this.dataTypeLvl2AllList.forEach(it =>{
|
this.dataTypeLvl2AllList.forEach(it =>{
|
||||||
if(it.cssClass==e.detail.id){
|
if(it.remark==e.detail.id){
|
||||||
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -150,7 +150,7 @@ Page({
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
let tempData = []
|
let tempData = []
|
||||||
res.data.forEach(it =>{
|
res.data.forEach(it =>{
|
||||||
if(it.cssClass==that.data.dt1){
|
if(it.remark==that.data.dt1){
|
||||||
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -177,7 +177,7 @@ Page({
|
||||||
})
|
})
|
||||||
let tempData = []
|
let tempData = []
|
||||||
this.dataTypeLvl2AllList.forEach(it =>{
|
this.dataTypeLvl2AllList.forEach(it =>{
|
||||||
if(it.cssClass==e.detail.id){
|
if(it.remark==e.detail.id){
|
||||||
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
tempData.push({"id":it.dictValue,"text":it.dictLabel});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -46,8 +46,8 @@ Page({
|
||||||
key: 'userinfo',
|
key: 'userinfo',
|
||||||
success:res=>{
|
success:res=>{
|
||||||
this.setData({
|
this.setData({
|
||||||
projectId,
|
projectId:app.globalData.projectId,
|
||||||
projectName,
|
projectName:app.globalData.projectName,
|
||||||
loginName:res.data.loginName,
|
loginName:res.data.loginName,
|
||||||
userName:res.data.nickName,
|
userName:res.data.nickName,
|
||||||
recheckSend:res.data.nickName,
|
recheckSend:res.data.nickName,
|
||||||
|
|
|
@ -47,8 +47,8 @@ Page({
|
||||||
key: 'userinfo',
|
key: 'userinfo',
|
||||||
success:res=>{
|
success:res=>{
|
||||||
this.setData({
|
this.setData({
|
||||||
projectId,
|
projectId:app.globalData.projectId,
|
||||||
projectName,
|
projectName:app.globalData.projectName,
|
||||||
deptId:res.data.deptId,
|
deptId:res.data.deptId,
|
||||||
loginName:res.data.loginName,
|
loginName:res.data.loginName,
|
||||||
userName:res.data.nickName,
|
userName:res.data.nickName,
|
||||||
|
|
Loading…
Reference in New Issue