diff --git a/README.md b/README.md index 7354332..00c0ab8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,30 @@ -# Mediation-Frontend +## 开发 -调解系统PC端服务 \ No newline at end of file +```bash +# 克隆项目 +git clone https://gitee.com/y_project/RuoYi-Vue + +# 进入项目目录 +cd ruoyi-ui + +# 安装依赖 +npm install + +# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 +npm install --registry=https://registry.npmmirror.com + +# 启动服务 +npm run dev +``` + +浏览器访问 http://localhost:80 + +## 发布 + +```bash +# 构建测试环境 +npm run build:stage + +# 构建生产环境 +npm run build:prod +``` \ No newline at end of file diff --git a/package.json b/package.json index 63d661b..751a77a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.8.6", - "description": "智慧仲裁管理系统", + "description": "调解系统", "author": "智慧仲裁", "license": "MIT", "scripts": { @@ -48,8 +48,7 @@ "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", - "lodash": "^4.17.21", - "moment": "^2.30.1", + "moment": "^2.29.4", "nprogress": "0.2.0", "qrcodejs2": "0.0.2", "quill": "1.3.7", diff --git a/src/api/system/homepage.js b/src/api/system/homepage.js new file mode 100644 index 0000000..d0afc22 --- /dev/null +++ b/src/api/system/homepage.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 查询首页待办 +export function todoCount(data) { + return request({ + url: '/caseApplication/todoCount', + method: 'get', + params: data + }) +} \ No newline at end of file diff --git a/src/assets/images/daiban.png b/src/assets/images/daiban.png new file mode 100644 index 0000000..86806bc Binary files /dev/null and b/src/assets/images/daiban.png differ diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index b57a15e..b6aa788 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -51,12 +51,12 @@ export default { // 图片数量限制 limit: { type: Number, - default: 5, + default: 1, }, // 大小限制(MB) fileSize: { type: Number, - default: 5, + // default: 5, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { diff --git a/src/components/RuoYi/Doc/index.vue b/src/components/RuoYi/Doc/index.vue index 75fa864..d15cd82 100644 --- a/src/components/RuoYi/Doc/index.vue +++ b/src/components/RuoYi/Doc/index.vue @@ -9,7 +9,8 @@ export default { name: 'RuoYiDoc', data() { return { - url: 'http://doc.ruoyi.vip/ruoyi-vue' + // url: 'http://doc.ruoyi.vip/ruoyi-vue' + url: '#' } }, methods: { diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index dc775a5..65bc9d3 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -7,15 +7,10 @@
diff --git a/src/views/caseManagement/components/caseAcceptance.vue b/src/views/caseManagement/components/caseAcceptance.vue index f9963fb..9f8dd88 100644 --- a/src/views/caseManagement/components/caseAcceptance.vue +++ b/src/views/caseManagement/components/caseAcceptance.vue @@ -1,148 +1,148 @@ - - - - - \ No newline at end of file diff --git a/src/views/caseManagement/components/caseFilingDetailsPage.vue b/src/views/caseManagement/components/caseFilingDetailsPage.vue index 58c3c37..9306fa3 100644 --- a/src/views/caseManagement/components/caseFilingDetailsPage.vue +++ b/src/views/caseManagement/components/caseFilingDetailsPage.vue @@ -1,366 +1,366 @@ - - - \ No newline at end of file diff --git a/src/views/caseManagement/components/mediationCaseDetails.vue b/src/views/caseManagement/components/mediationCaseDetails.vue index 8bda663..ca6a9e2 100644 --- a/src/views/caseManagement/components/mediationCaseDetails.vue +++ b/src/views/caseManagement/components/mediationCaseDetails.vue @@ -1,93 +1,93 @@ - - - - - \ No newline at end of file diff --git a/src/views/caseManagement/components/mediationCaseLog.vue b/src/views/caseManagement/components/mediationCaseLog.vue index cf3325c..e4dadc5 100644 --- a/src/views/caseManagement/components/mediationCaseLog.vue +++ b/src/views/caseManagement/components/mediationCaseLog.vue @@ -1,113 +1,113 @@ - - - - - \ No newline at end of file diff --git a/src/views/caseManagement/components/paymentdetailsDialog.vue b/src/views/caseManagement/components/paymentdetailsDialog.vue index 6b20b03..d5f3c0e 100644 --- a/src/views/caseManagement/components/paymentdetailsDialog.vue +++ b/src/views/caseManagement/components/paymentdetailsDialog.vue @@ -1,169 +1,169 @@ - - - - - \ No newline at end of file diff --git a/src/views/index.vue b/src/views/index.vue index 8200b4a..63d45dd 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,27 +1,129 @@ diff --git a/src/views/login.vue b/src/views/login.vue index eb66546..520ed34 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -67,7 +67,8 @@
@@ -247,8 +248,8 @@ export default { } .el-login-footer { background-color: rgb(126, 131, 135); - height: 40px; - line-height: 40px; + height: 55px; + line-height: 55px; position: fixed; bottom: 0; width: 100%; @@ -257,6 +258,9 @@ export default { font-family: Arial; font-size: 12px; letter-spacing: 1px; + div { + height: 30%; + } } .login-code-img { height: 38px; diff --git a/vue.config.js b/vue.config.js index ed2f028..2ebd088 100644 --- a/vue.config.js +++ b/vue.config.js @@ -17,7 +17,7 @@ const API = 'http://121.40.189.20:7001' //测试 // const API = 'http://172.16.0.237:6001' //Q // const API = 'http://172.16.1.43:6001' //w -// vue.config.js 配置说明 +// vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions // 这里只列一部分,具体配置参考文档 module.exports = { @@ -39,8 +39,10 @@ module.exports = { port: port, open: true, proxy: { - // detail: https://cli.vuejs.org/config/#devserver-proxy + // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { + // target: `http://192.168.3.77:8080`, + // target: `http://121.40.189.20:9001`, target: API, changeOrigin: true, pathRewrite: { @@ -59,7 +61,6 @@ module.exports = { }, configureWebpack: { name: name, - devtool: '#eval-source-map', resolve: { alias: { '@': resolve('src')