From 54d40e74fe3b8fe0621b342041f3c446d5fa17b9 Mon Sep 17 00:00:00 2001 From: du <1176658673@qq.com> Date: Fri, 22 Mar 2024 11:16:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A6=96=E9=A1=B5=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E3=80=81=E7=BB=9F=E8=AE=A1=E6=97=B6=E9=97=B4=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 4 ++-- pages/statistic/g-z-t-j/index/index.js | 16 ++++++++++++++++ pages/statistic/g-z-t-j/index/index.wxml | 8 ++++---- 3 files changed, 22 insertions(+), 6 deletions(-) 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}}