|
@@ -4,6 +4,12 @@
|
|
|
<top-header :pageTitle="pageTitle" ></top-header>
|
|
|
|
|
|
<div class="mui-content vongi-fklist">
|
|
|
+
|
|
|
+ <div class="mui-content-padded fyy-date mui-clearfix">
|
|
|
+ <h5>{{person_data.companyName}}
|
|
|
+ <a class="mui-navigate-right mui-pull-right" @click="selectData">{{listForm.queryDate}}</a>
|
|
|
+ </h5>
|
|
|
+ </div>
|
|
|
<div style="text-align: center;margin-top: 100px" v-if="!recordList.length">
|
|
|
<img src="~$project/assets/img/lad.png" width="50%" >
|
|
|
</div>
|
|
@@ -44,7 +50,9 @@
|
|
|
import TopHeader from '$project/components/TopHeader.vue'
|
|
|
import isReachBottom from '$project/utils/isReachBottom'
|
|
|
import {
|
|
|
- hourDistance
|
|
|
+ hourDistance,
|
|
|
+ currentTimeStamp,
|
|
|
+ parseUnixTime
|
|
|
} from '$project/utils'
|
|
|
import {
|
|
|
mapGetters,
|
|
@@ -68,6 +76,7 @@
|
|
|
pageSize: 20,
|
|
|
// token: '',
|
|
|
//isToDay:1,//是否只查今天
|
|
|
+ queryDate:'',
|
|
|
totalPage: 1,
|
|
|
result: 0,
|
|
|
},
|
|
@@ -78,9 +87,26 @@
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
-
|
|
|
+ this.listForm.queryDate = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
|
|
|
},
|
|
|
methods: {
|
|
|
+ //选择日期
|
|
|
+ selectData() {
|
|
|
+ var _this = this;
|
|
|
+ var picker = new mui.DtPicker({
|
|
|
+ "type": "date",
|
|
|
+ "beginYear": 2020,
|
|
|
+ "endYear": 2040,
|
|
|
+ "endDate": new Date(),
|
|
|
+ "value": _this.listForm.queryDate
|
|
|
+ });
|
|
|
+ picker.show(function(rs) {
|
|
|
+ _this.listForm.queryDate = rs.text;
|
|
|
+ _this.listForm.pageIndex = 1;
|
|
|
+ _this.getList();
|
|
|
+ picker.dispose();
|
|
|
+ });
|
|
|
+ },
|
|
|
gethour(t1,t2){
|
|
|
return hourDistance(t1,t2)
|
|
|
},
|
|
@@ -156,6 +182,8 @@
|
|
|
...mapGetters({
|
|
|
openId: 'wx_openid',
|
|
|
token: 'token',
|
|
|
+ person_data: 'person_data',
|
|
|
+ person_popedom: 'person_popedom',
|
|
|
})
|
|
|
},
|
|
|
|