imatrix-ui 2.8.21 → 2.8.22-boe1

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 (176) hide show
  1. package/lib/super-ui.css +1 -1
  2. package/lib/super-ui.umd.min.js +5 -5
  3. package/package.json +2 -2
  4. package/src/api/sso-service.js +19 -1
  5. package/src/i18n/langs/cn.js +13 -3
  6. package/src/i18n/langs/en.js +15 -4
  7. package/src/router/index.js +10 -0
  8. package/src/store/modules/tab-content.js +6 -0
  9. package/src/store/modules/user.js +19 -0
  10. package/src/styles/index.scss +72 -2
  11. package/src/styles/theme/black/font-style.scss +70 -0
  12. package/src/styles/theme/black/index.scss +6 -30
  13. package/src/styles/theme/blue/font-style.scss +37 -0
  14. package/src/styles/theme/blue/index.scss +2 -18
  15. package/src/styles/theme/blue2/font-style.scss +70 -0
  16. package/src/styles/theme/blue2/index.scss +3 -13
  17. package/src/styles/theme/dark-blue/index.scss +26 -5
  18. package/src/styles/theme/dark-blue/sidebar.scss +7 -37
  19. package/src/styles/theme/dark-blue/table.scss +1 -1
  20. package/src/styles/theme/gray/card-style.scss +13 -1
  21. package/src/styles/theme/gray/font-style.scss +38 -0
  22. package/src/styles/theme/gray/index.scss +13 -25
  23. package/src/styles/theme/gray/scrollbar-style.scss +32 -0
  24. package/src/styles/theme/gray/sidebar.scss +5 -0
  25. package/src/utils/auth-api.js +45 -1
  26. package/src/utils/common-util.js +11 -0
  27. package/src/utils/range-selector.js +185 -0
  28. package/src/utils/request.js +5 -2
  29. package/src/utils/util.js +7 -5
  30. package/src/views/dsc-component/Sidebar/Item.vue +4 -2
  31. package/src/views/dsc-component/Sidebar/SidebarItem.vue +1 -2
  32. package/src/views/dsc-component/Sidebar/index.vue +12 -20
  33. package/src/views/dsc-component/tabs/tab-content.vue +1 -5
  34. package/src/views/layout/NewLayout.vue +6 -65
  35. package/src/views/layout/components/Menubar/Item.vue +23 -7
  36. package/src/views/layout/components/Menubar/Link.vue +11 -2
  37. package/src/views/layout/components/Menubar/SidebarItem.vue +50 -7
  38. package/src/views/layout/components/Menubar/index.vue +51 -16
  39. package/src/views/layout/components/tabs/tab-content.vue +160 -0
  40. package/src/views/layout/tab-content-iframe-index.vue +31 -0
  41. package/src/views/layout/tab-content-index.vue +85 -0
  42. package/packages/breadcrumb/index.js +0 -6
  43. package/packages/breadcrumb/src/breadcrumb.vue +0 -71
  44. package/packages/department-tree/index.js +0 -6
  45. package/packages/department-tree/src/department-tree.vue +0 -108
  46. package/packages/department-tree-inline/index.js +0 -6
  47. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -402
  48. package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -284
  49. package/packages/department-tree-inline/src/department-tree-inline.vue +0 -86
  50. package/packages/department-tree-inline/src/department-tree-service.js +0 -245
  51. package/packages/department-tree-inline/src/search-result.vue +0 -176
  52. package/packages/department-user-tree/index.js +0 -6
  53. package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -116
  54. package/packages/department-user-tree/src/department-user-single-tree.vue +0 -76
  55. package/packages/department-user-tree/src/department-user-tree.vue +0 -101
  56. package/packages/department-user-tree-inline/index.js +0 -6
  57. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -626
  58. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -269
  59. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -79
  60. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -230
  61. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -122
  62. package/packages/department-user-tree-inline/src/search-result.vue +0 -197
  63. package/packages/directives/prevent-reclick.js +0 -19
  64. package/packages/dynamic-source-select/index.js +0 -6
  65. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -70
  66. package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -440
  67. package/packages/dynamic-source-select/src/events.js +0 -55
  68. package/packages/fs-preview/index.js +0 -6
  69. package/packages/fs-preview/src/fs-preview.vue +0 -226
  70. package/packages/fs-upload/index.js +0 -6
  71. package/packages/fs-upload/src/fs-upload-multi.vue +0 -420
  72. package/packages/fs-upload/src/fs-upload-single.vue +0 -312
  73. package/packages/fs-upload/src/fs-upload.vue +0 -189
  74. package/packages/fs-upload/src/see-big-picture.vue +0 -55
  75. package/packages/fs-upload-list/index.js +0 -6
  76. package/packages/fs-upload-list/src/fs-upload-list.vue +0 -287
  77. package/packages/hamburger/index.js +0 -6
  78. package/packages/hamburger/src/hamburger.vue +0 -38
  79. package/packages/index.js +0 -121
  80. package/packages/multipart-upload/index.js +0 -6
  81. package/packages/multipart-upload/src/index.vue +0 -73
  82. package/packages/multipart-upload/src/multipart-upload-form.vue +0 -297
  83. package/packages/multipart-upload/src/multipart-upload-list.vue +0 -378
  84. package/packages/organization-input/index.js +0 -6
  85. package/packages/organization-input/src/organization-input.vue +0 -542
  86. package/packages/plugins/export-data-new.js +0 -453
  87. package/packages/plugins/export-data.js +0 -361
  88. package/packages/plugins/index.js +0 -15
  89. package/packages/plugins/public-method.js +0 -43
  90. package/packages/remove-department/index.js +0 -6
  91. package/packages/remove-department/src/remove-department.vue +0 -172
  92. package/packages/remove-department/src/remove-dept-service.js +0 -20
  93. package/packages/remove-user/index.js +0 -6
  94. package/packages/remove-user/src/remove-user-service.js +0 -20
  95. package/packages/remove-user/src/remove-user.vue +0 -195
  96. package/packages/remove-workgroup/index.js +0 -6
  97. package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -20
  98. package/packages/remove-workgroup/src/remove-workgroup.vue +0 -159
  99. package/packages/rich-editor/index.js +0 -7
  100. package/packages/rich-editor/index.vue +0 -278
  101. package/packages/rich-editor/langs/zh-Hans.js +0 -1
  102. package/packages/rich-editor/viewer.vue +0 -103
  103. package/packages/scan-code-input/index.js +0 -6
  104. package/packages/scan-code-input/src/events.js +0 -33
  105. package/packages/scan-code-input/src/scan-code-input-colse.vue +0 -131
  106. package/packages/scan-code-input/src/scan-code-input.vue +0 -116
  107. package/packages/secret-info/index.js +0 -7
  108. package/packages/secret-info/index.vue +0 -90
  109. package/packages/super-grid/index.js +0 -7
  110. package/packages/super-grid/src/apis.js +0 -763
  111. package/packages/super-grid/src/columns-config.vue +0 -335
  112. package/packages/super-grid/src/custom-formatter.js +0 -250
  113. package/packages/super-grid/src/dynamic-input.vue +0 -1279
  114. package/packages/super-grid/src/eventBus.js +0 -2
  115. package/packages/super-grid/src/events.js +0 -55
  116. package/packages/super-grid/src/formValidatorUtil.js +0 -226
  117. package/packages/super-grid/src/formatter.js +0 -181
  118. package/packages/super-grid/src/group-column.vue +0 -100
  119. package/packages/super-grid/src/header-context-menu.vue +0 -87
  120. package/packages/super-grid/src/index-column.vue +0 -51
  121. package/packages/super-grid/src/normal-column.vue +0 -769
  122. package/packages/super-grid/src/public-methods.js +0 -31
  123. package/packages/super-grid/src/row-operation.vue +0 -161
  124. package/packages/super-grid/src/search-button.vue +0 -66
  125. package/packages/super-grid/src/search-condition-input.vue +0 -61
  126. package/packages/super-grid/src/search-condition-list.vue +0 -59
  127. package/packages/super-grid/src/search-form-advancedQuery.vue +0 -653
  128. package/packages/super-grid/src/search-form-dialog.vue +0 -79
  129. package/packages/super-grid/src/search-form-item.vue +0 -386
  130. package/packages/super-grid/src/search-form-number.vue +0 -38
  131. package/packages/super-grid/src/search-form-open.vue +0 -162
  132. package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -188
  133. package/packages/super-grid/src/search-form.vue +0 -634
  134. package/packages/super-grid/src/search-methods.js +0 -387
  135. package/packages/super-grid/src/selection-column.vue +0 -43
  136. package/packages/super-grid/src/store.js +0 -3
  137. package/packages/super-grid/src/super-grid-service.js +0 -561
  138. package/packages/super-grid/src/super-grid.vue +0 -2793
  139. package/packages/super-grid/src/utils.js +0 -763
  140. package/packages/super-grid/src/view-image-dialog.vue +0 -130
  141. package/packages/super-nine-grid/index.js +0 -7
  142. package/packages/super-nine-grid/src/apis.js +0 -103
  143. package/packages/super-nine-grid/src/custom-formatter.js +0 -66
  144. package/packages/super-nine-grid/src/formatter.js +0 -132
  145. package/packages/super-nine-grid/src/search-form-number.vue +0 -38
  146. package/packages/super-nine-grid/src/search-form.vue +0 -430
  147. package/packages/super-nine-grid/src/search-methods.js +0 -134
  148. package/packages/super-nine-grid/src/store.js +0 -3
  149. package/packages/super-nine-grid/src/super-grid-service.js +0 -91
  150. package/packages/super-nine-grid/src/super-nine-grid.vue +0 -872
  151. package/packages/super-nine-grid/src/utils.js +0 -261
  152. package/packages/svg-icon/index.js +0 -6
  153. package/packages/svg-icon/src/svg-icon.vue +0 -43
  154. package/packages/utils/utils.js +0 -152
  155. package/packages/utils/value-set.js +0 -86
  156. package/packages/valid-code/index.js +0 -7
  157. package/packages/valid-code/src/valid-code.vue +0 -95
  158. package/packages/workflow-button/index.js +0 -6
  159. package/packages/workflow-button/src/workflow-button.vue +0 -325
  160. package/packages/workflow-history-list/index.js +0 -6
  161. package/packages/workflow-history-list/src/api.js +0 -7
  162. package/packages/workflow-history-list/src/workflow-history-list.vue +0 -185
  163. package/packages/workgroup-tree/index.js +0 -6
  164. package/packages/workgroup-tree/src/workgroup-tree.vue +0 -76
  165. package/packages/workgroup-tree-inline/index.js +0 -6
  166. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -317
  167. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -43
  168. package/packages/workgroup-user-tree/index.js +0 -6
  169. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -100
  170. package/packages/workgroup-user-tree-inline/index.js +0 -6
  171. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -163
  172. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -436
  173. package/packages/year-range-picker/index.js +0 -6
  174. package/packages/year-range-picker/src/year-range-picker.vue +0 -51
  175. package/src/index.js +0 -93
  176. 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.8.21",
