This commit is contained in:
曹辉 2023-04-06 13:46:00 +08:00
parent fd5e5309a4
commit 6daa22814f
2 changed files with 13 additions and 10 deletions

View File

@ -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) {

View File

@ -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>