疯狂的狮子li
2020-04-25 4bee0d652a4a454f4f1117d2b0d396fcf8055191
修复前端页面报错 找不到模块问题
已修改21个文件
已删除3个文件
408 ■■■■ 文件已修改
ruoyi-ui/src/api/login.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/assets/styles/ruoyi.scss 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/components/RuoYi/Git/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/layout/components/Navbar.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/router/index.js 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/store/modules/permission.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/utils/index.js 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/utils/permission.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/utils/ruoyi.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/cstest/cstest/index.vue 299 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/login/auth-redirect.vue 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/login/components/SocialSignin.vue 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/monitor/job/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/config/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/dept/index.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/dict/data.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/dict/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/menu/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/notice/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/post/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/role/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/user/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/user/profile/userAvatar.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/tool/gen/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/login.js
@@ -37,4 +37,4 @@
    url: '/captchaImage',
    method: 'get'
  })
}
}
ruoyi-ui/src/assets/styles/ruoyi.scss
@@ -53,7 +53,7 @@
    margin-left: 20px;
}
.el-dialog {
.el-dialog:not(.is-fullscreen){
    margin-top: 6vh !important;
}
@@ -138,7 +138,7 @@
    padding-left: 15px;
    margin-bottom: 10px;
}
/* text color */
.text-navy {
    color: #1ab394;
@@ -189,10 +189,9 @@
    overflow: hidden;
}
/* æ‹–拽列样式 */
.sortable-ghost{
    opacity: .8;
    color: #fff!important;
    background: #42b983!important;
}
}
ruoyi-ui/src/components/RuoYi/Git/index.vue
@@ -18,4 +18,4 @@
    }
  }
}
</script>
</script>
ruoyi-ui/src/layout/components/Navbar.vue
@@ -7,7 +7,7 @@
    <div class="right-menu">
      <template v-if="device!=='mobile'">
        <search id="header-search" class="right-menu-item" />
        <el-tooltip content="源码地址" effect="dark" placement="bottom">
          <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
        </el-tooltip>
ruoyi-ui/src/router/index.js
@@ -33,23 +33,23 @@
    children: [
      {
        path: '/redirect/:path(.*)',
        component: () => import('@/views/redirect')
        component: (resolve) => require(['@/views/redirect'], resolve)
      }
    ]
  },
  {
    path: '/login',
    component: () => import('@/views/login'),
    component: (resolve) => require(['@/views/login'], resolve),
    hidden: true
  },
  {
    path: '/404',
    component: () => import('@/views/error/404'),
    component: (resolve) => require(['@/views/error/404'], resolve),
    hidden: true
  },
  {
    path: '/401',
    component: () => import('@/views/error/401'),
    component: (resolve) => require(['@/views/error/401'], resolve),
    hidden: true
  },
  {
@@ -59,7 +59,7 @@
    children: [
      {
        path: 'index',
        component: () => import('@/views/index'),
        component: (resolve) => require(['@/views/index'], resolve),
        name: '首页',
        meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
      }
@@ -73,7 +73,7 @@
    children: [
      {
        path: 'profile',
        component: () => import('@/views/system/user/profile/index'),
        component: (resolve) => require(['@/views/system/user/profile/index'], resolve),
        name: 'Profile',
        meta: { title: '个人中心', icon: 'user' }
      }
@@ -86,7 +86,7 @@
    children: [
      {
        path: 'type/data/:dictId(\\d+)',
        component: () => import('@/views/system/dict/data'),
        component: (resolve) => require(['@/views/system/dict/data'], resolve),
        name: 'Data',
        meta: { title: '字典数据', icon: '' }
      }
@@ -99,7 +99,7 @@
    children: [
      {
        path: 'log',
        component: () => import('@/views/monitor/job/log'),
        component: (resolve) => require(['@/views/monitor/job/log'], resolve),
        name: 'JobLog',
        meta: { title: '调度日志' }
      }
@@ -112,7 +112,7 @@
    children: [
      {
        path: 'edit',
        component: () => import('@/views/tool/gen/editTable'),
        component: (resolve) => require(['@/views/tool/gen/editTable'], resolve),
        name: 'GenEdit',
        meta: { title: '修改生成配置' }
      }
ruoyi-ui/src/store/modules/permission.js
@@ -48,7 +48,7 @@
}
export const loadView = (view) => { // è·¯ç”±æ‡’加载
  return () => import(`@/views/${view}`)
  return (resolve) =>  require([`@/views/${view}`], resolve)
}
export default permission
ruoyi-ui/src/utils/index.js
@@ -3,12 +3,12 @@
 */
export function formatDate(cellValue) {
  if (cellValue == null || cellValue == "") return "";
  var date = new Date(cellValue)
  var date = new Date(cellValue)
  var year = date.getFullYear()
  var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
  var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate()
  var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
  var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()
  var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate()
  var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
  var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()
  var seconds = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds()
  return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds
}
@@ -326,7 +326,7 @@
    ? val => map[val.toLowerCase()]
    : val => map[val]
}
export const exportDefault = 'export default '
export const beautifierConf = {
@@ -383,3 +383,4 @@
export function isNumberStr(str) {
  return /^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(str)
}
ruoyi-ui/src/utils/permission.js
@@ -46,4 +46,4 @@
    console.error(`need roles! Like checkRole="['admin','editor']"`)
    return false
  }
}
}
ruoyi-ui/src/utils/ruoyi.js
@@ -131,3 +131,4 @@
    });
    return treeData != '' ? treeData : data;
  }
ruoyi-ui/src/views/cstest/cstest/index.vue
ÎļþÒÑɾ³ý
ruoyi-ui/src/views/login/auth-redirect.vue
ruoyi-ui/src/views/login/components/SocialSignin.vue
ruoyi-ui/src/views/monitor/job/index.vue
@@ -485,4 +485,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/config/index.vue
@@ -343,4 +343,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/dept/index.vue
@@ -56,17 +56,17 @@
      </el-table-column>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['system:dept:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-plus"
          <el-button
            size="mini"
            type="text"
            icon="el-icon-plus"
            @click="handleAdd(scope.row)"
            v-hasPermi="['system:dept:add']"
          >新增</el-button>
@@ -316,4 +316,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/dict/data.vue
@@ -352,4 +352,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/dict/index.vue
@@ -347,4 +347,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/menu/index.vue
@@ -49,16 +49,16 @@
      </el-table-column>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button size="mini"
            type="text"
            icon="el-icon-edit"
          <el-button size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['system:menu:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-plus"
          <el-button
            size="mini"
            type="text"
            icon="el-icon-plus"
            @click="handleAdd(scope.row)"
            v-hasPermi="['system:menu:add']"
          >新增</el-button>
@@ -373,4 +373,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/notice/index.vue
@@ -342,4 +342,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/post/index.vue
@@ -107,7 +107,7 @@
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
@@ -324,4 +324,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/role/index.vue
@@ -545,4 +545,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/user/index.vue
@@ -662,4 +662,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
@@ -135,4 +135,4 @@
    }
  }
};
</script>
</script>
ruoyi-ui/src/views/tool/gen/index.vue
@@ -80,7 +80,11 @@
    <el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55"></el-table-column>
      <el-table-column label="序号" align="center" prop="tableId" width="60px" />
      <el-table-column label="序号" type="index" width="50" align="center">
        <template slot-scope="scope">
          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
        </template>
      </el-table-column>
      <el-table-column
        label="表名称"
        align="center"
@@ -284,4 +288,4 @@
    }
  }
};
</script>
</script>