|
@@ -62,7 +62,7 @@
|
|
|
icon="el-icon-plus"
|
|
|
size="mini"
|
|
|
@click="handleAdd"
|
|
|
- v-hasPermi="['doc:group:add']"
|
|
|
+ v-hasRole="['group.manager']"
|
|
|
>新增</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -74,7 +74,7 @@
|
|
|
size="mini"
|
|
|
:disabled="single"
|
|
|
@click="handleUpdate"
|
|
|
- v-hasPermi="['doc:group:edit']"
|
|
|
+ v-hasRole="['group.manager']"
|
|
|
>修改</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -86,7 +86,7 @@
|
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
|
@click="handleDelete"
|
|
|
- v-hasPermi="['doc:group:remove']"
|
|
|
+ v-hasRole="['group.manager']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -97,7 +97,6 @@
|
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
|
@click="handleExport"
|
|
|
- v-hasPermi="['doc:group:export']"
|
|
|
class="reset2"
|
|
|
>导出</el-button
|
|
|
>
|
|
@@ -131,7 +130,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
- v-hasPermi="['doc:group:edit']"
|
|
|
>修改</el-button
|
|
|
>
|
|
|
<el-button
|
|
@@ -139,7 +137,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click="handleDelete(scope.row)"
|
|
|
- v-hasPermi="['doc:group:remove']"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
<el-button
|
|
@@ -147,7 +144,6 @@
|
|
|
type="text"
|
|
|
icon="el-icon-user"
|
|
|
@click="handleGroupUser(scope.row)"
|
|
|
- v-hasPermi="['doc:group:user']"
|
|
|
>分配成员</el-button
|
|
|
>
|
|
|
</template>
|
|
@@ -199,7 +195,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<script>
|
|
|
import selectUser from "./selectUser";
|
|
|
|
|
@@ -381,7 +377,7 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-
|
|
|
+
|
|
|
<style scoped lang='scss'>
|
|
|
.containe {
|
|
|
color: #7ea4c8;
|
|
@@ -531,10 +527,9 @@ export default {
|
|
|
padding-top: calc(100vh * (50 / 1080));
|
|
|
}
|
|
|
</style>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|