修改请假申请文字描述
parent
6f3d3b5919
commit
70df8845c0
|
|
@ -1,5 +1,5 @@
|
||||||
VITE_COMMON_API_PREFIX = /api-base
|
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
|
||||||
|
|
@ -38,8 +38,8 @@
|
||||||
</uv-input>
|
</uv-input>
|
||||||
</uv-form-item>
|
</uv-form-item>
|
||||||
<uv-line color="#f5f5f5"></uv-line>
|
<uv-line color="#f5f5f5"></uv-line>
|
||||||
<uv-form-item required label="请假理由" prop="reason" labelPosition="top">
|
<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-textarea :customStyle="{ padding: '0' }" v-model="form.reason" count placeholder="请输入请假事由" :border="`none`" :maxlength="200"></uv-textarea>
|
||||||
</uv-form-item>
|
</uv-form-item>
|
||||||
</uv-form>
|
</uv-form>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -110,7 +110,7 @@ const confirmPicker = e => {
|
||||||
const rules = reactive({
|
const rules = reactive({
|
||||||
start_at: [{ required: true, message: "请选择时间" }],
|
start_at: [{ required: true, message: "请选择时间" }],
|
||||||
end_at: [{ required: true, message: "请选择时间" }],
|
end_at: [{ required: true, message: "请选择时间" }],
|
||||||
reason: [{ required: true, message: "请输入请假理由" }],
|
reason: [{ required: true, message: "请输入请假事由" }],
|
||||||
type_id: [{ required: true, message: "请选择请假类别" }]
|
type_id: [{ required: true, message: "请选择请假类别" }]
|
||||||
})
|
})
|
||||||
onLoad(options => {
|
onLoad(options => {
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ const columns = [
|
||||||
{ title: '请假类型', dataIndex: 'type.name' },
|
{ title: '请假类型', dataIndex: 'type.name' },
|
||||||
{ title: '请假开始时间', dataIndex: 'start_format' },
|
{ title: '请假开始时间', dataIndex: 'start_format' },
|
||||||
{ title: '请假结束时间', dataIndex: 'end_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 },
|
{ title: '未通过原因', dataIndex: 'workflow_check.check_remarks', labelPosition: 'top', isShow: (data) => data?.workflow_check?.check_status == 4 },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ export default {
|
||||||
{ title: '请假类型', dataIndex: 'check.subject.type.name'},
|
{ title: '请假类型', dataIndex: 'check.subject.type.name'},
|
||||||
{ title: '请假开始时间', dataIndex: 'check.subject.start_format'},
|
{ title: '请假开始时间', dataIndex: 'check.subject.start_format'},
|
||||||
{ title: '请假结束时间', dataIndex: 'check.subject.end_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},
|
{ title: '未通过原因', dataIndex: 'remarks', labelPosition: 'top', isShow: (item) => item?.check_status == 4},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue