diff --git a/web/src/view/systemTools/autoCodeAdmin/index.vue b/web/src/view/systemTools/autoCodeAdmin/index.vue
index 7c4c7c0c0a..3256aea0a2 100644
--- a/web/src/view/systemTools/autoCodeAdmin/index.vue
+++ b/web/src/view/systemTools/autoCodeAdmin/index.vue
@@ -148,49 +148,64 @@
:model="autoFunc"
label-width="80px"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
funcFlag.value = false
diff --git a/web/src/view/systemTools/exportTemplate/exportTemplate.vue b/web/src/view/systemTools/exportTemplate/exportTemplate.vue
index f4ab74a6e6..913655686a 100644
--- a/web/src/view/systemTools/exportTemplate/exportTemplate.vue
+++ b/web/src/view/systemTools/exportTemplate/exportTemplate.vue
@@ -121,9 +121,18 @@
label="模板信息"
prop="templateInfo"
min-width="120"
+ show-overflow-tooltip
/>
-
+
+ 复制
{
+ let copyData
+ const res = await findSysExportTemplate({ ID: row.ID })
+ if (res.code === 0) {
+ copyData = JSON.parse(JSON.stringify(res.data.resysExportTemplate))
+ if (!copyData.conditions) {
+ copyData.conditions = []
+ }
+ if (!copyData.joinTemplate) {
+ copyData.joinTemplate = []
+ }
+ delete copyData.ID
+ delete copyData.CreatedAt
+ delete copyData.UpdatedAt
+ copyData.templateID = copyData.templateID + '_copy'
+ copyData.name = copyData.name + '_copy'
+ formData.value = copyData
+ dialogFormVisible.value = true
+ }
+ }
+
// 更新行
const updateSysExportTemplateFunc = async (row) => {
const res = await findSysExportTemplate({ ID: row.ID })