|
@@ -750,7 +750,7 @@ export default {
|
|
|
if(this.approverList.length != 0){
|
|
|
this.mustApprover = 'approver'
|
|
|
}
|
|
|
- console.log('list',res.data);
|
|
|
+ // console.log('list',res.data);
|
|
|
}else {
|
|
|
this.$message({
|
|
|
message: res.msg,
|
|
@@ -873,7 +873,7 @@ export default {
|
|
|
handleNodeClick(data) {
|
|
|
if(this.depData == null || data.id != this.depData.id) {
|
|
|
this.depData = data;
|
|
|
- console.log("depdata",this.depData);
|
|
|
+ // console.log("depdata",this.depData);
|
|
|
this.getSettings();
|
|
|
}
|
|
|
},
|
|
@@ -884,7 +884,7 @@ export default {
|
|
|
this.listLoading = false;
|
|
|
if (res.code == "ok") {
|
|
|
this.dataArray = res.data;
|
|
|
- console.log("请求1",res.data);
|
|
|
+ // console.log("请求1",res.data);
|
|
|
} else {
|
|
|
this.$message({
|
|
|
message: res.msg,
|
|
@@ -984,7 +984,7 @@ export default {
|
|
|
this.dialogVisible = false;
|
|
|
if (this.curDeptId == null) return;
|
|
|
var node = this.$refs.deptCascader.getCheckedNodes()[0];
|
|
|
- console.log("node",node);
|
|
|
+ // console.log("node",node);
|
|
|
|
|
|
if (this.isAdd) {
|
|
|
if(node.path[0] == 1){
|
|
@@ -1109,7 +1109,7 @@ export default {
|
|
|
this.addForm.leaveType = index
|
|
|
},
|
|
|
staffs(key, keyPath) {
|
|
|
- console.log("keypath",keyPath)
|
|
|
+ // console.log("keypath",keyPath)
|
|
|
if (keyPath[0] == '1') {
|
|
|
this.displayTable = false;
|
|
|
this.apk = false
|
|
@@ -1228,7 +1228,7 @@ export default {
|
|
|
return zong
|
|
|
},
|
|
|
submits(){
|
|
|
- console.log(this.addForm)
|
|
|
+ // console.log(this.addForm)
|
|
|
// return
|
|
|
this.$refs.addForm.validate(valid => {
|
|
|
this.addForm.endDate = this.buling(this.addForm.endDate)
|
|
@@ -1284,12 +1284,12 @@ export default {
|
|
|
},
|
|
|
txselts(a,b){
|
|
|
this.selts()
|
|
|
- console.log('txselts',this.addForm.ownerId);
|
|
|
+ // console.log('txselts',this.addForm.ownerId);
|
|
|
if(a == 6 && this.addForm.ownerId != ''){
|
|
|
this.http.post('/leave-sheet/getOTAvaiDays',{ userId:b },
|
|
|
res => {
|
|
|
if(res.code == "ok") {
|
|
|
- console.log('post',res.data);
|
|
|
+ // console.log('post',res.data);
|
|
|
if(res.data < 0.5){
|
|
|
this.txselnum = 0
|
|
|
}else{
|
|
@@ -1318,7 +1318,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
chanRadio() {
|
|
|
- console.log(this.addForm.timeType)
|
|
|
+ // console.log(this.addForm.timeType)
|
|
|
if(this.addForm.timeType == '0') {
|
|
|
this.flg = true
|
|
|
this.addForm.startDate = this.getCurrentTime()
|
|
@@ -1346,7 +1346,7 @@ export default {
|
|
|
this.addForm.timeHours = this.addForm.timeDays * 8
|
|
|
},
|
|
|
datasss() {
|
|
|
- console.log(123)
|
|
|
+ // console.log(123)
|
|
|
this.addForm.endDate = this.addForm.startDate
|
|
|
},
|
|
|
DateDiff(sDate1, sDate2){
|
|
@@ -1408,7 +1408,7 @@ export default {
|
|
|
this.bills()
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
- console.log(val, 1, '1')
|
|
|
+ // console.log(val, 1, '1')
|
|
|
this.page = val;
|
|
|
this.bills()
|
|
|
},
|
|
@@ -1456,7 +1456,7 @@ export default {
|
|
|
} else {
|
|
|
if(this.addForm.timeHours.indexOf('.') != '-1') {
|
|
|
var str = this.addForm.timeHours
|
|
|
- console.log(str)
|
|
|
+ // console.log(str)
|
|
|
if(str.indexOf('.') != '-1') {
|
|
|
var s = str.split('.')[0]
|
|
|
var st = str.split('.')[1]
|
|
@@ -1465,7 +1465,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- console.log(this.addForm)
|
|
|
+ // console.log(this.addForm)
|
|
|
},
|
|
|
deletes(e) {
|
|
|
this.$confirm("确认要删除吗?", "提示", {
|