修改
This commit is contained in:
parent
04f9edf7ac
commit
fbb19ddc79
@ -367,21 +367,23 @@
|
|||||||
methods: {
|
methods: {
|
||||||
info() {
|
info() {
|
||||||
recordlast(uni.getStorageSync('userinfo').cardNo).then(res => {
|
recordlast(uni.getStorageSync('userinfo').cardNo).then(res => {
|
||||||
res.data.forEach(e => {
|
if (res.data && res.data.length > 0) {
|
||||||
e.type == '1' ? this.dataone = e : ''
|
res.data.forEach(e => {
|
||||||
e.type == '2' ? this.datatwo = e : ''
|
e.type == '1' ? this.dataone = e : ''
|
||||||
e.type == '3' ? this.datathree = e : ''
|
e.type == '2' ? this.datatwo = e : ''
|
||||||
e.type == '4' ? this.datafour = e : ''
|
e.type == '3' ? this.datathree = e : ''
|
||||||
e.type == '5' ? this.datafive = e : ''
|
e.type == '4' ? this.datafour = e : ''
|
||||||
e.type == '6' ? this.datasix = e : ''
|
e.type == '5' ? this.datafive = e : ''
|
||||||
e.type == '7' ? this.dataseven = e : ''
|
e.type == '6' ? this.datasix = e : ''
|
||||||
})
|
e.type == '7' ? this.dataseven = e : ''
|
||||||
this.datatwo.szy = this.datatwo.val.split('/')[1]
|
})
|
||||||
this.datatwo.ssy = this.datatwo.val.split('/')[0]
|
this.datatwo.szy = this.datatwo.val.split('/')[1]
|
||||||
this.datathree.tc = this.datathree.val.split('/')[0]
|
this.datatwo.ssy = this.datatwo.val.split('/')[0]
|
||||||
this.datathree.tg = this.datathree.val.split('/')[1]
|
this.datathree.tc = this.datathree.val.split('/')[0]
|
||||||
this.datathree.hdl = this.datathree.val.split('/')[2]
|
this.datathree.tg = this.datathree.val.split('/')[1]
|
||||||
this.datathree.ldl = this.datathree.val.split('/')[3]
|
this.datathree.hdl = this.datathree.val.split('/')[2]
|
||||||
|
this.datathree.ldl = this.datathree.val.split('/')[3]
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goaddequipment() {
|
goaddequipment() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user