imatrix-ui 0.0.15 → 0.1.1-up

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 (171) hide show
  1. package/.vscode/extensions.json +3 -0
  2. package/README.md +7 -0
  3. package/components/dynamic-source-select/dynamic-source-select-service.js +106 -0
  4. package/components/dynamic-source-select/dynamic-source-select.vue +673 -0
  5. package/components/dynamic-source-select/events.js +77 -0
  6. package/components/fs-preview/fs-preview.vue +287 -0
  7. package/components/index.js +26 -0
  8. package/components/plugins/export-data-new.js +623 -0
  9. package/components/plugins/export-data.js +431 -0
  10. package/components/plugins/index.js +15 -0
  11. package/components/plugins/public-method.js +47 -0
  12. package/components/rich-editor/index-bak.vue +306 -0
  13. package/components/rich-editor/index.vue +236 -0
  14. package/components/rich-editor/langs/zh-Hans.js +438 -0
  15. package/components/rich-editor/viewer.vue +105 -0
  16. package/components/super-grid/apis.js +1065 -0
  17. package/components/super-grid/columns-config.vue +430 -0
  18. package/components/super-grid/custom-formatter.js +330 -0
  19. package/components/super-grid/dynamic-input.vue +1706 -0
  20. package/components/super-grid/eventBus.js +2 -0
  21. package/components/super-grid/events.js +56 -0
  22. package/components/super-grid/formValidatorUtil.js +300 -0
  23. package/components/super-grid/formatter.js +190 -0
  24. package/components/super-grid/group-column.vue +100 -0
  25. package/components/super-grid/header-context-menu.vue +82 -0
  26. package/components/super-grid/index-column.vue +69 -0
  27. package/components/super-grid/normal-column.vue +1148 -0
  28. package/components/super-grid/public-methods.js +30 -0
  29. package/components/super-grid/row-operation.vue +193 -0
  30. package/components/super-grid/search-button.vue +74 -0
  31. package/components/super-grid/search-condition-input.vue +73 -0
  32. package/components/super-grid/search-condition-list.vue +68 -0
  33. package/components/super-grid/search-form-advancedQuery.vue +820 -0
  34. package/components/super-grid/search-form-dialog.vue +77 -0
  35. package/components/super-grid/search-form-item.vue +470 -0
  36. package/components/super-grid/search-form-number.vue +111 -0
  37. package/components/super-grid/search-form-open.vue +178 -0
  38. package/components/super-grid/search-form-ordinarySearch.vue +218 -0
  39. package/components/super-grid/search-form.vue +756 -0
  40. package/components/super-grid/search-methods.js +484 -0
  41. package/components/super-grid/selection-column.vue +46 -0
  42. package/components/super-grid/store.js +3 -0
  43. package/components/super-grid/super-grid-service.js +682 -0
  44. package/components/super-grid/super-grid.vue +2893 -0
  45. package/components/super-grid/utils.js +851 -0
  46. package/components/super-grid/view-image-dialog.vue +173 -0
  47. package/components/utils/gogocodeTransfer.js +59 -0
  48. package/components/utils/utils.js +180 -0
  49. package/components/utils/value-set.js +98 -0
  50. package/components/z-test-utton/index.vue +82 -0
  51. package/package.json +29 -40
  52. package/public/index.html +13 -0
  53. package/public/vite.svg +1 -0
  54. package/src/api/sso-service.js +172 -19
  55. package/src/api/tab.js +36 -0
  56. package/src/api/user-service.js +11 -11
  57. package/src/assets/401/401.gif +0 -0
  58. package/src/assets/404/404-cloud.png +0 -0
  59. package/src/assets/404/404.png +0 -0
  60. package/src/assets/cloud.png +0 -0
  61. package/src/directives/permission/index.js +13 -13
  62. package/src/directives/permission/permission.js +20 -15
  63. package/src/i18n/i18n.js +16 -0
  64. package/src/i18n/langs/cn.js +254 -0
  65. package/src/i18n/langs/en.js +264 -0
  66. package/src/permission.js +157 -71
  67. package/src/plugins.js +18 -18
  68. package/src/router/index.js +96 -69
  69. package/src/store/getters.js +15 -10
  70. package/src/store/index.js +19 -19
  71. package/src/store/modules/app.js +54 -42
  72. package/src/store/modules/permission.js +137 -73
  73. package/src/store/modules/tab-content.js +36 -0
  74. package/src/store/modules/user.js +293 -80
  75. package/src/styles/display-layout.scss +34 -0
  76. package/src/styles/element-ui.scss +29 -29
  77. package/src/styles/index.scss +157 -78
  78. package/src/styles/mixin.scss +27 -27
  79. package/src/styles/theme/black/font-style.scss +70 -0
  80. package/src/styles/theme/black/index.scss +306 -0
  81. package/src/styles/theme/black/sidebar.scss +189 -0
  82. package/src/styles/theme/blue/font-style.scss +46 -0
  83. package/src/styles/theme/blue/index.scss +172 -0
  84. package/src/styles/{sidebar.scss → theme/blue/sidebar.scss} +171 -141
  85. package/src/styles/theme/blue2/font-style.scss +70 -0
  86. package/src/styles/theme/blue2/index.scss +188 -0
  87. package/src/styles/theme/blue2/sidebar.scss +201 -0
  88. package/src/styles/theme/dark-blue/button.scss +9 -0
  89. package/src/styles/theme/dark-blue/card.scss +62 -0
  90. package/src/styles/theme/dark-blue/checkbox.scss +10 -0
  91. package/src/styles/theme/dark-blue/dark-blue-var.scss +8 -0
  92. package/src/styles/theme/dark-blue/dialog.scss +21 -0
  93. package/src/styles/theme/dark-blue/element-variables.scss +7 -0
  94. package/src/styles/theme/dark-blue/font.scss +71 -0
  95. package/src/styles/theme/dark-blue/form.scss +51 -0
  96. package/src/styles/theme/dark-blue/index.scss +269 -0
  97. package/src/styles/theme/dark-blue/input.scss +15 -0
  98. package/src/styles/theme/dark-blue/message.scss +8 -0
  99. package/src/styles/theme/dark-blue/pagination.scss +14 -0
  100. package/src/styles/theme/dark-blue/scrollbar-style.scss +32 -0
  101. package/src/styles/theme/dark-blue/sidebar.scss +266 -0
  102. package/src/styles/theme/dark-blue/tab.scss +83 -0
  103. package/src/styles/theme/dark-blue/table.scss +60 -0
  104. package/src/styles/theme/dark-blue/tree.scss +31 -0
  105. package/src/styles/theme/dark-blue/var.scss +1028 -0
  106. package/src/styles/theme/gray/card-style.scss +54 -0
  107. package/src/styles/theme/gray/font-style.scss +70 -0
  108. package/src/styles/theme/gray/index.scss +172 -0
  109. package/src/styles/theme/gray/input-style.scss +19 -0
  110. package/src/styles/theme/gray/scrollbar-style.scss +32 -0
  111. package/src/styles/theme/gray/sidebar.scss +231 -0
  112. package/src/styles/theme/gray/tab-style.scss +81 -0
  113. package/src/styles/transition.scss +47 -46
  114. package/src/utils/auth-api.js +159 -0
  115. package/src/utils/auth.js +61 -15
  116. package/src/utils/calculator/calculator-factory-wf.js +558 -0
  117. package/src/utils/calculator/calculator-factory.js +145 -0
  118. package/src/utils/calculator/calculator-util.js +166 -0
  119. package/src/utils/common-util.js +305 -0
  120. package/src/utils/eventBus.js +2 -0
  121. package/src/utils/iconUtils.js +28 -0
  122. package/src/utils/index.js +102 -86
  123. package/src/utils/jump-page-utils.js +814 -0
  124. package/src/utils/local-storage.js +33 -31
  125. package/src/utils/menu.js +19 -0
  126. package/src/utils/permission.js +31 -26
  127. package/src/utils/permissionAuth.js +90 -0
  128. package/src/utils/range-selector.js +188 -0
  129. package/src/utils/request.js +270 -116
  130. package/src/utils/restful-interface-utils.js +57 -0
  131. package/src/utils/util.js +698 -0
  132. package/src/utils/validate.js +34 -33
  133. package/src/utils/watermark.js +108 -0
  134. package/src/utils/workflow-util.js +93 -0
  135. package/src/views/404.vue +248 -228
  136. package/src/views/dsc-component/Sidebar/Item.vue +84 -0
  137. package/src/views/dsc-component/Sidebar/Link.vue +38 -0
  138. package/src/views/dsc-component/Sidebar/SidebarItem.vue +196 -0
  139. package/src/views/dsc-component/Sidebar/index.vue +220 -0
  140. package/src/views/dsc-component/tabs/tab-content.vue +199 -0
  141. package/src/views/error-page/401.vue +106 -91
  142. package/src/views/error-page/404.vue +248 -228
  143. package/src/views/layout/EmptyLayout.vue +3 -0
  144. package/src/views/layout/Layout.vue +81 -68
  145. package/src/views/layout/NewLayout.vue +18 -0
  146. package/src/views/layout/components/AppMain.vue +39 -29
  147. package/src/views/layout/components/Breadcrumb/index.vue +156 -0
  148. package/src/views/layout/components/Menubar/Item.vue +57 -0
  149. package/src/views/layout/components/Menubar/Link.vue +38 -0
  150. package/src/views/layout/components/Menubar/SidebarItem.vue +164 -0
  151. package/src/views/layout/components/Menubar/index.vue +210 -0
  152. package/src/views/layout/components/Sidebar/Item.vue +53 -29
  153. package/src/views/layout/components/Sidebar/Link.vue +38 -39
  154. package/src/views/layout/components/Sidebar/SidebarItem.vue +135 -100
  155. package/src/views/layout/components/Sidebar/index.vue +141 -48
  156. package/src/views/layout/components/iframe-page.vue +38 -0
  157. package/src/views/layout/components/index.js +4 -3
  158. package/src/views/layout/components/tabs/tab-content.vue +207 -0
  159. package/src/views/layout/mixin/ResizeHandler.js +41 -41
  160. package/src/views/layout/tab-content-iframe-index.vue +38 -0
  161. package/src/views/layout/tab-content-index.vue +93 -0
  162. package/src/views/login/authredirect.vue +10 -10
  163. package/src/views/login/index.vue +296 -203
  164. package/src/views/login/update-password.vue +243 -0
  165. package/src/views/redirect/index.vue +14 -12
  166. package/src/views/wf-history/tache-subprocess-history.vue +45 -0
  167. package/vite.config.js +31 -0
  168. package/lib/super-ui.css +0 -1
  169. package/lib/super-ui.umd.min.js +0 -2
  170. package/src/styles/variables.scss +0 -4
  171. package/src/views/layout/components/Navbar.vue +0 -92
