imatrix-ui 2.9.10-dw → 2.9.11-boe2

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 (181) hide show
  1. package/lib/super-ui.css +1 -1
  2. package/lib/super-ui.umd.min.js +5 -35
  3. package/package.json +2 -2
  4. package/src/api/sso-service.js +19 -1
  5. package/src/i18n/i18n.js +1 -1
  6. package/src/i18n/langs/cn.js +14 -4
  7. package/src/i18n/langs/en.js +16 -5
  8. package/src/permission.js +1 -1
  9. package/src/plugins.js +3 -3
  10. package/src/router/index.js +10 -0
  11. package/src/store/modules/tab-content.js +6 -0
  12. package/src/store/modules/user.js +19 -0
  13. package/src/styles/index.scss +74 -4
  14. package/src/styles/theme/black/font-style.scss +70 -0
  15. package/src/styles/theme/black/index.scss +6 -30
  16. package/src/styles/theme/blue/font-style.scss +37 -0
  17. package/src/styles/theme/blue/index.scss +2 -18
  18. package/src/styles/theme/blue2/font-style.scss +70 -0
  19. package/src/styles/theme/blue2/index.scss +3 -13
  20. package/src/styles/theme/dark-blue/index.scss +27 -5
  21. package/src/styles/theme/dark-blue/message.scss +8 -0
  22. package/src/styles/theme/dark-blue/sidebar.scss +7 -37
  23. package/src/styles/theme/dark-blue/table.scss +1 -1
  24. package/src/styles/theme/gray/card-style.scss +13 -1
  25. package/src/styles/theme/gray/font-style.scss +38 -0
  26. package/src/styles/theme/gray/index.scss +13 -25
  27. package/src/styles/theme/gray/scrollbar-style.scss +32 -0
  28. package/src/styles/theme/gray/sidebar.scss +7 -14
  29. package/src/utils/auth-api.js +45 -1
  30. package/src/utils/common-util.js +21 -81
  31. package/src/utils/range-selector.js +185 -0
  32. package/src/utils/request.js +6 -3
  33. package/src/utils/util.js +12 -10
  34. package/src/views/dsc-component/Sidebar/Item.vue +7 -5
  35. package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -3
  36. package/src/views/dsc-component/Sidebar/index.vue +12 -20
  37. package/src/views/dsc-component/tabs/tab-content.vue +1 -5
  38. package/src/views/layout/NewLayout.vue +6 -65
  39. package/src/views/layout/components/Menubar/Item.vue +23 -7
  40. package/src/views/layout/components/Menubar/Link.vue +11 -2
  41. package/src/views/layout/components/Menubar/SidebarItem.vue +50 -7
  42. package/src/views/layout/components/Menubar/index.vue +51 -16
  43. package/src/views/layout/components/tabs/tab-content.vue +160 -0
  44. package/src/views/layout/tab-content-iframe-index.vue +31 -0
  45. package/src/views/layout/tab-content-index.vue +85 -0
  46. package/src/views/login/index.vue +1 -1
  47. package/packages/breadcrumb/index.js +0 -6
  48. package/packages/breadcrumb/src/breadcrumb.vue +0 -71
  49. package/packages/department-tree/index.js +0 -6
  50. package/packages/department-tree/src/department-tree.vue +0 -108
  51. package/packages/department-tree-inline/index.js +0 -6
  52. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -402
  53. package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -284
  54. package/packages/department-tree-inline/src/department-tree-inline.vue +0 -86
  55. package/packages/department-tree-inline/src/department-tree-service.js +0 -245
  56. package/packages/department-tree-inline/src/search-result.vue +0 -176
  57. package/packages/department-user-tree/index.js +0 -6
  58. package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -116
  59. package/packages/department-user-tree/src/department-user-single-tree.vue +0 -76
  60. package/packages/department-user-tree/src/department-user-tree.vue +0 -101
  61. package/packages/department-user-tree-inline/index.js +0 -6
  62. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -626
  63. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -269
  64. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -79
  65. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -230
  66. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -122
  67. package/packages/department-user-tree-inline/src/search-result.vue +0 -197
  68. package/packages/directives/prevent-reclick.js +0 -19
  69. package/packages/dynamic-source-select/index.js +0 -6
  70. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -70
  71. package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -440
  72. package/packages/dynamic-source-select/src/events.js +0 -55
  73. package/packages/fs-preview/index.js +0 -6
  74. package/packages/fs-preview/src/fs-preview.vue +0 -226
  75. package/packages/fs-upload/index.js +0 -6
  76. package/packages/fs-upload/src/fs-upload-multi.vue +0 -420
  77. package/packages/fs-upload/src/fs-upload-single.vue +0 -312
  78. package/packages/fs-upload/src/fs-upload.vue +0 -189
  79. package/packages/fs-upload/src/see-big-picture.vue +0 -55
  80. package/packages/fs-upload-list/index.js +0 -6
  81. package/packages/fs-upload-list/src/fs-upload-list.vue +0 -287
  82. package/packages/hamburger/index.js +0 -6
  83. package/packages/hamburger/src/hamburger.vue +0 -38
  84. package/packages/index.js +0 -121
  85. package/packages/multipart-upload/index.js +0 -6
  86. package/packages/multipart-upload/src/index.vue +0 -73
  87. package/packages/multipart-upload/src/multipart-upload-form.vue +0 -297
  88. package/packages/multipart-upload/src/multipart-upload-list.vue +0 -378
  89. package/packages/organization-input/index.js +0 -6
  90. package/packages/organization-input/src/organization-input.vue +0 -542
  91. package/packages/plugins/export-data-new.js +0 -453
  92. package/packages/plugins/export-data.js +0 -361
  93. package/packages/plugins/index.js +0 -15
  94. package/packages/plugins/public-method.js +0 -43
  95. package/packages/remove-department/index.js +0 -6
  96. package/packages/remove-department/src/remove-department.vue +0 -172
  97. package/packages/remove-department/src/remove-dept-service.js +0 -20
  98. package/packages/remove-user/index.js +0 -6
  99. package/packages/remove-user/src/remove-user-service.js +0 -20
  100. package/packages/remove-user/src/remove-user.vue +0 -195
  101. package/packages/remove-workgroup/index.js +0 -6
  102. package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -20
  103. package/packages/remove-workgroup/src/remove-workgroup.vue +0 -159
  104. package/packages/rich-editor/index.js +0 -7
  105. package/packages/rich-editor/index.vue +0 -278
  106. package/packages/rich-editor/langs/zh-Hans.js +0 -1
  107. package/packages/rich-editor/viewer.vue +0 -103
  108. package/packages/scan-code-input/index.js +0 -6
  109. package/packages/scan-code-input/src/events.js +0 -33
  110. package/packages/scan-code-input/src/scan-code-input-colse.vue +0 -131
  111. package/packages/scan-code-input/src/scan-code-input.vue +0 -116
  112. package/packages/secret-info/index.js +0 -7
  113. package/packages/secret-info/index.vue +0 -90
  114. package/packages/super-grid/index.js +0 -7
  115. package/packages/super-grid/src/apis.js +0 -778
  116. package/packages/super-grid/src/columns-config.vue +0 -335
  117. package/packages/super-grid/src/custom-formatter.js +0 -250
  118. package/packages/super-grid/src/dynamic-input.vue +0 -1279
  119. package/packages/super-grid/src/eventBus.js +0 -2
  120. package/packages/super-grid/src/events.js +0 -55
  121. package/packages/super-grid/src/formValidatorUtil.js +0 -226
  122. package/packages/super-grid/src/formatter.js +0 -181
  123. package/packages/super-grid/src/group-column.vue +0 -100
  124. package/packages/super-grid/src/header-context-menu.vue +0 -87
  125. package/packages/super-grid/src/index-column.vue +0 -51
  126. package/packages/super-grid/src/normal-column.vue +0 -769
  127. package/packages/super-grid/src/public-methods.js +0 -31
  128. package/packages/super-grid/src/row-operation.vue +0 -161
  129. package/packages/super-grid/src/search-button.vue +0 -66
  130. package/packages/super-grid/src/search-condition-input.vue +0 -61
  131. package/packages/super-grid/src/search-condition-list.vue +0 -59
  132. package/packages/super-grid/src/search-form-advancedQuery.vue +0 -653
  133. package/packages/super-grid/src/search-form-dialog.vue +0 -79
  134. package/packages/super-grid/src/search-form-item.vue +0 -386
  135. package/packages/super-grid/src/search-form-number.vue +0 -38
  136. package/packages/super-grid/src/search-form-open.vue +0 -162
  137. package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -188
  138. package/packages/super-grid/src/search-form.vue +0 -634
  139. package/packages/super-grid/src/search-methods.js +0 -387
  140. package/packages/super-grid/src/selection-column.vue +0 -43
  141. package/packages/super-grid/src/store.js +0 -3
  142. package/packages/super-grid/src/super-grid-service.js +0 -561
  143. package/packages/super-grid/src/super-grid.vue +0 -2829
  144. package/packages/super-grid/src/utils.js +0 -763
  145. package/packages/super-grid/src/view-image-dialog.vue +0 -130
  146. package/packages/super-nine-grid/index.js +0 -7
  147. package/packages/super-nine-grid/src/apis.js +0 -103
  148. package/packages/super-nine-grid/src/custom-formatter.js +0 -66
  149. package/packages/super-nine-grid/src/formatter.js +0 -132
  150. package/packages/super-nine-grid/src/search-form-number.vue +0 -38
  151. package/packages/super-nine-grid/src/search-form.vue +0 -430
  152. package/packages/super-nine-grid/src/search-methods.js +0 -134
  153. package/packages/super-nine-grid/src/store.js +0 -3
  154. package/packages/super-nine-grid/src/super-grid-service.js +0 -91
  155. package/packages/super-nine-grid/src/super-nine-grid.vue +0 -872
  156. package/packages/super-nine-grid/src/utils.js +0 -261
  157. package/packages/svg-icon/index.js +0 -6
  158. package/packages/svg-icon/src/svg-icon.vue +0 -43
  159. package/packages/utils/utils.js +0 -152
  160. package/packages/utils/value-set.js +0 -86
  161. package/packages/valid-code/index.js +0 -7
  162. package/packages/valid-code/src/valid-code.vue +0 -95
  163. package/packages/workflow-button/index.js +0 -6
  164. package/packages/workflow-button/src/workflow-button.vue +0 -325
  165. package/packages/workflow-history-list/index.js +0 -6
  166. package/packages/workflow-history-list/src/api.js +0 -7
  167. package/packages/workflow-history-list/src/workflow-history-list.vue +0 -185
  168. package/packages/workgroup-tree/index.js +0 -6
  169. package/packages/workgroup-tree/src/workgroup-tree.vue +0 -76
  170. package/packages/workgroup-tree-inline/index.js +0 -6
  171. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -317
  172. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -43
  173. package/packages/workgroup-user-tree/index.js +0 -6
  174. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -100
  175. package/packages/workgroup-user-tree-inline/index.js +0 -6
  176. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -163
  177. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -436
  178. package/packages/year-range-picker/index.js +0 -6
  179. package/packages/year-range-picker/src/year-range-picker.vue +0 -51
  180. package/src/index.js +0 -93
  181. package/src/styles/theme/gray/form-style.scss +0 -41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imatrix-ui",
