修改请假申请文字描述

main
sheng 2024-05-27 16:32:17 +08:00
parent 6f3d3b5919
commit 70df8845c0
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
VITE_COMMON_API_PREFIX = /api-base
VITE_COMMON_API_URL = https://store.manage.zlgj168.com/api
VITE_COMMON_API_URL = http://store-manage.hmily.club/api
VITE_COMMON_URL = https://store.manage.zlgj168.com
VITE_COMMON_URL = http://store-manage.hmily.club

View File

@ -38,8 +38,8 @@
</uv-input>
</uv-form-item>
<uv-line color="#f5f5f5"></uv-line>
<uv-form-item required label="请假由" prop="reason" labelPosition="top">
<uv-textarea :customStyle="{ padding: '0' }" v-model="form.reason" count placeholder="请输入请假由" :border="`none`" :maxlength="200"></uv-textarea>
<uv-form-item required label="请假由" prop="reason" labelPosition="top">
<uv-textarea :customStyle="{ padding: '0' }" v-model="form.reason" count placeholder="请输入请假由" :border="`none`" :maxlength="200"></uv-textarea>
</uv-form-item>
</uv-form>
</view>
@ -110,7 +110,7 @@ const confirmPicker = e => {
const rules = reactive({
start_at: [{ required: true, message: "请选择时间" }],
end_at: [{ required: true, message: "请选择时间" }],
reason: [{ required: true, message: "请输入请假由" }],
reason: [{ required: true, message: "请输入请假由" }],
type_id: [{ required: true, message: "请选择请假类别" }]
})
onLoad(options => {

View File

@ -39,7 +39,7 @@ const columns = [
{ title: '请假类型', dataIndex: 'type.name' },
{ title: '请假开始时间', dataIndex: 'start_format' },
{ title: '请假结束时间', dataIndex: 'end_format' },
{ title: '请假原因', dataIndex: 'reason', labelPosition: 'top' },
{ title: '请假事由', dataIndex: 'reason', labelPosition: 'top' },
{ title: '未通过原因', dataIndex: 'workflow_check.check_remarks', labelPosition: 'top', isShow: (data) => data?.workflow_check?.check_status == 4 },
]

View File

@ -91,7 +91,7 @@ export default {
{ title: '请假类型', dataIndex: 'check.subject.type.name'},
{ title: '请假开始时间', dataIndex: 'check.subject.start_format'},
{ title: '请假结束时间', dataIndex: 'check.subject.end_format'},
{ title: '请假原因', dataIndex: 'check.subject.reason', labelPosition: 'top'},
{ title: '请假事由', dataIndex: 'check.subject.reason', labelPosition: 'top'},
{ title: '未通过原因', dataIndex: 'remarks', labelPosition: 'top', isShow: (item) => item?.check_status == 4},
]
},