From 5f8b89e60806c126ff296a9117beff69e264bffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Fri, 12 Apr 2024 18:34:35 +0800 Subject: [PATCH 01/22] =?UTF-8?q?:zap:=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/CodeGenTemplate/app/api.txt | 15 --------------- .../wwwroot/CodeGenTemplate/app/form.txt | 6 ++++-- .../wwwroot/CodeGenTemplate/app/vue2.txt | 3 --- .../wwwroot/CodeGenTemplate/v3/Vue.txt | 4 ++-- 4 files changed, 6 insertions(+), 22 deletions(-) diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/api.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/api.txt index 30f869c2..93217fcd 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/api.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/api.txt @@ -60,19 +60,4 @@ export function del${genTable.BusinessName}(pid) { method: 'delete' }) } -$end -$if(replaceDto.ShowBtnTruncate) -// 清空${genTable.functionName} -export function clear${genTable.BusinessName}() { - return request({ - url: '/${genTable.ModuleName}/${genTable.BusinessName}/clean', - method: 'delete' - }) -} -$end -$if(replaceDto.ShowBtnExport) -// 导出${genTable.functionName} -export async function export${genTable.BusinessName}(query) { - await downFile('/${genTable.ModuleName}/${genTable.BusinessName}/export', { ...query }) -} $end \ No newline at end of file diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt index 429ae152..da88a3c9 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt @@ -1,5 +1,6 @@