3
- "version": "2.9.10-dw",
3
+ "version": "2.9.11-boe2",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -34,7 +34,7 @@
34
34
  "element-ui": "2.15.3",
35
35
  "eslint": "5.16.0",
36
36
  "eslint-plugin-vue": "5.2.2",
37
- "node-sass": "4.12.0",
37
+ "node-sass": "4.14.0",
38
38
  "nprogress": "^0.2.0",
39
39
  "sass-loader": "^7.1.0",
40
40
  "sessionstorage": "^0.1.0",
@@ -11,6 +11,23 @@ function login(username, password, language) {
11
11
 
12
12
  return request.post(Vue.prototype.baseAPI + '/sso/login', usernamePasswordToken)
13
13
  }
14
+ function loginWithValidateCode(username, password, language, validateCode, imageCodeKey) {
15
+ const usernamePasswordToken = {
16
+ username,
17
+ password
18
+ }
19
+ if (language) {
20
+ usernamePasswordToken.language = language
21
+ }
22
+ if (validateCode) {
23
+ usernamePasswordToken.validateCode = validateCode
24
+ }
25
+ if (imageCodeKey) {
26
+ usernamePasswordToken.imageCodeKey = imageCodeKey
27
+ }
28
+
29
+ return request.post(Vue.prototype.baseAPI + '/sso/login-with-validate-code', usernamePasswordToken)
30
+ }
14
31
 
