fix:计算系数和交接班日志操作添加权限

This commit is contained in:
shijing 2024-05-22 09:09:37 +08:00
parent aeb7259350
commit c4ff77c876
6 changed files with 18 additions and 11 deletions

View File

@ -2407,7 +2407,7 @@ const routes = [
"meta": { "meta": {
"title": "计算系数", "title": "计算系数",
"icon": "el-icon-grid", "icon": "el-icon-grid",
"perms": ["enm_base"] "perms": ["enm_formula"]
}, },
"component": "enm_base/formulaSetting" "component": "enm_base/formulaSetting"
}, },

View File

@ -97,19 +97,20 @@
label="操作" label="操作"
fixed="right" fixed="right"
align="center" align="center"
width="140" width="120"
> >
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link
size="small" size="small"
@click="sflog_edit(scope.row)" @click="sflog_edit(scope.row)"
v-auth="'sflog.update'"
type="primary" type="primary"
>编辑</el-button >编辑</el-button
> >
<!-- <el-button link size="small" @click="sflog_check(scope.row)" type="primary">质量检验</el-button> --> <!-- <el-button link size="small" @click="sflog_check(scope.row)" type="primary">质量检验</el-button> -->
<!-- <el-button link size="small" @click="sflog_other(scope.row)" type="primary">其他能源</el-button> --> <!-- <el-button link size="small" @click="sflog_other(scope.row)" type="primary">其他能源</el-button> -->
<el-divider direction="vertical"></el-divider> <!-- <el-divider direction="vertical"></el-divider> -->
<el-button <el-button
link link
size="small" size="small"

View File

@ -104,12 +104,13 @@
link link
size="small" size="small"
@click="sflog_edit(scope.row)" @click="sflog_edit(scope.row)"
v-auth="'sflog.update'"
type="primary" type="primary"
>操作</el-button >操作</el-button
> >
<!-- <el-button link size="small" @click="sflog_check(scope.row)" type="primary">质量检验</el-button> --> <!-- <el-button link size="small" @click="sflog_check(scope.row)" type="primary">质量检验</el-button> -->
<!-- <el-button link size="small" @click="sflog_other(scope.row)" type="primary">其他能源</el-button> --> <!-- <el-button link size="small" @click="sflog_other(scope.row)" type="primary">其他能源</el-button> -->
<el-divider direction="vertical"></el-divider> <!-- <el-divider direction="vertical"></el-divider> -->
<el-button <el-button
link link
size="small" size="small"

View File

@ -97,19 +97,20 @@
label="操作" label="操作"
fixed="right" fixed="right"
align="center" align="center"
width="140" width="120"
> >
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link
size="small" size="small"
@click="sflog_edit(scope.row)" @click="sflog_edit(scope.row)"
v-auth="'sflog.update'"
type="primary" type="primary"
>操作</el-button >操作</el-button
> >
<!-- <el-button link size="small" @click="sflog_check(scope.row)" type="primary">质量检验</el-button> --> <!-- <el-button link size="small" @click="sflog_check(scope.row)" type="primary">质量检验</el-button> -->
<!-- <el-button link size="small" @click="sflog_other(scope.row)" type="primary">其他能源</el-button> --> <!-- <el-button link size="small" @click="sflog_other(scope.row)" type="primary">其他能源</el-button> -->
<el-divider direction="vertical"></el-divider> <!-- <el-divider direction="vertical"></el-divider> -->
<el-button <el-button
link link
size="small" size="small"

View File

@ -96,17 +96,18 @@
label="操作" label="操作"
fixed="right" fixed="right"
align="center" align="center"
width="140" width="120"
> >
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link
size="small" size="small"
@click="sflog_edit(scope.row)" @click="sflog_edit(scope.row)"
v-auth="'sflog.update'"
type="primary" type="primary"
>编辑</el-button >编辑</el-button
> >
<el-divider direction="vertical"></el-divider> <!-- <el-divider direction="vertical"></el-divider> -->
<el-button <el-button
link link
size="small" size="small"

View File

@ -62,16 +62,19 @@
label="#" label="#"
type="index" type="index"
width="50" width="50"
fixed="left"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="工段" label="工段"
prop="mgroup_name" prop="mgroup_name"
width="80" width="90"
fixed="left"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="目标(项目)" label="目标(项目)"
prop="goal_cate_name" prop="goal_cate_name"
min-width="120" width="190"
fixed="left"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="1月" label="1月"
@ -140,7 +143,7 @@
type="primary" type="primary"
>编辑</el-button >编辑</el-button
> >
<el-divider direction="vertical"></el-divider> <!-- <el-divider direction="vertical"></el-divider> -->
<el-popconfirm <el-popconfirm
title="确定删除吗?" title="确定删除吗?"
@confirm="handleDel(scope.row)" @confirm="handleDel(scope.row)"