This commit is contained in:
qsh
2025-08-12 11:05:11 +08:00
parent 1d3b4944e5
commit c786995532
3 changed files with 53 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<el-form
:model="form"
ref="formRef"
:disabled="formType == 'do'"
:disabled="['do', 'detail'].includes(formType)"
:rules="rules"
label-width="80px"
class="flex-1"
@@ -239,7 +239,9 @@ const followList = ref([])
function open(type, id) {
show.value = true
title.value = { create: '新增待办', update: '修改待办', do: '更新待办进度' }[type]
title.value = { create: '新增待办', update: '修改待办', do: '更新待办进度', detail: '待办详情' }[
type
]
formType.value = type
resetForm()
if (id) {