基本信息开始-1116
|
@ -1,6 +1,6 @@
|
||||||
/* 内容区 */
|
/* 内容区 */
|
||||||
.content *{
|
page{
|
||||||
box-sizing: border-box;
|
color: #333333;
|
||||||
}
|
}
|
||||||
/* 首页 */
|
/* 首页 */
|
||||||
.sign-top{
|
.sign-top{
|
||||||
|
@ -96,6 +96,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -60rpx;
|
margin-top: -60rpx;
|
||||||
padding: 10rpx 48rpx;
|
padding: 10rpx 48rpx;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sign-record .title{
|
.sign-record .title{
|
||||||
|
@ -231,18 +232,211 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 26rpx 0 0 170rpx;
|
margin: 26rpx 0 0 170rpx;
|
||||||
}
|
}
|
||||||
.register-information .item .position-name{
|
.register-information .item .name{
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 64rpx;
|
height: 64rpx;
|
||||||
}
|
}
|
||||||
.register-information .item .position-name image{
|
.register-information .item .name image{
|
||||||
width: 19rpx;
|
width: 19rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
margin-right: 5rpx;
|
margin-right: 5rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 加班 */
|
||||||
|
.overtime-from{
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 10rpx;
|
||||||
|
border-top: 26rpx solid #ecf5fb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item{
|
||||||
|
width: calc(100% - 60rpx);
|
||||||
|
padding: 20rpx 0 33rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-top: 2rpx solid #f1f5f9;
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item:first-child{
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item .title{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.overtime-from .item .title:before{
|
||||||
|
content: "";
|
||||||
|
display: inline-block;
|
||||||
|
width: 9rpx;
|
||||||
|
height: 9rpx;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: #333333;
|
||||||
|
margin-right: 15rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item .input{
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: calc(100% - 25rpx);
|
||||||
|
height: 70rpx;
|
||||||
|
margin: 7rpx 0 0 25rpx;
|
||||||
|
padding: 0 10rpx;
|
||||||
|
border: 2rpx solid #dcdcdc;
|
||||||
|
border-radius: 5rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item .textarea{
|
||||||
|
height: 295rpx;
|
||||||
|
padding: 10rpx;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item .name{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
height: 66rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item .name image{
|
||||||
|
width: 18rpx;
|
||||||
|
height: 10rpx;
|
||||||
|
margin-right: 5rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item .time-input{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .item .time-input .input{
|
||||||
|
width: calc(100% - 90rpx);
|
||||||
|
}
|
||||||
|
|
||||||
|
.overtime-from .submit-btn{
|
||||||
|
width: calc(100% - 85rpx);
|
||||||
|
background-image: linear-gradient(to right,#028bfd,#02b4fe);
|
||||||
|
border-radius: 5rpx;
|
||||||
|
line-height: 80rpx;
|
||||||
|
margin-left: 55rpx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 个人中心 */
|
||||||
|
.my-top{
|
||||||
|
padding-bottom: 45rpx;
|
||||||
|
}
|
||||||
|
.my-info{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 25rpx 30rpx;
|
||||||
|
}
|
||||||
|
.my-info .my-cover{
|
||||||
|
width: 130rpx;
|
||||||
|
height: 130rpx;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
border-radius: 100%;
|
||||||
|
border: 2rpx solid #dcdcdc;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.my-info .my-cover image{
|
||||||
|
width: 130rpx;
|
||||||
|
height: 130rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-info .my-txt{
|
||||||
|
line-height: 1.5;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.my-info .my-txt view:nth-of-type(2){
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
margin-top: 8rpx;
|
||||||
|
line-height: 46rpx;
|
||||||
|
background-color: #036db3;
|
||||||
|
border: 2rpx solid #b8c7e7;
|
||||||
|
border-radius: 25rpx;
|
||||||
|
letter-spacing: 2rpx;
|
||||||
|
text-indent: 2rpx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-more{
|
||||||
|
margin-top: -45rpx;
|
||||||
|
border-radius: 20rpx 20rpx 0 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-more .item{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
height: 95rpx;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
border-bottom: 15rpx solid #f1f5f9;
|
||||||
|
}
|
||||||
|
.my-more .item:last-child{
|
||||||
|
border-bottom: 15rpx solid #f1f5f9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-more .item .img{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 45rpx;
|
||||||
|
height: 95rpx;
|
||||||
|
}
|
||||||
|
.my-more .item .txt{
|
||||||
|
width: calc(100% - 57rpx);
|
||||||
|
}
|
||||||
|
.my-more .item>image{
|
||||||
|
width: 12rpx;
|
||||||
|
height: 19rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 个人资料 */
|
||||||
|
.information-from{
|
||||||
|
border-top: 26rpx solid #ecf5fb;
|
||||||
|
}
|
||||||
|
.information-from .item{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
width: calc(100% - 60rpx);
|
||||||
|
height: 80rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-bottom: 2rpx solid #f1f5f9;
|
||||||
|
}
|
||||||
|
.information-from .item:first-child{
|
||||||
|
height: 144rpx;
|
||||||
|
}
|
||||||
|
.information-from .cover{
|
||||||
|
width: 100rpx;
|
||||||
|
height: 100rpx;
|
||||||
|
border-radius: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.information-from .cover image{
|
||||||
|
width: 100rpx;
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
.information-from .item>image{
|
||||||
|
width: 12rpx;
|
||||||
|
height: 19rpx;
|
||||||
|
margin-left: 14rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.information-from .item .title{
|
||||||
|
width: 150rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.information-from .item .msg{
|
||||||
|
width: calc(100% - 176rpx);
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* 登录 */
|
/* 登录 */
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 6rpx;
|
margin-top: 6rpx;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
color: #888888;
|
color: #737373;
|
||||||
}
|
}
|
||||||
.tabbar-item.active .title{
|
.tabbar-item.active .title{
|
||||||
color: #0788ff;
|
color: #0788ff;
|
||||||
|
|
66
pages.json
|
@ -64,6 +64,72 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"subPackages": [{ //A包
|
||||||
|
"root": "pagesA",
|
||||||
|
"pages": [
|
||||||
|
{ //基本信息
|
||||||
|
"path" : "information/information",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText": "基本信息",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ //打卡记录
|
||||||
|
"path" : "signRecord/signRecord",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText": "打卡记录",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ //工资记录
|
||||||
|
"path" : "wagesRecord/wagesRecord",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText": "工资记录",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ //加班记录
|
||||||
|
"path" : "overtimeRecord/overtimeRecord",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText": "加班记录",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ //编辑加班
|
||||||
|
"path" : "overtimeEdit/overtimeEdit",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText": "编辑加班",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ //单页
|
||||||
|
"path" : "singlePage/singlePage",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{ //B包
|
||||||
|
"root": "pagesB",
|
||||||
|
"pages": [
|
||||||
|
// { //个人资料
|
||||||
|
// "path" : "ucenter/ucenter",
|
||||||
|
// "style" : {
|
||||||
|
// "navigationBarTitleText": "",
|
||||||
|
// "enablePullDownRefresh": false
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preloadRule": {
|
||||||
|
"pages/worker/my/my": {
|
||||||
|
"network": "all",
|
||||||
|
"packages": ["pagesA"]
|
||||||
|
}
|
||||||
|
},
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarBackgroundColor": "#ffffff", //导航栏背景色
|
"navigationBarBackgroundColor": "#ffffff", //导航栏背景色
|
||||||
|
|
|
@ -1,7 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="pad-x120">
|
<view class="pad-x120">
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<status-nav :ifReturn="false" navBarTitle="我的"></status-nav>
|
<status-nav :ifReturn="false" navBarTitle="个人中心" :titleColor="titleColor" :backgroudColor="backgroudColor"></status-nav>
|
||||||
|
<view class="content" v-if="isLoding">
|
||||||
|
<!-- 个人简介 -->
|
||||||
|
<view class="sign-top my-top font24 color-white" :style="{'padding-top':statusHeight+50+'px'}">
|
||||||
|
<image src="/static/my-bg.jpg" mode="aspectFill"></image>
|
||||||
|
<view class="my-info">
|
||||||
|
<view class="my-cover">
|
||||||
|
<image :src="userInfo.headimgurl" mode="aspectFill"></image>
|
||||||
|
</view>
|
||||||
|
<view class="my-txt">
|
||||||
|
<view class="font28">{{userInfo.nickname}}</view>
|
||||||
|
<view class="font24">{{userInfo.real_name}}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 其他信息 -->
|
||||||
|
<view class="sign-record my-more">
|
||||||
|
<view class="item bg-white" @tap="toMore(item.url)" v-for="(item,index) in myMoreList" :key="index">
|
||||||
|
<view class="img">
|
||||||
|
<image :src="`/static/icon/icon-my-0${index+1}.png`" :style="{'width':iconWidth[index]+'rpx','height':iconHeight[index]+'rpx'}" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="txt font28">{{item.title}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<tabbar :userType="userType" current="2"></tabbar>
|
<tabbar :userType="userType" current="2"></tabbar>
|
||||||
</view>
|
</view>
|
||||||
|
@ -19,17 +44,30 @@
|
||||||
frontColor:'#ffffff', //状态栏文字颜色
|
frontColor:'#ffffff', //状态栏文字颜色
|
||||||
backgroudColor:'none', //导航栏背景
|
backgroudColor:'none', //导航栏背景
|
||||||
titleColor:'#ffffff', //导航栏颜色
|
titleColor:'#ffffff', //导航栏颜色
|
||||||
|
userInfo:{}, //用户信息
|
||||||
|
myMoreList:[
|
||||||
|
{title:'个人资料',url:'/pagesA/information/information'},
|
||||||
|
{title:'打卡记录',url:'/pagesA/signRecord/signRecord'},
|
||||||
|
{title:'工资记录',url:'/pagesA/wagesRecord/wagesRecord'},
|
||||||
|
{title:'加班记录',url:'/pagesA/overtimeRecord/overtimeRecord'},
|
||||||
|
{title:'员工手册',url:'/pagesA/singlePage/singlePage?type=manual'},
|
||||||
|
{title:'安全告知',url:'/pagesA/singlePage/singlePage?type=security'},
|
||||||
|
{title:'公告',url:'/pagesA/singlePage/singlePage?type=notice'}
|
||||||
|
], //更多列表
|
||||||
|
iconWidth:[32,30,30,32,31,28,28], //icon宽度
|
||||||
|
iconHeight:[32,30,30,32,29,36,30], //icon高度
|
||||||
|
isLoding:false, //是否加载完成
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(object){
|
onPageScroll(object){
|
||||||
if(object.scrollTop >= this.statusHeight+60){
|
if(object.scrollTop >= 5){
|
||||||
this.frontColor = '#000000';
|
this.frontColor = '#000000';
|
||||||
this.backgroudColor = '#ffffff';
|
this.backgroudColor = '#ffffff';
|
||||||
this.titleColor = '#3333333';
|
this.titleColor = '#3333333';
|
||||||
// 改变状态栏
|
// 改变状态栏
|
||||||
this.changeStatusNav();
|
this.changeStatusNav();
|
||||||
}
|
}
|
||||||
if(object.scrollTop <= this.statusHeight+40){
|
if(object.scrollTop <= 0){
|
||||||
this.frontColor = '#ffffff';
|
this.frontColor = '#ffffff';
|
||||||
this.backgroudColor = 'none';
|
this.backgroudColor = 'none';
|
||||||
this.titleColor = '#ffffff';
|
this.titleColor = '#ffffff';
|
||||||
|
@ -40,6 +78,8 @@
|
||||||
onLoad() {
|
onLoad() {
|
||||||
// 改变状态栏
|
// 改变状态栏
|
||||||
this.changeStatusNav();
|
this.changeStatusNav();
|
||||||
|
// 获取用户信息
|
||||||
|
this.getUserInfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 改变状态栏
|
// 改变状态栏
|
||||||
|
@ -48,6 +88,22 @@
|
||||||
frontColor: this.frontColor,
|
frontColor: this.frontColor,
|
||||||
backgroundColor: 'none',
|
backgroundColor: 'none',
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
// 获取用户信息
|
||||||
|
getUserInfo(){
|
||||||
|
this.$requst.post('/api/v1/user/info').then(res=>{
|
||||||
|
if(res.code==0){
|
||||||
|
console.log(res,'用户信息');
|
||||||
|
this.userInfo = res.data;
|
||||||
|
this.isLoding = true;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//跳转页面
|
||||||
|
toMore(url){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:url
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,66 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="pad-x120">
|
<view class="pad-x120">
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<status-nav :ifReturn="false" navBarTitle="加班"></status-nav>
|
<status-nav :ifReturn="false" navBarTitle="加班提交"></status-nav>
|
||||||
|
<view class="content" :style="{'padding-top':statusHeight+50+'px'}" v-if="isLoding">
|
||||||
|
<view class="overtime-from font26">
|
||||||
|
<view class="item">
|
||||||
|
<view class="title">工地</view>
|
||||||
|
<picker class="input" mode="selector" :range="worksiteList" @change="bindWorksiteChange" :value="worksiteIndex" :range-key="'name'">
|
||||||
|
<view class="name">
|
||||||
|
<text>{{worksiteList[worksiteIndex].name}}</text>
|
||||||
|
<image src="/static/icon/icon-arrow-02.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<view class="title">日期</view>
|
||||||
|
<picker class="input" mode="date" :range="date" @change="bindDateChange" :start="startDate" :end="endDate">
|
||||||
|
<view class="name">
|
||||||
|
<text>{{date.split('-')[0]+'年'+date.split('-')[1]+'月'+date.split('-')[2]+'日'}}</text>
|
||||||
|
<image src="/static/icon/icon-arrow-02.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<view class="title">加班时长</view>
|
||||||
|
<view class="time-input">
|
||||||
|
<picker class="input" mode="selector" :range="timeList" @change="bindTimeChange" :value="timeIndex">
|
||||||
|
<view class="name">
|
||||||
|
<text>{{timeList[timeIndex]}}</text>
|
||||||
|
<image src="/static/icon/icon-arrow-02.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
<view class="unit font24">小时</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<view class="title">备注</view>
|
||||||
|
<textarea class="input textarea" v-model="remarks"></textarea>
|
||||||
|
</view>
|
||||||
|
<view class="submit-btn color-white font30" @tap="submitOvertime">提交</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<tabbar :userType="userType" current="2"></tabbar>
|
<tabbar :userType="userType" current="1"></tabbar>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import tabbar from '@/components/tabbar/tabbar';
|
import tabbar from '@/components/tabbar/tabbar';
|
||||||
|
function getDate(type) {
|
||||||
|
const date = new Date();
|
||||||
|
let year = date.getFullYear();
|
||||||
|
let month = date.getMonth() + 1;
|
||||||
|
let day = date.getDate();
|
||||||
|
if (type === 'start') {
|
||||||
|
year = year - 10;
|
||||||
|
} else if (type === 'end') {
|
||||||
|
year = year + 10;
|
||||||
|
}
|
||||||
|
month = month > 9 ? month : '0' + month;
|
||||||
|
day = day > 9 ? day : '0' + day;
|
||||||
|
return `${year}-${month}-${day}`;
|
||||||
|
}
|
||||||
export default {
|
export default {
|
||||||
components:{
|
components:{
|
||||||
tabbar
|
tabbar
|
||||||
|
@ -16,13 +69,91 @@
|
||||||
return {
|
return {
|
||||||
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
userType:'worker', //账户类型 工人:worker 负责人:director
|
userType:'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
worksiteList:[], //工地列表
|
||||||
|
worksiteIndex:0, //当前选择
|
||||||
|
timeList:[], //加班时长列表
|
||||||
|
timeIndex:0, //当前选择
|
||||||
|
remarks:'', //备注
|
||||||
|
date: getDate({
|
||||||
|
format: true
|
||||||
|
}),
|
||||||
|
startDate: getDate('start'),
|
||||||
|
endDate: getDate('end'),
|
||||||
|
flag:true, //是否允许提交
|
||||||
|
isLoding:false, //是否加载完成
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
// 获取工地列表
|
||||||
|
this.getWorksiteList();
|
||||||
|
|
||||||
|
// 获取加班时间
|
||||||
|
this.getTimeList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 获取工地列表
|
||||||
|
getWorksiteList(){
|
||||||
|
this.$requst.get('/api/v1/common/worksite-list').then(res=>{
|
||||||
|
if(res.code==0){
|
||||||
|
this.worksiteList = res.data.list;
|
||||||
|
this.isLoding = true;
|
||||||
|
}else{
|
||||||
|
this.$toolAll.tools.showToast(res.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
// 获取加班时间
|
||||||
|
getTimeList(){
|
||||||
|
let timeArr = [];
|
||||||
|
for(let i=1;i<=48;i++){
|
||||||
|
timeArr.push(i-0.5,i)
|
||||||
|
}
|
||||||
|
this.timeList = timeArr;
|
||||||
|
},
|
||||||
|
|
||||||
|
// 提交加班
|
||||||
|
submitOvertime(){
|
||||||
|
if(this.flag){
|
||||||
|
this.flag = false;
|
||||||
|
let params = {
|
||||||
|
day:this.date,
|
||||||
|
time:this.timeList[this.timeIndex],
|
||||||
|
worksite_id:this.worksiteList[this.worksiteIndex].id,
|
||||||
|
remarks:this.remarks
|
||||||
|
}
|
||||||
|
this.$requst.post('/api/v1/worker/overtime',params).then(res=>{
|
||||||
|
if(res.code==0){
|
||||||
|
this.$toolAll.tools.showToast('提交成功');
|
||||||
|
setTimeout(()=>{
|
||||||
|
uni.reLaunch({
|
||||||
|
url:'/pages/worker/sign/sign'
|
||||||
|
})
|
||||||
|
},1000)
|
||||||
|
}else{
|
||||||
|
this.$toolAll.tools.showToast(res.msg);
|
||||||
|
}
|
||||||
|
setTimeout(()=>{
|
||||||
|
this.flag = true;
|
||||||
|
},2000)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// 选择工地
|
||||||
|
bindWorksiteChange(e) {
|
||||||
|
this.worksiteIndex = e.detail.value;
|
||||||
|
},
|
||||||
|
|
||||||
|
// 选择日期
|
||||||
|
bindDateChange(e) {
|
||||||
|
this.date = e.detail.value;
|
||||||
|
},
|
||||||
|
|
||||||
|
// 选择加班时长
|
||||||
|
bindTimeChange(e) {
|
||||||
|
this.timeIndex = e.detail.value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<!-- 打卡 -->
|
<!-- 打卡 -->
|
||||||
<view class="sign-top font24 color-white" :style="{'padding-top':statusHeight+50+'px'}">
|
<view class="sign-top font24 color-white" :style="{'padding-top':statusHeight+50+'px'}">
|
||||||
<image src="../../../static/sign-bg.jpg" mode="aspectFill"></image>
|
<image src="/static/sign-bg.jpg" mode="aspectFill"></image>
|
||||||
<view class="sign-time">
|
<view class="sign-time">
|
||||||
<text>{{currentDate}}</text>
|
<text>{{currentDate}}</text>
|
||||||
<text>{{currentWeek}}</text>
|
<text>{{currentWeek}}</text>
|
||||||
|
@ -14,28 +14,28 @@
|
||||||
<text class="font56">{{finish?'已打卡':'打卡'}}</text>
|
<text class="font56">{{finish?'已打卡':'打卡'}}</text>
|
||||||
<text>{{currenTime}}</text>
|
<text>{{currenTime}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="sign-site">
|
<view class="sign-site" v-if="isLoding">
|
||||||
<view class="name">{{siteInfo.name}}</view>
|
<view class="name">{{siteInfo.name}}</view>
|
||||||
<view class="position">
|
<view class="position">
|
||||||
<view class="warning" v-if="!siteInfo.name">
|
<view class="warning" v-if="!siteInfo.name">
|
||||||
<image src="../../../static/icon/icon-warning.png" mode="aspectFit"></image>
|
<image src="/static/icon/icon-warning.png" mode="aspectFit"></image>
|
||||||
<text class="color-yellow">不在范围内</text>
|
<text class="color-yellow">不在范围内</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="position-btn" @tap="getLocationEv(1)">
|
<view class="position-btn" @tap="getLocationEv(1)">
|
||||||
<image src="../../../static/icon/icon-position.png" mode="aspectFit"></image>
|
<image src="/static/icon/icon-position.png" mode="aspectFit"></image>
|
||||||
<text>重新定位</text>
|
<text>重新定位</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="sign-type bg-yellow color-33 font26" @tap="changeSignType" :style="{'top':statusHeight+50+'px'}">{{signType=='in'?'上班':'下班'}}</view>
|
<view class="sign-type bg-yellow font26" @tap="changeSignType" :style="{'top':statusHeight+50+'px'}">{{signType=='in'?'上班':'下班'}}</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 打卡记录 -->
|
<!-- 打卡记录 -->
|
||||||
<view class="sign-record bg-white">
|
<view class="sign-record bg-white">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<image src="../../../static/icon/icon-sign.png" mode="aspectFit"></image>
|
<image src="/static/icon/icon-sign.png" mode="aspectFit"></image>
|
||||||
<text class="color-blue font28">今日打卡记录</text>
|
<text class="color-blue font28">今日打卡记录</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="item font26 color-33" v-for="(item,index) in signList" :key="index">
|
<view class="item font26" v-for="(item,index) in signList" :key="index">
|
||||||
<view class="info">
|
<view class="info">
|
||||||
<text>{{item.type_text}}打卡:{{item.created_at.substr(item.created_at.length-8)}}</text>
|
<text>{{item.type_text}}打卡:{{item.created_at.substr(item.created_at.length-8)}}</text>
|
||||||
<text>打卡工地:{{item.worksite_name}}</text>
|
<text>打卡工地:{{item.worksite_name}}</text>
|
||||||
|
@ -70,8 +70,8 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="title">技术岗位</view>
|
<view class="title">技术岗位</view>
|
||||||
<picker class="input picker-input" mode="selector" :range="positionList" @change="choicePosition" :value="positionIndex" :range-key="'name'">
|
<picker class="input" mode="selector" :range="positionList" @change="choicePosition" :value="positionIndex" :range-key="'name'">
|
||||||
<view class="position-name">
|
<view class="name">
|
||||||
<text>{{positionList[positionIndex].name}}</text>
|
<text>{{positionList[positionIndex].name}}</text>
|
||||||
<image src="/static/icon/icon-arrow-01.png" mode="aspectFit"></image>
|
<image src="/static/icon/icon-arrow-01.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -151,6 +151,7 @@
|
||||||
positionIndex:0, //当前技术岗位
|
positionIndex:0, //当前技术岗位
|
||||||
finish:false, //是否完成打卡
|
finish:false, //是否完成打卡
|
||||||
flag:true, //是否能提交
|
flag:true, //是否能提交
|
||||||
|
isLoding:false, //是否加载完成
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(object){
|
onPageScroll(object){
|
||||||
|
@ -235,6 +236,7 @@
|
||||||
console.log(res,'定位工地信息');
|
console.log(res,'定位工地信息');
|
||||||
this.siteInfo = res.data;
|
this.siteInfo = res.data;
|
||||||
this.registerObj.worksite_id = res.data.id;
|
this.registerObj.worksite_id = res.data.id;
|
||||||
|
this.isLoding = true;
|
||||||
}else{
|
}else{
|
||||||
this.$toolAll.tools.showToast(res.msg);
|
this.$toolAll.tools.showToast(res.msg);
|
||||||
}
|
}
|
||||||
|
@ -324,7 +326,6 @@
|
||||||
this.currentWeek = res.data.info.week;
|
this.currentWeek = res.data.info.week;
|
||||||
// 获取当前时间
|
// 获取当前时间
|
||||||
this.currenTime = res.data.info.now;
|
this.currenTime = res.data.info.now;
|
||||||
|
|
||||||
// 服务端时间处理
|
// 服务端时间处理
|
||||||
setInterval(()=>{
|
setInterval(()=>{
|
||||||
let nowArr = this.currenTime.split(':');
|
let nowArr = this.currenTime.split(':');
|
||||||
|
@ -357,7 +358,6 @@
|
||||||
}
|
}
|
||||||
this.currenTime = `${hour}:${minute}:${second}`;
|
this.currenTime = `${hour}:${minute}:${second}`;
|
||||||
},1000)
|
},1000)
|
||||||
|
|
||||||
// 获取打卡记录列表
|
// 获取打卡记录列表
|
||||||
this.signList = res.data.list;
|
this.signList = res.data.list;
|
||||||
}
|
}
|
||||||
|
@ -386,7 +386,6 @@
|
||||||
this.finish = true;
|
this.finish = true;
|
||||||
// 获取打卡信息
|
// 获取打卡信息
|
||||||
this.getSignInfo();
|
this.getSignInfo();
|
||||||
|
|
||||||
// 延时改变打卡状态
|
// 延时改变打卡状态
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.finish = false;
|
this.finish = false;
|
||||||
|
|
|
@ -0,0 +1,166 @@
|
||||||
|
<template>
|
||||||
|
<view class="pad-x120">
|
||||||
|
<!-- 头部 -->
|
||||||
|
<status-nav navBarTitle="基本信息"></status-nav>
|
||||||
|
<view class="content" :style="{'padding-top':statusHeight+50+'px'}" v-if="isLoding">
|
||||||
|
<view class="information-from font26">
|
||||||
|
<view class="item">
|
||||||
|
<view class="title">头像</view>
|
||||||
|
<view class="cover">
|
||||||
|
<image :src="userInfo.headimgurl" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(0,'nickname')">
|
||||||
|
<view class="title">昵称</view>
|
||||||
|
<view class="msg font24">{{userInfo.nickname}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(1,'position_name')">
|
||||||
|
<view class="title">技术岗位</view>
|
||||||
|
<view class="msg font24">{{userInfo.position_name}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(2,'pay')">
|
||||||
|
<view class="title">工资</view>
|
||||||
|
<view class="msg font24">{{userInfo.pay}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(3,'real_name')">
|
||||||
|
<view class="title">姓名</view>
|
||||||
|
<view class="msg font24">{{userInfo.real_name}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(4,'mobile')">
|
||||||
|
<view class="title">电话号码</view>
|
||||||
|
<view class="msg font24">{{userInfo.mobile}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(5,'emergency_contact')">
|
||||||
|
<view class="title">紧急联系人</view>
|
||||||
|
<view class="msg font24">{{userInfo.emergency_contact}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(6,'emergency_phone')">
|
||||||
|
<view class="title">联系人电话</view>
|
||||||
|
<view class="msg font24">{{userInfo.emergency_phone}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(7,'bank_card_name')">
|
||||||
|
<view class="title">银行卡姓名</view>
|
||||||
|
<view class="msg font24">{{userInfo.bank_card_name}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(8,'bank_card_number')">
|
||||||
|
<view class="title">银行卡账号</view>
|
||||||
|
<view class="msg font24">{{userInfo.bank_card_number}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="editEv(9,'bank_name')">
|
||||||
|
<view class="title">开户行</view>
|
||||||
|
<view class="msg font24">{{userInfo.bank_name}}</view>
|
||||||
|
<image src="/static/icon/icon-arrow-03.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 修改弹窗 -->
|
||||||
|
<view class="pop-up-bg" v-if="ifShow" @tap.stop="closeEdit">
|
||||||
|
<view class="edit-box bg-white">
|
||||||
|
<view class="close-btn font30 color-66" @tap.stop="closeEdit"></view>
|
||||||
|
<view class="title font34">{{editTitle}}</view>
|
||||||
|
<input type="text" v-module="editMsg">
|
||||||
|
<view class="submit-btn font30" @tap.stop="submitEv">提交</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 尾部 -->
|
||||||
|
<tabbar :userType="userType" current="2"></tabbar>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import tabbar from '@/components/tabbar/tabbar';
|
||||||
|
export default {
|
||||||
|
components:{
|
||||||
|
tabbar
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType:'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
userInfo:{}, //用户信息
|
||||||
|
editTitle:'', //修改标题
|
||||||
|
editMsg:'', //修改内容
|
||||||
|
field:'', //修改栏目
|
||||||
|
ifShow:false, //是否展示弹窗
|
||||||
|
isLoding:false, //是否记载完成
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
// 获取用户信息
|
||||||
|
this.getUserInfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 获取用户信息
|
||||||
|
getUserInfo(){
|
||||||
|
this.$requst.post('/api/v1/user/info').then(res=>{
|
||||||
|
if(res.code==0){
|
||||||
|
console.log(res,'用户信息');
|
||||||
|
this.userInfo = res.data;
|
||||||
|
this.isLoding = true;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
// 打开修改弹窗
|
||||||
|
editEv(num,type){
|
||||||
|
this.ifShow = true;
|
||||||
|
this.field = type;
|
||||||
|
switch (num){
|
||||||
|
case 0:
|
||||||
|
this.editTitle = '昵称';
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
this.editTitle = '技术岗位';
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
this.editTitle = '工资';
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
this.editTitle = '姓名';
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
this.editTitle = '电话号码';
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
this.editTitle = '紧急联系人';
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
this.editTitle = '联系人电话';
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
this.editTitle = '银行卡姓名';
|
||||||
|
break;
|
||||||
|
case 8:
|
||||||
|
this.editTitle = '银行卡账号';
|
||||||
|
break;
|
||||||
|
case 9:
|
||||||
|
this.editTitle = '开户行';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// 提交修改
|
||||||
|
submitEv(){
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
// 关闭修改弹窗
|
||||||
|
closeEdit(){
|
||||||
|
this.ifShow = false;
|
||||||
|
this.editTitle = '';
|
||||||
|
this.field = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<template>
|
||||||
|
<view class="pad-x120">
|
||||||
|
<!-- 头部 -->
|
||||||
|
<status-nav navBarTitle="编辑加班"></status-nav>
|
||||||
|
<view class="content" :style="{'padding-top':statusHeight+50+'px'}">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- 尾部 -->
|
||||||
|
<tabbar :userType="userType" current="2"></tabbar>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import tabbar from '@/components/tabbar/tabbar';
|
||||||
|
export default {
|
||||||
|
components:{
|
||||||
|
tabbar
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType:'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<template>
|
||||||
|
<view class="pad-x120">
|
||||||
|
<!-- 头部 -->
|
||||||
|
<status-nav navBarTitle="加班记录"></status-nav>
|
||||||
|
<view class="content" :style="{'padding-top':statusHeight+50+'px'}">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- 尾部 -->
|
||||||
|
<tabbar :userType="userType" current="2"></tabbar>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import tabbar from '@/components/tabbar/tabbar';
|
||||||
|
export default {
|
||||||
|
components:{
|
||||||
|
tabbar
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType:'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<template>
|
||||||
|
<view class="pad-x120">
|
||||||
|
<!-- 头部 -->
|
||||||
|
<status-nav navBarTitle="打卡记录"></status-nav>
|
||||||
|
<view class="content" :style="{'padding-top':statusHeight+50+'px'}">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- 尾部 -->
|
||||||
|
<tabbar :userType="userType" current="2"></tabbar>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import tabbar from '@/components/tabbar/tabbar';
|
||||||
|
export default {
|
||||||
|
components:{
|
||||||
|
tabbar
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType:'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,43 @@
|
||||||
|
<template>
|
||||||
|
<view class="pad-x120">
|
||||||
|
<!-- 头部 -->
|
||||||
|
<status-nav :navBarTitle="pageTitle"></status-nav>
|
||||||
|
<view class="content" :style="{'padding-top':statusHeight+50+'px'}">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- 尾部 -->
|
||||||
|
<tabbar :userType="userType" current="2"></tabbar>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import tabbar from '@/components/tabbar/tabbar';
|
||||||
|
export default {
|
||||||
|
components:{
|
||||||
|
tabbar
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType:'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
pageTitle:'', //页面标题
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(op) {
|
||||||
|
if(op.type == 'manual'){
|
||||||
|
this.pageTitle = '员工手册'
|
||||||
|
}
|
||||||
|
if(op.type == 'security'){
|
||||||
|
this.pageTitle = '安全公告'
|
||||||
|
}
|
||||||
|
if(op.type == 'notice'){
|
||||||
|
this.pageTitle = '公告'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<template>
|
||||||
|
<view class="pad-x120">
|
||||||
|
<!-- 头部 -->
|
||||||
|
<status-nav navBarTitle="工资记录"></status-nav>
|
||||||
|
<view class="content" :style="{'padding-top':statusHeight+50+'px'}">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- 尾部 -->
|
||||||
|
<tabbar :userType="userType" current="2"></tabbar>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import tabbar from '@/components/tabbar/tabbar';
|
||||||
|
export default {
|
||||||
|
components:{
|
||||||
|
tabbar
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
statusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType:'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
After Width: | Height: | Size: 1012 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 17 KiB |
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/information/information.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/overtimeEdit/overtimeEdit.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/overtimeRecord/overtimeRecord.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/wagesRecord/wagesRecord.js.map
vendored
Normal file
|
@ -10,7 +10,19 @@
|
||||||
"pages/director/overtime/overtime",
|
"pages/director/overtime/overtime",
|
||||||
"pages/login/login"
|
"pages/login/login"
|
||||||
],
|
],
|
||||||
"subPackages": [],
|
"subPackages": [
|
||||||
|
{
|
||||||
|
"root": "pagesA",
|
||||||
|
"pages": [
|
||||||
|
"information/information",
|
||||||
|
"signRecord/signRecord",
|
||||||
|
"wagesRecord/wagesRecord",
|
||||||
|
"overtimeRecord/overtimeRecord",
|
||||||
|
"overtimeEdit/overtimeEdit",
|
||||||
|
"singlePage/singlePage"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"window": {
|
"window": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarBackgroundColor": "#ffffff",
|
||||||
|
@ -18,6 +30,14 @@
|
||||||
"backgroundColor": "#ffffff",
|
"backgroundColor": "#ffffff",
|
||||||
"backgroundTextStyle": "light"
|
"backgroundTextStyle": "light"
|
||||||
},
|
},
|
||||||
|
"preloadRule": {
|
||||||
|
"pages/worker/my/my": {
|
||||||
|
"network": "all",
|
||||||
|
"packages": [
|
||||||
|
"pagesA"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"permission": {
|
"permission": {
|
||||||
"scope.userLocation": {
|
"scope.userLocation": {
|
||||||
"desc": "您的位置信息,将用于定位打卡以及工地选择。"
|
"desc": "您的位置信息,将用于定位打卡以及工地选择。"
|
||||||
|
|
|
@ -201,6 +201,9 @@ scroll-view ::-webkit-scrollbar {
|
||||||
/* 项目基础样式 end */
|
/* 项目基础样式 end */
|
||||||
/* 项目样式 start */
|
/* 项目样式 start */
|
||||||
/* 内容区 */
|
/* 内容区 */
|
||||||
|
page{
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
/* 首页 */
|
/* 首页 */
|
||||||
.sign-top{
|
.sign-top{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -291,6 +294,7 @@ scroll-view ::-webkit-scrollbar {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -60rpx;
|
margin-top: -60rpx;
|
||||||
padding: 10rpx 48rpx;
|
padding: 10rpx 48rpx;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.sign-record .title{
|
.sign-record .title{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -412,17 +416,192 @@ scroll-view ::-webkit-scrollbar {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 26rpx 0 0 170rpx;
|
margin: 26rpx 0 0 170rpx;
|
||||||
}
|
}
|
||||||
.register-information .item .position-name{
|
.register-information .item .name{
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 64rpx;
|
height: 64rpx;
|
||||||
}
|
}
|
||||||
.register-information .item .position-name image{
|
.register-information .item .name image{
|
||||||
width: 19rpx;
|
width: 19rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
margin-right: 5rpx;
|
margin-right: 5rpx;
|
||||||
}
|
}
|
||||||
|
/* 加班 */
|
||||||
|
.overtime-from{
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 10rpx;
|
||||||
|
border-top: 26rpx solid #ecf5fb;
|
||||||
|
}
|
||||||
|
.overtime-from .item{
|
||||||
|
width: calc(100% - 60rpx);
|
||||||
|
padding: 20rpx 0 33rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-top: 2rpx solid #f1f5f9;
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
.overtime-from .item:first-child{
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
.overtime-from .item .title{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.overtime-from .item .title:before{
|
||||||
|
content: "";
|
||||||
|
display: inline-block;
|
||||||
|
width: 9rpx;
|
||||||
|
height: 9rpx;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: #333333;
|
||||||
|
margin-right: 15rpx;
|
||||||
|
}
|
||||||
|
.overtime-from .item .input{
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: calc(100% - 25rpx);
|
||||||
|
height: 70rpx;
|
||||||
|
margin: 7rpx 0 0 25rpx;
|
||||||
|
padding: 0 10rpx;
|
||||||
|
border: 2rpx solid #dcdcdc;
|
||||||
|
border-radius: 5rpx;
|
||||||
|
}
|
||||||
|
.overtime-from .item .textarea{
|
||||||
|
height: 295rpx;
|
||||||
|
padding: 10rpx;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
.overtime-from .item .name{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
height: 66rpx;
|
||||||
|
}
|
||||||
|
.overtime-from .item .name image{
|
||||||
|
width: 18rpx;
|
||||||
|
height: 10rpx;
|
||||||
|
margin-right: 5rpx;
|
||||||
|
}
|
||||||
|
.overtime-from .item .time-input{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.overtime-from .item .time-input .input{
|
||||||
|
width: calc(100% - 90rpx);
|
||||||
|
}
|
||||||
|
.overtime-from .submit-btn{
|
||||||
|
width: calc(100% - 85rpx);
|
||||||
|
background-image: linear-gradient(to right,#028bfd,#02b4fe);
|
||||||
|
border-radius: 5rpx;
|
||||||
|
line-height: 80rpx;
|
||||||
|
margin-left: 55rpx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
/* 个人中心 */
|
||||||
|
.my-top{
|
||||||
|
padding-bottom: 45rpx;
|
||||||
|
}
|
||||||
|
.my-info{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 25rpx 30rpx;
|
||||||
|
}
|
||||||
|
.my-info .my-cover{
|
||||||
|
width: 130rpx;
|
||||||
|
height: 130rpx;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
border-radius: 100%;
|
||||||
|
border: 2rpx solid #dcdcdc;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.my-info .my-cover image{
|
||||||
|
width: 130rpx;
|
||||||
|
height: 130rpx;
|
||||||
|
}
|
||||||
|
.my-info .my-txt{
|
||||||
|
line-height: 1.5;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.my-info .my-txt view:nth-of-type(2){
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
margin-top: 8rpx;
|
||||||
|
line-height: 46rpx;
|
||||||
|
background-color: #036db3;
|
||||||
|
border: 2rpx solid #b8c7e7;
|
||||||
|
border-radius: 25rpx;
|
||||||
|
letter-spacing: 2rpx;
|
||||||
|
text-indent: 2rpx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.my-more{
|
||||||
|
margin-top: -45rpx;
|
||||||
|
border-radius: 20rpx 20rpx 0 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.my-more .item{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
height: 95rpx;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
border-bottom: 15rpx solid #f1f5f9;
|
||||||
|
}
|
||||||
|
.my-more .item:last-child{
|
||||||
|
border-bottom: 15rpx solid #f1f5f9;
|
||||||
|
}
|
||||||
|
.my-more .item .img{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 45rpx;
|
||||||
|
height: 95rpx;
|
||||||
|
}
|
||||||
|
.my-more .item .txt{
|
||||||
|
width: calc(100% - 57rpx);
|
||||||
|
}
|
||||||
|
.my-more .item>image{
|
||||||
|
width: 12rpx;
|
||||||
|
height: 19rpx;
|
||||||
|
}
|
||||||
|
/* 个人资料 */
|
||||||
|
.information-from{
|
||||||
|
border-top: 26rpx solid #ecf5fb;
|
||||||
|
}
|
||||||
|
.information-from .item{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
width: calc(100% - 60rpx);
|
||||||
|
height: 80rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-bottom: 2rpx solid #f1f5f9;
|
||||||
|
}
|
||||||
|
.information-from .item:first-child{
|
||||||
|
height: 144rpx;
|
||||||
|
}
|
||||||
|
.information-from .cover{
|
||||||
|
width: 100rpx;
|
||||||
|
height: 100rpx;
|
||||||
|
border-radius: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.information-from .cover image{
|
||||||
|
width: 100rpx;
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
.information-from .item>image{
|
||||||
|
width: 12rpx;
|
||||||
|
height: 19rpx;
|
||||||
|
margin-left: 14rpx;
|
||||||
|
}
|
||||||
|
.information-from .item .title{
|
||||||
|
width: 150rpx;
|
||||||
|
}
|
||||||
|
.information-from .item .msg{
|
||||||
|
width: calc(100% - 176rpx);
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
/* 登录 */
|
/* 登录 */
|
||||||
.login-header {
|
.login-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 6rpx;
|
margin-top: 6rpx;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
color: #888888;
|
color: #737373;
|
||||||
}
|
}
|
||||||
.tabbar-item.active .title.data-v-8ad7aaf8{
|
.tabbar-item.active .title.data-v-8ad7aaf8{
|
||||||
color: #0788ff;
|
color: #0788ff;
|
||||||
|
|
|
@ -166,6 +166,31 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
components: {
|
components: {
|
||||||
tabbar: tabbar },
|
tabbar: tabbar },
|
||||||
|
@ -176,18 +201,31 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
userType: 'worker', //账户类型 工人:worker 负责人:director
|
userType: 'worker', //账户类型 工人:worker 负责人:director
|
||||||
frontColor: '#ffffff', //状态栏文字颜色
|
frontColor: '#ffffff', //状态栏文字颜色
|
||||||
backgroudColor: 'none', //导航栏背景
|
backgroudColor: 'none', //导航栏背景
|
||||||
titleColor: '#ffffff' //导航栏颜色
|
titleColor: '#ffffff', //导航栏颜色
|
||||||
|
userInfo: {}, //用户信息
|
||||||
|
myMoreList: [
|
||||||
|
{ title: '个人资料', url: '/pagesA/information/information' },
|
||||||
|
{ title: '打卡记录', url: '/pagesA/signRecord/signRecord' },
|
||||||
|
{ title: '工资记录', url: '/pagesA/wagesRecord/wagesRecord' },
|
||||||
|
{ title: '加班记录', url: '/pagesA/overtimeRecord/overtimeRecord' },
|
||||||
|
{ title: '员工手册', url: '/pagesA/singlePage/singlePage?type=manual' },
|
||||||
|
{ title: '安全告知', url: '/pagesA/singlePage/singlePage?type=security' },
|
||||||
|
{ title: '公告', url: '/pagesA/singlePage/singlePage?type=notice' }],
|
||||||
|
//更多列表
|
||||||
|
iconWidth: [32, 30, 30, 32, 31, 28, 28], //icon宽度
|
||||||
|
iconHeight: [32, 30, 30, 32, 29, 36, 30], //icon高度
|
||||||
|
isLoding: false //是否加载完成
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onPageScroll: function onPageScroll(object) {
|
onPageScroll: function onPageScroll(object) {
|
||||||
if (object.scrollTop >= this.statusHeight + 60) {
|
if (object.scrollTop >= 5) {
|
||||||
this.frontColor = '#000000';
|
this.frontColor = '#000000';
|
||||||
this.backgroudColor = '#ffffff';
|
this.backgroudColor = '#ffffff';
|
||||||
this.titleColor = '#3333333';
|
this.titleColor = '#3333333';
|
||||||
// 改变状态栏
|
// 改变状态栏
|
||||||
this.changeStatusNav();
|
this.changeStatusNav();
|
||||||
}
|
}
|
||||||
if (object.scrollTop <= this.statusHeight + 40) {
|
if (object.scrollTop <= 0) {
|
||||||
this.frontColor = '#ffffff';
|
this.frontColor = '#ffffff';
|
||||||
this.backgroudColor = 'none';
|
this.backgroudColor = 'none';
|
||||||
this.titleColor = '#ffffff';
|
this.titleColor = '#ffffff';
|
||||||
|
@ -198,6 +236,8 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
onLoad: function onLoad() {
|
onLoad: function onLoad() {
|
||||||
// 改变状态栏
|
// 改变状态栏
|
||||||
this.changeStatusNav();
|
this.changeStatusNav();
|
||||||
|
// 获取用户信息
|
||||||
|
this.getUserInfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 改变状态栏
|
// 改变状态栏
|
||||||
|
@ -206,6 +246,22 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
frontColor: this.frontColor,
|
frontColor: this.frontColor,
|
||||||
backgroundColor: 'none' });
|
backgroundColor: 'none' });
|
||||||
|
|
||||||
|
},
|
||||||
|
// 获取用户信息
|
||||||
|
getUserInfo: function getUserInfo() {var _this = this;
|
||||||
|
this.$requst.post('/api/v1/user/info').then(function (res) {
|
||||||
|
if (res.code == 0) {
|
||||||
|
console.log(res, '用户信息');
|
||||||
|
_this.userInfo = res.data;
|
||||||
|
_this.isLoding = true;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//跳转页面
|
||||||
|
toMore: function toMore(url) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: url });
|
||||||
|
|
||||||
} } };exports.default = _default;
|
} } };exports.default = _default;
|
||||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<view class="pad-x120 data-v-21031917"><status-nav vue-id="013eea62-1" ifReturn="{{false}}" navBarTitle="我的" class="data-v-21031917" bind:__l="__l"></status-nav><tabbar vue-id="013eea62-2" userType="{{userType}}" current="2" class="data-v-21031917" bind:__l="__l"></tabbar></view>
|
<view class="pad-x120 data-v-21031917"><status-nav vue-id="013eea62-1" ifReturn="{{false}}" navBarTitle="个人中心" titleColor="{{titleColor}}" backgroudColor="{{backgroudColor}}" class="data-v-21031917" bind:__l="__l"></status-nav><block wx:if="{{isLoding}}"><view class="content data-v-21031917"><view class="sign-top my-top font24 color-white data-v-21031917" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><image src="/static/my-bg.jpg" mode="aspectFill" class="data-v-21031917"></image><view class="my-info data-v-21031917"><view class="my-cover data-v-21031917"><image src="{{userInfo.headimgurl}}" mode="aspectFill" class="data-v-21031917"></image></view><view class="my-txt data-v-21031917"><view class="font28 data-v-21031917">{{userInfo.nickname}}</view><view class="font24 data-v-21031917">{{userInfo.real_name}}</view></view></view></view><view class="sign-record my-more data-v-21031917"><block wx:for="{{myMoreList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toMore',['$0'],[[['myMoreList','',index,'url']]]]]]]}}" class="item bg-white data-v-21031917" bindtap="__e"><view class="img data-v-21031917"><image style="{{'width:'+(iconWidth[index]+'rpx')+';'+('height:'+(iconHeight[index]+'rpx')+';')}}" src="{{'/static/icon/icon-my-0'+(index+1)+'.png'}}" mode="aspectFit" class="data-v-21031917"></image></view><view class="txt font28 data-v-21031917">{{item.title}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-21031917"></image></view></block></view></view></block><tabbar vue-id="013eea62-2" userType="{{userType}}" current="2" class="data-v-21031917" bind:__l="__l"></tabbar></view>
|
|
@ -123,6 +123,19 @@ var render = function() {
|
||||||
var _vm = this
|
var _vm = this
|
||||||
var _h = _vm.$createElement
|
var _h = _vm.$createElement
|
||||||
var _c = _vm._self._c || _h
|
var _c = _vm._self._c || _h
|
||||||
|
var g0 = _vm.isLoding ? _vm.date.split("-") : null
|
||||||
|
var g1 = _vm.isLoding ? _vm.date.split("-") : null
|
||||||
|
var g2 = _vm.isLoding ? _vm.date.split("-") : null
|
||||||
|
_vm.$mp.data = Object.assign(
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
$root: {
|
||||||
|
g0: g0,
|
||||||
|
g1: g1,
|
||||||
|
g2: g2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
var recyclableRender = false
|
var recyclableRender = false
|
||||||
var staticRenderFns = []
|
var staticRenderFns = []
|
||||||
|
@ -156,7 +169,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -166,6 +179,59 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function getDate(type) {
|
||||||
|
var date = new Date();
|
||||||
|
var year = date.getFullYear();
|
||||||
|
var month = date.getMonth() + 1;
|
||||||
|
var day = date.getDate();
|
||||||
|
if (type === 'start') {
|
||||||
|
year = year - 10;
|
||||||
|
} else if (type === 'end') {
|
||||||
|
year = year + 10;
|
||||||
|
}
|
||||||
|
month = month > 9 ? month : '0' + month;
|
||||||
|
day = day > 9 ? day : '0' + day;
|
||||||
|
return "".concat(year, "-").concat(month, "-").concat(day);
|
||||||
|
}var _default =
|
||||||
{
|
{
|
||||||
components: {
|
components: {
|
||||||
tabbar: tabbar },
|
tabbar: tabbar },
|
||||||
|
@ -173,13 +239,92 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
data: function data() {
|
data: function data() {
|
||||||
return {
|
return {
|
||||||
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
userType: 'worker' //账户类型 工人:worker 负责人:director
|
userType: 'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
worksiteList: [], //工地列表
|
||||||
|
worksiteIndex: 0, //当前选择
|
||||||
|
timeList: [], //加班时长列表
|
||||||
|
timeIndex: 0, //当前选择
|
||||||
|
remarks: '', //备注
|
||||||
|
date: getDate({
|
||||||
|
format: true }),
|
||||||
|
|
||||||
|
startDate: getDate('start'),
|
||||||
|
endDate: getDate('end'),
|
||||||
|
flag: true, //是否允许提交
|
||||||
|
isLoding: false //是否加载完成
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad: function onLoad() {
|
onLoad: function onLoad() {
|
||||||
|
// 获取工地列表
|
||||||
|
this.getWorksiteList();
|
||||||
|
|
||||||
|
// 获取加班时间
|
||||||
|
this.getTimeList();
|
||||||
},
|
},
|
||||||
methods: {} };exports.default = _default;
|
methods: {
|
||||||
|
// 获取工地列表
|
||||||
|
getWorksiteList: function getWorksiteList() {var _this = this;
|
||||||
|
this.$requst.get('/api/v1/common/worksite-list').then(function (res) {
|
||||||
|
if (res.code == 0) {
|
||||||
|
_this.worksiteList = res.data.list;
|
||||||
|
_this.isLoding = true;
|
||||||
|
} else {
|
||||||
|
_this.$toolAll.tools.showToast(res.msg);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
// 获取加班时间
|
||||||
|
getTimeList: function getTimeList() {
|
||||||
|
var timeArr = [];
|
||||||
|
for (var i = 1; i <= 48; i++) {
|
||||||
|
timeArr.push(i - 0.5, i);
|
||||||
|
}
|
||||||
|
this.timeList = timeArr;
|
||||||
|
},
|
||||||
|
|
||||||
|
// 提交加班
|
||||||
|
submitOvertime: function submitOvertime() {var _this2 = this;
|
||||||
|
if (this.flag) {
|
||||||
|
this.flag = false;
|
||||||
|
var params = {
|
||||||
|
day: this.date,
|
||||||
|
time: this.timeList[this.timeIndex],
|
||||||
|
worksite_id: this.worksiteList[this.worksiteIndex].id,
|
||||||
|
remarks: this.remarks };
|
||||||
|
|
||||||
|
this.$requst.post('/api/v1/worker/overtime', params).then(function (res) {
|
||||||
|
if (res.code == 0) {
|
||||||
|
_this2.$toolAll.tools.showToast('提交成功');
|
||||||
|
setTimeout(function () {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/worker/sign/sign' });
|
||||||
|
|
||||||
|
}, 1000);
|
||||||
|
} else {
|
||||||
|
_this2.$toolAll.tools.showToast(res.msg);
|
||||||
|
}
|
||||||
|
setTimeout(function () {
|
||||||
|
_this2.flag = true;
|
||||||
|
}, 2000);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// 选择工地
|
||||||
|
bindWorksiteChange: function bindWorksiteChange(e) {
|
||||||
|
this.worksiteIndex = e.detail.value;
|
||||||
|
},
|
||||||
|
|
||||||
|
// 选择日期
|
||||||
|
bindDateChange: function bindDateChange(e) {
|
||||||
|
this.date = e.detail.value;
|
||||||
|
},
|
||||||
|
|
||||||
|
// 选择加班时长
|
||||||
|
bindTimeChange: function bindTimeChange(e) {
|
||||||
|
this.timeIndex = e.detail.value;
|
||||||
|
} } };exports.default = _default;
|
||||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<view class="pad-x120 data-v-3f18b677"><status-nav vue-id="b802cd22-1" ifReturn="{{false}}" navBarTitle="加班" class="data-v-3f18b677" bind:__l="__l"></status-nav><tabbar vue-id="b802cd22-2" userType="{{userType}}" current="2" class="data-v-3f18b677" bind:__l="__l"></tabbar></view>
|
<view class="pad-x120 data-v-3f18b677"><status-nav vue-id="b802cd22-1" ifReturn="{{false}}" navBarTitle="加班提交" class="data-v-3f18b677" bind:__l="__l"></status-nav><block wx:if="{{isLoding}}"><view class="content data-v-3f18b677" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="overtime-from font26 data-v-3f18b677"><view class="item data-v-3f18b677"><view class="title data-v-3f18b677">工地</view><picker class="input data-v-3f18b677" mode="selector" range="{{worksiteList}}" value="{{worksiteIndex}}" range-key="name" data-event-opts="{{[['change',[['bindWorksiteChange',['$event']]]]]}}" bindchange="__e"><view class="name data-v-3f18b677"><text class="data-v-3f18b677">{{worksiteList[worksiteIndex].name}}</text><image src="/static/icon/icon-arrow-02.png" mode="aspectFit" class="data-v-3f18b677"></image></view></picker></view><view class="item data-v-3f18b677"><view class="title data-v-3f18b677">日期</view><picker class="input data-v-3f18b677" mode="date" range="{{date}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e"><view class="name data-v-3f18b677"><text class="data-v-3f18b677">{{$root.g0[0]+'年'+$root.g1[1]+'月'+$root.g2[2]+'日'}}</text><image src="/static/icon/icon-arrow-02.png" mode="aspectFit" class="data-v-3f18b677"></image></view></picker></view><view class="item data-v-3f18b677"><view class="title data-v-3f18b677">加班时长</view><view class="time-input data-v-3f18b677"><picker class="input data-v-3f18b677" mode="selector" range="{{timeList}}" value="{{timeIndex}}" data-event-opts="{{[['change',[['bindTimeChange',['$event']]]]]}}" bindchange="__e"><view class="name data-v-3f18b677"><text class="data-v-3f18b677">{{timeList[timeIndex]}}</text><image src="/static/icon/icon-arrow-02.png" mode="aspectFit" class="data-v-3f18b677"></image></view></picker><view class="unit font24 data-v-3f18b677">小时</view></view></view><view class="item data-v-3f18b677"><view class="title data-v-3f18b677">备注</view><textarea data-event-opts="{{[['input',[['__set_model',['','remarks','$event',[]]]]]]}}" class="input textarea data-v-3f18b677" value="{{remarks}}" bindinput="__e"></textarea></view><view data-event-opts="{{[['tap',[['submitOvertime',['$event']]]]]}}" class="submit-btn color-white font30 data-v-3f18b677" bindtap="__e">提交</view></view></view></block><tabbar vue-id="b802cd22-2" userType="{{userType}}" current="1" class="data-v-3f18b677" bind:__l="__l"></tabbar></view>
|
|
@ -326,7 +326,8 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
positionList: [], //技术岗位
|
positionList: [], //技术岗位
|
||||||
positionIndex: 0, //当前技术岗位
|
positionIndex: 0, //当前技术岗位
|
||||||
finish: false, //是否完成打卡
|
finish: false, //是否完成打卡
|
||||||
flag: true //是否能提交
|
flag: true, //是否能提交
|
||||||
|
isLoding: false //是否加载完成
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onPageScroll: function onPageScroll(object) {
|
onPageScroll: function onPageScroll(object) {
|
||||||
|
@ -411,6 +412,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
console.log(res, '定位工地信息');
|
console.log(res, '定位工地信息');
|
||||||
_this3.siteInfo = res.data;
|
_this3.siteInfo = res.data;
|
||||||
_this3.registerObj.worksite_id = res.data.id;
|
_this3.registerObj.worksite_id = res.data.id;
|
||||||
|
_this3.isLoding = true;
|
||||||
} else {
|
} else {
|
||||||
_this3.$toolAll.tools.showToast(res.msg);
|
_this3.$toolAll.tools.showToast(res.msg);
|
||||||
}
|
}
|
||||||
|
@ -500,7 +502,6 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
_this7.currentWeek = res.data.info.week;
|
_this7.currentWeek = res.data.info.week;
|
||||||
// 获取当前时间
|
// 获取当前时间
|
||||||
_this7.currenTime = res.data.info.now;
|
_this7.currenTime = res.data.info.now;
|
||||||
|
|
||||||
// 服务端时间处理
|
// 服务端时间处理
|
||||||
setInterval(function () {
|
setInterval(function () {
|
||||||
var nowArr = _this7.currenTime.split(':');
|
var nowArr = _this7.currenTime.split(':');
|
||||||
|
@ -533,7 +534,6 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
}
|
}
|
||||||
_this7.currenTime = "".concat(hour, ":").concat(minute, ":").concat(second);
|
_this7.currenTime = "".concat(hour, ":").concat(minute, ":").concat(second);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
// 获取打卡记录列表
|
// 获取打卡记录列表
|
||||||
_this7.signList = res.data.list;
|
_this7.signList = res.data.list;
|
||||||
}
|
}
|
||||||
|
@ -562,7 +562,6 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
_this8.finish = true;
|
_this8.finish = true;
|
||||||
// 获取打卡信息
|
// 获取打卡信息
|
||||||
_this8.getSignInfo();
|
_this8.getSignInfo();
|
||||||
|
|
||||||
// 延时改变打卡状态
|
// 延时改变打卡状态
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
_this8.finish = false;
|
_this8.finish = false;
|
||||||
|
|
|
@ -0,0 +1,324 @@
|
||||||
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/information/information"],{
|
||||||
|
|
||||||
|
/***/ 100:
|
||||||
|
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/information/information.vue?vue&type=template&id=dfef6176&scoped=true& ***!
|
||||||
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||||
|
var components
|
||||||
|
try {
|
||||||
|
components = {
|
||||||
|
statusNav: function() {
|
||||||
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 79))
|
||||||
|
},
|
||||||
|
tabbar: function() {
|
||||||
|
return Promise.all(/*! import() | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then(__webpack_require__.bind(null, /*! @/components/tabbar/tabbar.vue */ 86))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
if (
|
||||||
|
e.message.indexOf("Cannot find module") !== -1 &&
|
||||||
|
e.message.indexOf(".vue") !== -1
|
||||||
|
) {
|
||||||
|
console.error(e.message)
|
||||||
|
console.error("1. 排查组件名称拼写是否正确")
|
||||||
|
console.error(
|
||||||
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||||
|
)
|
||||||
|
console.error(
|
||||||
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var render = function() {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
}
|
||||||
|
var recyclableRender = false
|
||||||
|
var staticRenderFns = []
|
||||||
|
render._withStripped = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 101:
|
||||||
|
/*!************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/information/information.vue?vue&type=script&lang=js& ***!
|
||||||
|
\************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./information.vue?vue&type=script&lang=js& */ 102);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 102:
|
||||||
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/information/information.vue?vue&type=script&lang=js& ***!
|
||||||
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
components: {
|
||||||
|
tabbar: tabbar },
|
||||||
|
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType: 'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
userInfo: {}, //用户信息
|
||||||
|
editTitle: '', //修改标题
|
||||||
|
editMsg: '', //修改内容
|
||||||
|
field: '', //修改栏目
|
||||||
|
ifShow: false, //是否展示弹窗
|
||||||
|
isLoding: false //是否记载完成
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad: function onLoad() {
|
||||||
|
// 获取用户信息
|
||||||
|
this.getUserInfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 获取用户信息
|
||||||
|
getUserInfo: function getUserInfo() {var _this = this;
|
||||||
|
this.$requst.post('/api/v1/user/info').then(function (res) {
|
||||||
|
if (res.code == 0) {
|
||||||
|
console.log(res, '用户信息');
|
||||||
|
_this.userInfo = res.data;
|
||||||
|
_this.isLoding = true;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
// 打开修改弹窗
|
||||||
|
editEv: function editEv(num, type) {
|
||||||
|
this.ifShow = true;
|
||||||
|
this.field = type;
|
||||||
|
switch (num) {
|
||||||
|
case 0:
|
||||||
|
this.editTitle = '昵称';
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
this.editTitle = '技术岗位';
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
this.editTitle = '工资';
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
this.editTitle = '姓名';
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
this.editTitle = '电话号码';
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
this.editTitle = '紧急联系人';
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
this.editTitle = '联系人电话';
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
this.editTitle = '银行卡姓名';
|
||||||
|
break;
|
||||||
|
case 8:
|
||||||
|
this.editTitle = '银行卡账号';
|
||||||
|
break;
|
||||||
|
case 9:
|
||||||
|
this.editTitle = '开户行';
|
||||||
|
break;}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
// 提交修改
|
||||||
|
submitEv: function submitEv() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
// 关闭修改弹窗
|
||||||
|
closeEdit: function closeEdit() {
|
||||||
|
this.ifShow = false;
|
||||||
|
this.editTitle = '';
|
||||||
|
this.field = '';
|
||||||
|
} } };exports.default = _default;
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 97:
|
||||||
|
/*!******************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/main.js?{"page":"pagesA%2Finformation%2Finformation"} ***!
|
||||||
|
\******************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||||
|
|
||||||
|
|
||||||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||||
|
var _information = _interopRequireDefault(__webpack_require__(/*! ./pagesA/information/information.vue */ 98));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_information.default);
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 98:
|
||||||
|
/*!***********************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/information/information.vue ***!
|
||||||
|
\***********************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./information.vue?vue&type=template&id=dfef6176&scoped=true& */ 99);
|
||||||
|
/* harmony import */ var _information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./information.vue?vue&type=script&lang=js& */ 101);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||||
|
|
||||||
|
var renderjs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* normalize component */
|
||||||
|
|
||||||
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||||
|
_information_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||||
|
_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
"dfef6176",
|
||||||
|
null,
|
||||||
|
false,
|
||||||
|
_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||||
|
renderjs
|
||||||
|
)
|
||||||
|
|
||||||
|
component.options.__file = "pagesA/information/information.vue"
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 99:
|
||||||
|
/*!******************************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/information/information.vue?vue&type=template&id=dfef6176&scoped=true& ***!
|
||||||
|
\******************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./information.vue?vue&type=template&id=dfef6176&scoped=true& */ 100);
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_information_vue_vue_type_template_id_dfef6176_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
},[[97,"common/runtime","common/vendor"]]]);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/information/information.js.map
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "基本信息",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {
|
||||||
|
"status-nav": "/components/status-nav/status-nav",
|
||||||
|
"tabbar": "/components/tabbar/tabbar"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="pad-x120 data-v-dfef6176"><status-nav vue-id="71021a61-1" navBarTitle="基本信息" class="data-v-dfef6176" bind:__l="__l"></status-nav><block wx:if="{{isLoding}}"><view class="content data-v-dfef6176" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="information-from font26 data-v-dfef6176"><view class="item data-v-dfef6176"><view class="title data-v-dfef6176">头像</view><view class="cover data-v-dfef6176"><image src="{{userInfo.headimgurl}}" mode="aspectFit" class="data-v-dfef6176"></image></view></view><view data-event-opts="{{[['tap',[['editEv',[0,'nickname']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">昵称</view><view class="msg font24 data-v-dfef6176">{{userInfo.nickname}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[1,'position_name']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">技术岗位</view><view class="msg font24 data-v-dfef6176">{{userInfo.position_name}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[2,'pay']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">工资</view><view class="msg font24 data-v-dfef6176">{{userInfo.pay}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[3,'real_name']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">姓名</view><view class="msg font24 data-v-dfef6176">{{userInfo.real_name}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[4,'mobile']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">电话号码</view><view class="msg font24 data-v-dfef6176">{{userInfo.mobile}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[5,'emergency_contact']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">紧急联系人</view><view class="msg font24 data-v-dfef6176">{{userInfo.emergency_contact}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[6,'emergency_phone']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">联系人电话</view><view class="msg font24 data-v-dfef6176">{{userInfo.emergency_phone}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[7,'bank_card_name']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">银行卡姓名</view><view class="msg font24 data-v-dfef6176">{{userInfo.bank_card_name}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[8,'bank_card_number']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">银行卡账号</view><view class="msg font24 data-v-dfef6176">{{userInfo.bank_card_number}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view><view data-event-opts="{{[['tap',[['editEv',[9,'bank_name']]]]]}}" class="item data-v-dfef6176" bindtap="__e"><view class="title data-v-dfef6176">开户行</view><view class="msg font24 data-v-dfef6176">{{userInfo.bank_name}}</view><image src="/static/icon/icon-arrow-03.png" mode="aspectFit" class="data-v-dfef6176"></image></view></view></view></block><block wx:if="{{ifShow}}"><view data-event-opts="{{[['tap',[['closeEdit',['$event']]]]]}}" class="pop-up-bg data-v-dfef6176" catchtap="__e"><view class="edit-box bg-white data-v-dfef6176"><view data-event-opts="{{[['tap',[['closeEdit',['$event']]]]]}}" class="close-btn font30 color-66 data-v-dfef6176" catchtap="__e"></view><view class="title font34 data-v-dfef6176">{{editTitle}}</view><input type="text" class="data-v-dfef6176"/><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="submit-btn font30 data-v-dfef6176" catchtap="__e">提交</view></view></view></block><tabbar vue-id="71021a61-2" userType="{{userType}}" current="2" class="data-v-dfef6176" bind:__l="__l"></tabbar></view>
|
|
@ -0,0 +1 @@
|
||||||
|
/* pagesA/information/information.wxss */
|
|
@ -0,0 +1,191 @@
|
||||||
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/overtimeEdit/overtimeEdit"],{
|
||||||
|
|
||||||
|
/***/ 127:
|
||||||
|
/*!********************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/main.js?{"page":"pagesA%2FovertimeEdit%2FovertimeEdit"} ***!
|
||||||
|
\********************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||||
|
|
||||||
|
|
||||||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||||
|
var _overtimeEdit = _interopRequireDefault(__webpack_require__(/*! ./pagesA/overtimeEdit/overtimeEdit.vue */ 128));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_overtimeEdit.default);
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 128:
|
||||||
|
/*!*************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeEdit/overtimeEdit.vue ***!
|
||||||
|
\*************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./overtimeEdit.vue?vue&type=template&id=74c4b20b&scoped=true& */ 129);
|
||||||
|
/* harmony import */ var _overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./overtimeEdit.vue?vue&type=script&lang=js& */ 131);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||||
|
|
||||||
|
var renderjs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* normalize component */
|
||||||
|
|
||||||
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||||
|
_overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||||
|
_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
"74c4b20b",
|
||||||
|
null,
|
||||||
|
false,
|
||||||
|
_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||||
|
renderjs
|
||||||
|
)
|
||||||
|
|
||||||
|
component.options.__file = "pagesA/overtimeEdit/overtimeEdit.vue"
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 129:
|
||||||
|
/*!********************************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeEdit/overtimeEdit.vue?vue&type=template&id=74c4b20b&scoped=true& ***!
|
||||||
|
\********************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./overtimeEdit.vue?vue&type=template&id=74c4b20b&scoped=true& */ 130);
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_template_id_74c4b20b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 130:
|
||||||
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeEdit/overtimeEdit.vue?vue&type=template&id=74c4b20b&scoped=true& ***!
|
||||||
|
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||||
|
var components
|
||||||
|
try {
|
||||||
|
components = {
|
||||||
|
statusNav: function() {
|
||||||
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 79))
|
||||||
|
},
|
||||||
|
tabbar: function() {
|
||||||
|
return Promise.all(/*! import() | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then(__webpack_require__.bind(null, /*! @/components/tabbar/tabbar.vue */ 86))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
if (
|
||||||
|
e.message.indexOf("Cannot find module") !== -1 &&
|
||||||
|
e.message.indexOf(".vue") !== -1
|
||||||
|
) {
|
||||||
|
console.error(e.message)
|
||||||
|
console.error("1. 排查组件名称拼写是否正确")
|
||||||
|
console.error(
|
||||||
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||||
|
)
|
||||||
|
console.error(
|
||||||
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var render = function() {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
}
|
||||||
|
var recyclableRender = false
|
||||||
|
var staticRenderFns = []
|
||||||
|
render._withStripped = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 131:
|
||||||
|
/*!**************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeEdit/overtimeEdit.vue?vue&type=script&lang=js& ***!
|
||||||
|
\**************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./overtimeEdit.vue?vue&type=script&lang=js& */ 132);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 132:
|
||||||
|
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeEdit/overtimeEdit.vue?vue&type=script&lang=js& ***!
|
||||||
|
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
components: {
|
||||||
|
tabbar: tabbar },
|
||||||
|
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType: 'worker' //账户类型 工人:worker 负责人:director
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad: function onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {} };exports.default = _default;
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
},[[127,"common/runtime","common/vendor"]]]);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/overtimeEdit/overtimeEdit.js.map
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "编辑加班",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {
|
||||||
|
"status-nav": "/components/status-nav/status-nav",
|
||||||
|
"tabbar": "/components/tabbar/tabbar"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="pad-x120 data-v-74c4b20b"><status-nav vue-id="23d2105b-1" navBarTitle="编辑加班" class="data-v-74c4b20b" bind:__l="__l"></status-nav><view class="content data-v-74c4b20b" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"></view><tabbar vue-id="23d2105b-2" userType="{{userType}}" current="2" class="data-v-74c4b20b" bind:__l="__l"></tabbar></view>
|
|
@ -0,0 +1 @@
|
||||||
|
/* pagesA/overtimeEdit/overtimeEdit.wxss */
|
|
@ -0,0 +1,191 @@
|
||||||
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/overtimeRecord/overtimeRecord"],{
|
||||||
|
|
||||||
|
/***/ 115:
|
||||||
|
/*!************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/main.js?{"page":"pagesA%2FovertimeRecord%2FovertimeRecord"} ***!
|
||||||
|
\************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||||
|
|
||||||
|
|
||||||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||||
|
var _overtimeRecord = _interopRequireDefault(__webpack_require__(/*! ./pagesA/overtimeRecord/overtimeRecord.vue */ 116));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_overtimeRecord.default);
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 116:
|
||||||
|
/*!*****************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeRecord/overtimeRecord.vue ***!
|
||||||
|
\*****************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./overtimeRecord.vue?vue&type=template&id=49bbbfaa&scoped=true& */ 117);
|
||||||
|
/* harmony import */ var _overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./overtimeRecord.vue?vue&type=script&lang=js& */ 119);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||||
|
|
||||||
|
var renderjs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* normalize component */
|
||||||
|
|
||||||
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||||
|
_overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||||
|
_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
"49bbbfaa",
|
||||||
|
null,
|
||||||
|
false,
|
||||||
|
_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||||
|
renderjs
|
||||||
|
)
|
||||||
|
|
||||||
|
component.options.__file = "pagesA/overtimeRecord/overtimeRecord.vue"
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 117:
|
||||||
|
/*!************************************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeRecord/overtimeRecord.vue?vue&type=template&id=49bbbfaa&scoped=true& ***!
|
||||||
|
\************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./overtimeRecord.vue?vue&type=template&id=49bbbfaa&scoped=true& */ 118);
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_template_id_49bbbfaa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 118:
|
||||||
|
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeRecord/overtimeRecord.vue?vue&type=template&id=49bbbfaa&scoped=true& ***!
|
||||||
|
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||||
|
var components
|
||||||
|
try {
|
||||||
|
components = {
|
||||||
|
statusNav: function() {
|
||||||
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 79))
|
||||||
|
},
|
||||||
|
tabbar: function() {
|
||||||
|
return Promise.all(/*! import() | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then(__webpack_require__.bind(null, /*! @/components/tabbar/tabbar.vue */ 86))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
if (
|
||||||
|
e.message.indexOf("Cannot find module") !== -1 &&
|
||||||
|
e.message.indexOf(".vue") !== -1
|
||||||
|
) {
|
||||||
|
console.error(e.message)
|
||||||
|
console.error("1. 排查组件名称拼写是否正确")
|
||||||
|
console.error(
|
||||||
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||||
|
)
|
||||||
|
console.error(
|
||||||
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var render = function() {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
}
|
||||||
|
var recyclableRender = false
|
||||||
|
var staticRenderFns = []
|
||||||
|
render._withStripped = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 119:
|
||||||
|
/*!******************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeRecord/overtimeRecord.vue?vue&type=script&lang=js& ***!
|
||||||
|
\******************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./overtimeRecord.vue?vue&type=script&lang=js& */ 120);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_overtimeRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 120:
|
||||||
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/overtimeRecord/overtimeRecord.vue?vue&type=script&lang=js& ***!
|
||||||
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
components: {
|
||||||
|
tabbar: tabbar },
|
||||||
|
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType: 'worker' //账户类型 工人:worker 负责人:director
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad: function onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {} };exports.default = _default;
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
},[[115,"common/runtime","common/vendor"]]]);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/overtimeRecord/overtimeRecord.js.map
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "加班记录",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {
|
||||||
|
"status-nav": "/components/status-nav/status-nav",
|
||||||
|
"tabbar": "/components/tabbar/tabbar"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="pad-x120 data-v-49bbbfaa"><status-nav vue-id="edbb338a-1" navBarTitle="加班记录" class="data-v-49bbbfaa" bind:__l="__l"></status-nav><view class="content data-v-49bbbfaa" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"></view><tabbar vue-id="edbb338a-2" userType="{{userType}}" current="2" class="data-v-49bbbfaa" bind:__l="__l"></tabbar></view>
|
|
@ -0,0 +1 @@
|
||||||
|
/* pagesA/overtimeRecord/overtimeRecord.wxss */
|
|
@ -0,0 +1,191 @@
|
||||||
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/signRecord/signRecord"],{
|
||||||
|
|
||||||
|
/***/ 103:
|
||||||
|
/*!****************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/main.js?{"page":"pagesA%2FsignRecord%2FsignRecord"} ***!
|
||||||
|
\****************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||||
|
|
||||||
|
|
||||||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||||
|
var _signRecord = _interopRequireDefault(__webpack_require__(/*! ./pagesA/signRecord/signRecord.vue */ 104));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_signRecord.default);
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 104:
|
||||||
|
/*!*********************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/signRecord/signRecord.vue ***!
|
||||||
|
\*********************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./signRecord.vue?vue&type=template&id=11e99daa&scoped=true& */ 105);
|
||||||
|
/* harmony import */ var _signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./signRecord.vue?vue&type=script&lang=js& */ 107);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||||
|
|
||||||
|
var renderjs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* normalize component */
|
||||||
|
|
||||||
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||||
|
_signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||||
|
_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
"11e99daa",
|
||||||
|
null,
|
||||||
|
false,
|
||||||
|
_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||||
|
renderjs
|
||||||
|
)
|
||||||
|
|
||||||
|
component.options.__file = "pagesA/signRecord/signRecord.vue"
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 105:
|
||||||
|
/*!****************************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/signRecord/signRecord.vue?vue&type=template&id=11e99daa&scoped=true& ***!
|
||||||
|
\****************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./signRecord.vue?vue&type=template&id=11e99daa&scoped=true& */ 106);
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_template_id_11e99daa_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 106:
|
||||||
|
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/signRecord/signRecord.vue?vue&type=template&id=11e99daa&scoped=true& ***!
|
||||||
|
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||||
|
var components
|
||||||
|
try {
|
||||||
|
components = {
|
||||||
|
statusNav: function() {
|
||||||
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 79))
|
||||||
|
},
|
||||||
|
tabbar: function() {
|
||||||
|
return Promise.all(/*! import() | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then(__webpack_require__.bind(null, /*! @/components/tabbar/tabbar.vue */ 86))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
if (
|
||||||
|
e.message.indexOf("Cannot find module") !== -1 &&
|
||||||
|
e.message.indexOf(".vue") !== -1
|
||||||
|
) {
|
||||||
|
console.error(e.message)
|
||||||
|
console.error("1. 排查组件名称拼写是否正确")
|
||||||
|
console.error(
|
||||||
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||||
|
)
|
||||||
|
console.error(
|
||||||
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var render = function() {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
}
|
||||||
|
var recyclableRender = false
|
||||||
|
var staticRenderFns = []
|
||||||
|
render._withStripped = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 107:
|
||||||
|
/*!**********************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/signRecord/signRecord.vue?vue&type=script&lang=js& ***!
|
||||||
|
\**********************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./signRecord.vue?vue&type=script&lang=js& */ 108);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 108:
|
||||||
|
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/signRecord/signRecord.vue?vue&type=script&lang=js& ***!
|
||||||
|
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
components: {
|
||||||
|
tabbar: tabbar },
|
||||||
|
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType: 'worker' //账户类型 工人:worker 负责人:director
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad: function onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {} };exports.default = _default;
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
},[[103,"common/runtime","common/vendor"]]]);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/signRecord/signRecord.js.map
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "打卡记录",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {
|
||||||
|
"status-nav": "/components/status-nav/status-nav",
|
||||||
|
"tabbar": "/components/tabbar/tabbar"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="pad-x120 data-v-11e99daa"><status-nav vue-id="2b49158a-1" navBarTitle="打卡记录" class="data-v-11e99daa" bind:__l="__l"></status-nav><view class="content data-v-11e99daa" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"></view><tabbar vue-id="2b49158a-2" userType="{{userType}}" current="2" class="data-v-11e99daa" bind:__l="__l"></tabbar></view>
|
|
@ -0,0 +1 @@
|
||||||
|
/* pagesA/signRecord/signRecord.wxss */
|
|
@ -0,0 +1,200 @@
|
||||||
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/singlePage/singlePage"],{
|
||||||
|
|
||||||
|
/***/ 121:
|
||||||
|
/*!****************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/main.js?{"page":"pagesA%2FsinglePage%2FsinglePage"} ***!
|
||||||
|
\****************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||||
|
|
||||||
|
|
||||||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||||
|
var _singlePage = _interopRequireDefault(__webpack_require__(/*! ./pagesA/singlePage/singlePage.vue */ 122));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_singlePage.default);
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 122:
|
||||||
|
/*!*********************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/singlePage/singlePage.vue ***!
|
||||||
|
\*********************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./singlePage.vue?vue&type=template&id=44f8418b&scoped=true& */ 123);
|
||||||
|
/* harmony import */ var _singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./singlePage.vue?vue&type=script&lang=js& */ 125);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||||
|
|
||||||
|
var renderjs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* normalize component */
|
||||||
|
|
||||||
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||||
|
_singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||||
|
_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
"44f8418b",
|
||||||
|
null,
|
||||||
|
false,
|
||||||
|
_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||||
|
renderjs
|
||||||
|
)
|
||||||
|
|
||||||
|
component.options.__file = "pagesA/singlePage/singlePage.vue"
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 123:
|
||||||
|
/*!****************************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/singlePage/singlePage.vue?vue&type=template&id=44f8418b&scoped=true& ***!
|
||||||
|
\****************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./singlePage.vue?vue&type=template&id=44f8418b&scoped=true& */ 124);
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_template_id_44f8418b_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 124:
|
||||||
|
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/singlePage/singlePage.vue?vue&type=template&id=44f8418b&scoped=true& ***!
|
||||||
|
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||||
|
var components
|
||||||
|
try {
|
||||||
|
components = {
|
||||||
|
statusNav: function() {
|
||||||
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 79))
|
||||||
|
},
|
||||||
|
tabbar: function() {
|
||||||
|
return Promise.all(/*! import() | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then(__webpack_require__.bind(null, /*! @/components/tabbar/tabbar.vue */ 86))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
if (
|
||||||
|
e.message.indexOf("Cannot find module") !== -1 &&
|
||||||
|
e.message.indexOf(".vue") !== -1
|
||||||
|
) {
|
||||||
|
console.error(e.message)
|
||||||
|
console.error("1. 排查组件名称拼写是否正确")
|
||||||
|
console.error(
|
||||||
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||||
|
)
|
||||||
|
console.error(
|
||||||
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var render = function() {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
}
|
||||||
|
var recyclableRender = false
|
||||||
|
var staticRenderFns = []
|
||||||
|
render._withStripped = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 125:
|
||||||
|
/*!**********************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/singlePage/singlePage.vue?vue&type=script&lang=js& ***!
|
||||||
|
\**********************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./singlePage.vue?vue&type=script&lang=js& */ 126);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_singlePage_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 126:
|
||||||
|
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/singlePage/singlePage.vue?vue&type=script&lang=js& ***!
|
||||||
|
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
components: {
|
||||||
|
tabbar: tabbar },
|
||||||
|
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType: 'worker', //账户类型 工人:worker 负责人:director
|
||||||
|
pageTitle: '' //页面标题
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad: function onLoad(op) {
|
||||||
|
if (op.type == 'manual') {
|
||||||
|
this.pageTitle = '员工手册';
|
||||||
|
}
|
||||||
|
if (op.type == 'security') {
|
||||||
|
this.pageTitle = '安全公告';
|
||||||
|
}
|
||||||
|
if (op.type == 'notice') {
|
||||||
|
this.pageTitle = '公告';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {} };exports.default = _default;
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
},[[121,"common/runtime","common/vendor"]]]);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/singlePage/singlePage.js.map
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {
|
||||||
|
"status-nav": "/components/status-nav/status-nav",
|
||||||
|
"tabbar": "/components/tabbar/tabbar"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="pad-x120 data-v-44f8418b"><status-nav vue-id="5a1070db-1" navBarTitle="{{pageTitle}}" class="data-v-44f8418b" bind:__l="__l"></status-nav><view class="content data-v-44f8418b" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"></view><tabbar vue-id="5a1070db-2" userType="{{userType}}" current="2" class="data-v-44f8418b" bind:__l="__l"></tabbar></view>
|
|
@ -0,0 +1 @@
|
||||||
|
/* pagesA/singlePage/singlePage.wxss */
|
|
@ -0,0 +1,191 @@
|
||||||
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/wagesRecord/wagesRecord"],{
|
||||||
|
|
||||||
|
/***/ 109:
|
||||||
|
/*!******************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/main.js?{"page":"pagesA%2FwagesRecord%2FwagesRecord"} ***!
|
||||||
|
\******************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||||
|
|
||||||
|
|
||||||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||||
|
var _wagesRecord = _interopRequireDefault(__webpack_require__(/*! ./pagesA/wagesRecord/wagesRecord.vue */ 110));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_wagesRecord.default);
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 110:
|
||||||
|
/*!***********************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/wagesRecord/wagesRecord.vue ***!
|
||||||
|
\***********************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wagesRecord.vue?vue&type=template&id=8835a436&scoped=true& */ 111);
|
||||||
|
/* harmony import */ var _wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wagesRecord.vue?vue&type=script&lang=js& */ 113);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||||
|
|
||||||
|
var renderjs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* normalize component */
|
||||||
|
|
||||||
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||||
|
_wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||||
|
_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
"8835a436",
|
||||||
|
null,
|
||||||
|
false,
|
||||||
|
_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||||
|
renderjs
|
||||||
|
)
|
||||||
|
|
||||||
|
component.options.__file = "pagesA/wagesRecord/wagesRecord.vue"
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 111:
|
||||||
|
/*!******************************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/wagesRecord/wagesRecord.vue?vue&type=template&id=8835a436&scoped=true& ***!
|
||||||
|
\******************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wagesRecord.vue?vue&type=template&id=8835a436&scoped=true& */ 112);
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_template_id_8835a436_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 112:
|
||||||
|
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/wagesRecord/wagesRecord.vue?vue&type=template&id=8835a436&scoped=true& ***!
|
||||||
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||||
|
var components
|
||||||
|
try {
|
||||||
|
components = {
|
||||||
|
statusNav: function() {
|
||||||
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 79))
|
||||||
|
},
|
||||||
|
tabbar: function() {
|
||||||
|
return Promise.all(/*! import() | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then(__webpack_require__.bind(null, /*! @/components/tabbar/tabbar.vue */ 86))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
if (
|
||||||
|
e.message.indexOf("Cannot find module") !== -1 &&
|
||||||
|
e.message.indexOf(".vue") !== -1
|
||||||
|
) {
|
||||||
|
console.error(e.message)
|
||||||
|
console.error("1. 排查组件名称拼写是否正确")
|
||||||
|
console.error(
|
||||||
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||||
|
)
|
||||||
|
console.error(
|
||||||
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var render = function() {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
}
|
||||||
|
var recyclableRender = false
|
||||||
|
var staticRenderFns = []
|
||||||
|
render._withStripped = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 113:
|
||||||
|
/*!************************************************************************************************!*\
|
||||||
|
!*** D:/Lee/工地打卡小程序/building-sign/pagesA/wagesRecord/wagesRecord.vue?vue&type=script&lang=js& ***!
|
||||||
|
\************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wagesRecord.vue?vue&type=script&lang=js& */ 114);
|
||||||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wagesRecord_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 114:
|
||||||
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/Lee/工地打卡小程序/building-sign/pagesA/wagesRecord/wagesRecord.vue?vue&type=script&lang=js& ***!
|
||||||
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var tabbar = function tabbar() {Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 86));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
components: {
|
||||||
|
tabbar: tabbar },
|
||||||
|
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
||||||
|
userType: 'worker' //账户类型 工人:worker 负责人:director
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad: function onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {} };exports.default = _default;
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
},[[109,"common/runtime","common/vendor"]]]);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/wagesRecord/wagesRecord.js.map
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "工资记录",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {
|
||||||
|
"status-nav": "/components/status-nav/status-nav",
|
||||||
|
"tabbar": "/components/tabbar/tabbar"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="pad-x120 data-v-8835a436"><status-nav vue-id="7e7de07e-1" navBarTitle="工资记录" class="data-v-8835a436" bind:__l="__l"></status-nav><view class="content data-v-8835a436" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"></view><tabbar vue-id="7e7de07e-2" userType="{{userType}}" current="2" class="data-v-8835a436" bind:__l="__l"></tabbar></view>
|
|
@ -0,0 +1 @@
|
||||||
|
/* pagesA/wagesRecord/wagesRecord.wxss */
|
|
@ -9,6 +9,27 @@
|
||||||
"query": "",
|
"query": "",
|
||||||
"launchMode": "default",
|
"launchMode": "default",
|
||||||
"scene": null
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"pathName": "pages/worker/overtime/overtime",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"pathName": "pages/worker/my/my",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"pathName": "pagesA/information/information",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1012 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 17 KiB |