123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- const api = require('../../../utils/api.js');
- Page({
-
- data: {
- array: ['卫生', '纪律', '日常', '其他'],
- index: 0,
- },
- bindPickerChange(e) {
- this.setData({
- index: e.detail.value
- })
- },
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- onLoad: function (options) {
- this.setData({
- user:wx.getStorageSync('user')
- })
- let that=this
- wx.showLoading({
- title: '正在加载',
- })
- wx.request({
- url: api.findProposeDetails,
- data:{id:options.id},
- success(res){
- wx.hideLoading();
- that.setData({
- data:res.data.data.data
- })
- }
- })
- },
-
- onReady: function () {
- },
-
- onShow: function () {
- },
-
- onHide: function () {
- },
-
- onUnload: function () {
- },
-
- onPullDownRefresh: function () {
- },
-
- onReachBottom: function () {
- },
-
- onShareAppMessage: function () {
- }
- })
|