3
+ "version": "2.8.22-boe1",
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
  }
@@ -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
@@ -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
@@ -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) => {
@@ -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页签中内容多时没有滚动条问题
@@ -15,7 +15,7 @@
15
15
 
16
16
 
17
17
  .dark-blue {
18
- font-family: cursive;
18
+ font-family: Source Han Sans CN;
19
19
  font-size: 14px;
20
20
  color: rgba(0, 0, 0, 0.85);
21
21
  -moz-osx-font-smoothing: grayscale;
@@ -24,7 +24,7 @@
24
24
  height: 100%;
25
25
 
26
26
  .el-button {
27
- font-family: cursive;
27
+ font-family: Source Han Sans CN;
28
28
  }
29
29
 
30
30
  .fl {
@@ -84,7 +84,7 @@
84
84
 
85
85
  //main-container全局样式
86
86
  .app-main {
87
- min-height: 100%;
87
+ min-height: 100vh;
88
88
  background: #f7f7f8;
89
89
  padding: 11px 24px 11px 24px;
90
90
  // padding-top: 12px;
@@ -116,7 +116,7 @@
116
116
  top: 50%;
117
117
  left: 50%;
118
118
  transform: translate(-50%, -50%);
119
-
119
+ height: auto;
120
120
  .add_form_buttomButton {
121
121
  text-align: right;
122
122
  }
@@ -125,7 +125,20 @@
125
125
 
126
126
  .operation-area {
127
127
  margin-bottom: 20px;
128
+ }
128
129
 
130
+ /**
131
+ * @description: 工具栏布局
132
+ * @Date: 2023-07-17 15:48:04
133
+ * @param {*}
134
+ * @return {*}
135
+ */
136
+ .toolbar_flex{
137
+ display: flex;
138
+ justify-content: space-between;
139
+ .list_toolbar_page_style{
140
+ text-align: right;
141
+ }
129
142
  }
130
143
 
131
144
  .operation-area-chart {
@@ -244,4 +257,12 @@
244
257
  // box-shadow: 0px 1px 8px 0px #00000019;
245
258
  // }
246
259
  // }
247
- }
260
+
261
+ // 清除 app-container 类样式
262
+ .clear_app_container {
263
+ padding: 0;
264
+ background: transparent;
265
+ border-radius: 0;
266
+ box-shadow: 0 0px 0px #ccc;
267
+ }
268
+ }