@@ -208,9 +208,9 @@ const getApprovalDetail = async (row: any) => {
} finally {
}
+
/** 提交按钮 */
const submitForm = async (formData: any) => {
- debugger
if (!fApi.value || !props.selectProcessDefinition) {
return
@@ -204,7 +204,7 @@ const getApprovalDetail = async () => {
const formFieldsPermission = data.formFieldsPermission
if (detailForm.value.rule.length > 0) {
- // 避免刷新 form-create 显示不了,
+ // 避免刷新 form-create 显示不了
detailForm.value.value = processInstance.value.formVariables
} else {
setConfAndFields2(
@@ -222,7 +222,6 @@ const handleCreate = async (row?: ProcessInstanceVO) => {
const processDefinitionDetail = await DefinitionApi.getProcessDefinition(
row.processDefinitionId
)
if (processDefinitionDetail.formType === 20) {
message.error('重新发起流程失败,原因:该流程使用业务表单,不支持重新发起')
@@ -257,7 +257,6 @@ const resetForm = (appId, code) => {
const fileBeforeUpload = (file, fileAccept) => {
let format = '.' + file.name.split('.')[1]
if (format !== fileAccept) {
message.error('请上传指定格式"' + fileAccept + '"文件')
return false