业务字典限制admin权限

main
xuechunyuan 3 years ago
parent 2e535dff6b
commit 7b619468f5
  1. BIN
      dist.zip
  2. 2
      src/config/website.js
  3. 2
      src/views/system/dictbiz.vue
  4. 4
      vue.config.js

Binary file not shown.

@ -48,5 +48,5 @@ export default {
ssoUrl: 'http://localhost:8100/oauth/authorize?client_id=saber&response_type=code&redirect_uri=',
// 单点登录回调地址(Saber服务的地址)
redirectUri: 'http://localhost:1888',
filePrex: 'http://www.qdscgs.com:9091',//'http://192.168.1.106:9000',// 图片前缀
filePrex: 'http://192.168.1.106:9000',//'http://www.qdscgs.com:9091',// 图片前缀
}

@ -90,7 +90,7 @@
icon="el-icon-circle-plus-outline"
size="small"
@click.stop="handleAdd(scope.row,scope.index)"
v-if="userInfo.role_name.includes('admin')"
v-if="userInfo.role_name.includes('administrator')"
>新增子项
</el-button>
</template>

@ -27,8 +27,8 @@ module.exports = {
"/api": {
//本地服务接口地址
// target: "http://www.qdscgs.com:80",//生成
// target: "http://192.168.1.3:8080",
target: "http://192.168.1.106",
target: "http://192.168.1.3:8080",
// target: "http://192.168.1.106",
//远程演示服务地址,可用于直接启动项目
// target: 'https://saber.bladex.vip/api',
ws: true,

Loading…
Cancel
Save