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