wupengfei
5 天以前 f9f0d8967209c9034dc293fb09844db67e06eda7
fix: bug
1个文件已修改
8 ■■■■ 已修改文件
src/views/ProtocolManage/EditTemplate.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/ProtocolManage/EditTemplate.vue
@@ -185,7 +185,7 @@
  }
);
const { dialogProps, handleEdit, handleAdd, editForm } = useFormDialog({
const { dialogProps, handleEdit, handleAdd, editForm, dialogState } = useFormDialog({
  onConfirm: handleAddOrEdit,
  defaultFormParams: {
    id: '',
@@ -199,6 +199,7 @@
    templateEditData: '',
    enterpriseId: '',
  },
  closeAfterConfirm: false,
});
async function openDialog(row?: API.GetEnterpriseContractTemplatesQueryResultItem) {
@@ -251,8 +252,11 @@
    if (res) {
      Message.successMessage('操作成功');
      getList();
      dialogState.dialogVisible = false;
    }
  } catch (error) {}
  } catch (error) {
    dialogState.dialogVisible = true;
  }
}
function handleDownload(row: API.GetEnterpriseContractTemplatesQueryResultItem) {