Browse Source

引入babel-polyfill进行ES6转ES5来兼容ie9+ 目前测试只完美支持ie11

docker-svn
witersen 3 years ago
parent
commit
fb7bc69cce
  1. 24
      01.web/package-lock.json
  2. 1
      01.web/package.json
  3. 3
      01.web/src/main.js
  4. 45
      01.web/src/views/advance/index.vue
  5. 1162
      01.web/src/views/repositoryInfo/index.vue

24
01.web/package-lock.json generated

@ -858,6 +858,23 @@ @@ -858,6 +858,23 @@
"babel-types": "^6.24.1"
}
},
"babel-polyfill": {
"version": "6.26.0",
"resolved": "https://registry.npmmirror.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz",
"integrity": "sha512-F2rZGQnAdaHWQ8YAoeRbukc7HS9QgdgeyJ0rQDd485v9opwuPvjpPFcOOT/WmkKTdgy9ESgSPXDcTNpzrGr6iQ==",
"requires": {
"babel-runtime": "^6.26.0",
"core-js": "^2.5.0",
"regenerator-runtime": "^0.10.5"
},
"dependencies": {
"regenerator-runtime": {
"version": "0.10.5",
"resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz",
"integrity": "sha512-02YopEIhAgiBHWeoTiA8aitHDt8z6w+rQqNuIftlM+ZtvSl/brTouaU7DW6GO/cHtvxJvS4Hwv2ibKdxIRi24w=="
}
}
},
"babel-preset-es2015": {
"version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz",
@ -909,7 +926,6 @@ @@ -909,7 +926,6 @@
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
"dev": true,
"requires": {
"core-js": "^2.4.0",
"regenerator-runtime": "^0.11.0"
@ -1824,8 +1840,7 @@ @@ -1824,8 +1840,7 @@
"core-js": {
"version": "2.5.7",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==",
"dev": true
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw=="
},
"core-util-is": {
"version": "1.0.2",
@ -7144,8 +7159,7 @@ @@ -7144,8 +7159,7 @@
"regenerator-runtime": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
"dev": true
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
},
"regenerator-transform": {
"version": "0.10.1",

1
01.web/package.json

@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
"license": "MIT",
"dependencies": {
"axios": "^0.25.0",
"babel-polyfill": "^6.26.0",
"file-saver": "^2.0.5",
"streamsaver": "^2.0.6",
"view-design": "^4.7.0",

3
01.web/src/main.js

@ -10,6 +10,9 @@ import 'view-design/dist/styles/iview.css'; @@ -10,6 +10,9 @@ import 'view-design/dist/styles/iview.css';
* 以下为手动安装配置的依赖
* 通过 Vue.prototype.$name 的方式 使$name在所有的Vue实例中可用
*/
//安装babel-polyfill进行ES6转ES5来兼容ie8+
import "babel-polyfill"
//http请求 -> axios
import axios from 'axios';
Vue.prototype.$axios = axios;

45
01.web/src/views/advance/index.vue

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<Card :bordered="false" :dis-hover="true" style="width: 620px">
<Form :label-width="140">
<FormItem label="Subversion">
<Row :gutter="16">
<Row>
<Col span="12">
<span>{{ formSvn.version }}</span>
</Col>
@ -24,10 +24,11 @@ @@ -24,10 +24,11 @@
>安装</Button
>
</Col>
<Col span="6"> </Col>
</Row>
</FormItem>
<FormItem label="运行状态">
<Row :gutter="16">
<Row>
<Col span="12">
<span style="color: #ff9900" v-if="formSvn.installed == 0"
>未安装</span
@ -59,7 +60,7 @@ @@ -59,7 +60,7 @@
</Row>
</FormItem>
<FormItem label="svnserve绑定端口">
<Row :gutter="16">
<Row>
<Col span="12">
<span>{{ formSvn.bindPort }}</span>
</Col>
@ -69,7 +70,7 @@ @@ -69,7 +70,7 @@
</Row>
</FormItem>
<FormItem label="svnserve绑定主机名">
<Row :gutter="16">
<Row>
<Col span="12">
<span>{{ formSvn.bindHost }}</span>
</Col>
@ -87,7 +88,7 @@ @@ -87,7 +88,7 @@
</Row>
</FormItem>
<FormItem label="管理系统主机名">
<Row :gutter="16">
<Row>
<Col span="12">
<span>{{ formSvn.manageHost }}</span>
</Col>
@ -99,7 +100,7 @@ @@ -99,7 +100,7 @@
</Row>
</FormItem>
<FormItem label="检出地址选用">
<Row :gutter="16">
<Row>
<Col span="12">
<RadioGroup
v-model="formSvn.enable"
@ -113,7 +114,7 @@ @@ -113,7 +114,7 @@
</Row>
</FormItem>
<FormItem label="svnserve运行日志">
<Row :gutter="16">
<Row>
<Col span="12">
<span>{{ formSvn.svnserveLog }}</span>
</Col>
@ -135,7 +136,7 @@ @@ -135,7 +136,7 @@
v-for="(item, index) in configList"
:key="index"
>
<Row :gutter="16">
<Row>
<Col span="12">
<span>{{ item.value }}</span>
</Col>
@ -148,42 +149,42 @@ @@ -148,42 +149,42 @@
<Card :bordered="false" :dis-hover="true" style="width: 600px">
<Form :label-width="140">
<FormItem label="SMTP主机">
<Row :gutter="16">
<Row>
<Col span="12">
<Input value="2.4.0"></Input>
</Col>
</Row>
</FormItem>
<FormItem label="SMTP端口">
<Row :gutter="16">
<Row>
<Col span="12">
<Input value="2.4.0"></Input>
</Col>
</Row>
</FormItem>
<FormItem label="SMTP用户名">
<Row :gutter="16">
<Row>
<Col span="12">
<Input value="2.4.0"></Input>
</Col>
</Row>
</FormItem>
<FormItem label="SMTP密码">
<Row :gutter="16">
<Row>
<Col span="12">
<Input value="2.4.0"></Input>
</Col>
</Row>
</FormItem>
<FormItem label="发件人邮箱">
<Row :gutter="16">
<Row>
<Col span="12">
<Input value="2.4.0"></Input>
</Col>
</Row>
</FormItem>
<FormItem label="测试接收邮箱">
<Row :gutter="16">
<Row>
<Col span="12">
<Input value="2.4.0"></Input>
</Col>
@ -193,7 +194,7 @@ @@ -193,7 +194,7 @@
</Row>
</FormItem>
<FormItem label="默认启用状态">
<Row :gutter="16">
<Row>
<Col span="12">
<Switch>
<Icon type="md-checkmark" slot="open"></Icon>
@ -213,7 +214,7 @@ @@ -213,7 +214,7 @@
<Card :bordered="false" :dis-hover="true" style="width: 600px">
<Form :label-width="140">
<FormItem label="用户登录">
<Row :gutter="16">
<Row>
<Col span="12">
<Switch>
<Icon type="md-checkmark" slot="open"></Icon>
@ -223,7 +224,7 @@ @@ -223,7 +224,7 @@
</Row>
</FormItem>
<FormItem label="用户密码修改">
<Row :gutter="16">
<Row>
<Col span="12">
<Switch>
<Icon type="md-checkmark" slot="open"></Icon>
@ -233,7 +234,7 @@ @@ -233,7 +234,7 @@
</Row>
</FormItem>
<FormItem label="任务计划执行失败">
<Row :gutter="16">
<Row>
<Col span="12">
<Switch>
<Icon type="md-checkmark" slot="open"></Icon>
@ -259,7 +260,7 @@ @@ -259,7 +260,7 @@
5重置密钥后所有管理系统在线用户会被下线<br />
</FormItem>
<FormItem label="密钥">
<Row :gutter="16">
<Row>
<Col span="12">
<Input type="password" readonly value="2.4.0"></Input>
</Col>
@ -276,21 +277,21 @@ @@ -276,21 +277,21 @@
<Badge> v2.3 </Badge>
</FormItem>
<FormItem label="支持PHP-FPM版本">
<Row :gutter="16">
<Row>
<Col span="12">
<span>5.4+</span>
</Col>
</Row>
</FormItem>
<FormItem label="支持PHP-CLI版本">
<Row :gutter="16">
<Row>
<Col span="12">
<span>5.4+</span>
</Col>
</Row>
</FormItem>
<FormItem label="支持数据库">
<Row :gutter="16">
<Row>
<Col span="12">
<span>MySQLsqlite</span>
</Col>

1162
01.web/src/views/repositoryInfo/index.vue

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save