更新0808
This commit is contained in:
parent
abc0d069e7
commit
7eb4c3e635
21
pages.json
21
pages.json
@ -197,6 +197,27 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/statistics/staffStatistics",
|
||||
"style": {
|
||||
"navigationBarTitleText": "员工统计",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/statistics/staffStatistics/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "员工统计",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/statistics/staffStatisticsDetail/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "员工统计详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/statistics/statistics",
|
||||
"style": {
|
||||
|
@ -2,8 +2,8 @@
|
||||
<view class="content">
|
||||
<view class="top">
|
||||
|
||||
<view class="dalan">你好,</view>
|
||||
<view class="dalan">欢迎来到驭车无忧</view>
|
||||
<!-- <view class="dalan">你好,</view>
|
||||
<view class="dalan">欢迎来到驭车无忧</view> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -314,14 +314,19 @@
|
||||
|
||||
.top {
|
||||
box-sizing: border-box;
|
||||
padding: 0px 27px;
|
||||
padding: 0 27px;
|
||||
padding-top: 100px;
|
||||
// background-color:lightseagreen;
|
||||
background-image: url('../../static/detection/newLoginBj.png');
|
||||
background-image: url('/static/imgs/start.png');
|
||||
background-size: cover;
|
||||
// background-position: center;
|
||||
background-position: center;
|
||||
/* 确保图片居中显示 */
|
||||
background-repeat: no-repeat;
|
||||
/* 防止图片重复 */
|
||||
width: 100%;
|
||||
height: calc(100vh);
|
||||
height: 100vh;
|
||||
/* 使用 100vh 确保全屏 */
|
||||
min-height: 100vh;
|
||||
/* 防止内容不足时背景图不完整 */
|
||||
}
|
||||
|
||||
.touxiang {
|
||||
|
@ -99,62 +99,26 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<u-picker :show="showEducation" ref="uPicker" :columns="[educations]"
|
||||
@confirm="chooseEducation" @cancel="showEducation = false"
|
||||
keyName="label"></u-picker>
|
||||
<u-picker :show="showEducation" ref="uPicker" :columns="[educations]" @confirm="chooseEducation"
|
||||
@cancel="showEducation = false" keyName="label"></u-picker>
|
||||
|
||||
<qianziyu-select
|
||||
:show="showDriveType"
|
||||
type="checkbox"
|
||||
name="id"
|
||||
:dataLists="driverLicenseType"
|
||||
:showSearch=false
|
||||
@cancel="showDriveType = false"
|
||||
:checkboxData="driverLicenseTypeArr"
|
||||
@submit="onsubmit"
|
||||
@update:checkboxData="driverLicenseTypeArr = $event"
|
||||
>
|
||||
<qianziyu-select :show="showDriveType" type="checkbox" name="id" :dataLists="driverLicenseType"
|
||||
:showSearch=false @cancel="showDriveType = false" :checkboxData="driverLicenseTypeArr" @submit="onsubmit"
|
||||
@update:checkboxData="driverLicenseTypeArr = $event">
|
||||
</qianziyu-select>
|
||||
|
||||
<u-datetime-picker
|
||||
:show="showJoinedDate"
|
||||
v-model="selectJoinDate"
|
||||
@cancel="showJoinedDate = false"
|
||||
@confirm="chooseJoinDate"
|
||||
mode="date"
|
||||
return-type='string'
|
||||
></u-datetime-picker>
|
||||
<u-datetime-picker
|
||||
:show="showFormalDate"
|
||||
v-model="selectProbationPeriod"
|
||||
@cancel="showFormalDate = false"
|
||||
@confirm="chooseFormalDate"
|
||||
mode="date"
|
||||
return-type='string'
|
||||
></u-datetime-picker>
|
||||
<u-datetime-picker
|
||||
:show="showSafeDate"
|
||||
v-model="selectSocialSecurityBuyDate"
|
||||
@cancel="showSafeDate = false"
|
||||
@confirm="chooseSafeDate"
|
||||
mode="date"
|
||||
return-type='string'
|
||||
></u-datetime-picker>
|
||||
<u-datetime-picker :show="showJoinedDate" v-model="selectJoinDate" @cancel="showJoinedDate = false"
|
||||
@confirm="chooseJoinDate" mode="date" return-type='string'></u-datetime-picker>
|
||||
<u-datetime-picker :show="showFormalDate" v-model="selectProbationPeriod" @cancel="showFormalDate = false"
|
||||
@confirm="chooseFormalDate" mode="date" return-type='string'></u-datetime-picker>
|
||||
<u-datetime-picker :show="showSafeDate" v-model="selectSocialSecurityBuyDate" @cancel="showSafeDate = false"
|
||||
@confirm="chooseSafeDate" mode="date" return-type='string'></u-datetime-picker>
|
||||
<!-- <u-picker :show="showRole" ref="uPicker" :columns="[roles]"-->
|
||||
<!-- @confirm="chooseRole" @cancel="showRole = false"-->
|
||||
<!-- keyName="name"></u-picker>-->
|
||||
<qianziyu-select
|
||||
:show="showRole"
|
||||
type="checkbox"
|
||||
name="name"
|
||||
:dataLists="roles"
|
||||
:showSearch=false
|
||||
@cancel="showRole = false"
|
||||
:checkboxData="staff.roleIds"
|
||||
@submit="chooseRole()"
|
||||
popupTitle='汇报对象选择'
|
||||
@update:checkboxData="staff.roleIds = $event"
|
||||
>
|
||||
<qianziyu-select :show="showRole" type="checkbox" name="name" :dataLists="roles" :showSearch=false
|
||||
@cancel="showRole = false" :checkboxData="staff.roleIds" @submit="chooseRole()" popupTitle='汇报对象选择'
|
||||
@update:checkboxData="staff.roleIds = $event">
|
||||
</qianziyu-select>
|
||||
</view>
|
||||
</template>
|
||||
@ -162,9 +126,14 @@
|
||||
<script>
|
||||
import headersVue from '../../components/header/headers.vue';
|
||||
import request from "@/utils/request";
|
||||
import {formatDate, getDictDataByType} from "@/utils/utils";
|
||||
import {
|
||||
formatDate,
|
||||
getDictDataByType
|
||||
} from "@/utils/utils";
|
||||
import upload from "@/utils/upload";
|
||||
import {baseImageUrl} from "@/config";
|
||||
import {
|
||||
baseImageUrl
|
||||
} from "@/config";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@ -279,7 +248,8 @@ export default {
|
||||
method: 'post',
|
||||
data: {
|
||||
userId: this.userId,
|
||||
roleIds: this.staff.roleIds
|
||||
roleIds: this.staff.roleIds,
|
||||
servicePackageId: 'jiance'
|
||||
}
|
||||
})
|
||||
uni.showToast({
|
||||
|
@ -105,7 +105,11 @@
|
||||
<view class="">业务统计</view>
|
||||
</view>
|
||||
|
||||
<view class="jg_ys" @click="goemployees()">
|
||||
<!-- <view class="jg_ys" @click="goemployees()">
|
||||
<image src="/static/imgs/newStaffCount.png" mode=""></image>
|
||||
<view class="">员工统计</view>
|
||||
</view> -->
|
||||
<view class="jg_ys" @click="goemnewployees()">
|
||||
<image src="/static/imgs/newStaffCount.png" mode=""></image>
|
||||
<view class="">员工统计</view>
|
||||
</view>
|
||||
@ -617,6 +621,12 @@
|
||||
})
|
||||
this.clearMyInterval()
|
||||
},
|
||||
goemnewployees() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/statistics/staffStatistics/index'
|
||||
})
|
||||
this.clearMyInterval()
|
||||
},
|
||||
goneworderStatistic() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/orderStatistics'
|
||||
|
@ -11,6 +11,9 @@
|
||||
清除时间
|
||||
<u-icon name="close-circle" size="24" color="#327DFB" style="margin-left: 10rpx"></u-icon>
|
||||
</view>
|
||||
<view class="" style="display:flex;" @click="cleanSelectTime">
|
||||
筛选总数量 - {{total}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="container" v-if="tableData">
|
||||
@ -382,7 +385,8 @@
|
||||
isTriggered: false,
|
||||
goodsName: null,
|
||||
windowsHeight: 600,
|
||||
scrollHeight: 0
|
||||
scrollHeight: 0,
|
||||
total: 0
|
||||
}
|
||||
},
|
||||
onReachBottom() { // 当用户滚动到底部时触发
|
||||
@ -446,6 +450,7 @@
|
||||
this.tableData = this.groupByDate(this.tableData)
|
||||
}
|
||||
}
|
||||
this.total = res.data.total
|
||||
this.loading = false; // 完成加载
|
||||
this.isTriggered = false
|
||||
}).catch(err => {
|
||||
|
Loading…
Reference in New Issue
Block a user