Browse Source

Merge pull request #220 from millionfor/dev-20190415

Dev 20190415
pull/2/head
millionfor 6 years ago committed by GitHub
parent
commit
76468b6179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      docs/zh_CN/前端部署文档.md
  2. 2
      escheduler-ui/.env
  3. 2
      escheduler-ui/dist/index.html
  4. 1
      escheduler-ui/dist/js/20.15ed1ee.js.map
  5. 4
      escheduler-ui/dist/js/20.ef7f230.js
  6. 1
      escheduler-ui/dist/js/20.ef7f230.js.map
  7. 2
      escheduler-ui/dist/js/33.6f78a15.js
  8. 1
      escheduler-ui/dist/js/33.6f78a15.js.map
  9. 2
      escheduler-ui/dist/js/33.d41356b.js
  10. 1
      escheduler-ui/dist/js/33.d41356b.js.map
  11. 2
      escheduler-ui/dist/js/35.39a1f26.js
  12. 1
      escheduler-ui/dist/js/35.39a1f26.js.map
  13. 2
      escheduler-ui/dist/js/35.54f8ec4.js
  14. 1
      escheduler-ui/dist/js/35.54f8ec4.js.map
  15. 2
      escheduler-ui/dist/js/8.af1dc8f.js
  16. 1
      escheduler-ui/dist/js/8.af1dc8f.js.map
  17. 2
      escheduler-ui/dist/js/8.b18bb5d.js
  18. 1
      escheduler-ui/dist/js/8.b18bb5d.js.map
  19. 4
      escheduler-ui/dist/js/common.6428411.js
  20. 2
      escheduler-ui/dist/js/common.6428411.js.map
  21. 2
      escheduler-ui/dist/view/login/index.html
  22. 0
      escheduler-ui/install-escheduler-ui.sh
  23. 5
      escheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue
  24. 2
      escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
  25. 3
      escheduler-ui/src/js/conf/home/pages/user/pages/password/_source/info.vue

10
docs/zh_CN/前端部署文档.md

