From b8fad6218f769b52967b58fc1fb6feb439d283d6 Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Wed, 3 Mar 2021 16:43:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PlanPauseDrawer/index.vue | 8 +- stdiet-ui/src/views/custom/dishes/index.vue | 43 +- .../src/views/custom/ingredient/index.vue | 495 +++++++++--------- 3 files changed, 283 insertions(+), 263 deletions(-) diff --git a/stdiet-ui/src/components/RecipesPlanDrawer/PlanPauseDrawer/index.vue b/stdiet-ui/src/components/RecipesPlanDrawer/PlanPauseDrawer/index.vue index bf19309b1..21f35b212 100644 --- a/stdiet-ui/src/components/RecipesPlanDrawer/PlanPauseDrawer/index.vue +++ b/stdiet-ui/src/components/RecipesPlanDrawer/PlanPauseDrawer/index.vue @@ -14,7 +14,7 @@ icon="el-icon-plus" size="mini" @click="handleAdd" - v-hasPermi="['orderPause:pause:add']" + v-hasPermi="['recipes:pause:add']" >新增 @@ -24,7 +24,7 @@ icon="el-icon-download" size="mini" @click="handleExport" - v-hasPermi="['orderPause:pause:export']" + v-hasPermi="['recipes:pause:export']" >导出 @@ -96,7 +96,7 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['orderPause:pause:edit']" + v-hasPermi="['recipes:pause:edit']" >修改 删除 diff --git a/stdiet-ui/src/views/custom/dishes/index.vue b/stdiet-ui/src/views/custom/dishes/index.vue index 2293142c8..d64acc459 100644 --- a/stdiet-ui/src/views/custom/dishes/index.vue +++ b/stdiet-ui/src/views/custom/dishes/index.vue @@ -247,17 +247,10 @@ :summary-method="getSummaries" style="width: 100%" > - - + + - + - - - - - + + + + + diff --git a/stdiet-ui/src/views/custom/ingredient/index.vue b/stdiet-ui/src/views/custom/ingredient/index.vue index b44ef216f..61fbff02c 100644 --- a/stdiet-ui/src/views/custom/ingredient/index.vue +++ b/stdiet-ui/src/views/custom/ingredient/index.vue @@ -96,13 +96,11 @@ icon="el-icon-search" size="mini" @click="handleQuery" - >搜索 - + >搜索 + 重置 - + >重置 + @@ -114,7 +112,7 @@ size="mini" @click="handleAdd" v-hasPermi="['custom:ingredient:add']" - >新增 + >新增 @@ -124,7 +122,7 @@ size="mini" @click="handleExport" v-hasPermi="['custom:ingredient:export']" - >导出 + >导出 + + + - + 修改 + >修改 删除 + >删除 @@ -241,7 +250,7 @@ - + @@ -376,244 +385,242 @@