|
@@ -18,7 +18,7 @@
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i>
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i>
|
|
月份:
|
|
月份:
|
|
<!-- <a style="font-weight: 600;margin-right: 6px" @click="onClearSelected"> < </a> -->
|
|
<!-- <a style="font-weight: 600;margin-right: 6px" @click="onClearSelected"> < </a> -->
|
|
- <a-month-picker format="YYYY-MM" placeholder="请输入考勤月份" v-model="headMonth" @change="onDateChange"/>
|
|
|
|
|
|
+ <a-month-picker :allowClear="false" format="YYYY-MM" placeholder="请输入考勤月份" v-model="headMonth" @change="onDateChange"/>
|
|
<!-- <a style="font-weight: 600;margin-left: 6px" @click="onClearSelected"> > </a> -->
|
|
<!-- <a style="font-weight: 600;margin-left: 6px" @click="onClearSelected"> > </a> -->
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i>
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i>
|
|
<a style="margin-left: 20px" @click="errorInfoShow()">异常打卡</a>
|
|
<a style="margin-left: 20px" @click="errorInfoShow()">异常打卡</a>
|
|
@@ -141,6 +141,7 @@
|
|
|
|
|
|
</a-table>
|
|
</a-table>
|
|
<!-- table区域-end -->
|
|
<!-- table区域-end -->
|
|
|
|
+ <a-spin size="large" v-if="spinning == true" style="z-index:999;position:absolute;top:180px;left:50%;" tip="Loading..."></a-spin>
|
|
|
|
|
|
<!-- 表单区域 -->
|
|
<!-- 表单区域 -->
|
|
<Jiao-Zhun-Modal ref="modalForm" @ok="modalFormOk"></Jiao-Zhun-Modal>
|
|
<Jiao-Zhun-Modal ref="modalForm" @ok="modalFormOk"></Jiao-Zhun-Modal>
|
|
@@ -261,6 +262,7 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ spinning:false,
|
|
par_name:'',//导出加班 姓名
|
|
par_name:'',//导出加班 姓名
|
|
par_code:'',//导出加班 工号
|
|
par_code:'',//导出加班 工号
|
|
par_departIds:'',//导出加班 部门
|
|
par_departIds:'',//导出加班 部门
|
|
@@ -638,13 +640,14 @@
|
|
if (!this.userName) {
|
|
if (!this.userName) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ this.spinning = true;
|
|
//加载数据 若传入参数1则加载第一页的内容
|
|
//加载数据 若传入参数1则加载第一页的内容
|
|
if (arg === 1) {
|
|
if (arg === 1) {
|
|
this.ipagination.current = 1;
|
|
this.ipagination.current = 1;
|
|
}
|
|
}
|
|
//if (this.currentDeptId === '') return;
|
|
//if (this.currentDeptId === '') return;
|
|
let params = this.getQueryParams();//查询条件
|
|
let params = this.getQueryParams();//查询条件
|
|
-
|
|
|
|
|
|
+ let that = this;
|
|
params.depId = this.currentDeptId;
|
|
params.depId = this.currentDeptId;
|
|
// params = {'endViewDate':'userName'}
|
|
// params = {'endViewDate':'userName'}
|
|
// console.log("============="+params.userName);
|
|
// console.log("============="+params.userName);
|
|
@@ -653,6 +656,7 @@
|
|
this.dataSource = res.result.records;
|
|
this.dataSource = res.result.records;
|
|
this.ipagination.total = res.result.total;
|
|
this.ipagination.total = res.result.total;
|
|
}
|
|
}
|
|
|
|
+ that.spinning = false;
|
|
})
|
|
})
|
|
},
|
|
},
|
|
batchDel: function () {
|
|
batchDel: function () {
|