xiaochengxurenwu
This commit is contained in:
parent
ae4b7715d3
commit
7d871fa997
4
app.js
4
app.js
|
|
@ -97,8 +97,8 @@ App({
|
||||||
perms:[],
|
perms:[],
|
||||||
openid:null
|
openid:null
|
||||||
},
|
},
|
||||||
serverUrl: 'https://safeyun.ctcshe.com/',
|
// serverUrl: 'https://safeyun.ctcshe.com/',
|
||||||
//serverUrl: 'http://127.0.0.1:8000/',
|
serverUrl: 'http://127.0.0.1:8000/',
|
||||||
//serverUrl: 'http://10.21.28.148:8000/',
|
//serverUrl: 'http://10.21.28.148:8000/',
|
||||||
//serverUrl: 'http://192.168.0.103:8000/',
|
//serverUrl: 'http://192.168.0.103:8000/',
|
||||||
//serverUrl:'http://10.0.11.195:8000/',
|
//serverUrl:'http://10.0.11.195:8000/',
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,7 @@ Page({
|
||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad: function (options) {
|
onLoad: function (options) {
|
||||||
|
var checkperson = true
|
||||||
this.getGcdetail(options.id);
|
this.getGcdetail(options.id);
|
||||||
this.setData({
|
this.setData({
|
||||||
|
|
||||||
|
|
@ -110,13 +111,20 @@ Page({
|
||||||
* 生命周期函数--监听页面初次渲染完成
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
*/
|
*/
|
||||||
onReady: function () {
|
onReady: function () {
|
||||||
|
this.setData({
|
||||||
|
cjryname: "",
|
||||||
|
cjry: "",
|
||||||
|
cjrs:0
|
||||||
|
}),
|
||||||
|
this.data.cfnr=""
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面显示
|
* 生命周期函数--监听页面显示
|
||||||
*/
|
*/
|
||||||
onShow: function () {
|
onShow: function () {
|
||||||
|
|
||||||
|
|
||||||
let lst = getApp().globalData.selectPeopleList
|
let lst = getApp().globalData.selectPeopleList
|
||||||
let nst = []
|
let nst = []
|
||||||
let nst1 = []
|
let nst1 = []
|
||||||
|
|
@ -131,6 +139,9 @@ Page({
|
||||||
cjrs: nst1.length
|
cjrs: nst1.length
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue