|
@@ -87,7 +87,7 @@
|
|
<!-- 上面部分 -->
|
|
<!-- 上面部分 -->
|
|
<div v-if="!displayTable && apk == false" class="tops">
|
|
<div v-if="!displayTable && apk == false" class="tops">
|
|
<!-- 公共 -->
|
|
<!-- 公共 -->
|
|
- <div class="ctons" :style="'width: '+kuanBl+'px'">
|
|
|
|
|
|
+ <div class="ctons" style="width: 98%">
|
|
<!-- 表单 -->
|
|
<!-- 表单 -->
|
|
<el-form ref="addForm" :model="addForm" label-width="80px" :rules="addFormRules">
|
|
<el-form ref="addForm" :model="addForm" label-width="80px" :rules="addFormRules">
|
|
<!-- 请假类型 -->
|
|
<!-- 请假类型 -->
|
|
@@ -172,7 +172,7 @@
|
|
<!-- 下面部分 -->
|
|
<!-- 下面部分 -->
|
|
<div v-if="displayTable && apk == false" class="tops">
|
|
<div v-if="displayTable && apk == false" class="tops">
|
|
<!-- 公共 -->
|
|
<!-- 公共 -->
|
|
- <div class="ctons" :style="'width: '+kuanBl+'px'">
|
|
|
|
|
|
+ <div class="ctons" style="width: 98%;">
|
|
<div class="flex">
|
|
<div class="flex">
|
|
<div>
|
|
<div>
|
|
<el-select v-model="ownerIds" placeholder="请选择请假人" clearable @change="chufas()" style="width: 160px" size="small" v-show="permissions.leaveAll" filterable="true">
|
|
<el-select v-model="ownerIds" placeholder="请选择请假人" clearable @change="chufas()" style="width: 160px" size="small" v-show="permissions.leaveAll" filterable="true">
|
|
@@ -291,7 +291,7 @@
|
|
<!-- 统计部分 -->
|
|
<!-- 统计部分 -->
|
|
<div v-if="displayTable && apk && apk2 == 4" class="tops">
|
|
<div v-if="displayTable && apk && apk2 == 4" class="tops">
|
|
<!-- 公共 -->
|
|
<!-- 公共 -->
|
|
- <div class="ctons" :style="'width: '+kuanBl+'px'">
|
|
|
|
|
|
+ <div class="ctons" style="width: 98%;">
|
|
<div style="display: flex;align-items: center;padding-bottom: 20px;border-bottom: 1px solid #f2f2f2">
|
|
<div style="display: flex;align-items: center;padding-bottom: 20px;border-bottom: 1px solid #f2f2f2">
|
|
<div style="display: inline-block;width: 350px">
|
|
<div style="display: inline-block;width: 350px">
|
|
<el-input style="float:left;" v-model="keyword" class="input-with-select" placeholder="请输入人员搜索" clearable="true" size="small">
|
|
<el-input style="float:left;" v-model="keyword" class="input-with-select" placeholder="请输入人员搜索" clearable="true" size="small">
|
|
@@ -356,7 +356,7 @@
|
|
<!-- 审批流 -->
|
|
<!-- 审批流 -->
|
|
<div v-if="displayTable && apk && apk2 == 5" class="tops">
|
|
<div v-if="displayTable && apk && apk2 == 5" class="tops">
|
|
|
|
|
|
- <div class="ctons" :style="'width: '+kuanBl+'px'">
|
|
|
|
|
|
+ <div class="ctons" style="width: 98%;">
|
|
<el-col :span="6" >
|
|
<el-col :span="6" >
|
|
<el-scrollbar style="height:100%;border:1px solid #dddddd;margin-left:15px;" >
|
|
<el-scrollbar style="height:100%;border:1px solid #dddddd;margin-left:15px;" >
|
|
<div class="tree" :style="'height:'+ (tableHeight-120) + 'px'">
|
|
<div class="tree" :style="'height:'+ (tableHeight-120) + 'px'">
|
|
@@ -420,7 +420,7 @@
|
|
</div>
|
|
</div>
|
|
<!-- 年假管理 -->
|
|
<!-- 年假管理 -->
|
|
<div v-if="displayTable && apk && apk2 == 6" class="tops">
|
|
<div v-if="displayTable && apk && apk2 == 6" class="tops">
|
|
- <div class="ctons" :style="'width: '+kuanBl+'px'">
|
|
|
|
|
|
+ <div class="ctons" style="width: 98%;">
|
|
<div style="display: flex;align-items: center;padding-bottom: 20px;border-bottom: 1px solid #f2f2f2">
|
|
<div style="display: flex;align-items: center;padding-bottom: 20px;border-bottom: 1px solid #f2f2f2">
|
|
<div style="display: inline-block;width: 18%;margin-left:1%">
|
|
<div style="display: inline-block;width: 18%;margin-left:1%">
|
|
<el-button size="small" @click="changeAltime(0)">批量设置</el-button>
|
|
<el-button size="small" @click="changeAltime(0)">批量设置</el-button>
|
|
@@ -496,7 +496,7 @@
|
|
|
|
|
|
<div v-if="displayTable && apk && apk2 == 8" class="tops">
|
|
<div v-if="displayTable && apk && apk2 == 8" class="tops">
|
|
<!-- 公共 -->
|
|
<!-- 公共 -->
|
|
- <div class="ctons" :style="'width: '+ kuanBl +'px'">
|
|
|
|
|
|
+ <div class="ctons" style="width: 98%;">
|
|
<div class="flex">
|
|
<div class="flex">
|
|
<div>
|
|
<div>
|
|
<span>请假类型</span>
|
|
<span>请假类型</span>
|
|
@@ -843,32 +843,19 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
mounted() {
|
|
mounted() {
|
|
- // this.watchSize()
|
|
|
|
if(this.isDingding){
|
|
if(this.isDingding){
|
|
this.bills(false,2)
|
|
this.bills(false,2)
|
|
this.staffs(7,['7'])
|
|
this.staffs(7,['7'])
|
|
this.getUsers()
|
|
this.getUsers()
|
|
}else{
|
|
}else{
|
|
this.getUsers() // 获取人员信息
|
|
this.getUsers() // 获取人员信息
|
|
- this.getDepartment();
|
|
|
|
- this.getAl();
|
|
|
|
- this.getApproverList()
|
|
|
|
|
|
+ this.getDepartment();
|
|
|
|
+ this.getAl();
|
|
|
|
+ this.getApproverList()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
filters: {},
|
|
filters: {},
|
|
methods: {
|
|
methods: {
|
|
- // 监听元素
|
|
|
|
- // watchSize() {
|
|
|
|
- // const _this = this;
|
|
|
|
- // var erd = elementResizeDetectorMaker();
|
|
|
|
- // erd.listenTo(this.$refs.section, (element) => { // 这里的this.$refs.fan指定要监听的元素对象,对应的是<div ref="fan"></div>
|
|
|
|
- // var width = element.offsetWidth;
|
|
|
|
- // var height = element.offsetHeight;
|
|
|
|
- // _this.$nextTick(() => { // 这里填写监听改变后的操做
|
|
|
|
- // console.log('触发监听')
|
|
|
|
- // });
|
|
|
|
- // });
|
|
|
|
- // },
|
|
|
|
// 从钉钉同步假期剩余表
|
|
// 从钉钉同步假期剩余表
|
|
listSynchronize(){
|
|
listSynchronize(){
|
|
this.synchronizeLoading = true
|
|
this.synchronizeLoading = true
|
|
@@ -2033,7 +2020,7 @@ export default {
|
|
.tops {
|
|
.tops {
|
|
width: 100%;
|
|
width: 100%;
|
|
height:100%;
|
|
height:100%;
|
|
- position: absolute;
|
|
|
|
|
|
+ position: relative;
|
|
background: #f7f7f7;
|
|
background: #f7f7f7;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 20px 0 0 200px;
|
|
padding: 20px 0 0 200px;
|