修改签到打卡
This commit is contained in:
@@ -8,12 +8,19 @@
|
||||
<view class="top-height" :style="{ paddingTop: navBarPaddingTop + 'px' }"></view>
|
||||
|
||||
<view class="inner-box">
|
||||
<view class="cu-form-group">
|
||||
<textarea v-model="form.remark" placeholder="请输入签到备注内容" name="input"></textarea>
|
||||
</view>
|
||||
<view class="btn-box">
|
||||
<view class="cu-form-group" style="height: 200px;padding:10px;">
|
||||
<uni-forms ref="formRef" :model="form" label-width="100px">
|
||||
<uni-forms-item label="签到备注内容" name="understandTheWay"
|
||||
class="uni-forms-item is-direction-top is-top">
|
||||
<uni-easyinput type="textarea" autoHeight v-model="form.remark" placeholder="请输入签到备注内容"
|
||||
class="form-texarea" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
|
||||
<view class="btn-box" style="padding-top: 50px;">
|
||||
<button type="primary" @click="addInsertMapClockIn">签到</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -27,20 +34,20 @@ import { parseTime } from '@/utils/datetime.js';
|
||||
import { onLoad } from '@dcloudio/uni-app';
|
||||
import { getNavBarPaddingTop } from '@/utils/system.js'
|
||||
let form = reactive({
|
||||
addressForStart: null,
|
||||
addressForEnd: null,
|
||||
createId: null,
|
||||
staffName: null,
|
||||
visistCode: null,
|
||||
visistId: null,
|
||||
mapId: null,
|
||||
remark: null
|
||||
})
|
||||
addressForStart: null,
|
||||
addressForEnd: null,
|
||||
createId: null,
|
||||
staffName: null,
|
||||
visistCode: null,
|
||||
visistId: null,
|
||||
mapId: null,
|
||||
remark: null
|
||||
})
|
||||
|
||||
// 获取导航栏高度用于内容区域padding
|
||||
const navBarPaddingTop = ref(0);
|
||||
onMounted(() => {
|
||||
navBarPaddingTop.value = getNavBarPaddingTop() * 2;
|
||||
navBarPaddingTop.value = getNavBarPaddingTop() * 2;
|
||||
})
|
||||
|
||||
onLoad(option => {
|
||||
|
||||
Reference in New Issue
Block a user