项目添加备注字段

This commit is contained in:
马梓彭 2026-07-18 13:13:19 +08:00
parent 95e5ff73b8
commit c20a53b396
2 changed files with 15 additions and 0 deletions

View File

@ -314,6 +314,7 @@ const columns = ref([
prop: 'completionCount', prop: 'completionCount',
label: '完成人数', label: '完成人数',
}, },
{ prop: 'remark', label: '备注' },
{ prop: 'fee', label: '费用(元)' }, { prop: 'fee', label: '费用(元)' },
]); ]);

View File

@ -141,6 +141,11 @@
<span class="duration-label">秒</span> <span class="duration-label">秒</span>
</div> </div>
</el-form-item> </el-form-item>
<!-- 备注 -->
<el-form-item label="备注:" prop="remark">
<el-input v-model="formData.remark" placeholder="请输入备注" type="textarea" :rows="3" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-form> </el-form>
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer">
@ -229,6 +234,11 @@
<span class="duration-label">秒</span> <span class="duration-label">秒</span>
</div> </div>
</el-form-item> </el-form-item>
<!-- 备注 -->
<el-form-item label="备注:">
<el-input v-model="detailData.remark" disabled type="textarea" :rows="3"></el-input>
</el-form-item>
</el-form> </el-form>
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer">
@ -288,6 +298,7 @@ const formData = ref({
completionCountMin: '', completionCountMin: '',
completionCountMax: '', completionCountMax: '',
fee: '', fee: '',
remark: '',
durationMinutes: '', durationMinutes: '',
durationSeconds: '', durationSeconds: '',
groups: [ groups: [
@ -433,6 +444,8 @@ const columns = ref([
{ prop: 'time', label: '时长' }, { prop: 'time', label: '时长' },
{ prop: 'remark', label: '备注' },
{ prop: 'action', label: '操作', align: 'center', fixed: 'right' }, { prop: 'action', label: '操作', align: 'center', fixed: 'right' },
]); ]);
@ -449,6 +462,7 @@ const onOpenMenu = async (row) => {
completionCountMin: '', completionCountMin: '',
completionCountMax: '', completionCountMax: '',
fee: '', fee: '',
remark: '',
durationMinutes: '', durationMinutes: '',
durationSeconds: '', durationSeconds: '',
groups: [ groups: [