15
32
  function getCurrentUser() {
16
33
  return request.get(
@@ -96,5 +113,6 @@ export default {
96
113
  isResetPasswordJwtOverdue,
97
114
  resetPassword,
98
115
  isLoginTimeOut,
99
- getUserPermissionMenusBySystemCode
116
+ getUserPermissionMenusBySystemCode,
117
+ loginWithValidateCode
100
118
  }
package/src/i18n/i18n.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import Vue from 'vue'
2
- import locale from '@gcommon/gcommon-ui/lib/locale'
2
+ import locale from 'element-ui/lib/locale'
3
3
  import VueI18n from 'vue-i18n'
4
4
  import en from './langs/en'
5
5
  import cn from './langs/cn'
@@ -1,4 +1,4 @@
1
- import zhLocale from '@gcommon/gcommon-ui/lib/locale/lang/zh-CN'
1
+ import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
2
2
  const cn = {
3
3
  imatrixUIPublicModel: {
4
4
  sure: '确定',
@@ -175,7 +175,9 @@ const cn = {
175
175
  assign: '交办',
176
176
  assign_task: '转办',
177
177
  readed: '已阅',
178
- export_report: '导出报告'
178
+ export_report: '导出报告',
179
+ draw_dept_task: '部门领取',
180
+ abandon_draw_dept_task: '放弃部门领取'
179
181
  },
180
182
  // 流转历史文本组件
181
183
  workflowHistoryList: {
@@ -208,11 +210,13 @@ const cn = {
208
210
  commonButtonOperation: '{1}执行了[{2}]操作',
209
211
  history_draw_task: '{1}领取了任务,取消了候选人[{2}]的任务',
210
212
  history_abandon_draw: '{1}放弃领取该任务,还原了候选人[{2}]的任务',
213
+ create_copy_task: '{1}把任务抄送给了[{2}]',
211
214
  toDoText: '待处理',
212
215
  operator: '操作人',
213
216
  operatorDept: '操作人部门',
214
- operationTime: '操作时间'
215
-
217
+ operationTime: '操作时间',
218
+ history_draw_dept_task: '{1}领取了部门[{2}]的任务',
219
+ history_abandon_draw_dept_task: '{1}放弃领取部门[{2}]的任务'
216
220
  },
217
221
  gateway: {
218
222
  timeout: '接口调用超时',
@@ -238,6 +242,12 @@ const cn = {
238
242
  callingRearCamera: '正在调用后置摄像头...',
239
243
  identificationFailed: '识别失败'
240
244
  },
245
+ IntervalSelection: {
246
+ year: '年',
247
+ quarter: '季度',
248
+ auxiliary: '第',
249
+ week: '周'
250
+ },
241
251
  ...zhLocale
242
252
  }
243
253
  export default cn
@@ -1,4 +1,4 @@
1
- import enLocale from '@gcommon/gcommon-ui/lib/locale/lang/en'
1
+ import enLocale from 'element-ui/lib/locale/lang/en'
2
2
  const en = {
3
3
  imatrixUIPublicModel: {
4
4
  sure: 'Sure',
@@ -172,7 +172,9 @@ const en = {
172
172
  assign: 'Hand over',
173
173
  assign_task: 'Transfer',
174
174
  readed: 'Readed',
175
- export_report: 'Export Report'
175
+ export_report: 'Export Report',
176
+ draw_dept_task: 'Draw Department',
177
+ abandon_draw_dept_task: 'Give Up Draw Department'
176
178
  },
177
179
  // 流转历史文本组件
178
180
  workflowHistoryList: {
@@ -203,12 +205,15 @@ const en = {
203
205
  history_quit_transfer: '{1} Resignation, has transferred task [{2}] to [{3}',
204
206
  history_change_job_transfer: '{1} Change job,has transferred task [{2}] to [{3}',
205
207
  commonButtonOperation: '{1} execute [{2}] operation',
206
- history_draw_task: '{1}received the task and cancelled the task of the candidate [{2}]',
207
- history_abandon_draw: '{1}gives up the task and restores the task of candidate [{2}]',
208
+ history_draw_task: '{1} received the task and cancelled the task of the candidate [{2}]',
209
+ history_abandon_draw: '{1} gives up the task and restores the task of candidate [{2}]',
210
+ create_copy_task: '{1} The task was copied to [{2}',
208
211
  toDoText: 'Todo',
209
212
  operator: 'Operator',
210
213
  operatorDept: 'Operator Dept',
211
- operationTime: 'Operation Time'
214
+ operationTime: 'Operation Time',
215
+ history_draw_dept_task: '{1} Received tasks from department [{2}]',
216
+ history_abandon_draw_dept_task: '{1} Abandon the task of receiving department [{2}]'
212
217
  },
213
218
  gateway: {
214
219
  timeout: 'Interface call timeout',
@@ -234,6 +239,12 @@ const en = {
234
239
  callingRearCamera: 'Calling rear camera',
235
240
  identificationFailed: 'Identification failed'
236
241
  },
242
+ IntervalSelection: {
243
+ year: 'year',
244
+ quarter: 'quarter',
245
+ auxiliary: 'auxiliary word for ordinal numbers',
246
+ week: 'week'
247
+ },
237
248
  ...enLocale
238
249
  }
239
250
  export default en
package/src/permission.js CHANGED
@@ -4,7 +4,7 @@ import { getToken, setToken } from './utils/auth' // 验权
4
4
  import store from './store'
5
5
  import router, { errorRouterMap } from './router'
6
6
  NProgress.configure({ showSpinner: false })// NProgress Configuration
7
- import { Message } from '@gcommon/gcommon-ui'
7
+ import { Message } from 'element-ui'
8
8
  import Vue from 'vue'
9
9
 
10
10
  const whiteList = ['/login', '/update-password', '/forget-password', '/reset-password', '/redirect'] // 不重定向白名单
package/src/plugins.js CHANGED
@@ -3,9 +3,9 @@ import Vue from 'vue'
3
3
  import 'normalize.css/normalize.css' // A modern alternative to CSS resets
4
4
  import './styles/index.scss' // global css
5
5
 
6
- import ElementUI from '@gcommon/gcommon-ui'
7
- import '@gcommon/gcommon-ui/lib/theme-chalk/index.css'
8
- import locale from '@gcommon/gcommon-ui/lib/locale/lang/zh-CN' // lang i18n
6
+ import ElementUI from 'element-ui'
7
+ import 'element-ui/lib/theme-chalk/index.css'
8
+ import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
9
9
 
10
10
  import SuperUI from 'imatrix-ui'
11
11
  import 'imatrix-ui/lib/super-ui.css'
@@ -69,6 +69,16 @@ export const publicRouterMap = [
69
69
  path: '/show-sub-wf-history',
70
70
  component: () => import('../views/wf-history/tache-subprocess-history'),
71
71
  hidden: true
72
+ },
73
+ {
74
+ path: '/tab-content-index',
75
+ component: () => import('../views/layout/tab-content-index'),
76
+ hidden: true
77
+ },
78
+ {
79
+ path: '/tab-content-iframe-index',
80
+ component: () => import('../views/layout/tab-content-iframe-index'),
81
+ hidden: true
72
82
  }
73
83
 
74
84
  ]
@@ -22,6 +22,12 @@ const tabContent = {
22
22
  // 设置当前激活的tab
23
23
  set_active_index(state, index) {
24
24
  state.activeIndex = index
25
+ },
26
+ // 清空tabs
27
+ clear_tabs(state, route) {
28
+ if (state.openTab.length > 0) {
29
+ state.openTab.splice(0, state.openTab.length)
30
+ }
25
31
  }
26
32
  },
27
33
  actions: {
@@ -42,6 +42,25 @@ const user = {
42
42
  })
43
43
  })
44
44
  },
45
+ // 登录
46
+ loginWithValidateCode({ commit }, userInfo) {
47
+ const username = userInfo.username.trim()
48
+ return new Promise((resolve, reject) => {
49
+ ssoService.loginWithValidateCode(username, userInfo.password, userInfo.language, userInfo.validCode, userInfo.imageCodeKey).then(data => {
50
+ // const data = response.data
51
+ setToken(data.jwt)
52
+ commit('setToken', data.jwt)
53
+ return ssoService.getCurrentUserPermissionsBySystem(data.subject)
54
+ }).then(permissions => {
55
+ let currentPermissions = ['index']
56
+ currentPermissions = currentPermissions.concat(permissions)
57
+ setPermissions(currentPermissions)
58
+ resolve()
59
+ }).catch(error => {
60
+ reject(error)
61
+ })
62
+ })
63
+ },
45
64
  // 登录。根据token登录系统
46
65
  loginWithCookieToken({ commit }, loginName) {
47
66
  return new Promise((resolve, reject) => {
@@ -9,8 +9,8 @@
9
9
  @import './theme/blue2/sidebar.scss';
10
10
  @import './theme/gray/index.scss';
11
11
  @import './theme/gray/sidebar.scss';
12
- // @import './theme/dark-blue/index.scss';
13
- // @import './theme/dark-blue/sidebar.scss';
12
+ @import './theme/dark-blue/index.scss';
13
+ @import './theme/dark-blue/sidebar.scss';
14
14
  @import './display-layout.scss';
15
15
 
16
16
  body {
@@ -75,13 +75,83 @@ body .el-table colgroup.gutter {
75
75
  margin-bottom: 0;
76
76
  }
77
77
 
78
+ .operation-area,
79
+ .grid-search-form .search-button,
80
+ .grid-area .grid-operation-buttons {
81
+ .el-button:not(:first-child) {
82
+ margin-left: 10px;
83
+ }
84
+ }
85
+
86
+ .button-at-top {
87
+ width: 100%;
88
+ background: rgb(255, 255, 255);
89
+ line-height: 72px;
90
+ height: 72px;
91
+ position: absolute;
92
+ z-index: 100;
93
+ top: 0px;
94
+ left: 0px;
95
+ right: 0px;
96
+ }
97
+
98
+ .button-at-bottom {
99
+ width: 100%;
100
+ background: rgb(255, 255, 255);
101
+ line-height: 72px;
102
+ height: 72px;
103
+ position: absolute;
104
+ bottom: 0px;
105
+ z-index: 100;
106
+ left: 0px;
107
+ right: 0px;
108
+ }
109
+
110
+ .form-top-button {
111
+ height: 72px;
112
+ float: left;
113
+ padding-left: 24px;
114
+ line-height: 72px;
115
+ }
116
+
117
+ .form-bottom-button {
118
+ height: 72px;
119
+ float: right;
120
+ padding-right: 24px;
121
+ line-height: 72px;
122
+ }
123
+
124
+ // 带有tab页签的表单高度
125
+ .tab-form-container {
126
+ height: calc(100vh - 190px);
127
+ overflow: auto;
128
+ }
129
+
130
+ .form-container {
131
+ height: calc(100vh - 90px);
132
+ overflow: auto;
133
+ }
134
+
135
+ .form-container-bottom-button {
136
+ margin-bottom: 50px;
137
+ }
138
+
139
+ .form-container .el-form .el-card {
140
+ margin-bottom: 10px;
141
+ }
142
+
143
+ .form-container .el-form .el-card:last-child {
144
+ margin-bottom: 0;
145
+ }
146
+
78
147
  .operation-area-float {
79
148
  float: right;
80
149
  position: fixed;
81
- bottom: 5px;
150
+ bottom: 0;
82
151
  right: 4%;
83
152
  }
84
153
 
85
154
  .el-button+.el-button {
86
155
  margin-left: 10px;
87
- }
156
+ }
157
+
@@ -0,0 +1,70 @@
1
+ .gray {
2
+ $titleColor: rgba(0, 0, 0, 0.85);
3
+
4
+ .list-file {
5
+ color: rgba(0, 13, 31, 0.45);
6
+ font-size: 14px;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .form-list-file {
11
+ color: rgba(0, 0, 0, 0.65);
12
+ background: #F2F6FA;
13
+ border-radius: 6px;
14
+ font-size: 14px;
15
+ cursor: pointer;
16
+ height: 28px;
17
+ line-height: 28px;
18
+ padding: 0 8px 0 8px;
19
+ margin-right: 32px
20
+ }
21
+
22
+ .tip-font {
23
+ color: rgba(0, 0, 0, 0.65);
24
+ font-size: 14px;
25
+ }
26
+
27
+ .superForm {
28
+ .el-form-item__label {
29
+ color: rgba(0, 13, 31, 0.85);
30
+ }
31
+ }
32
+
33
+ .page-layout__title {
34
+ width: 46px;
35
+ height: 16px;
36
+ font-size: 11px;
37
+ font-weight: 500;
38
+ color: #333333;
39
+ line-height: 13px;
40
+ }
41
+
42
+ .component-type-name__title {
43
+ width: 40px;
44
+ height: 14px;
45
+ font-size: 10px;
46
+ font-weight: 500;
47
+ color: #333333;
48
+ line-height: 12px;
49
+ // -webkit-background-clip: text;
50
+ // -webkit-text-fill-color: transparent;
51
+ }
52
+
53
+ .page-layout__title::before {
54
+ content: "";
55
+ text-align: center;
56
+ background: #1A6BF3;
57
+ float: left;
58
+ position: relative;
59
+ border-radius: 3px;
60
+ /** 定义成 block 元素 **/
61
+ display: block;
62
+ // height: 21px;
63
+ // width: 4px;
64
+ margin-right: 12px;
65
+
66
+ width: 2px;
67
+ height: 16px;
68
+
69
+ }
70
+ }
@@ -1,4 +1,5 @@
1
1
  @import './sidebar.scss';
2
+ @import './font-style.scss';
2
3
 
3
4
  .black .el-dialog__header {
4
5
  padding: 10px 10px 10px;
@@ -79,34 +80,19 @@
79
80
 
80
81
  .app-container {
81
82
  padding: 20px;
83
+ border-radius: 6px;
84
+ box-shadow: 0px 1px 8px 0px #00000019;
82
85
  }
83
86
 
84
87
  .operation-area {
85
88
  margin-bottom: 10px;
86
89
  }
90
+
87
91
  .operation-area-chart {
88
92
  float: right;
89
93
  padding-right: 24px;
90
94
  padding-top: 10px;
91
95
  }
92
- .form-container {
93
- height: calc(100vh - 82px);
94
- overflow: auto;
95
- }
96
-
97
- .form-container .el-form .el-card {
98
- margin-bottom: 10px;
99
- }
100
-
101
- .form-container .el-form .el-card:last-child {
102
- margin-bottom: 0;
103
- }
104
-
105
- // 带有tab页签的表单高度
106
- .tab-form-container {
107
- height: calc(100vh - 190px);
108
- overflow: auto;
109
- }
110
96
 
111
97
  // 解决tab页签中内容多时没有滚动条问题
112
98
  .el-tabs__content {
@@ -217,6 +203,8 @@
217
203
 
218
204
  .app-container {
219
205
  padding: 20px;
206
+ border-radius: 6px;
207
+ box-shadow: 0px 1px 8px 0px #00000019;
220
208
  }
221
209
 
222
210
  .operation-area {
@@ -224,18 +212,6 @@
224
212
  height: 40px;
225
213
  }
226
214
 
227
- .form-container {
228
- height: calc(100vh - 82px);
229
- overflow: auto;
230
- }
231
-
232
- .form-container .el-form .el-card {
233
- margin-bottom: 10px;
234
- }
235
-
236
- .form-container .el-form .el-card:last-child {
237
- margin-bottom: 0;
238
- }
239
215
 
240
216
 
241
217
  // 解决tab页签中内容多时没有滚动条问题
@@ -6,4 +6,41 @@
6
6
  cursor: pointer;
7
7
  }
8
8
 
9
+ .page-layout__title {
10
+ width: 46px;
11
+ height: 16px;
12
+ font-size: 11px;
13
+ font-weight: 500;
14
+ color: #333333;
15
+ line-height: 13px;
16
+ }
17
+
18
+ .component-type-name__title {
19
+ width: 40px;
20
+ height: 14px;
21
+ font-size: 10px;
22
+ font-weight: 500;
23
+ color: #333333;
24
+ line-height: 12px;
25
+ // -webkit-background-clip: text;
26
+ // -webkit-text-fill-color: transparent;
27
+ }
28
+
29
+ .page-layout__title::before {
30
+ content: "";
31
+ text-align: center;
32
+ background: #1A6BF3;
33
+ float: left;
34
+ position: relative;
35
+ border-radius: 3px;
36
+ /** 定义成 block 元素 **/
37
+ display: block;
38
+ // height: 21px;
39
+ // width: 4px;
40
+ margin-right: 12px;
41
+
42
+ width: 2px;
43
+ height: 16px;
44
+
45
+ }
9
46
  }
@@ -80,6 +80,8 @@
80
80
 
81
81
  .app-container {
82
82
  padding: 20px;
83
+ border-radius: 6px;
84
+ box-shadow: 0px 1px 8px 0px #00000019;
83
85
  }
84
86
 
85
87
  .operation-area {
@@ -91,24 +93,6 @@
91
93
  padding-right: 24px;
92
94
  padding-top: 10px;
93
95
  }
94
- .form-container {
95
- height: calc(100vh - 82px);
96
- overflow: auto;
97
- }
98
-
99
- .form-container .el-form .el-card {
100
- margin-bottom: 10px;
101
- }
102
-
103
- .form-container .el-form .el-card:last-child {
104
- margin-bottom: 0;
105
- }
106
-
107
- // 带有tab页签的表单高度
108
- .tab-form-container {
109
- height: calc(100vh - 190px);
110
- overflow: auto;
111
- }
112
96
 
113
97
 
114
98
  // 解决tab页签中内容多时没有滚动条问题
@@ -0,0 +1,70 @@
1
+ .gray {
2
+ $titleColor: rgba(0, 0, 0, 0.85);
3
+
4
+ .list-file {
5
+ color: rgba(0, 13, 31, 0.45);
6
+ font-size: 14px;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .form-list-file {
11
+ color: rgba(0, 0, 0, 0.65);
12
+ background: #F2F6FA;
13
+ border-radius: 6px;
14
+ font-size: 14px;
15
+ cursor: pointer;
16
+ height: 28px;
17
+ line-height: 28px;
18
+ padding: 0 8px 0 8px;
19
+ margin-right: 32px
20
+ }
21
+
22
+ .tip-font {
23
+ color: rgba(0, 0, 0, 0.65);
24
+ font-size: 14px;
25
+ }
26
+
27
+ .superForm {
28
+ .el-form-item__label {
29
+ color: rgba(0, 13, 31, 0.85);
30
+ }
31
+ }
32
+
33
+ .page-layout__title {
34
+ width: 46px;
35
+ height: 16px;
36
+ font-size: 11px;
37
+ font-weight: 500;
38
+ color: #333333;
39
+ line-height: 13px;
40
+ }
41
+
42
+ .component-type-name__title {
43
+ width: 40px;
44
+ height: 14px;
45
+ font-size: 10px;
46
+ font-weight: 500;
47
+ color: #333333;
48
+ line-height: 12px;
49
+ // -webkit-background-clip: text;
50
+ // -webkit-text-fill-color: transparent;
51
+ }
52
+
53
+ .page-layout__title::before {
54
+ content: "";
55
+ text-align: center;
56
+ background: #1A6BF3;
57
+ float: left;
58
+ position: relative;
59
+ border-radius: 3px;
60
+ /** 定义成 block 元素 **/
61
+ display: block;
62
+ // height: 21px;
63
+ // width: 4px;
64
+ margin-right: 12px;
65
+
66
+ width: 2px;
67
+ height: 16px;
68
+
69
+ }
70
+ }
@@ -1,5 +1,5 @@
1
1
  @import './sidebar.scss';
2
-
2
+ @import './font-style.scss';
3
3
  .blue2 .el-dialog__header {
4
4
  padding: 10px 10px 10px;
5
5
  }
@@ -81,6 +81,8 @@
81
81
 
82
82
  .app-container {
83
83
  padding: 20px;
84
+ border-radius: 6px;
85
+ box-shadow: 0px 1px 8px 0px #00000019;
84
86
  }
85
87
 
86
88
  .operation-area {
@@ -92,18 +94,6 @@
92
94
  padding-right: 24px;
93
95
  padding-top: 10px;
94
96
  }
95
- .form-container {
96
- height: calc(100vh - 82px);
97
- overflow: auto;
98
- }
99
-
100
- .form-container .el-form .el-card {
101
- margin-bottom: 10px;
102
- }
103
-
104
- .form-container .el-form .el-card:last-child {
105
- margin-bottom: 0;
106
- }
107
97
 
108
98
 
109
99
  // 解决tab页签中内容多时没有滚动条问题