@2021-05-12 修改工资分类明细

员工业绩提成分类明细
master
十七 5 years ago
parent 99a2636ffe
commit 968d228e2d

@ -2,6 +2,8 @@ import Vue from 'vue'
import App from './App'
import api from './model/index.js'
import tabBar from "./pages/tab/tab"
import formatTime from './utils/filters.js'
Vue.prototype.formatTime=formatTime
Vue.component('tabBar', tabBar)
Vue.prototype.$api = api
Vue.config.productionTip = false

@ -3,7 +3,7 @@
"appid" : "__UNI__4D77F26",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"versionCode" : 100,
"transformPx" : false,
/* 5+App */
"app-plus" : {

@ -87,6 +87,10 @@ module.exports = {
achiCommList(data){
return request('/demay/ssm/staff/achiCommList','post',data);
},
// 门店员工业绩提成分类统计列表 APP端-员工-门店员工业绩提成分类统计列表
achiCommClassifyList(data){
return request('/demay/ssm/staff/achiCommClassifyList','post',data);
},
// 查询门店员工会员评价记录list 会员微信小程序-查询门店员工会员评价记录list
selectMemberCsByStaff(data){
return request('/demay/ssm/memberCs/selectMemberCsByStaff','post',data);

@ -99,7 +99,7 @@
"path": "pages/tabBar/myHome/myHome",
"style": {
"navigationBarTitleText": "首页",
"navigationBarTitleText": "工作台",
"enablePullDownRefresh": true,
"app-plus": {
"bounce": "vertical",
@ -533,6 +533,24 @@
}
}
,{
"path" : "pages/tabBar/homePage/homePage",
"style" :
{
"navigationBarTitleText": "主页",
"enablePullDownRefresh": true
}
}
,{
"path" : "pages/tabBar/myHome/client-follow/client-calendar/client-calendar",
"style" :
{
"navigationBarTitleText": "会员消费记录",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
@ -545,11 +563,17 @@
"selectedColor": "#e83131",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/tabBar/myHome/myHome",
"list": [
{
"pagePath": "pages/tabBar/homePage/homePage",
"iconPath": "static/image/home.png",
"selectedIconPath": "static/image/home-select.png",
"text": "首页"
},{
"pagePath": "pages/tabBar/myHome/myHome",
"iconPath": "static/image/work(1).png",
"selectedIconPath": "static/image/work-select(1).png",
"text": "工作台"
}, {
"pagePath": "pages/tabBar/mySet/mySet",
"iconPath": "static/image/my.png",

@ -20,7 +20,8 @@
<!-- 上面使用的是字体图标解决切换页面的时候图标会闪的效果毕竟每切换一个页面都会闪一下不太好看可以切换使用下面的图片方式 -->
<view v-if="false" class="uni-tabbar__bd">
<view class="uni-tabbar__icon">
<image v-if="item.pagePath == pagePath" class="uni-w-42 uni-h-42" mode="aspectFit" :src="item.selectedIconPath"></image>
<image v-if="item.pagePath == pagePath" class="uni-w-42 uni-h-42" mode="aspectFit"
:src="item.selectedIconPath"></image>
<image v-else class="uni-w-42 uni-h-42" mode="aspectFit" :src="item.iconPath"></image>
</view>
</view>
@ -41,14 +42,13 @@
page: 'contact',
showPage: false,
containerHeight: 400,
tabbar: [
{
"pagePath": "/pages/tabBar/home/home",
"iconPath": "/static/tabBar/home.png",
"selectedIconPath": "/static/tabBar/home_col.png",
"text": "首页",
tabbar: [{
"pagePath": "/pages/tabBar/myHome/myHome",
"iconPath": "/static/image/home-select.png",
"selectedIconPath": "/static/image/home-select.png",
"text": "管理",
"fontIcon": "icon-shouye"
},            //
}, //
// {
// "pagePath": "/pages/tabBar/manage/manage",
// "iconPath": "/static/tabBar/home.png",
@ -57,9 +57,9 @@
// "fontIcon": "icon-guanli"
// },
{
"pagePath": "/pages/tabBar/person/person",
"iconPath": "/static/tabBar/person.png",
"selectedIconPath": "/static/tabBar/person_col.png",
"pagePath": "/pages/tabBar/mySet/mySet",
"iconPath": "/static/image/home-select.png",
"selectedIconPath": "/static/image/home-select.png",
"text": "我的",
"fontIcon": "icon-wode"
}
@ -69,20 +69,18 @@
mounted() {
// true
if (true) {
this.tabbar.splice(1,0,
{
"pagePath": "/pages/tabBar/manage/manage",
"iconPath": "/static/tabBar/home.png",
"selectedIconPath": "/static/tabBar/home_col.png",
"text": "管理",
this.tabbar.splice(0, 0, {
"pagePath": "/pages/tabBar/homePage/homePage",
"iconPath": "/static/image/home-select.png",
"selectedIconPath": "/static/image/home-select.png",
"text": "主页",
"fontIcon": "icon-guanli"
}
)
})
}
},
methods: {
changeTab(item) {
this.page = item.pagePath;          // 使reLaunch
this.page = item.pagePath; // 使reLaunch
uni.reLaunch({
url: this.page
});
@ -92,12 +90,17 @@
</script>
<style lang="scss" scoped>
[nvue] uni-scroll-view, [nvue] uni-swiper-item, [nvue] uni-view {
[nvue] uni-scroll-view,
[nvue] uni-swiper-item,
[nvue] uni-view {
flex-direction: unset;
}
[nvue-dir-column] uni-swiper-item, [nvue-dir-column] uni-view {
[nvue-dir-column] uni-swiper-item,
[nvue-dir-column] uni-view {
flex-direction: unset;
}
.uni-tabbar {
position: fixed;
bottom: 0;
@ -111,27 +114,32 @@
border-top: solid 1upx #ccc;
background-color: #fff;
box-shadow: 0px 0px 17upx 1upx rgba(206, 206, 206, 0.32);
}
.uni-tabbar__item {
display: block;
line-height: 24upx;
font-size: 20upx;
text-align: center;
}
.uni-tabbar__icon {
height: 42upx;
line-height: 42upx;
text-align: center;
}
.icon {
display: inline-block;
}
.uni-tabbar__label {
line-height: 24upx;
font-size: 24upx;
color: #999;
&.active {
color: #1ca6ec;
}
}
.uni-tabbar__label:active {
color: #1ca6ec;
}
</style>

@ -0,0 +1,162 @@
<template>
<view>
<swiper class="card-swiper" :class="dotStyle?'square-dot':'round-dot'" :indicator-dots="true" :circular="true"
:autoplay="true" interval="3000" duration="0" @change="cardSwiper" indicator-color="#8799a3" indicator-active-color="#0081ff">
<swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur==index?'cur':''">
<view class="swiper-item">
<!-- <navigator :url="'resevation-project/resevation-project?item=' + JSON.stringify(item)"> -->
<image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
<video :src="item.url" autoplay loop muted :show-play-btn="false" :controls="false" objectFit="cover" v-if="item.type=='video'"></video>
<!-- </navigator> -->
</view>
</swiper-item>
</swiper>
<view class="cu-list menu-avatar">
<view class="cu-item">
<view class="cu-avatar round lg" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg);"></view>
<view class="content">
<view class="text-grey">凯尔</view>
<view class="text-gray text-sm flex">
<view class="text-cut">
<text class="cuIcon-vip text-green margin-right-xs"></text>
我已天理为凭踏入这片荒芜不再受凡人的枷锁遏制我已天理为凭踏入这片荒芜不再受凡人的枷锁遏制
</view> </view>
</view>
<view class="action">
<view class="text-grey text-xs">22:20</view>
<view class=" cuIcon-vip sm"></view>
</view>
</view>
<view class="cu-item">
<view class="cu-avatar round lg" style="background-image:url(https://ossweb-img.qq.com/images/lol/img/champion/Taric.png);">
</view>
<view class="content">
<view class="text-grey">
<view class="text-cut">瓦洛兰之盾-塔里克</view>
<view class="text-orange margin-left cuIcon-vipcard"></view>
</view>
<view class="text-gray text-sm flex">
<view class="text-cut">
塔里克是保护者星灵用超乎寻常的力量守护着符文之地的生命仁爱以及万物之美塔里克由于渎职而被放逐离开了祖国德玛西亚前去攀登巨神峰寻找救赎但他找到的却是来自星界的更高层的召唤现在的塔里克与古代巨神族的神力相融合以瓦洛兰之盾的身份永不疲倦地警惕着阴险狡诈的虚空腐化之力
</view>
</view>
</view>
<view class="action">
<view class="text-grey text-xs">22:20</view>
<view class="cuIcon-vip text-gray"></view>
</view>
</view>
<view class="cu-item ">
<view class="cu-avatar radius lg" style="background-image:url(https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png);"></view>
<view class="content">
<view class="text-pink"><view class="text-cut">莫甘娜</view></view>
<view class="text-gray text-sm flex"> <view class="text-cut">凯尔你被自己的光芒变的盲目</view></view>
</view>
<view class="action">
<view class="text-grey text-xs">22:20</view>
<view class="cu-tag round bg-red sm cuIcon-vip"></view>
</view>
</view>
<view class="cu-item grayscale">
<view class="cu-avatar radius lg" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big81007.jpg);"></view>
<view class="content">
<view><view class="text-cut">伊泽瑞尔</view>
<view class="cu-tag round bg-red sm">new</view>
</view>
<view class="text-gray text-sm flex"> <view class="text-cut"> 等我回来一个打十个</view></view>
</view>
<view class="action">
<view class="text-grey text-xs">22:20</view>
<view class="cu-tag round bg-red sm cuIcon-vip"></view>
</view>
</view>
<view class="cu-item cur">
<view class="cu-avatar radius lg" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big81020.jpg);">
<view class="cu-tag badge"></view>
</view>
<view class="content">
<view>
<view class="text-cut">瓦罗兰大陆-睡衣守护者-新手保护营</view>
<view class="cu-tag round bg-orange sm">198</view>
</view>
<view class="text-gray text-sm flex">
<view class="text-cut"> 伊泽瑞尔<text class="cuIcon-locationfill text-orange margin-right-xs"></text> 消费中...</view></view>
</view>
<view class="action">
<view class="text-grey text-xs">22:20</view>
<view class="cuIcon-notice_forbid_fill text-gray"></view>
</view>
</view>
</view>
<!-- <tabBar :pagePath="'/pages/tabBar/home/home'"></tabBar> -->
</view>
</template>
<script>
export default {
data() {
return {
cardCur:1,
dotStyle: false,
modalName: null,
swiperList: [{
id: 1,
type: 'image',
url: "../../../static/image/95327411_1.jpg"
},
{
id: 2,
type: 'image',
url: "../../../static/image/95327411_2.jpg"
},
{
id: 3,
type: 'image',
url: "../../../static/image/95327411_3.jpg"
},
{
id: 4,
type: 'image',
url: "../../../static/image/95327411_4.jpg"
},
{
id: 5,
type: 'image',
url: "../../../static/image/95327411_5.jpg"
},
{
id: 6,
type: 'image',
url: "../../../static/image/95327411_6.jpg"
},
{
id: 7,
type: 'image',
url: "../../../static/image/95327411_7.jpg"
},
{
id: 8,
type: 'image',
url: "../../../static/image/95327411_8.jpg"
},
{
id: 9,
type: 'image',
url: "../../../static/image/95327411_9.jpg"
}
],
}
},
methods: {
cardSwiper(e) {
this.cardCur = e.detail.current
},
}
}
</script>
<style>
</style>

@ -29,21 +29,15 @@
<view class="cu-item shadow">
<view class="appraise">
<text>态度评价:</text>
<view class="stars-wrapper">
<view v-for="n in 5" :key='n' :class="{'on':item.csAttitudeStar>=n}"></view>
</view>
<uni-rate disabledColor='#ffca3e' :disabled='true' :margin='10' class="margin-left" v-model="item.csAttitudeStar" />
</view>
<view class="appraise">
<text>技术评价:</text>
<view class="stars-wrapper">
<view v-for="n in 5" :key='n' :class="{'on':item.csTechnicalStar>=n}"></view>
</view>
<uni-rate disabledColor='#ffca3e' :disabled='true' :margin='10' class="margin-left" v-model="item.csTechnicalStar" />
</view>
<view class="appraise">
<text>其他评价:</text>
<view class="stars-wrapper">
<view v-for="n in 5" :key='n' :class="{'on':item.csOtherStar>=n}"></view>
</view>
<uni-rate disabledColor='#ffca3e' :disabled='true' :margin='10' class="margin-left" v-model="item.csOtherStar" />
</view>
<view class="appraise" style="margin-bottom: 10upx;">
<text>评价内容:</text>
@ -206,19 +200,6 @@
padding: 0upx 30upx;
}
.stars-wrapper view {
width: 24upx;
height: 24upx;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkMyRENERDc2MTQ3MDExRTk4RjNCRDAzNTY2RjUzMDY2IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkMyRENERDc3MTQ3MDExRTk4RjNCRDAzNTY2RjUzMDY2Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzJEQ0RENzQxNDcwMTFFOThGM0JEMDM1NjZGNTMwNjYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzJEQ0RENzUxNDcwMTFFOThGM0JEMDM1NjZGNTMwNjYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6VuCzfAAADhUlEQVR42sSYe2iOURzH373NPZvLejEhjKmtLZdQbCWlTUgslCRhcsvksho2c0mW26Yt2/iDXFpzyT1RDKm5hMJspWyj5pIhizGb74/vqdPTe3n2Po/n/dWnc97zPpfv8zuX3++csOLiYpcN1hkUgkEgC9w3e2N6errX9nCXPXYdTGS9EnQBP6w80G2DqPEUVQMesi3D6kPtEJbPMgfMYj0r1MLGgLGsnwb1oA50B4tDKewAywLQwvomlttCJUw8NQG0shuVHQfvQDSYEwphJ1lmgs+G/5axPOS0sKlgKGgCe7z8fx68BT3BQieF7TMxjtRY2+CUsMEgFvwCe/1cdxR8B3GggxPCtrLcDn6bvPYaWASSQV8zLwljrIwEHtCV4yKKXokBCeAjmA5+st4NRNBr/kw89YbP1k0myxNGimrwCnxiewPiZ7MIm4If5XyRL/vCL5X4N5ACG0x6uBeYz4+MZ9f28XP9e7A6nAM5gsob+UKp1zL+1bNUVtfOrhdPHDS0Sa8MByNYiuAh7LkBoEyEveZXXALrXc5YI7OQSj3tKSkpSUVxRQ3+NWxfB7JdITKIStQW7Qw3B95MNuQSp0WN4mToAc7Ai/lubaWex3q2k+IgSpaQB/wpotKM61gZ0xgl7pgDumS2VlBHnhLlbYF9pOVXC+zIRP1YPDORv+kTRGUGWvnFrUms7wcr/oMoWQvvsF4IUWvNhqS7YIa6ESyxUVQ0e0YG+mGIWtXeWHkR7GS9FMy1QZSHW7so9szSYIP4ZubyaqBaNdl39mc0SLKaXahAXWGDsKegDXQCzVaFTWL5zAZhEvyrmJ3EWhHm0fKnGpsG/2OWw6wIU1/1lcHeDntueHZQwmK0bmyzSVg1yzh/FwU6VFE3vzDxwtmcceeYw/myKjPCAnks0TAuvJkE/5dcVvKZSBaBfgE8ZqkrEwwP020yuA1O8SX3JDvgf8s5JnO4NOjWSo9GBiust7aJqDHMVPHODS6SjUw25bggjaFMcquO3CXJR6V4Wc/UfiAoYSpnr9c2r7UcT2I7GJALDKFsJFgJPnC1v8r20bzmbKAlwx0g2LoY21IoKM/171izlJuGLeCbj/uLuDlWRwjTuF3L1U6GxgUzK9VRZYrWFZKq7KIHzFgTvXwZbASphn1FSzAek13Mbm5YL3CGJrdDlG63eBAjW7UTFHQTHPF1wx8BBgBGdNDH1AgKhgAAAABJRU5ErkJggg==');
background-repeat: no-repeat;
background-size: 100% 100%;
margin-right: 30upx;
display: inline-block;
}
.stars-wrapper .on {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkJGNzUxM0YxMTQ3MDExRTlCMkMxQTAyRjJEODVFNjM4IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkJGNzUxM0YyMTQ3MDExRTlCMkMxQTAyRjJEODVFNjM4Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QkY3NTEzRUYxNDcwMTFFOUIyQzFBMDJGMkQ4NUU2MzgiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QkY3NTEzRjAxNDcwMTFFOUIyQzFBMDJGMkQ4NUU2MzgiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6Tfw3WAAACM0lEQVR42syYSShFURjHr0ciMmcoU6ZneoliYYEshHobCxJWMiUbw042VsqwsZKsDGVaeGJhQ1akFMmYCEsylFiQ/8336vW679zh3OF99evdzj3n3t+7Zz4Bn44yQYeIACsgEQwDl9KCoScHkulBgj4xA2roeoNEP3geaNNBKgU0eaUN8T5UD7ExibR+EGilWAJolkgPAz1Wis0x7o2CECvESkA9434UVanpYlMK8gyZLVYEKhTkE79al5likyry9polFgmqVeR3gFi1L1Ey8seBdJAPsoFTw5/ZpR58D27o941VIMBjrnQL5IEMUAAKQSqNS3rGK3gEZ+Aa3IFz8IS5894tlobfVZALwgVr4xecgnZRbBsXtYJ/xZuNqsrfIlIU6/RDsQF3468DW34itYAO0OrZKxvAmsVSm5Byeg+w66DNQqkdt5TUyD8POiyQ2oNUjdyUNAu6TZRyQaqKNfJ7h5M2FkbGDKS61E7iLlqFGhWHrCWR3OpihPaLeoc4H1byLnveDRD7Bl+8YuUGiOWAZB6xOFqDGREOHrE8HY8RvKOARyzbwF5p5xGzGyiWySOWY6BYNI9YvooXXYEjM8Ri5D43xQvtuMVqLxX+j6QuFZRLYsnZZIYKuaOkCeog4x5py7SxGSBpXxEMsrSIxTPuLdJQMsh4+SRJTzOeU6xF7NdHO2oELeBCYTX30amQVPsL1yJ2DPbBD3gQ/o+U7Bon9W1qf+Jh3i2lPYMlXwX+BBgA/6doZQMn2nUAAAAASUVORK5CYII=');
}
.the-month,
.last-month,

@ -0,0 +1,36 @@
<template>
<view>
<view class="text-center cu-form-group" >
会员的消费记录
</view>
<view class="cu-list radius bg-white padding margin" v-for="(item,index) in calendarList" :key='index'>
<view class="">
<text class="text-bold margin-right">消费时间</text>
<text>{{item.date}}</text>
</view>
<view class="">
<text class="text-bold margin-right">消费项目</text>
<text>{{item.projectName}}</text>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
calendarList:[
{date:"2021-05-10 14:56:50",projectName:"精品水润护肤"}
]
}
},
methods: {
}
}
</script>
<style>
</style>

@ -7,30 +7,18 @@
</view>
<view class="cu-card article isCard">
<view class="cu-item padding-top" v-for="(item,index) in pageInfo.memberList" :key='index'>
<navigator url="client-calendar/client-calendar">
<view class="content">
<view class="desc">
<view>
<text class='text-gray'>会员信息</text>{{item.memberName }} - {{item.sex}}
</view>
<view>
<text class='text-gray'>联系方式</text>{{item.mobilePhone}}
</view>
<view>
<text class='text-gray'>累计充值</text> <text class="text-red text-price"> {{item.czMoney}}</text>
</view>
<view>
<text class='text-gray'>累计消费</text> <text class="text-red text-price">{{item.xfMoney}}</text>
<text class='text-gray'>最后到店时间</text>{{item.date}}
</view>
<view>
<text class='text-gray'>最后消费</text>{{item.date}}
</view>
<view>
<text class='text-gray'>最多消费项目</text>{{item.project}}
</view>
</view>
</view>
</navigator>
</view>
</view>
<view class="margin-left"> {{pageInfo.total}} 条记录</view>
@ -58,7 +46,7 @@
sex: '女',
czMoney: '58,060.00',
xfMoney: '50,060.00',
date: '2020-04-012 09:58:03',
date: '2020-04-01 09:58:03',
project: '精品小乳瓶精油护理 * 6'
},
{

@ -36,10 +36,11 @@
<view class="cuIcon-rankfill text-red"></view>
<text>服务反馈</text>
</navigator>
<!-- <navigator url='./client-follow/client-follow' class="cu-item">
<navigator url='./client-follow/client-follow' class="cu-item">
<view class="cuIcon-friend text-red"></view>
<text>我的会员</text>
</navigator>
<!--
<navigator url='./myTarget/myTarget' class="cu-item">
<view class="cuIcon-activity text-red"></view>
<text>个人目标</text>
@ -153,6 +154,7 @@
</navigator>
</view>
</view>
<!-- <tabBar :pagePath="'/pages/tabBar/home/home'"></tabBar> -->
</view>
</template>
@ -167,7 +169,6 @@
methods: {
tabSelect(e) {
this.TabCur = e.currentTarget.dataset.id * 1;
}
},
onShow: function() {

@ -87,7 +87,7 @@
}
},
methods: {
achiCommList() {
dayStatistic() {
const dates = new Date();
let year = dates.getFullYear();
let month = dates.getMonth() + 1;
@ -115,7 +115,7 @@
},
onShow: function() {
this.userInfo = uni.getStorageSync("userInfo")
this.achiCommList()
this.dayStatistic()
},
onPullDownRefresh: function() {
setTimeout(function() {

@ -1,6 +1,6 @@
<template>
<view>
<scroll-view scroll-x class="bg-white nav" scroll-with-animation :scroll-left="scrollLeft">
<!-- <scroll-view scroll-x class="bg-white nav" scroll-with-animation :scroll-left="scrollLeft">
<view class="cu-item " :class="TabCur==0?'text-red cur':''" @tap="tabSelect" :data-id="0">充值</view>
<view class="cu-item " :class="TabCur==1?'text-red cur':''" @tap="tabSelect" :data-id="1">疗程</view>
<view class="cu-item " :class="TabCur==2?'text-red cur':''" @tap="tabSelect" :data-id="2">服务</view>
@ -8,15 +8,17 @@
<view class="cu-item " :class="TabCur==4?'text-red cur':''" @tap="tabSelect" :data-id="4">充值退</view>
<view class="cu-item " :class="TabCur==5?'text-red cur':''" @tap="tabSelect" :data-id="5">疗程退</view>
<view class="cu-item " :class="TabCur==6?'text-red cur':''" @tap="tabSelect" :data-id="6">消费退</view>
</scroll-view>
</scroll-view> -->
<view v-if="detailList.length==0">
<view class='empty cuIcon-info'></view>
<view class='empty-text text-gray'>暂无数据</view>
</view>
<view v-else class="module" v-for="(item,index) in detailList" :key='index'>
<view v-if="detailList.length!=0" class="module" v-for="(item,index) in detailList" :key='index'>
<navigator :url="'../detail/detail?item='+JSON.stringify(item)">
<view class="module-top">
<view class='module-top-title'>
<text class="cuIcon-titles text-red"></text> {{item.date}}
<text class="cuIcon-title text-sxl text-red"></text>
<text class="text-xl text-bold text-red"> {{item.typeName}}</text>
</view>
</view>
<view class="module-top">
@ -45,7 +47,7 @@
<text class="text-red">{{item.cashComm}}</text>
</view>
</view>
</navigator>
</view>
</view>
</template>
@ -58,19 +60,56 @@
scrollLeft: 0,
detailList: [],
form: {},
classifylist: [{
typeName: "充值",
typeIndex: 0
},
{
typeName: "疗程",
typeIndex: 1
},
{
typeName: "服务",
typeIndex: 2
},
{
typeName: "还款",
typeIndex: 3
},
{
typeName: "充值退",
typeIndex: 4
},
{
typeName: "疗程退",
typeIndex: 5
},
{
typeName: "消费退",
typeIndex: 6
},
]
}
},
methods: {
tabSelect(e) {
this.TabCur = e.currentTarget.dataset.id;
this.form.classify = e.currentTarget.dataset.id
this.achiCommList()
this.achiCommClassifyList()
},
achiCommList() {
this.$api.achiCommList(this.form).then(res => {
achiCommClassifyList() {
this.$api.achiCommClassifyList(this.form).then(res => {
//console.log(res);
if (res.code == '000000') {
res.rows.forEach(item => {
this.classifylist.forEach(items => {
if (item.classify * 1 == items.typeIndex) {
item.typeName = items.typeName
}
})
})
this.detailList = res.rows
}
})
},
@ -80,7 +119,6 @@
this.form = {
storeId: this.userInfo.storeId,
staffId: this.userInfo.id,
classify:this.TabCur
}
//console.log(option.type); //
if (option.type == 'lastDay') {
@ -101,8 +139,14 @@
}
}
this.achiCommList()
this.achiCommClassifyList()
},
onShow: function() {
console.log(this.form);
uni.setNavigationBarTitle({
title: '分类(' + this.formatTime(this.form.date,'YYYY-MM-DD') + ")"
})
}
}
</script>
@ -186,6 +230,4 @@
display: inline-block;
padding: 35rpx;
}
</style>

@ -66,25 +66,51 @@
},
onShow: function() {
this.userInfo = uni.getStorageSync('userInfo')
console.log();
},
onLoad: function(option) { //optionobject
this.userInfo = uni.getStorageSync('userInfo')
this.form = {
storeId: this.userInfo.storeId,
staffId: this.userInfo.id,
}
//console.log(option.type); //
if (option.type != undefined) {
if (option.type == 'lastDay') {
//
this.form.date = new Date(new Date().setTime(new Date().getTime()-24*60*60*1000))
this.form.date = this.formatTime(new Date(new Date().setTime(new Date().getTime() - 24 * 60 * 60 *
1000)), 'YYYY-MM-DD')
} else if (option.type == 'today') {
//
this.form.date = new Date()
this.form.date = this.formatTime(new Date(), 'YYYY-MM-DD')
} else {
//
this.form.date = option.type
}
this.form.storeId =this.userInfo.storeId
this.form.staffId =this.userInfo.id
uni.setNavigationBarTitle({
title: '明细(' + this.form.date + ")"
})
}
if (option.item != undefined) {
// item
let item = JSON.parse(option.item)
this.form.storeId = item.storeId
this.form.staffId = item.staffId
this.form.date = item.date
this.form.classify = item.classify
uni.setNavigationBarTitle({
title: '分类明细(' + this.form.date + ")"
})
}
if(option.form!=undefined){
let form = JSON.parse(option.form)
this.form.storeId = form.storeId
this.form.staffId = form.staffId
this.form.type = form.type
this.form.classify = form.classify
uni.setNavigationBarTitle({
title:'明细(' + form.staffName + ")"
})
}
this.achiCommDetailList()
},

@ -6,7 +6,7 @@
<view>
<view class="module-button">
<navigator :url="'../classify/classify?type='+form.date" class="sort-button button bg-red">分类</navigator>
<navigator :url="'../detail/detail?type='+form.date" class="detail-button button bg-red">单据明细</navigator>
<navigator :url="'../detail/detail?dateType='+form.date" class="detail-button button bg-red">单据明细</navigator>
</view>
<view v-if="form==null">
<view class='empty cuIcon-info'></view>

@ -3,22 +3,22 @@
<view>
<scroll-view scroll-x class="bg-white nav text-center">
<view class="cu-item light flex-sub" :class="[TabCur==0?'bg-red cur text-white':'']" @tap="tabSelect"
:data-id="0">
上月
</view>
<view class="cu-item light flex-sub" :class="[TabCur==1?'bg-red cur text-white':'']" @tap="tabSelect"
:data-id="1">
昨天
</view>
<view class="cu-item light flex-sub" :class="[TabCur==2?'bg-red cur text-white':'']" @tap="tabSelect"
:data-id="2">
今天
</view>
<view class="cu-item light flex-sub" :class="[TabCur==1?'bg-red cur text-white':'']" @tap="tabSelect"
:data-id="1">
昨天
<view class="cu-item light flex-sub" :class="[TabCur==3?'bg-red cur text-white':'']" @tap="tabSelect"
:data-id="3">
本月
</view>
</view>
<view class="cu-item light flex-sub" :class="[TabCur==0?'bg-red cur text-white':'']" @tap="tabSelect"
:data-id="0">
上月
</view>
</scroll-view>
@ -31,7 +31,7 @@
<view v-for="(item,index) in lastodaylist " :key='index'>
<view class="module-button">
<navigator url="classify/classify?type=lastDay" class="sort-button button bg-red">分类</navigator>
<navigator url="detail/detail?type=lastDay" class="detail-button button bg-red">单据明细</navigator>
<navigator url="detail/detail?dateType=lastDay" class="detail-button button bg-red">单据明细</navigator>
</view>
<view class="cu-bar bg-white margin-top">
<view class='action' style="display: flex;justify-content: flex-start;width: 100%;">
@ -84,7 +84,7 @@
<view v-for="(item,index) in todaylist " :key='index'>
<view class="module-button">
<navigator url="classify/classify?type=today" class="sort-button button bg-red">分类</navigator>
<navigator url="detail/detail?type=today" class="detail-button button bg-red">单据明细</navigator>
<navigator url="detail/detail?dateType=today" class="detail-button button bg-red">单据明细</navigator>
</view>
<view class="cu-bar bg-white margin-top">
<view class='action' style="display: flex;justify-content: flex-start;width: 100%;">

@ -6,7 +6,7 @@
<view>
<view class="module-button">
<navigator :url="'../classify/classify?type=' +form.date" class="sort-button button bg-red">分类</navigator>
<navigator :url="'../detail/detail?type=' +form.date" class="detail-button button bg-red">单据明细</navigator>
<navigator :url="'../detail/detail?dateType=' +form.date" class="detail-button button bg-red">单据明细</navigator>
</view>
<view v-if="form==null">
<view class='empty cuIcon-info'></view>

@ -29,8 +29,8 @@
<view class='empty cuIcon-info'></view>
<view class='empty-text text-gray'>暂无数据</view>
</view>
<view class=" light flex justify-start text-black text-center text-main" v-for="(item,index) in staffList"
:key='index'>
<view class=" light bg-white flex justify-start text-black text-center text-main" v-for="(item,index) in staffList"
:key='index' @click="onCilck(item)">
<view class="text-header" style="width: 35%;">
<text>{{item.brandNumber }} - {{ item.staffName}}</text>
@ -83,6 +83,12 @@
}
},
methods: {
onCilck(item){
uni.navigateTo({
url: '../../mySet/common/salary/salary?item=' +JSON.stringify(item)
});
},
getDate(type) {
//
const date = new Date();

@ -66,7 +66,7 @@
}
},
achiCommList() {
staffDayList() {
this.$api.staffDayList({
storeId: this.userInfo.storeId,
}).then(res => {
@ -87,7 +87,7 @@
onShow: function() {
this.daylist = this.starList
this.userInfo = uni.getStorageSync("userInfo")
this.achiCommList()
this.staffDayList()
},
onPullDownRefresh: function() {
setTimeout(function() {

@ -46,14 +46,14 @@
</text>
</view>
</view>
<view class='module' v-show="user.baseSalary!=null">
<!-- <view class='module' v-show="user.baseSalary!=null">
<view class="cu-form-group">
<view class="title">底薪</view>
<text class="text-price text-red">
{{user.baseSalary}}
</text>
</view>
</view>
</view> -->
<view class='module'>
<view class="cu-form-group" >
<view class="title">人气</view>
@ -70,14 +70,14 @@
</text>
</view>
</view>
<view class='module'>
<!-- <view class='module'>
<view class="cu-form-group">
<view class="title">是否用户</view>
<text >
{{user.userState == 1 ? '是' : '否'}}
</text>
</view>
</view>
</view> -->
<view v-show="false" class="flex justify-center"
style="width: 100%;font-size: 28upx; color: #383838; margin-top: 50upx;">
<navigator url="edit-message/edit-message">

@ -5,23 +5,18 @@
<text class="cuIcon-titles text-red"></text>
<text>当前月份</text>
</view>
<picker fields="month" mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
<button class="cu-btn bg-green shadow" data-target="Modal">{{date}}</button>
</picker>
<scroll-view scroll-x class=" nav">
<view class="flex text-center">
<view v-for="(item,index) in list" :key='index' class="cu-item light flex-sub "
:class="[TabCur==item.type?'bg-cyan text-whit':'']" @tap="tabSelect"
:data-id="item.type">
<text>{{item.monthName}}</text>
</view>
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>员工名称</text>
</view>
<text class="margin-right">{{form.staffName}}</text>
</view>
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>水牌号</text>
</view>
<text class="margin-right text-cyan">{{form.brandNumber}}</text>
</scroll-view>
<!-- <picker fields="month" mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
<button class="cu-btn bg-green shadow margin-right" data-target="Modal">{{date}}</button>
</picker> -->
</view>
<!-- <view class="cu-bar bg-white margin-top">
<view class="action">
@ -37,19 +32,71 @@
</view>
<text class="margin-right text-price text-red">{{form.baseSalary}}</text>
</view>
<view class="cu-bar bg-white margin-top" @click="onCLick(0)">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>充值</text>
</view>
<text class="margin-right text-price text-red">{{form.recComm}}</text>
</view>
<view class="cu-bar bg-white margin-top" @click="onCLick(1)">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>疗程</text>
</view>
<text class="margin-right text-price text-red">{{form.courseComm}}</text>
</view>
<view class="cu-bar bg-white margin-top" @click="onCLick(2)">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>服务</text>
</view>
<text class="margin-right text-price text-red">{{form.cashComm}}</text>
</view>
<view class="cu-bar bg-white margin-top" @click="onCLick(3)">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>还款</text>
</view>
<text class="margin-right text-price text-red">{{form.repayComm}}</text>
</view>
<view class="cu-bar bg-white margin-top" @click="onCLick(4)">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>充值退</text>
</view>
<text class="margin-right text-price text-red">{{form.recRefundComm}}</text>
</view>
<view class="cu-bar bg-white margin-top" @click="onCLick(5)">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>疗程退</text>
</view>
<text class="margin-right text-price text-red">{{form.courseRefundComm}}</text>
</view>
<view class="cu-bar bg-white margin-top" @click="onCLick(6)">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>消费退</text>
</view>
<text class="margin-right text-price text-red">{{form.cashRefundComm}}</text>
</view>
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>提成</text>
<text>提成</text>
</view>
<text class="margin-right text-price text-red">{{form.commSalary}}</text>
</view>
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>合计</text>
</view>
<text class="margin-right text-price text-red">{{((form.baseSalary==null?0:form.baseSalary)+form.commSalary).toFixed(2)*1}}</text>
<text
class="margin-right text-price text-red">{{((form.baseSalary==null?0:form.baseSalary)+form.commSalary).toFixed(2)*1}}</text>
</view>
</view>
</template>
@ -62,6 +109,7 @@
})
return {
userInfo: {},
TabCur: 0,
date: currentDate,
form: {
staffName: "刘乐乐",
@ -70,8 +118,9 @@
performance: 156000,
royalty: 3200,
close: 5000
}
},
staffForm: {},
list: [{}, {}, {}]
}
},
computed: {
@ -83,6 +132,16 @@
}
},
methods: {
tabSelect(e) {
this.TabCur = e.currentTarget.dataset.id * 1;
this.form.type = this.TabCur
},
onCLick(key) {
this.form.classify = key
uni.navigateTo({
url: '../../../myHome/sales-commission/detail/detail?form='+ JSON.stringify(this.form)
});
},
getDate(type) {
//
const date = new Date();
@ -101,15 +160,21 @@
this.salaryByStaff()
},
salaryByStaff() {
console.log(this.staffForm);
let date = this.date
var form = {
storeId: this.userInfo.storeId,
storeName: this.userInfo.storeName,
staffId: this.userInfo.id,
staffName: this.userInfo.staffName,
brandNumber: this.userInfo.brandNumber,
date: date
}
if (this.staffForm.storeId != undefined) {
form.staffId = this.staffForm.staffId,
form.staffName = this.staffForm.staffName
} else {
form.staffId = this.userInfo.id,
form.staffName = this.userInfo.staffName
}
this.$api.salaryByStaff(form).then(res => {
if (res.code == '000000') {
this.form = res.data
@ -123,11 +188,43 @@
}
})
},
listDates(data) {
var nowdays = new Date();
var year = nowdays.getFullYear();
var month = nowdays.getMonth() + 1 - data;
var day = nowdays.getDate()
var hours = nowdays.getHours()
var min = nowdays.getMinutes()
var sec = nowdays.getSeconds()
if (month == 0) {
month = 12;
year = year - 1;
}
if (month < 10) {
month = '0' + month;
}
return year + '-' + month
},
onShow: function() {
},
onLoad: function(option) {
this.userInfo = uni.getStorageSync('userInfo')
console.log(option.item);
if (option.item != undefined) {
var item = JSON.parse(option.item)
uni.setNavigationBarTitle({
title: item.staffName + '工资明细'
})
this.staffForm = item
}
},
onShow: function() {
this.salaryByStaff()
this.list.forEach((item, index) => {
item.monthName = this.listDates(index)
item.type = index
})
this.form.type = this.TabCur
},
onPullDownRefresh: function() {
setTimeout(function() {

@ -51,7 +51,7 @@
</view>
<button @click="loginout" size="default" class="myset_footer cu-btn bg-red lg">退出当前账号</button>
<!-- <tabBar :pagePath="'/pages/tabBar/home/home'"></tabBar> -->
</view>
</template>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__4D77F26","name":"DCMY","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":false,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#e83131"},"ignoreVersion":true,"usingComponents":true,"nvueCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common","android":{"hdpi":"E:/360MoveData/Users/Administrator/Desktop/qdjm.png","xhdpi":"E:/360MoveData/Users/Administrator/Desktop/qdjm.png","xxhdpi":"E:/360MoveData/Users/Administrator/Desktop/qdjm.png"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"oauth":{},"geolocation":{},"push":{},"speech":{"ifly":{}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.9","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#7A7E83","selectedColor":"#e83131","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/tabBar/myHome/myHome","iconPath":"static/image/home.png","selectedIconPath":"static/image/home-select.png","text":"首页"},{"pagePath":"pages/tabBar/mySet/mySet","iconPath":"static/image/my.png","selectedIconPath":"static/image/my-select.png","text":"我的"}],"height":"50px"},"launch_path":"__uniappview.html"}}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__4D77F26","name":"DCMY","version":{"name":"1.0.0","code":100},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#e83131"},"ignoreVersion":true,"usingComponents":true,"nvueCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common","android":{"hdpi":"E:/360MoveData/Users/Administrator/Desktop/qdjm.png","xhdpi":"E:/360MoveData/Users/Administrator/Desktop/qdjm.png","xxhdpi":"E:/360MoveData/Users/Administrator/Desktop/qdjm.png"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"oauth":{},"geolocation":{},"push":{},"speech":{"ifly":{}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#7A7E83","selectedColor":"#e83131","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/tabBar/myHome/myHome","iconPath":"static/image/home.png","selectedIconPath":"static/image/home-select.png","text":"首页"},{"pagePath":"pages/tabBar/mySet/mySet","iconPath":"static/image/my.png","selectedIconPath":"static/image/my-select.png","text":"我的"}],"height":"50px"},"launch_path":"__uniappview.html"}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,37 @@
/**
* filters.js
* 对Date的扩展 Date 转化为指定格式的String 默认是2019-11-25 14:00:00 需要格式则后续传值
* (M)(d)小时(h)(m)(s)季度(q) 可以用 1-2 个占位符
* (y)可以用 1-4 个占位符毫秒(S)只能用 1 个占位符( 1-3 位的数字)
* (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2019-11-25 08:09:04.423
* (new Date()).Format("yyyy-M-d h:m:s.S") ==> 2019-11-25 8:9:4.18
* 使用格式,dom上 {{formatTime(time,'YYYY-MM-DD')}}
* 在script中 this.formatTime(this.time,"hh:mm:ss")
*
*/
import Vue from 'vue'
Date.prototype.Format = function(fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"D+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(Y+)/.test(fmt))
fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt))
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
const formatTime = function (times, pattern) {
var d = new Date(times).Format("YYYY-MM-DD hh:mm:ss");
if (pattern) {
d = new Date(times).Format(pattern);
}
return d.toLocaleString();
}
export default formatTime

@ -1,6 +1,6 @@
// var host = "http://192.168.31.201:8085"
var host = "http://192.168.31.201:8085"
// var host = "http://124.71.99.140:8085"
// var host = "https://www.decaisoft.com:8082"
var host = "https://www.decaisoft.com:8092"
// var host = "https://www.decaisoft.com:8092"
export default host
Loading…
Cancel
Save