mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
perf: 优化审批功能
This commit is contained in:
parent
b78d92b387
commit
428b72ef3d
@ -147,7 +147,7 @@ services:
|
||||
|
||||
approve:
|
||||
container_name: "dootask-approve-${APP_ID}"
|
||||
image: "kuaifan/dooapprove:0.1.3"
|
||||
image: "kuaifan/dooapprove:0.1.5"
|
||||
environment:
|
||||
TZ: "${TIMEZONE:-PRC}"
|
||||
MYSQL_HOST: "${DB_HOST}"
|
||||
|
||||
@ -736,3 +736,7 @@ webhook地址最长仅支持255个字符。
|
||||
|
||||
新会议
|
||||
加入会议
|
||||
|
||||
产检假
|
||||
其他
|
||||
|
||||
|
||||
@ -1789,4 +1789,7 @@ WiFi签到延迟时长为±1分钟。
|
||||
错误的定位签到。
|
||||
|
||||
正在会议中,无法进入其他会议室
|
||||
正在安装更新,请稍候...
|
||||
正在安装更新,请稍候...
|
||||
|
||||
产检假
|
||||
其他
|
||||
|
||||
@ -326,10 +326,10 @@ export default {
|
||||
const minutes = Math.floor(timeDiff / 60);
|
||||
return {time: minutes, unit: this.$L('分钟')};
|
||||
} else if (timeDiff < 3600 * 24) {
|
||||
const hours = Math.floor(timeDiff / 60 / 60);
|
||||
const hours = Math.floor(timeDiff / 60 / 60 * 10) / 10;
|
||||
return {time: hours, unit: this.$L('小时')};
|
||||
} else {
|
||||
const days = Math.floor(timeDiff / 60 / 60 / 24);
|
||||
const days = Math.floor(timeDiff / 60 / 60 / 24 * 10) / 10;
|
||||
return {time: days + 1, unit: this.$L('天')};
|
||||
}
|
||||
},
|
||||
|
||||
@ -334,7 +334,7 @@ export default {
|
||||
endTime: {type: 'string', required: true, message: this.$L('请选择结束时间!'), trigger: 'change'},
|
||||
description: {type: 'string', required: true, message: this.$L('请输入事由!'), trigger: 'change'},
|
||||
},
|
||||
selectTypes: ["年假", "事假", "病假", "调休", "产假", "陪产假", "婚假", "丧假", "哺乳假"],
|
||||
selectTypes: ["年假", "事假", "病假", "调休", "产假", "陪产假", "婚假", "丧假", "哺乳假", "产检假", "其他"],
|
||||
|
||||
//
|
||||
showDateTime: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user