@arkxos/arkos-app-gateway-manage 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/ark_dist/ark-meta.json +14 -14
  2. package/ark_dist/css/views/{views-CreateGateway.41b2bde6.css → views-CreateGateway.6fbb1ad6.css} +7 -7
  3. package/ark_dist/index.html +3 -3
  4. package/ark_dist/js/app.b656f470.js +2 -0
  5. package/ark_dist/js/app.b656f470.js.map +1 -0
  6. package/ark_dist/js/views/views-CreateGateway.11d048ca.js +3 -0
  7. package/ark_dist/js/views/views-CreateGateway.11d048ca.js.LICENSE.txt +1 -0
  8. package/ark_dist/js/views/views-CreateGateway.11d048ca.js.map +1 -0
  9. package/package.json +159 -156
  10. package/src/api/gateway-manage/client_api.js +6 -6
  11. package/src/api/gateway-manage/open_client.js +8 -8
  12. package/src/component/BoxCard.vue +4 -4
  13. package/src/component/ClientInfo.vue +1 -1
  14. package/src/component/GroovyScriptTable.vue +6 -6
  15. package/src/component/RouteInfo.vue +5 -5
  16. package/src/component/RouteRequestCount.vue +1 -1
  17. package/src/views/AddClientGateway.vue +7 -7
  18. package/src/views/AddGatewayClient.vue +6 -6
  19. package/src/views/AddGroovyScript.vue +6 -6
  20. package/src/views/ApiCount.vue +1 -1
  21. package/src/views/ApiDoc.vue +5 -5
  22. package/src/views/ApiMonitor.vue +29 -29
  23. package/src/views/CreateBalanced.vue +4 -4
  24. package/src/views/CreateClient.vue +7 -7
  25. package/src/views/CreateGateway.vue +30 -30
  26. package/src/views/IpList.vue +5 -5
  27. package/ark_dist/js/app.e014b7a5.js +0 -1
  28. package/ark_dist/js/views/views-CreateGateway.7db295a9.js +0 -3
  29. package/ark_dist/js/views/views-CreateGateway.7db295a9.js.LICENSE.txt +0 -1
  30. package/ark_dist/js/views/views-CreateGateway.7db295a9.js.map +0 -1
