<template>
|
<ContentScrollView style="background-color: transparent" has-padding-top>
|
<TaskCheckFileCard
|
:created-time="'2025-12-12 12:12:12'"
|
:userCheckInTime="'2025-12-12 12:12:12'"
|
:userCheckOutTime="'2025-12-12 12:12:12'"
|
:checkReceiveStatus="10"
|
:checkReceiveMethods="[10]"
|
:files="list"
|
></TaskCheckFileCard>
|
<nut-form :model-value="form" ref="formRef" :rules="rules" label-position="top">
|
<nut-form-item class="bole-form-item" prop="remark" label="备注">
|
<nut-textarea v-model="form.remark" rows="4" placeholder="请输入"> </nut-textarea>
|
</nut-form-item>
|
</nut-form>
|
</ContentScrollView>
|
<PageFooter>
|
<PageFooterBtn type="primary" @click="handleConfirm">提交</PageFooterBtn>
|
</PageFooter>
|
</template>
|
|
<script setup lang="ts">
|
import Taro from '@tarojs/taro';
|
import * as standardServiceServices from '@12333/services/apiV2/standardService';
|
import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types';
|
import { TaskCheckFileCard } from '@12333/components';
|
import { setOSSLink } from '@12333/utils';
|
|
defineOptions({
|
name: 'InnerPage',
|
});
|
|
const list = ref([
|
'https://storage.360buyimg.com/jdc-article/NutUItaro34.jpg',
|
'https://storage.360buyimg.com/jdc-article/NutUItaro2.jpg',
|
'https://storage.360buyimg.com/jdc-article/welcomenutui.jpg',
|
'https://storage.360buyimg.com/jdc-article/fristfabu.jpg',
|
]);
|
|
const route = Taro.useRouter();
|
const id = route.params?.id as string;
|
|
const form = reactive({
|
remark: '',
|
});
|
|
const rules = reactive<FormRules>({});
|
|
const formRef = ref<any>(null);
|
function handleConfirm() {
|
if (!formRef.value) return;
|
formRef.value.validate().then(({ valid, errors }: any) => {
|
if (valid) {
|
confirm();
|
}
|
});
|
}
|
|
async function confirm() {
|
try {
|
} catch (error) {}
|
}
|
</script>
|
|
<style lang="scss">
|
@import '@/styles/common.scss';
|
</style>
|