submit
This commit is contained in:
parent
c14355da58
commit
0672f5886f
@ -2,7 +2,7 @@
|
|||||||
<div style="background-image: url(../../static/image/login/ju554@3x.png);width: 100vw;height: 100vh;overflow: hidden">
|
<div style="background-image: url(../../static/image/login/ju554@3x.png);width: 100vw;height: 100vh;overflow: hidden">
|
||||||
<tm-message ref="toast"></tm-message>
|
<tm-message ref="toast"></tm-message>
|
||||||
<tm-sheet style="height: 92%">
|
<tm-sheet style="height: 92%">
|
||||||
<tm-images style="margin-top: 90rpx" width="300" :src="info.goodsInfo.picUrl"></tm-images>
|
<tm-images style="margin-top: 90rpx" :width="300" :src="info.goodsInfo.picUrl"></tm-images>
|
||||||
<div style="display: flex;justify-content: center;align-items: center;margin-top: 90rpx">{{info.goodsInfo.goodsName}}</div>
|
<div style="display: flex;justify-content: center;align-items: center;margin-top: 90rpx">{{info.goodsInfo.goodsName}}</div>
|
||||||
<div style="display: flex;justify-content: center;align-items: center;margin-top: 90rpx">借用人: {{userInfo.nickName}}</div>
|
<div style="display: flex;justify-content: center;align-items: center;margin-top: 90rpx">借用人: {{userInfo.nickName}}</div>
|
||||||
<div style="margin-top: 400rpx;display: flex;flex-direction: column;align-items: center">
|
<div style="margin-top: 400rpx;display: flex;flex-direction: column;align-items: center">
|
||||||
@ -37,6 +37,7 @@ export default {
|
|||||||
}
|
}
|
||||||
const res= await borrowApi(data)
|
const res= await borrowApi(data)
|
||||||
if (res.code===200){
|
if (res.code===200){
|
||||||
|
this.getData()
|
||||||
this.$refs.toast.show({model:'success',label:'借用成功'})
|
this.$refs.toast.show({model:'success',label:'借用成功'})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -46,6 +47,7 @@ export default {
|
|||||||
}
|
}
|
||||||
const res= await returnApi(data)
|
const res= await returnApi(data)
|
||||||
if (res.code===200){
|
if (res.code===200){
|
||||||
|
this.getData()
|
||||||
this.$refs.toast.show({model:'success',label:'归还成功'})
|
this.$refs.toast.show({model:'success',label:'归还成功'})
|
||||||
}
|
}
|
||||||
console.log(res,'returnMe')
|
console.log(res,'returnMe')
|
||||||
|
Loading…
Reference in New Issue
Block a user