You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
583 B
29 lines
583 B
var Api = require("../../../utils/util.js");
|
|
Page({
|
|
data: {
|
|
detail:{}
|
|
},
|
|
onLoad: function(options) {
|
|
var that = this,
|
|
data = {
|
|
id: options.id,
|
|
}
|
|
wx.showLoading({
|
|
title: '加载中...',
|
|
})
|
|
Api.req('sf/operationTechnicalData/detail', data, 'get')
|
|
.then(res => {
|
|
wx.hideLoading()
|
|
if(res.code == 200){
|
|
that.setData({
|
|
detail: res.data
|
|
})
|
|
}else{
|
|
wx.showToast({
|
|
title: res.msg,
|
|
icon: 'none'
|
|
})
|
|
}
|
|
})
|
|
},
|
|
}) |