This commit is contained in:
2024-01-05 14:51:06 +08:00
parent 04f9edf7ac
commit fbb19ddc79

View File

@ -367,6 +367,7 @@
methods: { methods: {
info() { info() {
recordlast(uni.getStorageSync('userinfo').cardNo).then(res => { recordlast(uni.getStorageSync('userinfo').cardNo).then(res => {
if (res.data && res.data.length > 0) {
res.data.forEach(e => { res.data.forEach(e => {
e.type == '1' ? this.dataone = e : '' e.type == '1' ? this.dataone = e : ''
e.type == '2' ? this.datatwo = e : '' e.type == '2' ? this.datatwo = e : ''
@ -382,6 +383,7 @@
this.datathree.tg = this.datathree.val.split('/')[1] this.datathree.tg = this.datathree.val.split('/')[1]
this.datathree.hdl = this.datathree.val.split('/')[2] this.datathree.hdl = this.datathree.val.split('/')[2]
this.datathree.ldl = this.datathree.val.split('/')[3] this.datathree.ldl = this.datathree.val.split('/')[3]
}
}) })
}, },
goaddequipment() { goaddequipment() {