<template>
    <global-page title="添加公司值班信息" showEdit @handleCancel="handleCancel" @handleSave="handleSave">
        <view class="form">
            <uni-forms>
                <global-form-item label="公司值班经理">
                    <global-picker></global-picker>
                </global-form-item>
                <global-form-item label="公司值班经理意见">
                    <global-picker></global-picker>
                </global-form-item>
                <global-form-item label="公司值班经理意见描述" label-position="top">
                    <textarea placeholder="请输入" />
                </global-form-item>
            </uni-forms>
        </view>
    </global-page>
</template>

<script setup>
import { ref } from 'vue'

const handleCancel = () => {
    uni.navigateBack()
}
const handleSave = () => {
    console.log('点击保存')
}
</script>

<style lang="scss" scoped>
.form {
    background: #fff;
}
</style>
