我的页面,首页来款项目
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
// pages/meeting/meeting.js
|
||||
import UserApi from '../../assets/js/http/userApi'
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
form: {}
|
||||
},
|
||||
// 查看物流
|
||||
track(){
|
||||
|
||||
},
|
||||
|
||||
@@ -12,7 +16,16 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
console.log(options)
|
||||
let id = options.id // 合同id
|
||||
UserApi.contractDetail({id}).then(res=>{
|
||||
console.log(res)
|
||||
if(res.success){
|
||||
this.setData({
|
||||
form: res.result
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user