package/package.json CHANGED
@@ -1,156 +1,159 @@
1
- {
2
- "name": "@arkxos/arkos-app-gateway-manage",
3
- "appGroupName": "@arkxos/arkos-app-gateway-manage",
4
- "version": "0.1.0",
5
- "main": "ark_proxy/entry.js",
6
- "module": "ark_proxy_es/entry.js",
7
- "types": "src/entrance/libTypes.ts",
8
- "unpkg": "ark_dist/entry.js",
9
- "files": [
10
- "ark_dist",
11
- "ark_proxy",
12
- "ark_proxy_es",
13
- "scripts",
14
- "README.md",
15
- "src"
16
- ],
17
- "dependencies": {
18
- "@arkxio/ark-iso": "0.1.1",
19
- "@arkxos/arkos-util": "^0.1.0",
20
- "@arkxos/arkos-core": "^0.1.0",
21
- "@arkxio/ark-ui": "0.1.2",
22
- "@arkxos/arkos-theme-classic": "^0.1.0",
23
- "@element-plus/icons-vue": "2.3.1",
24
- "@logicflow/core": "^0.2.9",
25
- "@logicflow/extension": "^0.2.9",
26
- "@vueup/vue-quill": "1.2.0",
27
- "@vueuse/core": "10.7.0",
28
- "@wangeditor/editor": "5.1.23",
29
- "@wangeditor/editor-for-vue": "5.1.12",
30
- "animate.css": "4.1.1",
31
- "autoprefixer": "10.4.20",
32
- "await-to-js": "3.0.0",
33
- "bignumber.js": "^6.0.0",
34
- "china-area-data": "^5.0.1",
35
- "clipboard": "^2.0.8",
36
- "codemirror": "5.65.18",
37
- "core-js": "^3.6.4",
38
- "crypto-js": "4.2.0",
39
- "dayjs": "^1.10.4",
40
- "driver.js": "1.3.1",
41
- "echarts": "5.5.1",
42
- "file-saver": "2.0.5",
43
- "fuse.js": "6.6.2",
44
- "js-cookie": "3.0.5",
45
- "jsencrypt": "3.3.2",
46
- "jsplumb": "^2.15.5",
47
- "lodash": "^4.17.21",
48
- "mitt": "3.0.1",
49
- "nprogress": "0.2.0",
50
- "path-browserify": "1.0.1",
51
- "path-to-regexp": "6.2.0",
52
- "postcss": "8.4.47",
53
- "qs": "6.13.0",
54
- "raw-loader": "^4.0.2",
55
- "resize-detector": "^0.3.0",
56
- "screenfull": "6.0.2",
57
- "sm-crypto": "0.3.13",
58
- "sortablejs": "1.15.3",
59
- "splitpanes": "3.1.5",
60
- "tailwindcss": "3.4.14",
61
- "vue-clipboard3": "2.0.0",
62
- "vue-cropper": "1.1.1",
63
- "vue-echarts": "7.0.3",
64
- "vue-json-viewer": "^2.2.18",
65
- "vue-types": "5.1.1",
66
- "vuedraggable": "4.1.0",
67
- "vuex": "^3.6.2",
68
- "xlsx": "0.16.9",
69
- "mavon-editor": "^2.9.0",
70
- "particles.js": "^2.0.0",
71
- "echarts-gl": "^1.1.2"
72
- },
73
- "arkDependencies": {
74
- "@arkxos/arkos-util": "1.0.200",
75
- "@arkxos/arkos-core": "1.0.202",
76
- "@arkxio/ark-ui": "0.1.2",
77
- "@arkxos/arkos-theme-classic": "1.0.200"
78
- },
79
- "peerDependencies": {
80
- "@arkxio/ark-lib-proxy": "0.1.1",
81
- "@arkxio/ark-micro": "0.1.1",
82
- "vue-router": "4.4.5",
83
- "pinia": "2.2.4",
84
- "vue-i18n": "9.8.0",
85
- "core-js": "3.8.3",
86
- "axios": "^1.8.0",
87
- "vue": "3.5.12",
88
- "element-plus": "^2.8.5"
89
- },
90
- "devDependencies": {
91
- "@arkxio/ark-dev-utils": "0.1.1",
92
- "@intlify/unplugin-vue-i18n": "1.6.0",
93
- "@rollup/plugin-typescript": "9.0.1",
94
- "@swc/core": "~1.6.13",
95
- "@types/jest": "27.0.1",
96
- "@types/node": "18.14.2",
97
- "@types/nprogress": "^0.2.0",
98
- "@types/sortablejs": "^1.15.0",
99
- "@types/webpack-env": "^1.18.5",
100
- "@typescript-eslint/eslint-plugin": "6.15.0",
101
- "@typescript-eslint/parser": "6.15.0",
102
- "@vue/cli-plugin-babel": "~5.0.0",
103
- "@vue/cli-plugin-eslint": "~5.0.0",
104
- "@vue/cli-plugin-typescript": "~5.0.0",
105
- "@vue/cli-plugin-unit-jest": "~5.0.0",
106
- "@vue/cli-service": "~5.0.0",
107
- "@vue/compiler-sfc": "^3.4.3",
108
- "@vue/eslint-config-standard": "6.1.0",
109
- "@vue/eslint-config-typescript": "9.1.0",
110
- "@vue/test-utils": "2.4.6",
111
- "@vue/vue3-jest": "27.0.0-alpha.1",
112
- "babel-jest": "27.0.6",
113
- "chalk": "4.0.0",
114
- "consola": "^3.0.0",
115
- "cross-env": "7.0.3",
116
- "eslint": "8.55.0",
117
- "eslint-plugin-import": "2.29.0",
118
- "eslint-plugin-node": "11.1.0",
119
- "eslint-plugin-promise": "5.1.0",
120
- "eslint-plugin-vue": "9.19.2",
121
- "jest": "27.0.5",
122
- "pinia-plugin-persistedstate": "^3.2.1",
123
- "prettier": "3.3.3",
124
- "rollup": "2.79.1",
125
- "rollup-plugin-terser": "7.0.2",
126
- "sass": "1.58.3",
127
- "terser": "^5.31.1",
128
- "ts-jest": "27.0.4",
129
- "typescript": "5.6.2",
130
- "@iconify/utils": "2.1.32",
131
- "unplugin-auto-import": "0.15.3",
132
- "unplugin-icons": "0.14.14",
133
- "unplugin-vue-components": "0.22.11",
134
- "unplugin-vue-setup-extend-plus": "1.0.0",
135
- "vue-cli-plugin-vite": "~1.5.0",
136
- "vue-eslint-parser": "^9.1.0"
137
- },
138
- "publishConfig": {
139
- "access": "public"
140
- },
141
- "scripts": {
142
- "start": "cross-env PORT=7010 vue-cli-service serve --mode development",
143
- "start:vite": "node ./bin/vite",
144
- "build": "npm run check_name && npm run build_dist && npm run build_meta && npm run build_proxy",
145
- "build_dist": "vue-cli-service build",
146
- "check_name": "node ./scripts/check.js",
147
- "build_proxy": "npm run build_proxy_umd && npm run build_proxy_es && copy ./ark_proxy/entry.js ./ark_dist",
148
- "build_proxy_umd": "rollup -c",
149
- "build_proxy_es": "cross-env BUILD_ENV=es rollup -c",
150
- "build_cust": "npm run set_home_page \"npm run build && npm run build_meta\"",
151
- "set_home_page": "cross-env-shell HEL_APP_HOME_PAGE=http://127.0.0.1:9001",
152
- "build_meta": "node scripts/meta.js",
153
- "test:unit": "vue-cli-service test:unit",
154
- "lint": "vue-cli-service lint"
155
- }
156
- }
1
+ {
2
+ "name": "@arkxos/arkos-app-gateway-manage",
3
+ "appGroupName": "@arkxos/arkos-app-gateway-manage",
4
+ "version": "0.1.1",
5
+ "main": "ark_proxy/entry.js",
6
+ "module": "ark_proxy_es/entry.js",
7
+ "types": "src/entrance/libTypes.ts",
8
+ "unpkg": "ark_dist/entry.js",
9
+ "files": [
10
+ "ark_dist",
11
+ "ark_proxy",
12
+ "ark_proxy_es",
13
+ "scripts",
14
+ "README.md",
15
+ "src"
16
+ ],
17
+ "scripts": {
18
+ "start": "cross-env PORT=7010 vue-cli-service serve --mode development",
19
+ "start:vite": "node ./bin/vite",
20
+ "build": "npm run check_name && npm run build_dist && npm run build_meta && npm run build_proxy",
21
+ "build_dist": "vue-cli-service build",
22
+ "check_name": "node ./scripts/check.js",
23
+ "build_proxy": "npm run build_proxy_umd && npm run build_proxy_es && copy ./ark_proxy/entry.js ./ark_dist",
24
+ "build_proxy_umd": "rollup -c",
25
+ "build_proxy_es": "cross-env BUILD_ENV=es rollup -c",
26
+ "build_cust": "npm run set_home_page \"npm run build && npm run build_meta\"",
27
+ "set_home_page": "cross-env-shell HEL_APP_HOME_PAGE=http://127.0.0.1:9001",
28
+ "build_meta": "node scripts/meta.js",
29
+ "test:unit": "vue-cli-service test:unit",
30
+ "lint": "vue-cli-service lint",
31
+ "prepublishOnly": "node ./scripts/prepublishOnly.js"
32
+ },
33
+ "dependencies": {
34
+ "@arkxio/ark-iso": "0.1.1",
35
+ "@arkxos/arkos-util": "workspace:^0.1.0",
36
+ "@arkxos/arkos-core": "workspace:^0.1.0",
37
+ "@arkxio/arkx-ui": "0.1.19",
38
+ "@arkxos/arkos-theme-classic": "workspace:^0.1.0",
39
+ "@element-plus/icons-vue": "2.3.2",
40
+ "@logicflow/core": "^0.2.9",
41
+ "@logicflow/extension": "^0.2.9",
42
+ "@vueup/vue-quill": "1.2.0",
43
+ "@vueuse/core": "10.7.0",
44
+ "@wangeditor/editor": "5.1.23",
45
+ "@wangeditor/editor-for-vue": "5.1.12",
46
+ "animate.css": "4.1.1",
47
+ "autoprefixer": "10.4.20",
48
+ "await-to-js": "3.0.0",
49
+ "bignumber.js": "^6.0.0",
50
+ "china-area-data": "^5.0.1",
51
+ "clipboard": "^2.0.8",
52
+ "codemirror": "5.65.18",
53
+ "core-js": "3.8.3",
54
+ "crypto-js": "4.2.0",
55
+ "dayjs": "^1.10.4",
56
+ "driver.js": "1.3.1",
57
+ "echarts": "5.5.1",
58
+ "file-saver": "2.0.5",
59
+ "fuse.js": "6.6.2",
60
+ "js-cookie": "3.0.5",
61
+ "jsencrypt": "3.3.2",
62
+ "jsplumb": "^2.15.5",
63
+ "lodash": "^4.17.21",
64
+ "mitt": "3.0.1",
65
+ "nprogress": "0.2.0",
66
+ "path-browserify": "1.0.1",
67
+ "path-to-regexp": "6.3.0",
68
+ "postcss": "8.4.47",
69
+ "qs": "6.13.0",
70
+ "raw-loader": "^4.0.2",
71
+ "resize-detector": "^0.3.0",
72
+ "screenfull": "6.0.2",
73
+ "sm-crypto": "0.3.13",
74
+ "sortablejs": "1.15.3",
75
+ "splitpanes": "3.1.5",
76
+ "tailwindcss": "3.4.14",
77
+ "vue-clipboard3": "2.0.0",
78
+ "vue-cropper": "1.1.1",
79
+ "vue-echarts": "7.0.3",
80
+ "vue-json-viewer": "^2.2.18",
81
+ "vue-types": "5.1.1",
82
+ "vuedraggable": "4.1.0",
83
+ "vuex": "^3.6.2",
84
+ "mavon-editor": "^2.9.0",
85
+ "particles.js": "^2.0.0",
86
+ "core-js": "3.6.4",
87
+ "echarts-gl": "^1.1.2"
88
+ },
89
+ "arkDependencies": {
90
+ "@arkxos/arkos-util": "1.0.200",
91
+ "@arkxos/arkos-core": "0.1.0",
92
+ "@arkxio/arkx-ui": "0.1.19",
93
+ "@arkxos/arkos-theme-classic": "1.0.200"
94
+ },
95
+ "peerDependencies": {
96
+ "@arkxio/ark-lib-proxy": "0.1.1",
97
+ "@arkxio/ark-micro": "0.1.3",
98
+ "vue-router": "4.4.5",
99
+ "pinia": "2.2.4",
100
+ "vue-i18n": "9.8.0",
101
+ "core-js": "3.8.3",
102
+ "axios": "^1.8.0",
103
+ "vue": "3.5.12",
104
+ "element-plus": "^2.13.0"
105
+ },
106
+ "devDependencies": {
107
+ "@arkxio/ark-dev-utils": "0.1.1",
108
+ "@intlify/unplugin-vue-i18n": "1.6.0",
109
+ "@rollup/plugin-typescript": "9.0.1",
110
+ "@swc/core": "~1.6.13",
111
+ "@types/jest": "27.0.1",
112
+ "@types/node": "18.14.2",
113
+ "@types/nprogress": "^0.2.0",
114
+ "@types/sortablejs": "^1.15.0",
115
+ "@types/webpack-env": "^1.18.5",
116
+ "@typescript-eslint/eslint-plugin": "6.15.0",
117
+ "@typescript-eslint/parser": "6.15.0",
118
+ "@vue/cli-plugin-babel": "~5.0.0",
119
+ "@vue/cli-plugin-eslint": "~5.0.0",
120
+ "@vue/cli-plugin-typescript": "~5.0.0",
121
+ "@vue/cli-plugin-unit-jest": "~5.0.0",
122
+ "@vue/cli-service": "~5.0.0",
123
+ "@vue/compiler-sfc": "^3.4.3",
124
+ "@vue/eslint-config-standard": "6.1.0",
125
+ "@vue/eslint-config-typescript": "9.1.0",
126
+ "@vue/test-utils": "2.4.6",
127
+ "@vue/vue3-jest": "27.0.0-alpha.1",
128
+ "babel-jest": "27.0.6",
129
+ "chalk": "5.4.1",
130
+ "consola": "^3.0.0",
131
+ "cross-env": "7.0.3",
132
+ "eslint": "8.55.0",
133
+ "eslint-plugin-import": "2.29.0",
134
+ "eslint-plugin-node": "11.1.0",
135
+ "eslint-plugin-promise": "5.1.0",
136
+ "eslint-plugin-vue": "9.19.2",
137
+ "jest": "27.0.5",
138
+ "pinia-plugin-persistedstate": "^3.2.1",
139
+ "prettier": "3.3.3",
140
+ "rollup": "2.79.2",
141
+ "rollup-plugin-terser": "7.0.2",
142
+ "sass": "1.58.3",
143
+ "terser": "^5.31.1",
144
+ "ts-jest": "27.0.4",
145
+ "typescript": "5.6.2",
146
+ "@iconify/utils": "2.1.32",
147
+ "unplugin-auto-import": "0.15.3",
148
+ "unplugin-icons": "0.14.14",
149
+ "unplugin-vue-components": "0.22.11",
150
+ "unplugin-vue-setup-extend-plus": "1.0.0",
151
+ "vue-cli-plugin-vite": "~1.5.0",
152
+ "vue-eslint-parser": "^9.1.0"
153
+ },
154
+ "publishConfig": {
155
+ "access": "public",
156
+ "main": "ark_proxy/entry.js",
157
+ "module": "ark_proxy_es/entry.js"
158
+ }
159
+ }
@@ -6,7 +6,7 @@ import { request } from '@arkxos/arkos-core';
6
6
  */
