diff --git a/vue/src/pages/article/category/.lowcode/configs.jsx b/vue/src/pages/article/category/.lowcode/configs.jsx deleted file mode 100644 index c15542d..0000000 --- a/vue/src/pages/article/category/.lowcode/configs.jsx +++ /dev/null @@ -1,48 +0,0 @@ -export default { - 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", "updateGmt"], - condition: ["title"], - slots: { - header$() { - return ( - <> - - - ); - }, - action$({ row }) { - return ( - <> - - - - ); - }, - }, -}; diff --git a/vue/src/pages/article/category/.lowcode/data b/vue/src/pages/article/category/.lowcode/data deleted file mode 100644 index 738209e..0000000 --- a/vue/src/pages/article/category/.lowcode/data +++ /dev/null @@ -1 +0,0 @@ -{"table":"category","blocks":[],"counter":6787,"basic":{"title":"文章分类","selectable":0,"showIndex":0,"compact":0,"size":"","url":"/do/select/category","actions":[{"label":"新建分类","mode":"wicket","type":"primary","url":"/do/put/category","name":"add","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}],"_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},{"id":"updateGmt","name":"updateGmt","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/category","name":"J_6786","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}],"_id":6788},{"label":"删除","mode":"confirm","type":"text","url":"/do/delete/category","params":["id"],"tip":"确定删除该分类吗?","_id":6789}],"_id":6789} \ No newline at end of file diff --git a/vue/src/pages/article/category/category.vue b/vue/src/pages/article/category/category.vue deleted file mode 100644 index 0e3f6e5..0000000 --- a/vue/src/pages/article/category/category.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file diff --git a/vue/src/pages/article/index.js b/vue/src/pages/article/index.js deleted file mode 100644 index faa63db..0000000 --- a/vue/src/pages/article/index.js +++ /dev/null @@ -1,4 +0,0 @@ -export default { - 'article/category': () => import( /* webpackChunkName: "pages/article/category" */ "./category/category.vue"), - 'article/list': () => import( /* webpackChunkName: "pages/article/list" */ "./list/list.vue") -}; \ No newline at end of file diff --git a/vue/src/pages/article/list/.lowcode/configs.jsx b/vue/src/pages/article/list/.lowcode/configs.jsx deleted file mode 100644 index c0fd6bd..0000000 --- a/vue/src/pages/article/list/.lowcode/configs.jsx +++ /dev/null @@ -1,25 +0,0 @@ -export default { - title: "文章列表", - tabs: {"code":"articleType","list":[],"keyword":"type"}, - entitys: [{"name":"id","label":"编号"},{"name":"title","label":"文章标题"},{"name":"categoryId","label":"文章分类"},{"name":"type","label":"文章类型","code":"articleType"},{"name":"content","label":"文章内容","type":"editor"},{"name":"commentable","label":"是否支持评论","type":"number"},{"name":"createGmt","label":"创建时间","type":"date"},{"name":"updateGmt","label":"更新时间","type":"date"},{"name":"pictures","label":"图片列表"},{"name":"uid","label":"创建者"},{"name":"author","label":"创建者"},{"name":"from","label":"来源"}], - columns: ["id","title","type","uid","updateGmt","createGmt"], - condition: ["title","categoryId"], - slots: { - header$() { - return ( - <> - - - ) - }, - action$({ row }) { - return ( - <> - - - - ) - } - } -} - \ No newline at end of file diff --git a/vue/src/pages/article/list/.lowcode/data b/vue/src/pages/article/list/.lowcode/data deleted file mode 100644 index f82e67e..0000000 --- a/vue/src/pages/article/list/.lowcode/data +++ /dev/null @@ -1 +0,0 @@ -{"table":"article","blocks":[],"counter":6786,"basic":{"title":"文章列表","selectable":0,"showIndex":0,"compact":0,"size":"","url":"/do/select/article","actions":[{"label":"新增文章","mode":"drawer","type":"primary","title":null,"params":null,"width":null,"from":null,"actions":[],"_id":6787,"url":"/do/put/article","fields":[{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"categoryId","name":"categoryId","width":null,"rule":{},"block":null,"blockType":null},{"id":"type","name":"type","width":null,"rule":{},"block":null,"blockType":null},{"id":"content","name":"content","width":null,"rule":{},"block":null,"blockType":null},{"id":"commentable","name":"commentable","width":null,"rule":{},"block":null,"blockType":null},{"id":"pictures","name":"pictures","width":null,"rule":{},"block":null,"blockType":null},{"id":"author","name":"author","width":null,"rule":{},"block":null,"blockType":null},{"id":"from","name":"from","width":null,"rule":{},"block":null,"blockType":null}]}]},"columns":[{"id":"id","name":"id","width":null,"rule":{},"block":null,"blockType":null},{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"type","name":"type","width":null,"rule":{},"block":null,"blockType":null},{"id":"uid","name":"uid","width":null,"rule":{},"block":null,"blockType":null},{"id":"updateGmt","name":"updateGmt","width":null,"rule":{},"block":null,"blockType":null},{"id":"createGmt","name":"createGmt","width":null,"rule":{},"block":null,"blockType":null}],"tabs":{"code":"articleType","defaultVal":null,"list":[],"keyword":"type"},"condition":[{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"categoryId","name":"categoryId","width":null,"rule":{},"block":null,"blockType":null}],"conditionLimit":null,"actions":[{"label":"编辑","mode":"drawer","type":"text","title":"编辑文章","params":null,"width":null,"from":null,"actions":[],"_id":6788,"url":"/do/patch/article","fields":[{"id":"title","name":"title","width":null,"rule":{},"block":null,"blockType":null},{"id":"categoryId","name":"categoryId","width":null,"rule":{},"block":null,"blockType":null},{"id":"type","name":"type","width":null,"rule":{},"block":null,"blockType":null},{"id":"content","name":"content","width":null,"rule":{},"block":null,"blockType":null},{"id":"commentable","name":"commentable","width":null,"rule":{},"block":null,"blockType":null},{"id":"author","name":"author","width":null,"rule":{},"block":null,"blockType":null},{"id":"from","name":"from","width":null,"rule":{},"block":null,"blockType":null},{"id":"pictures","name":"pictures","width":null,"rule":{},"block":null,"blockType":null}]},{"label":"删除","mode":"confirm","type":"text","url":"/do/delete/article","params":["id"],"tip":"确定删除该文章吗?","_id":6789}],"_id":6789} \ No newline at end of file diff --git a/vue/src/pages/article/list/list.vue b/vue/src/pages/article/list/list.vue deleted file mode 100644 index fd4f283..0000000 --- a/vue/src/pages/article/list/list.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file diff --git a/vue/src/pages/index.js b/vue/src/pages/index.js index 40e4ecb..9b35edd 100644 --- a/vue/src/pages/index.js +++ b/vue/src/pages/index.js @@ -1,23 +1,17 @@ - -import article from './article/index'; -import capital from './capital/index'; -import machine from './machine/index'; -import maintain from './maintain/index'; -import material from './material/index'; -import screen from './screen/index'; -import system from './system/index'; -import warn from './warn/index'; - - +import capital from "./capital/index"; +import machine from "./machine/index"; +import maintain from "./maintain/index"; +import material from "./material/index"; +import screen from "./screen/index"; +import system from "./system/index"; +import warn from "./warn/index"; export default { - ...article, - ...capital, - ...machine, - ...maintain, - ...material, - ...screen, - ...system, - ...warn + ...capital, + ...machine, + ...maintain, + ...material, + ...screen, + ...system, + ...warn, }; - \ No newline at end of file