流程ui优化

This commit is contained in:
XaoLi717 2024-11-07 11:15:10 +08:00
parent a0b68a65ac
commit 3d647a6e27
2 changed files with 15 additions and 4 deletions

View File

@ -1,5 +1,8 @@
<template> <template>
<ContentWrap> <el-card >
<template #header>
<span style="font-size: 16px">创建办公用品流程</span>
</template>
<el-form <el-form
ref="formRef" ref="formRef"
:model="formData" :model="formData"
@ -80,8 +83,10 @@
<el-input v-model="formData.usagePurpose" type="textarea" placeholder="请输入申请用途" /> <el-input v-model="formData.usagePurpose" type="textarea" placeholder="请输入申请用途" />
</el-form-item> </el-form-item>
</el-form> </el-form>
<template #footer>
<el-button @click="submitForm" type="primary" :disabled="formLoading"> </el-button> <el-button @click="submitForm" type="primary" :disabled="formLoading"> </el-button>
</ContentWrap> </template>
</el-card>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { getIntDictOptions, DICT_TYPE } from '@/utils/dict' import { getIntDictOptions, DICT_TYPE } from '@/utils/dict'

View File

@ -1,5 +1,8 @@
<template> <template>
<ContentWrap> <el-card>
<template #header>
<span style="font-size: 16px">查看办公用品流程</span>
</template>
<el-form <el-form
ref="formRef" ref="formRef"
:model="formData" :model="formData"
@ -82,7 +85,10 @@
<el-input v-model="formData.usagePurpose" type="textarea" placeholder="请输入申请用途" disabled /> <el-input v-model="formData.usagePurpose" type="textarea" placeholder="请输入申请用途" disabled />
</el-form-item> </el-form-item>
</el-form> </el-form>
</ContentWrap> <template #footer>
</template>
</el-card>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { getIntDictOptions, DICT_TYPE } from '@/utils/dict' import { getIntDictOptions, DICT_TYPE } from '@/utils/dict'