From a2d4c4304784dbcef95408becf450d9b3139811b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?pixel=28=E5=A5=87=E6=B7=BC?= <303176530@qq.com> Date: Sun, 27 Oct 2024 10:35:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=92=E4=BB=B6=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD=E6=8C=89=E7=85=A7=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E6=8F=90=E4=BE=9B=E7=B4=A2=E5=BC=95=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin/web/view/view.vue.template | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/server/resource/plugin/web/view/view.vue.template b/server/resource/plugin/web/view/view.vue.template index 8eafe08b16..88f0e9a9d4 100644 --- a/server/resource/plugin/web/view/view.vue.template +++ b/server/resource/plugin/web/view/view.vue.template @@ -23,6 +23,12 @@ {searchInfo.{{.FieldJson}}=undefined}"> + + {{- else if .CheckDataSource}} + + + + {{- else}} @@ -382,6 +388,12 @@ getDataSourceFunc() + {{- else if .CheckDataSource}} + + + + + {{- else}} {{- if eq .FieldType "float64" "int"}} @@ -605,8 +617,8 @@ getDataSourceFunc() {{- end }} - 查看详情 - 变更 + 查看 + 编辑 删除 @@ -626,7 +638,7 @@ getDataSourceFunc() - {{"{{"}}type==='create'?'添加':'修改'{{"}}"}} + {{"{{"}}type==='create'?'新增':'编辑'{{"}}"}} 确 定 取 消 @@ -710,7 +722,7 @@ getDataSourceFunc() - + {{- range .Fields}} {{- if .Desc }}