xiaochengxurenwu

This commit is contained in:
shilixia 2020-04-08 11:04:06 +08:00
parent ae4b7715d3
commit 7d871fa997
2 changed files with 27 additions and 16 deletions

4
app.js
View File

@ -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/',

View File

@ -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
}) })
} }
}, },
/** /**