7
7
  export const addClient = data => {
8
8
  return request({
9
- url: '/base/app/add',
9
+ url: '/admin/app/add',
10
10
  method: 'post',
11
11
  data
12
12
  })
@@ -17,7 +17,7 @@ export const addClient = data => {
17
17
  */
18
18
  export const updateClient = data => {
19
19
  return request({
20
- url: '/base/app/update',
20
+ url: '/admin/app/update',
21
21
  method: 'post',
22
22
  data
23
23
  })
@@ -28,7 +28,7 @@ export const updateClient = data => {
28
28
  */
29
29
  export const clientPageList = data => {
30
30
  return request({
31
- url: '/base/app',
31
+ url: '/admin/app',
32
32
  method: 'get',
33
33
  data
34
34
  })
@@ -39,7 +39,7 @@ export const clientPageList = data => {
39
39
  */
40
40
  export const startClient = data => {
41
41
  return request({
42
- url: '/base/app/start',
42
+ url: '/admin/app/start',
43
43
  method: 'post',
44
44
  data
45
45
  })
@@ -50,7 +50,7 @@ export const startClient = data => {
50
50
  */
51
51
  export const stopClient = data => {
52
52
  return request({
53
- url: '/base/app/stop',
53
+ url: '/admin/app/stop',
54
54
  method: 'post',
55
55
  data
56
56
  })
@@ -61,7 +61,7 @@ export const stopClient = data => {
61
61
  */
62
62
  export const deleteClient = data => {
63
63
  return request({
64
- url: '/base/app/delete',
64
+ url: '/admin/app/delete',
65
65
  method: 'post',
66
66
  data
67
67
  })
@@ -11,7 +11,7 @@ import { request } from '@arkxos/arkos-core';
11
11
  export const getApps = ({ page, limit, appId, appName, appNameEn }) => {
12
12
  const params = { page: page, limit: limit, appId: appId, appName: appName, appNameEn: appNameEn }
13
13
  return request({
14
- url: 'base/app',
14
+ url: '/admin/app',
15
15
  params,
16
16
  method: 'get'
17
17
  })
@@ -55,7 +55,7 @@ export const addApp = ({
55
55
  publicKey: publicKey
56
56
  }
57
57
  return request({
58
- url: 'base/app/add',
58
+ url: '/admin/app/add',
59
59
  data,
60
60
  method: 'post'
61
61
  })
@@ -102,7 +102,7 @@ export const updateApp = ({
102
102
  publicKey: publicKey
103
103
  }
104
104
  return request({
105
- url: 'base/app/update',
105
+ url: '/admin/app/update',
106
106
  data,
107
107
  method: 'post'
108
108
  })
@@ -129,7 +129,7 @@ export const updateAppClientInfo = ({ appId, grantTypes, redirectUrls, scopes, a
129
129
  autoApproveScopes: autoApproveScopes.join(',')
130
130
  }
131
131
  return request({
132
- url: 'base/app/client/update',
132
+ url: '/admin/app/client/update',
133
133
  data,
134
134
  method: 'post'
135
135
  })
@@ -144,7 +144,7 @@ export const removeApp = ({ appId }) => {
144
144
  appId: appId
145
145
  }
146
146
  return request({
147
- url: 'base/app/remove',
147
+ url: '/admin/app/remove',
148
148
  data,
149
149
  method: 'post'
150
150
  })
@@ -159,7 +159,7 @@ export const restApp = ({ appId }) => {
159
159
  appId: appId
160
160
  }
161
161
  return request({
162
- url: 'base/app/reset',
162
+ url: '/admin/app/reset',
163
163
  data,
164
164
  method: 'post'
165
165
  })
@@ -171,7 +171,7 @@ export const restApp = ({ appId }) => {
171
171
  */
172
172
  export const getAppInfo = ({ appId }) => {
173
173
  return request({
174
- url: `base/app/${appId}/info`,
174
+ url: `/admin/app/${appId}/info`,
175
175
  method: 'get'
176
176
  })
177
177
  }
@@ -182,7 +182,7 @@ export const getAppInfo = ({ appId }) => {
182
182
  */
183
183
  export const getAppClientInfo = ({ clientId }) => {
184
184
  return request({
185
- url: `base/app/client/${clientId}/info`,
185
+ url: `/admin/app/client/${clientId}/info`,
186
186
  method: 'get'
187
187
  })
188
188
  }
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
  </el-col>
12
12
  <el-col :span="12">
13
- <el-radio-group v-model="dateType" size="mini" style="margin-top: 18px; margin-right: 18px; float: right;" @change="loadAccessCard">
13
+ <el-radio-group v-model="dateType" size="default" style="margin-top: 18px; margin-right: 18px; float: right;" @change="loadAccessCard">
14
14
  <el-radio-button label="min">60分</el-radio-button>
15
15
  <el-radio-button label="hour">24小时</el-radio-button>
16
16
  <el-radio-button label="day">7天</el-radio-button>
@@ -50,7 +50,7 @@ export default {
50
50
  };
51
51
  return statusMap[status];
52
52
  }
53
- },
53
+ },
54
54
  props:['routeTable','balancedName'],//父组件传参
55
55
  data() {
56
56
  return {
@@ -64,7 +64,7 @@ export default {
64
64
  article_count: 1024,
65
65
  pageviews_count: 1024
66
66
  },
67
- colors: ['#00ADD0', '#FFA12F', '#B62AFF', '#727CF5', '#1890FF', '#00f6ff', '#20C0F4', '#95F300', '#04FDB8', '#AF5AFF'],
67
+ colors: ['#00ADD0', '#FFA12F', '#B62AFF', '#727CF5', '#1890FF', '#00f6ff', '#20C0F4', '#95F300', '#04FDB8', '#AF5AFF'],
68
68
  // customColors: [
69
69
  // { color: '#00ADD0', percentage: 20 },
70
70
  // { color: '#FFA12F', percentage: 40 },
@@ -93,7 +93,7 @@ export default {
93
93
  this.balancedId = balancedId;
94
94
  if (data != null && data != undefined){
95
95
  this.routeIds = [];
96
- data.forEach((row,index)=>{
96
+ data.forEach((row,index)=>{
97
97
  this.routeIds.push(row.routeId);
98
98
  });
99
99
  this.loadAccessCard();
@@ -31,7 +31,7 @@
31
31
  <el-table-column label="服务名称" prop="name"></el-table-column>
32
32
  <el-table-column label="状态" width="70" prop="status">
33
33
  <template>
34
- <el-tag size="mini">{{'允许通行'}}</el-tag>
34
+ <el-tag size="default">{{'允许通行'}}</el-tag>
35
35
  </template>
36
36
  </el-table-column>
37
37
  <el-table-column label="注册时间" prop="regServerTime"></el-table-column>
@@ -19,14 +19,14 @@
19
19
  <el-table-column label="创建时间" prop="createTime" width="200"></el-table-column>
20
20
  <el-table-column label="状态" prop="status" width="120">
21
21
  <template slot-scope="scope">
22
- <div v-if="scope.row.status==='0'"><i class="el-icon-success" style="color: #409EFF;"></i>&nbsp;<el-tag size="mini">{{'开启'}}</el-tag></div>
23
- <div v-if="scope.row.status==='1'"><i class="el-icon-error" style="color: #f00000;"></i>&nbsp;<el-tag size="mini" type="danger">{{'关闭'}}</el-tag></div>
22
+ <div v-if="scope.row.status==='0'"><i class="el-icon-success" style="color: #409EFF;"></i>&nbsp;<el-tag size="default">{{'开启'}}</el-tag></div>
23
+ <div v-if="scope.row.status==='1'"><i class="el-icon-error" style="color: #f00000;"></i>&nbsp;<el-tag size="default" type="danger">{{'关闭'}}</el-tag></div>
24
24
  </template>
25
25
  </el-table-column>
26
26
  <el-table-column label="操作" width="80">
27
27
  <template slot-scope="scope">
28
- <el-dropdown trigger="click" @command="handleCommandRegServer">
29
- <el-button size="mini" circle icon="el-icon-setting" title="设置" style="border: 0px;"></el-button>
28
+ <el-dropdown trigger="click" @command="handleCommandRegServer">
29
+ <el-button size="default" circle icon="el-icon-setting" title="设置" style="border: 0px;"></el-button>
30
30
  <el-dropdown-menu slot="dropdown">
31
31
  <el-dropdown-item :command="{command:'edit', row: scope.row}"><i class="el-icon-edit"></i>编辑</el-dropdown-item>
32
32
  <el-dropdown-item :command="{command:'start', row: scope.row}" divided><i class="el-icon-success" style="color: #409EFF;"></i>开启</el-dropdown-item>
@@ -43,7 +43,7 @@
43
43
  </template>
44
44
 
45
45
  <script>
46
-
46
+
47
47
  export default {
48
48
  data() {
49
49
  return {
@@ -58,7 +58,7 @@ export default {
58
58
  init() {
59
59
  console.log('tableData',this.tableData)
60
60
  },
61
- queryCode(row){
61
+ queryCode(row){
62
62
  console.log(this.$parent)
63
63
  //调用父组件方法
64
64
  this.$emit('queryCode', row);
@@ -76,31 +76,31 @@
76
76
  <template slot="title">
77
77
  <el-tag size="small" type="warning">HEADER验证</el-tag>
78
78
  </template>
79
- <div><el-tag size="mini" type="">{{infoForm.accessHeader}}</el-tag></div>
79
+ <div><el-tag size="default" type="">{{infoForm.accessHeader}}</el-tag></div>
80
80
  </el-collapse-item>
81
81
  <el-collapse-item v-if="infoForm.filterAuthorizeName.indexOf('ip') != -1">
82
82
  <template slot="title">
83
83
  <el-tag size="small" type="warning">IP验证</el-tag>
84
84
  </template>
85
- <div><el-tag size="mini" type="">ip={{infoForm.accessIp}}</el-tag></div>
85
+ <div><el-tag size="default" type="">ip={{infoForm.accessIp}}</el-tag></div>
86
86
  </el-collapse-item>
87
87
  <el-collapse-item v-if="infoForm.filterAuthorizeName.indexOf('parm') != -1">
88
88
  <template slot="title">
89
89
  <el-tag size="small" type="warning">参数验证</el-tag>
90
90
  </template>
91
- <div><el-tag size="mini" type="">{{infoForm.accessParameter}}</el-tag></div>
91
+ <div><el-tag size="default" type="">{{infoForm.accessParameter}}</el-tag></div>
92
92
  </el-collapse-item>
93
93
  <el-collapse-item v-if="infoForm.filterAuthorizeName.indexOf('time') != -1">
94
94
  <template slot="title">
95
95
  <el-tag size="small" type="warning">时间验证</el-tag>
96
96
  </template>
97
- <div><el-tag size="mini" type="">时间区间:{{infoForm.accessTime}}</el-tag></div>
97
+ <div><el-tag size="default" type="">时间区间:{{infoForm.accessTime}}</el-tag></div>
98
98
  </el-collapse-item>
99
99
  <el-collapse-item v-if="infoForm.filterAuthorizeName.indexOf('cookie') != -1">
100
100
  <template slot="title">
101
101
  <el-tag size="small" type="warning">Cookie验证</el-tag>
102
102
  </template>
103
- <div><el-tag size="mini" type="">{{infoForm.accessCookie}}</el-tag></div>
103
+ <div><el-tag size="default" type="">{{infoForm.accessCookie}}</el-tag></div>
104
104
  </el-collapse-item>
105
105
  </el-collapse>
106
106
  </el-col>
@@ -16,7 +16,7 @@
16
16
  <el-divider style="width: 80%;"></el-divider>
17
17
  <div id="route60MinAccessChart" class="chart_line_2"></div>
18
18
  <div slot="footer" class="dialog-footer">
19
- <el-button icon="el-icon-s-release" size="mini" type="warning" @click="dialogFormVisible = false">关 闭</el-button>
19
+ <el-button icon="el-icon-s-release" size="default" type="warning" @click="dialogFormVisible = false">关 闭</el-button>
20
20
  </div>
21
21
  </el-dialog>
22
22
  </div>
@@ -2,13 +2,13 @@
2
2
  <div>
3
3
  <el-page-header @back="goBack" content="已注册服务端管理"></el-page-header>
4
4
  <el-dialog title="添加服务端" v-model="dialogFormVisible" width="40%" :close-on-click-modal="false">
5
- <el-table size="mini" :data="routeTableData" style="width: 100%">
5
+ <el-table size="default" :data="routeTableData" style="width: 100%">
6
6
  <el-table-column label="服务ID" prop="id"></el-table-column>
7
7
  <el-table-column label="服务名称" prop="name"></el-table-column>
8
8
  <el-table-column label="服务地址" prop="uri"></el-table-column>
9
9
  <el-table-column label="操作" width="60">
10
10
  <template #default="{ row }">
11
- <el-button size="mini" circle icon="el-icon-plus" type="success" title="添加" @click="handleAddRegServer(scope.row)"></el-button>
11
+ <el-button size="default" circle icon="el-icon-plus" type="success" title="添加" @click="handleAddRegServer(scope.row)"></el-button>
12
12
  </template>
13
13
  </el-table-column>
14
14
  </el-table>
@@ -45,8 +45,8 @@
45
45
  <span style="margin-left: 50px;">
46
46
  <i class="el-icon-monitor"></i>
47
47
  <span style="font-size: 11pt;">
48
- <el-tag size="mini" style="font-weight: bold;">{{form.name}}</el-tag> -
49
- <el-tag size="mini" type="success" style="font-weight: bold;">{{form.ip}}</el-tag>
48
+ <el-tag size="default" style="font-weight: bold;">{{form.name}}</el-tag> -
49
+ <el-tag size="default" type="success" style="font-weight: bold;">{{form.ip}}</el-tag>
50
50
  </span>
51
51
  </span>
52
52
  <div style="float: right; margin-left: 10px;">
@@ -68,14 +68,14 @@
68
68
  <el-table-column label="注册时间" prop="regServerTime" width="200"></el-table-column>
69
69
  <el-table-column label="状态" prop="regServerStatus">
70
70
  <template #default="{ row }">
71
- <div v-if="scope.row.regServerStatus==='0'"><i class="el-icon-success" style="color: #409EFF;"></i>&nbsp;<el-tag size="mini">{{'允许通行'}}</el-tag></div>
72
- <div v-if="scope.row.regServerStatus==='1'"><i class="el-icon-error" style="color: #f00000;"></i>&nbsp;<el-tag size="mini" type="danger">{{'禁止通行'}}</el-tag></div>
71
+ <div v-if="scope.row.regServerStatus==='0'"><i class="el-icon-success" style="color: #409EFF;"></i>&nbsp;<el-tag size="default">{{'允许通行'}}</el-tag></div>
72
+ <div v-if="scope.row.regServerStatus==='1'"><i class="el-icon-error" style="color: #f00000;"></i>&nbsp;<el-tag size="default" type="danger">{{'禁止通行'}}</el-tag></div>
73
73
  </template>
74
74
  </el-table-column>
75
75
  <el-table-column label="操作" width="80">
76
76
  <template #default="{ row }">
77
77
  <el-dropdown trigger="click" @command="handleCommandRegServer">
78
- <el-button size="mini" circle icon="el-icon-setting" title="设置" style="border: 0px;"></el-button>
78
+ <el-button size="default" circle icon="el-icon-setting" title="设置" style="border: 0px;"></el-button>
79
79
  <el-dropdown-menu slot="dropdown">
80
80
  <el-dropdown-item :command="{command:'start', row: scope.row}"><i class="el-icon-success" style="color: #409EFF;"></i>允许通行</el-dropdown-item>
81
81
  <el-dropdown-item :command="{command:'stop', row: scope.row}"><i class="el-icon-error" style="color: red;"></i>禁止通行</el-dropdown-item>