diff --git a/app.js b/app.js index 0258966..c978c7b 100644 --- a/app.js +++ b/app.js @@ -55,8 +55,8 @@ App({ }, // 文件服务器地址 - FILE_SERVER_URL: "http://192.168.110.186", //查看 - // FILE_SERVER_URL: "http://42.193.40.239:8888", //查看 + // FILE_SERVER_URL: "http://192.168.110.186", //查看 + FILE_SERVER_URL: "http://42.193.40.239:8888", //查看 FILE_SERVER_UP_URL: "http://42.193.40.239:8017/", //上传 // 文件类型 diff --git a/pages/statistic/g-z-t-j/index/index.js b/pages/statistic/g-z-t-j/index/index.js index 577aa01..75a3777 100644 --- a/pages/statistic/g-z-t-j/index/index.js +++ b/pages/statistic/g-z-t-j/index/index.js @@ -27,6 +27,8 @@ Page({ }, { factorcnt: '认真贯彻执行党中央及上级党委关于安全生产工作的决策部署和指示精神。' }], + onTime:'', + endTime:'', }, /** @@ -36,6 +38,20 @@ Page({ this.data.currentIndex = params.currentTarget.dataset.index; this.setData(this.data) }, + /** + * 开始时间 + */ + onTimeChange: function(e){ + this.data.onTime = e.detail.value; + this.setData(this.data) + }, + /** + * 开始时间 + */ + endTimeChange: function(e){ + this.data.endTime = e.detail.value; + this.setData(this.data) + }, /** * 生命周期函数--监听页面加载 diff --git a/pages/statistic/g-z-t-j/index/index.wxml b/pages/statistic/g-z-t-j/index/index.wxml index 6c78a69..19cf182 100644 --- a/pages/statistic/g-z-t-j/index/index.wxml +++ b/pages/statistic/g-z-t-j/index/index.wxml @@ -3,15 +3,15 @@ - + - 开始时间: {{dateFilter}} + 开始时间: {{onTime}} - + - 结束时间: {{dateFilter}} + 结束时间: {{endTime}}