mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-07 07:25:07 +08:00
Vue3 重构:重构工作流的表单
This commit is contained in:
@ -374,7 +374,7 @@ const formDetailPreview = ref({
|
||||
const handleFormDetail = async (row) => {
|
||||
if (row.formType == 10) {
|
||||
// 设置表单
|
||||
const data = await FormApi.getFormApi(row.formId)
|
||||
const data = await FormApi.getForm(row.formId)
|
||||
setConfAndFields2(formDetailPreview, data.conf, data.fields)
|
||||
// 弹窗打开
|
||||
formDetailVisible.value = true
|
||||
@ -588,7 +588,7 @@ const uploadClose = () => {
|
||||
// ========== 初始化 ==========
|
||||
onMounted(() => {
|
||||
// 获得流程表单的下拉框的数据
|
||||
FormApi.getSimpleFormsApi().then((data) => {
|
||||
FormApi.getSimpleFormList().then((data) => {
|
||||
forms.value = data
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user