修改
This commit is contained in:
parent
fd5e5309a4
commit
6daa22814f
@ -96,7 +96,7 @@
|
||||
data() {
|
||||
return {
|
||||
timer: null, //timer
|
||||
nursePersonId: 34, //护理员id
|
||||
nursePersonId: null, //护理员id
|
||||
sexshow: false, //性别选择
|
||||
baseurl: '', //url
|
||||
sexlist: [{
|
||||
@ -123,15 +123,14 @@
|
||||
},
|
||||
onShow() {
|
||||
this.baseurl = baseurl;
|
||||
},
|
||||
onLoad(options) {
|
||||
let that = this
|
||||
// const value = uni.getStorageSync('nursePersonId');
|
||||
// if (value) {
|
||||
// that.nursePersonId= value
|
||||
that.myInfo()
|
||||
// }
|
||||
const value = uni.getStorageSync('nursePersonId');
|
||||
if (value) {
|
||||
that.nursePersonId = value
|
||||
that.myInfo()
|
||||
} else {}
|
||||
},
|
||||
onLoad(options) {},
|
||||
methods: {
|
||||
//删除证书图片
|
||||
delimg(item) {
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
data() {
|
||||
return {
|
||||
item: null, //传值item
|
||||
nursePersonId: 35, //护理员id
|
||||
nursePersonId: null, //护理员id
|
||||
taskReturnReason: '',
|
||||
value: '', //input绑定
|
||||
list: [{
|
||||
@ -99,7 +99,11 @@
|
||||
},
|
||||
onLoad(options) {
|
||||
this.item = JSON.parse(options.item)
|
||||
console.log(this.item)
|
||||
var that = this
|
||||
const value = uni.getStorageSync('nursePersonId');
|
||||
if (value) {
|
||||
that.nursePersonId = value
|
||||
} else {}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user