From 30aa7981ebc5b4a90eb6801c65bbb51df9e755d1 Mon Sep 17 00:00:00 2001 From: shimu Date: Wed, 22 May 2024 10:11:24 +0800 Subject: [PATCH] x --- vue/src/pages/machine/category/.lowcode/configs.jsx | 13 ++++++++++--- vue/src/pages/machine/category/.lowcode/data | 2 +- vue/src/pages/machine/category/category.vue | 5 ++--- vue/src/pages/machine/list/list.vue | 5 ++--- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/vue/src/pages/machine/category/.lowcode/configs.jsx b/vue/src/pages/machine/category/.lowcode/configs.jsx index a63d608..a322caf 100644 --- a/vue/src/pages/machine/category/.lowcode/configs.jsx +++ b/vue/src/pages/machine/category/.lowcode/configs.jsx @@ -1,8 +1,8 @@ export default { - title: "分类管理", + title: "设备分类管理", entitys: [{"name":"id","label":"编号"},{"name":"title","label":"分类名称"},{"name":"describe","label":"分类描述"},{"name":"parentId","label":"父级ID"},{"name":"createGmt","label":"创建时间","type":"date"},{"name":"updateGmt","label":"更新时间","type":"date"}], columns: ["id","title","describe","createGmt"], - condition: [], + condition: ["title"], slots: { header$() { return ( @@ -11,7 +11,14 @@ export default { ) }, - + action$({ row }) { + return ( + <> + + + + ) + } } } \ No newline at end of file diff --git a/vue/src/pages/machine/category/.lowcode/data b/vue/src/pages/machine/category/.lowcode/data index 7405725..d8921c9 100644 --- a/vue/src/pages/machine/category/.lowcode/data +++ b/vue/src/pages/machine/category/.lowcode/data @@ -1 +1 @@ -{"table":"machine_category","blocks":[],"counter":6787,"basic":{"title":"分类管理","selectable":0,"showIndex":0,"compact":0,"size":"","url":"/do/select/machine_category","actions":[{"label":"新增分类","mode":"wicket","type":"primary","url":"/do/put/machine_category","from":null,"fields":[{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"describe","name":"describe","width":null,"rule":{},"block":null,"blockType":null}],"name":"J_6786","_id":6787}]},"columns":[{"id":"id","name":"id","width":null,"rule":{},"block":null,"blockType":null},{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"describe","name":"describe","width":null,"rule":{},"block":null,"blockType":null},{"id":"createGmt","name":"createGmt","width":null,"rule":{},"block":null,"blockType":null}],"tabs":{"code":null,"defaultVal":null,"list":[],"keyword":null},"condition":[],"conditionLimit":null,"actions":[],"_id":6787} \ No newline at end of file +{"table":"machine_category","blocks":[],"counter":6788,"basic":{"title":"设备分类管理","selectable":0,"showIndex":0,"compact":0,"size":"","url":"/do/select/machine_category","actions":[{"label":"新增分类","mode":"wicket","type":"primary","url":"/do/put/machine_category","from":null,"fields":[{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"describe","name":"describe","width":null,"rule":{},"block":null,"blockType":null}],"name":"J_6786","_id":6787}]},"columns":[{"id":"id","name":"id","width":null,"rule":{},"block":null,"blockType":null},{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"describe","name":"describe","width":null,"rule":{},"block":null,"blockType":null},{"id":"createGmt","name":"createGmt","width":null,"rule":{},"block":null,"blockType":null}],"tabs":{"code":null,"defaultVal":null,"list":[],"keyword":null},"condition":[{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null}],"conditionLimit":null,"actions":[{"label":"编辑","mode":"wicket","type":"text","url":"/do/patch/machine_category","from":null,"fields":[{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"describe","name":"describe","width":null,"rule":{},"block":null,"blockType":null}],"name":"J_6787","_id":6788},{"label":"删除","mode":"confirm","type":"text","url":"/do/delete/machine_category","params":["id"],"tip":"确定删除该分类吗?","_id":6790}],"_id":6790} \ No newline at end of file diff --git a/vue/src/pages/machine/category/category.vue b/vue/src/pages/machine/category/category.vue index a3d3b82..d2a94d9 100644 --- a/vue/src/pages/machine/category/category.vue +++ b/vue/src/pages/machine/category/category.vue @@ -1,5 +1,5 @@ @@ -13,5 +13,4 @@ export default { return {} }, } - - \ No newline at end of file + \ No newline at end of file diff --git a/vue/src/pages/machine/list/list.vue b/vue/src/pages/machine/list/list.vue index 283293e..0079f8a 100644 --- a/vue/src/pages/machine/list/list.vue +++ b/vue/src/pages/machine/list/list.vue @@ -1,5 +1,5 @@ @@ -13,5 +13,4 @@ export default { return {} }, } - - \ No newline at end of file + \ No newline at end of file