@@ -1,19 +1,172 @@
1
- import request from '../utils/request'
2
-
3
- function login(username, password) {
4
- const usernamePasswordToken = {
5
- username,
6
- password
7
- }
8
-
9
- return request.post('/sso/login', usernamePasswordToken)
10
- }
11
-
12
- function logout() {
13
- return request.get('/sso/logout')
14
- }
15
-
16
- export default {
17
- login,
18
- logout
19
- }
1
+ import request from '../utils/request'
2
+ import * as Vue from 'vue'
3
+ function login(username, password, language) {
4
+ const usernamePasswordToken = {
5
+ username,
6
+ password,
7
+ }
8
+ if (language) {
9
+ usernamePasswordToken.language = language
10
+ }
11
+
12
+ return request.post(
13
+ window.$vueApp.config.globalProperties.baseAPI + '/sso/login',
14
+ usernamePasswordToken
15
+ )
16
+ }
17
+ function loginWithValidateCode(
18
+ username,
19
+ password,
20
+ language,
21
+ validateCode,
22
+ imageCodeKey
23
+ ) {
24
+ const usernamePasswordToken = {
25
+ username,
26
+ password,
27
+ }
28
+ if (language) {
29
+ usernamePasswordToken.language = language
30
+ }
31
+ if (validateCode) {
32
+ usernamePasswordToken.validateCode = validateCode
33
+ }
34
+ if (imageCodeKey) {
35
+ usernamePasswordToken.imageCodeKey = imageCodeKey
36
+ }
37
+
38
+ return request.post(
39
+ window.$vueApp.config.globalProperties.baseAPI +
40
+ '/sso/login-with-validate-code',
41
+ usernamePasswordToken
42
+ )
43
+ }
44
+
45
+ function getCurrentUser() {
46
+ return request.get(
47
+ window.$vueApp.config.globalProperties.baseAPI +
48
+ '/sso/current-user?_t=' +
49
+ new Date().getTime()
50
+ )
51
+ }
52
+
53
+ function logout() {
54
+ return request.get(
55
+ window.$vueApp.config.globalProperties.baseAPI +
56
+ '/sso/logout?_t=' +
57
+ new Date().getTime()
58
+ )
59
+ }
60
+
61
+ function getCurrentUserPermissionsBySystem(loginName, systemCode) {
62
+ if (!systemCode) {
63
+ if (window.$vueApp.config.globalProperties.customSystem) {
64
+ systemCode = window.$vueApp.config.globalProperties.customSystem
65
+ } else {
66
+ systemCode = window.$vueApp.config.globalProperties.systemCode
67
+ }
68
+ }
69
+ return request.get(
70
+ window.$vueApp.config.globalProperties.baseAPI +
71
+ '/sso/current-users/permissions/with-system?loginName=' +
72
+ encodeURI(loginName) +
73
+ '&systemCode=' +
74
+ systemCode +
75
+ '&_t=' +
76
+ new Date().getTime()
77
+ )
78
+ }
79
+
80
+ function isPasswordExpired(username, password) {
81
+ const usernamePasswordToken = {
82
+ username,
83
+ password,
84
+ }
85
+ return request.post(
86
+ window.$vueApp.config.globalProperties.baseAPI + '/sso/is-password-expired',
87
+ usernamePasswordToken
88
+ )
89
+ }
90
+
91
+ /** 更新密码 */
92
+ function updatePassword(data) {
93
+ return request.put(
94
+ window.$vueApp.config.globalProperties.baseAPI + '/acs/users/password',
95
+ data
96
+ )
97
+ }
98
+
99
+ function getUserLanguage() {
100
+ return request.get(
101
+ window.$vueApp.config.globalProperties.baseAPI + '/acs/user-languages'
102
+ )
103
+ }
104
+ function forgetPasswordSendMail(username, email) {
105
+ const userInfo = {
106
+ username,
107
+ email,
108
+ }
109
+ return request.post(
110
+ window.$vueApp.config.globalProperties.baseAPI +
111
+ '/sso/forget-passwords/send-mails',
112
+ userInfo
113
+ )
114
+ }
115
+
116
+ function isResetPasswordJwtOverdue(jwt) {
117
+ const userInfo = {
118
+ jwt,
119
+ }
120
+ return request.post(
121
+ window.$vueApp.config.globalProperties.baseAPI +
122
+ '/sso/forget-passwords/jwt-overdue',
123
+ userInfo
124
+ )
125
+ }
126
+ function resetPassword(username, password) {
127
+ const userInfo = {
128
+ username,
129
+ password,
130
+ }
131
+ return request.post(
132
+ window.$vueApp.config.globalProperties.baseAPI +
133
+ '/sso/forget-passwords/reset',
134
+ userInfo
135
+ )
136
+ }
137
+
138
+ function isLoginTimeOut() {
139
+ return request.get(
140
+ window.$vueApp.config.globalProperties.baseAPI +
141
+ '/sso/current-users/is-login-time-out'
142
+ )
143
+ }
144
+
145
+ function getUserPermissionMenusBySystemCode(systemCode) {
146
+ if (!systemCode) {
147
+ systemCode = window.$vueApp.config.globalProperties.currentSystem
148
+ }
149
+ if (!systemCode) {
150
+ systemCode = window.$vueApp.config.globalProperties.systemCode
151
+ }
152
+ return request.get(
153
+ window.$vueApp.config.globalProperties.baseAPI +
154
+ '/component/permission-menus/systems/' +
155
+ systemCode
156
+ )
157
+ }
158
+ export default {
159
+ login,
160
+ getCurrentUser,
161
+ logout,
162
+ isPasswordExpired,
163
+ updatePassword,
164
+ getCurrentUserPermissionsBySystem,
165
+ getUserLanguage,
166
+ forgetPasswordSendMail,
167
+ isResetPasswordJwtOverdue,
168
+ resetPassword,
169
+ isLoginTimeOut,
170
+ getUserPermissionMenusBySystemCode,
171
+ loginWithValidateCode,
172
+ }
package/src/api/tab.js ADDED
@@ -0,0 +1,36 @@
1
+ const tabJs = {
2
+ addTabs(query, openTab, path, fullpath) {
3
+ let flag = false
4
+ let menuCode
5
+ let menuName
6
+ if (query) {
7
+ menuCode = query._menuCode
8
+ menuName = query._menuName
9
+ }
10
+ if (openTab && menuCode) {
11
+ for (let i = 0; i < openTab.length; i++) {
12
+ const item = openTab[i]
13
+ console.log('item.name', item.name)
14
+
15
+ if (menuCode && item.code === menuCode) {
16
+ console.log('to.path--menuCode1=', menuCode)
17
+ this.$store.commit('set_active_index', menuCode)
18
+ flag = true
19
+ break
20
+ }
21
+ }
22
+ }
23
+ if (!flag && menuCode) {
24
+ console.log('to.path--menuCode2=', menuCode)
25
+ this.$store.commit('add_tabs', {
26
+ code: menuCode,
27
+ name: menuName,
28
+ routePath: path,
29
+ routeQuery: query,
30
+ fullpath: fullpath,
31
+ })
32
+ this.$store.commit('set_active_index', menuCode)
33
+ }
34
+ },
35
+ }
36
+ export default tabJs
@@ -1,11 +1,11 @@
1
- import request from '../utils/request'
2
- function getUser(token) {
3
- return request({
4
- url: '/acs/users/1',
5
- method: 'get'
6
- })
7
- }
8
-
9
- export default {
10
- getUser
11
- }
1
+ import request from '../utils/request'
2
+ function getUser(token) {
3
+ return request({
4
+ url: '/acs/users/1',
5
+ method: 'get',
6
+ })
7
+ }
8
+
9
+ export default {
10
+ getUser,
11
+ }
Binary file
Binary file
Binary file
Binary file
@@ -1,13 +1,13 @@
1
- import permission from './permission'
2
-
3
- const install = function(Vue) {
4
- Vue.directive('permission', permission)
5
- }
6
-
7
- if (window.Vue) {
8
- window['permission'] = permission
9
- Vue.use(install); // eslint-disable-line
10
- }
11
-
12
- permission.install = install
13
- export default permission
1
+ import permission from './permission'
2
+
3
+ const install = function (VUE) {
4
+ VUE.directive('permission', permission)
5
+ }
6
+
7
+ if (window.Vue) {
8
+ window['permission'] = permission
9
+ window.$vueApp.use(install) // eslint-disable-line
10
+ }
11
+
12
+ permission.install = install
13
+ export default permission
@@ -1,15 +1,20 @@
1
- import checkPermission from '../../utils/permission'
2
- export default {
3
- inserted(el, binding, vnode) {
4
- const { value } = binding
5
- // const currentUserPermissions = store.getters && store.getters.currentUserPermissions
6
-
7
- if (value) {
8
- if (!checkPermission(value)) {
9
- el.parentNode && el.parentNode.removeChild(el)
10
- }
11
- } else {
12
- throw new Error(`need permission! Like v-permission="acs.department.save"`)
13
- }
14
- }
15
- }
1
+ import checkPermission from '../../utils/permission'
2
+ export default {
3
+ mounted(el, binding, vnode) {
4
+ const { value } = binding
5
+ // const currentUserPermissions = store.getters && store.getters.currentUserPermissions
6
+
7
+ if (value) {
8
+ // console.log('-----v-permission---init----')
9
+ // 页面组件预览时不需要权限控制,系统中使用页面组件时需要使用权限控制,所以当是预览是资源编码传'true'
10
+ // 工作流按钮组件中也使用了资源编码为'true'的情况
11
+ if (value !== 'true' && !checkPermission(value)) {
12
+ el.parentNode && el.parentNode.removeChild(el)
13
+ }
14
+ } else {
15
+ throw new Error(
16
+ `need permission1! Like v-permission="acs.department.save"`
17
+ )
18
+ }
19
+ },
20
+ }
@@ -0,0 +1,16 @@
1
+ import { createI18n } from 'vue-i18n'
2
+ import en from './langs/en'
3
+ import cn from './langs/cn'
4
+
5
+ const messages = {
6
+ en: en,
7
+ cn: cn,
8
+ }
9
+
10
+ const i18n = createI18n({
11
+ locale: 'cn', // 当前语言
12
+ messages,
13
+ legacy: false,
14
+ })
15
+
16
+ export default i18n
@@ -0,0 +1,254 @@
1
+ const cn = {
2
+ imatrixUIPublicModel: {
3
+ sure: '确定',
4
+ cancel: '取消',
5
+ allDepartments: '所有部门',
6
+ allUsers: '所有用户',
7
+ reset: '重置',
8
+ to: '至',
9
+ edit: '操作',
10
+ clear: '清空',
11
+ download: '下载',
12
+ delete: '删除',
13
+ preview: '预览',
14
+ add: '增加',
15
+ graphView: '图形视图',
16
+ listView: '列表视图',
17
+ fieldName: '字段名(*)',
18
+ operator: '操作符',
19
+ value: '值(*)',
20
+ andOr: '并且/或者',
21
+ whenTheVariableIsEmpty: '变量为空时',
22
+ perhaps: '或者',
23
+ also: '并且',
24
+ greaterThan: '大于',
25
+ lessThan: '小于',
26
+ beEqualTo: '等于',
27
+ notGreaterThan: '不大于',
28
+ notLessThan: '不小于',
29
+ notEqualTo: '不等于',
30
+ contain: '包含',
31
+ notIncluded: '不包含',
32
+ laterThan: '晚于',
33
+ earlierThan: '早于',
34
+ noLaterThan: '不晚于',
35
+ noEarlierThan: '不早于',
36
+ ignore11: '忽略(1=1)',
37
+ nonConformity: '不符合(1<>1)',
38
+ switchToNormalQuery: '切换为普通查询',
39
+ switchToAdvancedQuery: '切换为高级查询',
40
+ isNull: '等于Null',
41
+ isNotNull: '不等于Null',
42
+ previewImage: '预览图片',
43
+ fullScreen: '全屏',
44
+ },
45
+ imatrixUIMessage: {
46
+ whetherToConfirmDeletion: '是否确认删除',
47
+ tips: '提示',
48
+ pleaseEnterContent: '请输入内容',
49
+ internalServerError: '请求失败',
50
+ pleaseSelectDepartment: '请选择部门',
51
+ pleaseSelectPersonnel: '请选择人员',
52
+ pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:
53
+ '请先移除所有人员,再选择具体人员',
54
+ queryResultIsEmpty: '查询结果为空',
55
+ pleaseSelectATeam: '请选择工作组',
56
+ pleaseEnterTeamName: '请输入工作组名称',
57
+ validationFailed: '验证失败',
58
+ selectionDate: '选择日期',
59
+ selectTime: '选择时间',
60
+ pleaseEnterATimePoint: '请输入时间点',
61
+ pleaseSelect: '请选择',
62
+ startDate: '开始日期',
63
+ endDate: '结束日期',
64
+ noExportColumnsConfigured: '没有配置导出列',
65
+ organizationTreeNoResultNotRemove: '未选择任何信息,无需移除',
66
+ exceedFileSize: '超过文件大小限制{fileSize}M',
67
+ upload: '上传',
68
+ invalideDoubleValue: '{num} 不是合法的小数',
69
+ noJumpPage: '未配置跳转页面',
70
+ saveSuccessfully: '保存成功',
71
+ pleaseInputSearchCondition: '请输入查询条件',
72
+ fileUpload: '文件上传',
73
+ selectYear: '选择年',
74
+ search: '查询',
75
+ forbiddenException: '您没有权限访问该资源',
76
+ theButtonIsNotBoundToAResource: '该按钮未绑定资源,请先绑定资源',
77
+ asyncExport: '正在异步导出,请等待消息通知!',
78
+ },
79
+ // 列表组件
80
+ superGrid: {
81
+ columnConfig: '字段配置',
82
+ pleaseSaveOrCancelEditingLine: '请先保存或撤销编辑第 {row} 行数据',
83
+ pleaseSaveLine: '请先保存第 {row} 行数据',
84
+ noNeedToSaveRow: '无需保存第 {row} 行数据',
85
+ pleaseSetURLToSaveRowInformation: '请设置“保存行信息的url”',
86
+ lineSavedSuccessfully: '第 {row} 行保存成功',
87
+ theReturnValueOfTheBeforesaveCallbackMethodIsFalse:
88
+ 'beforeSave回调方法返回值为false',
89
+ lineNoNeedToUndoEdit: '第 {row} 行无需撤销编辑',
90
+ lineCancelledSuccessfully: '第 {row} 行撤销成功',
91
+ label: '字段名',
92
+ isShow: '是否显示',
93
+ isExportable: '是否导出',
94
+ recordLine: '第 {row} 行记录',
95
+ pageRecordLine: '第 {pageNum} 页第 {row} 行记录',
96
+ fileName: '文件名称',
97
+ deleteSuccessful: '删除成功',
98
+ index: '序号',
99
+ searchConditionName: '查询条件名称',
100
+ pleaseInputSearchConditionName: '请输入查询条件名称',
101
+ saveCondition: '保存条件',
102
+ saveConditionTitle: '保存查询条件',
103
+ displayOrder: '显示顺序',
104
+ width: '列宽',
105
+ default: '默认',
106
+ custom: '自定义',
107
+ show: '显示',
108
+ hidden: '隐藏',
109
+ export: '导出',
110
+ unExport: '不导出',
111
+ whetherToConfirmReset: '是否确认重置?',
112
+ resetSuccessful: '重置成功',
113
+ dragColumnOrderMessage: '支持拖动改变列顺序',
114
+ selectAll: '全选',
115
+ viewImage: '查看图片',
116
+ previewTitleWhenNotImg: '非图片格式,使用其它方式预览',
117
+ refresh: '刷新',
118
+ open: '展开',
119
+ fold: '收起',
120
+ },
121
+ // 部门树组件
122
+ departmentTree: {},
123
+ // 嵌入部门树组件
124
+ departmentTreeInline: {
125
+ pleaseEnterDepartmentName: '请输入部门名称',
126
+ name: '部门名称',
127
+ code: '部门编码',
128
+ removeDepartment: '移除部门',
129
+ selectedDept: '已选部门',
130
+ namePath: '名称路径',
131
+ },
132
+ // 用户树
133
+ departmentUserTree: {
134
+ pleaseEnterUserInformation: '请输入用户信息',
135
+ selectedPeople: '已选人员',
136
+ searchFieldUserName: '姓名',
137
+ searchFieldLoginName: '登录名',
138
+ searchFieldEmail: '邮箱',
139
+ searchFieldTelephone: '手机号',
140
+ searchFieldJobNumber: '工号',
141
+ searchFieldHonorificName: '尊称',
142
+ },
143
+ // 嵌入用户树
144
+ departmentUserTreeInline: {
145
+ name: '姓名',
146
+ department: '所属部门',
147
+ branch: '所属分支',
148
+ removeUser: '移除用户',
149
+ email: '邮箱',
150
+ loginName: '登录名',
151
+ },
152
+ // 工作组树
153
+ workgroupTree: {
154
+ allTeamMembers: '所有工作组人员',
155
+ name: '工作组名称',
156
+ code: '工作组编码',
157
+ removeWorkgroup: '移除工作组',
158
+ },
159
+ // 流程按钮组件。save、submit等属性名不能随便改,和后台的ButtonType枚举名保持一致
160
+ workflowButton: {
161
+ save: '暂存',
162
+ submit: '提交',
163
+ approve: '同意',
164
+ refuse: '不同意',
165
+ agreement: '赞成',
166
+ oppose: '反对',
167
+ kiken: '弃权',
168
+ get_back_button: '取回',
169
+ copy: '抄送',
170
+ draw: '领取',
171
+ abandon_draw: '放弃领取',
172
+ add_sign: '加签',
173
+ remove_sign: '减签',
174
+ signoff: '签收',
175
+ assign: '交办',
176
+ assign_task: '转办',
177
+ readed: '已阅',
178
+ export_report: '导出报告',
179
+ draw_dept_task: '部门领取',
180
+ abandon_draw_dept_task: '放弃部门领取',
181
+ },
182
+ // 流转历史文本组件
183
+ workflowHistoryList: {
184
+ specailText: '特',
185
+ index: '序号',
186
+ taskName: '环节名称',
187
+ operation: '流转操作',
188
+ opinion: '办理意见',
189
+ processStart: '流程开始',
190
+ processEnd: '流程结束',
191
+ process_start: '[{1}]流程开始',
192
+ prcoess_end: '[{1}]流程结束',
193
+ force_end_process: '{1}强制结束了该流程,[{2}]的任务被取消',
194
+ history_jump: '流程{3}到[{1}],[{2}]的任务被取消',
195
+ history_back: '{1}退回任务,流程退回到[{2}]',
196
+ history_removesign: '{1}给[{2}]减签',
197
+ history_changetransactor_and_delegate:
198
+ '{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]',
199
+ history_changetransactor: '{1}把办理人[{2}]更改成[{3}]',
200
+ history_addsign: '{1}给[{2}]加签',
201
+ history_addtransactor: '{1}增加办理人[{2}]',
202
+ history_removetransactor: '{1}减少办理人[{2}]',
203
+ history_delegate_and_assign:
204
+ '{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]',
205
+ history_assign: '{1}把任务指派给了[{2}]',
206
+ transfer: '{1}移交给[{2}]',
207
+ history_complete_transfer: '{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务',
208
+ history_delegate_receive: '{1}收回委托给[{2}]的任务',
209
+ history_delegate: '{1}已把任务[{2}]委托给[{3}]',
210
+ history_quit_transfer: '{1}离职,已把任务[{2}]移交给了[{3}]',
211
+ history_change_job_transfer: '{1}换岗,已把任务[{2}]移交给了[{3}]',
212
+ commonButtonOperation: '{1}执行了[{2}]操作',
213
+ history_draw_task: '{1}领取了任务,取消了候选人[{2}]的任务',
214
+ history_abandon_draw: '{1}放弃领取该任务,还原了候选人[{2}]的任务',
215
+ create_copy_task: '{1}把任务抄送给了[{2}]',
216
+ toDoText: '待处理',
217
+ operator: '操作人',
218
+ operatorDept: '操作人部门',
219
+ operationTime: '操作时间',
220
+ history_draw_dept_task: '{1}领取了部门[{2}]的任务',
221
+ history_abandon_draw_dept_task: '{1}放弃领取部门[{2}]的任务',
222
+ },
223
+ gateway: {
224
+ timeout: '接口调用超时',
225
+ callFailed: '接口调用失败',
226
+ },
227
+ // 九宫格列表组件
228
+ superNineGrid: {
229
+ add: '新建',
230
+ },
231
+ fsUpload: {
232
+ upload: '上传',
233
+ download: '下载',
234
+ delete: '删除',
235
+ preview: '预览',
236
+ name: '名称',
237
+ picture: '图片',
238
+ operating: '操作',
239
+ uploadSucceeded: '上传成功',
240
+ theNumberOfUploadsExceedsTheLimitTheLimitIs: '上传数量超过限制,限制数量为',
241
+ },
242
+ messageVideo: {
243
+ attemptingToIdentify: '正在尝试识别....',
244
+ callingRearCamera: '正在调用后置摄像头...',
245
+ identificationFailed: '识别失败',
246
+ },
247
+ IntervalSelection: {
248
+ year: '年',
249
+ quarter: '季度',
250
+ auxiliary: '第',
251
+ week: '周',
252
+ },
253
+ }
254
+ export default cn