@ -7,8 +7,8 @@
目前最新安装包版本是1.0.2,下载地址: [码云下载](https://gitee.com/easyscheduler/EasyScheduler/attach_files/)
下载escheduler-ui-1.0.2.tar.gz后,解压后会产生dist目录,进入dist目录
> cd dist
下载 escheduler-ui-1.0.2.tar.gz 后,解压`tar -zxvf escheduler-ui-1.0.2.tar.gz ./`后,进入`escheduler-ui`目录
@ -16,7 +16,7 @@
以下两种方式任选其一部署即可,推荐自动化部署
### 2.1 自动化部署
在`escheduler-ui`目录下编辑安装文件`vi install(线上环境).sh`(执行时,最好修改install(线上环境).sh为install-ui.sh,跟后端部署区分)
在`escheduler-ui`目录下编辑安装文件`vi install-escheduler-ui.sh`
更改前端访问端口和后端代理接口地址
@ -28,9 +28,9 @@ esc_proxy="8888"
esc_proxy_port="http://192.168.xx.xx:12345"
```
前端自动部署基于linux系统`yum`操作,部署之前请先安装更新`yum`
>前端自动部署基于linux系统`yum`操作,部署之前请先安装更新`yum`
`escheduler-ui`目录下执行`./install(线上环境).sh` 或者改名后的 `./install-ui.sh`
该目录下执行`./install-escheduler-ui.sh`
### 2.2 手动部署

2
escheduler-ui/.env

@ -1,6 +1,6 @@
# 后端接口地址
API_BASE = http://192.168.220.247:12345
API_BASE = http://192.168.220.154:12345
# 本地开发如需ip访问项目把"#"号去掉
#DEV_HOST = 192.168.xx.xx

2
escheduler-ui/dist/index.html vendored

@ -4,4 +4,4 @@
d="M37.3496987939662 -7 L47.3496987939662 -7 L47.3496987939662 7 L37.3496987939662 7 A38 38 0 0 1 31.359972760794346 21.46047782418268 L31.359972760794346 21.46047782418268 L38.431040572659825 28.531545636048154 L28.531545636048154 38.431040572659825 L21.46047782418268 31.359972760794346 A38 38 0 0 1 7.0000000000000036 37.3496987939662 L7.0000000000000036 37.3496987939662 L7.000000000000004 47.3496987939662 L-6.999999999999999 47.3496987939662 L-7 37.3496987939662 A38 38 0 0 1 -21.46047782418268 31.35997276079435 L-21.46047782418268 31.35997276079435 L-28.531545636048154 38.431040572659825 L-38.43104057265982 28.531545636048158 L-31.359972760794346 21.460477824182682 A38 38 0 0 1 -37.3496987939662 7.000000000000007 L-37.3496987939662 7.000000000000007 L-47.3496987939662 7.000000000000008 L-47.3496987939662 -6.9999999999999964 L-37.3496987939662 -6.999999999999997 A38 38 0 0 1 -31.35997276079435 -21.460477824182675 L-31.35997276079435 -21.460477824182675 L-38.431040572659825 -28.531545636048147 L-28.53154563604818 -38.4310405726598 L-21.4604778241827 -31.35997276079433 A38 38 0 0 1 -6.999999999999992 -37.3496987939662 L-6.999999999999992 -37.3496987939662 L-6.999999999999994 -47.3496987939662 L6.999999999999977 -47.3496987939662 L6.999999999999979 -37.3496987939662 A38 38 0 0 1 21.460477824182686 -31.359972760794342 L21.460477824182686 -31.359972760794342 L28.531545636048158 -38.43104057265982 L38.4310405726598 -28.53154563604818 L31.35997276079433 -21.4604778241827 A38 38 0 0 1 37.3496987939662 -6.999999999999995 M0 -23A23 23 0 1 0 0 23 A23 23 0 1 0 0 -23"
fill="#0097e0"></path></g></g><g transform="translate(19 19) scale(0.6)"><g transform="rotate(229.634)"><animateTransform attributeName="transform" type="rotate" values="360;0" keyTimes="0;1" dur="1s" begin="-0.0625s" repeatCount="indefinite"></animateTransform><path
d="M37.3496987939662 -7 L47.3496987939662 -7 L47.3496987939662 7 L37.3496987939662 7 A38 38 0 0 1 31.359972760794346 21.46047782418268 L31.359972760794346 21.46047782418268 L38.431040572659825 28.531545636048154 L28.531545636048154 38.431040572659825 L21.46047782418268 31.359972760794346 A38 38 0 0 1 7.0000000000000036 37.3496987939662 L7.0000000000000036 37.3496987939662 L7.000000000000004 47.3496987939662 L-6.999999999999999 47.3496987939662 L-7 37.3496987939662 A38 38 0 0 1 -21.46047782418268 31.35997276079435 L-21.46047782418268 31.35997276079435 L-28.531545636048154 38.431040572659825 L-38.43104057265982 28.531545636048158 L-31.359972760794346 21.460477824182682 A38 38 0 0 1 -37.3496987939662 7.000000000000007 L-37.3496987939662 7.000000000000007 L-47.3496987939662 7.000000000000008 L-47.3496987939662 -6.9999999999999964 L-37.3496987939662 -6.999999999999997 A38 38 0 0 1 -31.35997276079435 -21.460477824182675 L-31.35997276079435 -21.460477824182675 L-38.431040572659825 -28.531545636048147 L-28.53154563604818 -38.4310405726598 L-21.4604778241827 -31.35997276079433 A38 38 0 0 1 -6.999999999999992 -37.3496987939662 L-6.999999999999992 -37.3496987939662 L-6.999999999999994 -47.3496987939662 L6.999999999999977 -47.3496987939662 L6.999999999999979 -37.3496987939662 A38 38 0 0 1 21.460477824182686 -31.359972760794342 L21.460477824182686 -31.359972760794342 L28.531545636048158 -38.43104057265982 L38.4310405726598 -28.53154563604818 L31.35997276079433 -21.4604778241827 A38 38 0 0 1 37.3496987939662 -6.999999999999995 M0 -23A23 23 0 1 0 0 23 A23 23 0 1 0 0 -23"
fill="#7f8b95"></path></g></g></g></svg> <span class="sp1">Loading ...</span></div></div><script src="/combo/1.0.0/3rd.js?v1.0.0.1"></script><script src="/js/common.467dcfa.js"></script><script src="/js/home/index.1b09c2f.js"></script></body></html>
fill="#7f8b95"></path></g></g></g></svg> <span class="sp1">Loading ...</span></div></div><script src="/combo/1.0.0/3rd.js?v1.0.0.1"></script><script src="/js/common.6428411.js"></script><script src="/js/home/index.1b09c2f.js"></script></body></html>

1
escheduler-ui/dist/js/20.15ed1ee.js.map vendored

File diff suppressed because one or more lines are too long

4
escheduler-ui/dist/js/20.15ed1ee.js → escheduler-ui/dist/js/20.ef7f230.js vendored

File diff suppressed because one or more lines are too long

1
escheduler-ui/dist/js/20.ef7f230.js.map vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/js/33.6f78a15.js vendored

File diff suppressed because one or more lines are too long

1
escheduler-ui/dist/js/33.6f78a15.js.map vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/js/33.d41356b.js vendored

File diff suppressed because one or more lines are too long

1
escheduler-ui/dist/js/33.d41356b.js.map vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/js/35.39a1f26.js vendored

File diff suppressed because one or more lines are too long

1
escheduler-ui/dist/js/35.39a1f26.js.map vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/js/35.54f8ec4.js vendored

File diff suppressed because one or more lines are too long

1
escheduler-ui/dist/js/35.54f8ec4.js.map vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/js/8.af1dc8f.js vendored

File diff suppressed because one or more lines are too long

1
escheduler-ui/dist/js/8.af1dc8f.js.map vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/js/8.b18bb5d.js vendored

File diff suppressed because one or more lines are too long

1
escheduler-ui/dist/js/8.b18bb5d.js.map vendored

File diff suppressed because one or more lines are too long

4
escheduler-ui/dist/js/common.467dcfa.js → escheduler-ui/dist/js/common.6428411.js vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/js/common.467dcfa.js.map → escheduler-ui/dist/js/common.6428411.js.map vendored

File diff suppressed because one or more lines are too long

2
escheduler-ui/dist/view/login/index.html vendored

@ -1,3 +1,3 @@
<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="标题"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="format-detection" content="telphone=no, email=no"><meta name="screen-orientation" content="portrait"><meta name="x5-orientation" content="portrait"><meta name="theme-color" content="#4a8dee"><meta name="msapplication-navbutton-color" content="#4a8dee"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel="shortcut icon" href="/images/favicon.ico"><link href="/combo/1.0.0/base.css?v1.0.0.1" rel="stylesheet"><link href="/combo/1.0.0/3rd.css?v1.0.0.1" rel="stylesheet"><!--[if lt IE 9]>
<script src="/combo/1.0.0/es5.js"></script>
<![endif]--><script>let NODE_ENV = 'true'</script><title>Login - EasyScheduler</title><link href="/css/common.8ba9af7.css" rel="stylesheet"><link href="/css/login/index.5866c64.css" rel="stylesheet"></head><body><div id="app"></div><div class="login-bg"></div><script src="/combo/1.0.0/3rd.js?v1.0.0.1"></script><script src="/js/common.467dcfa.js"></script><script src="/js/login/index.97eaebb.js"></script></body></html>
<![endif]--><script>let NODE_ENV = 'true'</script><title>Login - EasyScheduler</title><link href="/css/common.8ba9af7.css" rel="stylesheet"><link href="/css/login/index.5866c64.css" rel="stylesheet"></head><body><div id="app"></div><div class="login-bg"></div><script src="/combo/1.0.0/3rd.js?v1.0.0.1"></script><script src="/js/common.6428411.js"></script><script src="/js/login/index.97eaebb.js"></script></body></html>

0
escheduler-ui/install(线上环境).sh → escheduler-ui/install-escheduler-ui.sh

5
escheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue

@ -160,7 +160,10 @@
pageNo: this.pageNo,
pageSize: this.pageSize
}).then(res => {
this.list = res.data.totalList
this.list = []
setTimeout(() => {
this.list = res.data.totalList
})
this.total = res.data.total
this.isLoading = false
}).catch(e => {

2
escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue

@ -39,7 +39,7 @@
</x-select>
</template>
</m-list-box-f>
<m-list-box-f>
<m-list-box-f v-if="isADMIN">
<template slot="name"><b>*</b>{{$t('Queue')}}</template>
<template slot="content">
<x-select v-model="queueName">

3
escheduler-ui/src/js/conf/home/pages/user/pages/password/_source/info.vue

@ -31,7 +31,7 @@
<m-list-box-f>
<template slot="name">&nbsp;</template>
<template slot="content">
<x-button type="primary" shape="circle" @click="_edit()" :loading="spinnerLoading">{{spinnerLoading ? 'Loading...' : 'Edit'}}</x-button>
<x-button type="primary" shape="circle" @click="_edit()" :loading="spinnerLoading">{{spinnerLoading ? 'Loading...' : $t('Edit')}}</x-button>
</template>
</m-list-box-f>
</div>
@ -80,6 +80,7 @@
}, 1500)
}).catch(e => {
this.$message.error(e.msg || '')
this.spinnerLoading = false
})
}
},

Loading…
Cancel
Save