Mr.Zhang
2023-09-12 227a60ba5dda87bec2e2d244eb9e77be356c2b63
端口1801
已修改3个文件
8 ■■■■ 文件已修改
platform_web/src/views/system/role.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
platform_web/vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_standard/vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
platform_web/src/views/system/role.vue
@@ -16,7 +16,7 @@
    <!-- 表格和分页 -->
    <template v-slot:table-wrap>
      <ul class="toolbar" v-permissions="['system:role:create', 'system:role:delete']">
        <li v-permissions="['system:role:create']"><el-button type="primary" @click="$refs.operaRoleWindow.open('新建角色', null, 1)" icon="el-icon-plus">新建</el-button></li>
        <li v-permissions="['system:role:create']"><el-button type="primary" @click="$refs.operaRoleWindow.open('新建角色', null, 0)" icon="el-icon-plus">新建</el-button></li>
        <li v-permissions="['system:role:delete']"><el-button @click="deleteByIdInBatch" icon="el-icon-delete">删除</el-button></li>
      </ul>
      <el-table
@@ -48,7 +48,7 @@
          fixed="right"
        >
          <template v-if="isAdmin || (row.code !== adminCode && userInfo.roles.findIndex(code => code === row.code) === -1)" slot-scope="{row}">
            <el-button type="text" @click="$refs.operaRoleWindow.open('编辑角色', row, 1)"  v-permissions="['system:role:update']">编辑</el-button>
            <el-button type="text" @click="$refs.operaRoleWindow.open('编辑角色', row, 0)"  v-permissions="['system:role:update']">编辑</el-button>
            <el-button type="text" @click="$refs.permissionConfigWindow.open(row)" v-permissions="['system:role:createRolePermission']">配置权限</el-button>
            <el-button type="text" @click="$refs.menuConfigWindow.open('授权菜单', row)" icon="el-icon-menu" v-permissions="['system:role:createRoleMenu']">授权菜单</el-button>
            
platform_web/vue.config.js
@@ -9,7 +9,7 @@
  lintOnSave: false,
  devServer: {
    host: '0.0.0.0',
    port: 10086,
    port: 1801,
    proxy: {
      [process.env.VUE_APP_API_PREFIX]: {
        target: process.env.VUE_APP_BASE_URL,
web_standard/vue.config.js
@@ -8,7 +8,7 @@
  devServer: {
    disableHostCheck: true,
    host: '0.0.0.0',
    port: 10086,
    port: 1801,
    proxy: {
      [process.env.VUE_APP_API_PREFIX]: {
        target: process.env.VUE_APP_BASE_URL,