mirror of https://github.com/openspug/spug
U 前端 更新仪表盘权限描述
parent
7ff4f78653
commit
f4e81f84eb
|
@ -4,7 +4,7 @@ RUN echo -e "http://mirrors.aliyun.com/alpine/v3.6/main\nhttp://mirrors.aliyun.c
|
||||||
RUN apk update && apk add --no-cache ca-certificates python3 nginx mariadb nodejs-npm git
|
RUN apk update && apk add --no-cache ca-certificates python3 nginx mariadb nodejs-npm git
|
||||||
RUN apk add --no-cache --virtual .build-deps python3-dev gcc musl-dev libffi-dev openssl-dev make \
|
RUN apk add --no-cache --virtual .build-deps python3-dev gcc musl-dev libffi-dev openssl-dev make \
|
||||||
&& git clone https://github.com/openspug/spug.git /spug \
|
&& git clone https://github.com/openspug/spug.git /spug \
|
||||||
&& git pull \
|
&& cd /spug && git pull \
|
||||||
&& pip3 install --no-cache-dir -r /spug/spug_api/requirements.txt \
|
&& pip3 install --no-cache-dir -r /spug/spug_api/requirements.txt \
|
||||||
&& pip3 install --no-cache-dir gunicorn \
|
&& pip3 install --no-cache-dir gunicorn \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
-- 首页查看
|
-- Dashboard
|
||||||
INSERT INTO account_permissions (id, name, `desc`) VALUES (100, 'home_view', '首页查看');
|
INSERT INTO account_permissions (id, name, `desc`) VALUES (100, 'home_view', 'Dashboard');
|
||||||
|
|
||||||
-- 用户管理 -> 用户列表
|
-- 用户管理 -> 用户列表
|
||||||
INSERT INTO account_permissions (id, name, `desc`) VALUES (101, 'account_user_view', '获取用户列表');
|
INSERT INTO account_permissions (id, name, `desc`) VALUES (101, 'account_user_view', '获取用户列表');
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
:close-on-click-modal="false">
|
:close-on-click-modal="false">
|
||||||
<table v-if="codes !== undefined" class="role_table">
|
<table v-if="codes !== undefined" class="role_table">
|
||||||
<tr class="el-table__row">
|
<tr class="el-table__row">
|
||||||
<td rowspan="1">首页</td>
|
<td rowspan="1">Dashboard</td>
|
||||||
<td rowspan="1">首页</td>
|
<td rowspan="1">Dashboard</td>
|
||||||
<tag-td :item="codes['home_view']"></tag-td>
|
<tag-td :item="codes['home_view']"></tag-td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
|
Loading…
Reference in New Issue