Commit 844e01ad authored by hiyonx's avatar hiyonx

sap特性设置-权限设置

parent 167a38ef
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['mes:md:client:add']" v-hasPermi="['md:propertydict:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
size="mini" size="mini"
:disabled="single" :disabled="single"
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['mes:md:client:edit']" v-hasPermi="['md:propertydict:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['mes:md:client:remove']" v-hasPermi="['md:propertydict:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['mes:md:client:export']" v-hasPermi="['md:propertydict:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...@@ -79,10 +79,10 @@ ...@@ -79,10 +79,10 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width"> <el-table-column label="操作" class-name="small-padding fixed-width">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button v-hasPermi="['mes:md:client:edit']" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(row)"> <el-button v-hasPermi="['md:propertydict:edit']" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(row)">
修改 修改
</el-button> </el-button>
<el-button v-hasPermi="['mes:md:client:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(row)"> <el-button v-hasPermi="['md:propertydict:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(row)">
删除 删除
</el-button> </el-button>
</template> </template>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['mes:md:client:add']" v-hasPermi="['md:propertytype:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
size="mini" size="mini"
:disabled="single" :disabled="single"
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['mes:md:client:edit']" v-hasPermi="['md:propertytype:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['mes:md:client:remove']" v-hasPermi="['md:propertytype:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['mes:md:client:export']" v-hasPermi="['md:propertytype:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="toPropertyDict" @click="toPropertyDict"
v-hasPermi="['md:propertytype:dict']"
>数据字典</el-button> >数据字典</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...@@ -106,10 +107,10 @@ ...@@ -106,10 +107,10 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width"> <el-table-column label="操作" class-name="small-padding fixed-width">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button v-hasPermi="['mes:md:client:edit']" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(row)"> <el-button v-hasPermi="['md:propertytype:edit']" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(row)">
修改 修改
</el-button> </el-button>
<el-button v-hasPermi="['mes:md:client:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(row)"> <el-button v-hasPermi="['md:propertytype:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(row)">
删除 删除
</el-button> </el-button>
</template> </template>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['mes:md:client:add']" v-hasPermi="['md:sapproperty:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
size="mini" size="mini"
:disabled="single" :disabled="single"
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['mes:md:client:edit']" v-hasPermi="['md:sapproperty:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['mes:md:client:remove']" v-hasPermi="['md:sapproperty:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['mes:md:client:export']" v-hasPermi="['md:sapproperty:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="toDataType" @click="toDataType"
v-hasPermi="['md:sapproperty:dataType']"
>数据类型</el-button> >数据类型</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...@@ -99,10 +100,10 @@ ...@@ -99,10 +100,10 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width"> <el-table-column label="操作" class-name="small-padding fixed-width">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button v-hasPermi="['mes:md:client:edit']" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(row)"> <el-button v-hasPermi="['md:sapproperty:edit']" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(row)">
修改 修改
</el-button> </el-button>
<el-button v-hasPermi="['mes:md:client:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(row)"> <el-button v-hasPermi="['md:sapproperty:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(row)">
删除 删除
</el-button> </el-button>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment