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.
- package/.vscode/extensions.json +3 -0
- package/README.md +7 -0
- package/components/dynamic-source-select/dynamic-source-select-service.js +106 -0
- package/components/dynamic-source-select/dynamic-source-select.vue +673 -0
- package/components/dynamic-source-select/events.js +77 -0
- package/components/fs-preview/fs-preview.vue +287 -0
- package/components/index.js +26 -0
- package/components/plugins/export-data-new.js +623 -0
- package/components/plugins/export-data.js +431 -0
- package/components/plugins/index.js +15 -0
- package/components/plugins/public-method.js +47 -0
- package/components/rich-editor/index-bak.vue +306 -0
- package/components/rich-editor/index.vue +236 -0
- package/components/rich-editor/langs/zh-Hans.js +438 -0
- package/components/rich-editor/viewer.vue +105 -0
- package/components/super-grid/apis.js +1065 -0
- package/components/super-grid/columns-config.vue +430 -0
- package/components/super-grid/custom-formatter.js +330 -0
- package/components/super-grid/dynamic-input.vue +1706 -0
- package/components/super-grid/eventBus.js +2 -0
- package/components/super-grid/events.js +56 -0
- package/components/super-grid/formValidatorUtil.js +300 -0
- package/components/super-grid/formatter.js +190 -0
- package/components/super-grid/group-column.vue +100 -0
- package/components/super-grid/header-context-menu.vue +82 -0
- package/components/super-grid/index-column.vue +69 -0
- package/components/super-grid/normal-column.vue +1148 -0
- package/components/super-grid/public-methods.js +30 -0
- package/components/super-grid/row-operation.vue +193 -0
- package/components/super-grid/search-button.vue +74 -0
- package/components/super-grid/search-condition-input.vue +73 -0
- package/components/super-grid/search-condition-list.vue +68 -0
- package/components/super-grid/search-form-advancedQuery.vue +820 -0
- package/components/super-grid/search-form-dialog.vue +77 -0
- package/components/super-grid/search-form-item.vue +470 -0
- package/components/super-grid/search-form-number.vue +111 -0
- package/components/super-grid/search-form-open.vue +178 -0
- package/components/super-grid/search-form-ordinarySearch.vue +218 -0
- package/components/super-grid/search-form.vue +756 -0
- package/components/super-grid/search-methods.js +484 -0
- package/components/super-grid/selection-column.vue +46 -0
- package/components/super-grid/store.js +3 -0
- package/components/super-grid/super-grid-service.js +682 -0
- package/components/super-grid/super-grid.vue +2893 -0
- package/components/super-grid/utils.js +851 -0
- package/components/super-grid/view-image-dialog.vue +173 -0
- package/components/utils/gogocodeTransfer.js +59 -0
- package/components/utils/utils.js +180 -0
- package/components/utils/value-set.js +98 -0
- package/components/z-test-utton/index.vue +82 -0
- package/package.json +29 -40
- package/public/index.html +13 -0
- package/public/vite.svg +1 -0
- package/src/api/sso-service.js +172 -19
- package/src/api/tab.js +36 -0
- package/src/api/user-service.js +11 -11
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/cloud.png +0 -0
- package/src/directives/permission/index.js +13 -13
- package/src/directives/permission/permission.js +20 -15
- package/src/i18n/i18n.js +16 -0
- package/src/i18n/langs/cn.js +254 -0
- package/src/i18n/langs/en.js +264 -0
- package/src/permission.js +157 -71
- package/src/plugins.js +18 -18
- package/src/router/index.js +96 -69
- package/src/store/getters.js +15 -10
- package/src/store/index.js +19 -19
- package/src/store/modules/app.js +54 -42
- package/src/store/modules/permission.js +137 -73
- package/src/store/modules/tab-content.js +36 -0
- package/src/store/modules/user.js +293 -80
- package/src/styles/display-layout.scss +34 -0
- package/src/styles/element-ui.scss +29 -29
- package/src/styles/index.scss +157 -78
- package/src/styles/mixin.scss +27 -27
- package/src/styles/theme/black/font-style.scss +70 -0
- package/src/styles/theme/black/index.scss +306 -0
- package/src/styles/theme/black/sidebar.scss +189 -0
- package/src/styles/theme/blue/font-style.scss +46 -0
- package/src/styles/theme/blue/index.scss +172 -0
- package/src/styles/{sidebar.scss → theme/blue/sidebar.scss} +171 -141
- package/src/styles/theme/blue2/font-style.scss +70 -0
- package/src/styles/theme/blue2/index.scss +188 -0
- package/src/styles/theme/blue2/sidebar.scss +201 -0
- package/src/styles/theme/dark-blue/button.scss +9 -0
- package/src/styles/theme/dark-blue/card.scss +62 -0
- package/src/styles/theme/dark-blue/checkbox.scss +10 -0
- package/src/styles/theme/dark-blue/dark-blue-var.scss +8 -0
- package/src/styles/theme/dark-blue/dialog.scss +21 -0
- package/src/styles/theme/dark-blue/element-variables.scss +7 -0
- package/src/styles/theme/dark-blue/font.scss +71 -0
- package/src/styles/theme/dark-blue/form.scss +51 -0
- package/src/styles/theme/dark-blue/index.scss +269 -0
- package/src/styles/theme/dark-blue/input.scss +15 -0
- package/src/styles/theme/dark-blue/message.scss +8 -0
- package/src/styles/theme/dark-blue/pagination.scss +14 -0
- package/src/styles/theme/dark-blue/scrollbar-style.scss +32 -0
- package/src/styles/theme/dark-blue/sidebar.scss +266 -0
- package/src/styles/theme/dark-blue/tab.scss +83 -0
- package/src/styles/theme/dark-blue/table.scss +60 -0
- package/src/styles/theme/dark-blue/tree.scss +31 -0
- package/src/styles/theme/dark-blue/var.scss +1028 -0
- package/src/styles/theme/gray/card-style.scss +54 -0
- package/src/styles/theme/gray/font-style.scss +70 -0
- package/src/styles/theme/gray/index.scss +172 -0
- package/src/styles/theme/gray/input-style.scss +19 -0
- package/src/styles/theme/gray/scrollbar-style.scss +32 -0
- package/src/styles/theme/gray/sidebar.scss +231 -0
- package/src/styles/theme/gray/tab-style.scss +81 -0
- package/src/styles/transition.scss +47 -46
- package/src/utils/auth-api.js +159 -0
- package/src/utils/auth.js +61 -15
- package/src/utils/calculator/calculator-factory-wf.js +558 -0
- package/src/utils/calculator/calculator-factory.js +145 -0
- package/src/utils/calculator/calculator-util.js +166 -0
- package/src/utils/common-util.js +305 -0
- package/src/utils/eventBus.js +2 -0
- package/src/utils/iconUtils.js +28 -0
- package/src/utils/index.js +102 -86
- package/src/utils/jump-page-utils.js +814 -0
- package/src/utils/local-storage.js +33 -31
- package/src/utils/menu.js +19 -0
- package/src/utils/permission.js +31 -26
- package/src/utils/permissionAuth.js +90 -0
- package/src/utils/range-selector.js +188 -0
- package/src/utils/request.js +270 -116
- package/src/utils/restful-interface-utils.js +57 -0
- package/src/utils/util.js +698 -0
- package/src/utils/validate.js +34 -33
- package/src/utils/watermark.js +108 -0
- package/src/utils/workflow-util.js +93 -0
- package/src/views/404.vue +248 -228
- package/src/views/dsc-component/Sidebar/Item.vue +84 -0
- package/src/views/dsc-component/Sidebar/Link.vue +38 -0
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +196 -0
- package/src/views/dsc-component/Sidebar/index.vue +220 -0
- package/src/views/dsc-component/tabs/tab-content.vue +199 -0
- package/src/views/error-page/401.vue +106 -91
- package/src/views/error-page/404.vue +248 -228
- package/src/views/layout/EmptyLayout.vue +3 -0
- package/src/views/layout/Layout.vue +81 -68
- package/src/views/layout/NewLayout.vue +18 -0
- package/src/views/layout/components/AppMain.vue +39 -29
- package/src/views/layout/components/Breadcrumb/index.vue +156 -0
- package/src/views/layout/components/Menubar/Item.vue +57 -0
- package/src/views/layout/components/Menubar/Link.vue +38 -0
- package/src/views/layout/components/Menubar/SidebarItem.vue +164 -0
- package/src/views/layout/components/Menubar/index.vue +210 -0
- package/src/views/layout/components/Sidebar/Item.vue +53 -29
- package/src/views/layout/components/Sidebar/Link.vue +38 -39
- package/src/views/layout/components/Sidebar/SidebarItem.vue +135 -100
- package/src/views/layout/components/Sidebar/index.vue +141 -48
- package/src/views/layout/components/iframe-page.vue +38 -0
- package/src/views/layout/components/index.js +4 -3
- package/src/views/layout/components/tabs/tab-content.vue +207 -0
- package/src/views/layout/mixin/ResizeHandler.js +41 -41
- package/src/views/layout/tab-content-iframe-index.vue +38 -0
- package/src/views/layout/tab-content-index.vue +93 -0
- package/src/views/login/authredirect.vue +10 -10
- package/src/views/login/index.vue +296 -203
- package/src/views/login/update-password.vue +243 -0
- package/src/views/redirect/index.vue +14 -12
- package/src/views/wf-history/tache-subprocess-history.vue +45 -0
- package/vite.config.js +31 -0
- package/lib/super-ui.css +0 -1
- package/lib/super-ui.umd.min.js +0 -2
- package/src/styles/variables.scss +0 -4
- package/src/views/layout/components/Navbar.vue +0 -92
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { $on, $off, $once, $emit } from '../utils/gogocodeTransfer'
|
|
2
|
+
import * as Vue from 'vue'
|
|
3
|
+
import { doFormat } from './formatter'
|
|
4
|
+
import store from './store'
|
|
5
|
+
import { initialization, jumpToPage } from '../../src/utils/jump-page-utils'
|
|
6
|
+
import { analysisFileSetObj, otherFilesToStandard } from './utils'
|
|
7
|
+
const customFormatter = {
|
|
8
|
+
/**
|
|
9
|
+
* 自定义格式化值
|
|
10
|
+
* @param {prop} 属性名
|
|
11
|
+
* @param {formatValue} 格式化后的值
|
|
12
|
+
* @param {format} 格式化方法
|
|
13
|
+
* @param {componentName} 组件名
|
|
14
|
+
*/
|
|
15
|
+
customFormatValue(row, prop, format, rowIndex) {
|
|
16
|
+
// const start = new Date().getTime()
|
|
17
|
+
// console.log('---super-grid--customFormatValue--')
|
|
18
|
+
if (this.customFormat) {
|
|
19
|
+
let originalValue = row[prop]
|
|
20
|
+
if (this.isObjectProp(prop)) {
|
|
21
|
+
originalValue = this.objectPropOriginalValue(row, prop)
|
|
22
|
+
}
|
|
23
|
+
const formatValue = doFormat(this.column, originalValue)
|
|
24
|
+
const component = format.call(
|
|
25
|
+
this,
|
|
26
|
+
originalValue,
|
|
27
|
+
formatValue,
|
|
28
|
+
row,
|
|
29
|
+
this.column,
|
|
30
|
+
rowIndex
|
|
31
|
+
)
|
|
32
|
+
if (typeof component === 'undefined') {
|
|
33
|
+
return false
|
|
34
|
+
} else {
|
|
35
|
+
window.$vueApp.component(prop + rowIndex, component)
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// const end = new Date().getTime()
|
|
39
|
+
// console.log('---super-grid--customFormatValue--time1=', (end - start))
|
|
40
|
+
return true
|
|
41
|
+
} else {
|
|
42
|
+
// const end = new Date().getTime()
|
|
43
|
+
// console.log('---super-grid--customFormatValue--time2=', (end - start))
|
|
44
|
+
return false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
isObjectProp(prop) {
|
|
49
|
+
// const start = new Date().getTime()
|
|
50
|
+
// console.log('---super-grid--isObjectProp--')
|
|
51
|
+
if (prop && prop.indexOf('.') > 0) {
|
|
52
|
+
// const end = new Date().getTime()
|
|
53
|
+
// console.log('---super-grid--isObjectProp--time1=', (end - start))
|
|
54
|
+
return true
|
|
55
|
+
} else {
|
|
56
|
+
// const end = new Date().getTime()
|
|
57
|
+
// console.log('---super-grid--isObjectProp--time2=', (end - start))
|
|
58
|
+
return false
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
objectPropOriginalValue(row, prop) {
|
|
63
|
+
try {
|
|
64
|
+
// console.log('---super-grid--objectPropOriginalValue--')
|
|
65
|
+
let objValue = row
|
|
66
|
+
if (prop && prop.indexOf('.') > 0) {
|
|
67
|
+
const props = prop.split('.')
|
|
68
|
+
props.forEach((subProp) => {
|
|
69
|
+
if (objValue) {
|
|
70
|
+
objValue = objValue[subProp]
|
|
71
|
+
} else {
|
|
72
|
+
objValue = ''
|
|
73
|
+
throw objValue
|
|
74
|
+
}
|
|
75
|
+
})
|
|
76
|
+
return objValue
|
|
77
|
+
} else {
|
|
78
|
+
return row[prop]
|
|
79
|
+
}
|
|
80
|
+
} catch (e) {
|
|
81
|
+
// console.log(e)
|
|
82
|
+
return ''
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
objectPropValue(row, prop) {
|
|
87
|
+
return this.formatter(row, prop, this.column)
|
|
88
|
+
},
|
|
89
|
+
// 获取显示的值
|
|
90
|
+
// 附件类型,显示值与实际值不相同。如果时子表多选,需要单独判断
|
|
91
|
+
objectPropValueTwo(row, column) {
|
|
92
|
+
if (
|
|
93
|
+
column.componentType === 'annex' ||
|
|
94
|
+
column.componentType === 'multipartUpload'
|
|
95
|
+
) {
|
|
96
|
+
// 判断是否是对象集合(子表存储)
|
|
97
|
+
const fileSetObj = JSON.parse(column.fileSet)
|
|
98
|
+
if (fileSetObj.childAnnexDataTableCode) {
|
|
99
|
+
// 获取存好的json并解析
|
|
100
|
+
const keyValueParam = analysisFileSetObj(fileSetObj, this.isSql)
|
|
101
|
+
// 子表存储。返回最后一个对象的展示名称
|
|
102
|
+
const fileArr = this.objectPropValue(row, column.prop)
|
|
103
|
+
if (fileArr && fileArr.length > 0) {
|
|
104
|
+
const fileList = otherFilesToStandard(
|
|
105
|
+
fileSetObj,
|
|
106
|
+
keyValueParam,
|
|
107
|
+
fileArr,
|
|
108
|
+
null
|
|
109
|
+
)
|
|
110
|
+
return fileList[fileList.length - 1].showName
|
|
111
|
+
}
|
|
112
|
+
} else {
|
|
113
|
+
return this.objectPropValue(row, column.prop)
|
|
114
|
+
}
|
|
115
|
+
} else if (column.formatter && column.formatter.type === 'files') {
|
|
116
|
+
// 判断是否是对象集合(子表存储)
|
|
117
|
+
const fileSetObj = JSON.parse(column.formatter.options.fileSet)
|
|
118
|
+
if (fileSetObj.childAnnexDataTableCode) {
|
|
119
|
+
// 获取存好的json并解析
|
|
120
|
+
const keyValueParam = analysisFileSetObj(fileSetObj, this.isSql)
|
|
121
|
+
// 子表存储。返回最后一个对象的展示名称
|
|
122
|
+
const fileArr = this.objectPropValue(row, column.prop)
|
|
123
|
+
if (fileArr && fileArr.length > 0) {
|
|
124
|
+
const fileList = otherFilesToStandard(
|
|
125
|
+
fileSetObj,
|
|
126
|
+
keyValueParam,
|
|
127
|
+
fileArr,
|
|
128
|
+
null
|
|
129
|
+
)
|
|
130
|
+
return fileList[fileList.length - 1].showName
|
|
131
|
+
}
|
|
132
|
+
} else {
|
|
133
|
+
return this.objectPropValue(row, column.prop)
|
|
134
|
+
}
|
|
135
|
+
} else {
|
|
136
|
+
return this.objectPropValue(row, column.prop)
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
formatter(row, prop, column) {
|
|
140
|
+
const cellValue = this.objectPropOriginalValue(row, prop)
|
|
141
|
+
if (
|
|
142
|
+
this.columnFormatter !== undefined &&
|
|
143
|
+
this.columnFormatter.type === 'custom'
|
|
144
|
+
) {
|
|
145
|
+
// 自定义事件
|
|
146
|
+
let funName
|
|
147
|
+
if (this.columnFormatter.options && this.columnFormatter.options.format) {
|
|
148
|
+
funName = this.columnFormatter.options.format
|
|
149
|
+
}
|
|
150
|
+
if (funName && funName !== null && funName !== '') {
|
|
151
|
+
const gridParams = store.get(this.listCode)
|
|
152
|
+
if (
|
|
153
|
+
gridParams.options &&
|
|
154
|
+
gridParams.options['eventCallBack'] &&
|
|
155
|
+
gridParams.options['eventCallBack'][funName] &&
|
|
156
|
+
typeof gridParams.options['eventCallBack'][funName] === 'function'
|
|
157
|
+
) {
|
|
158
|
+
const param = {
|
|
159
|
+
value: cellValue,
|
|
160
|
+
row: row,
|
|
161
|
+
column: this.column,
|
|
162
|
+
prop: prop,
|
|
163
|
+
}
|
|
164
|
+
return gridParams.options['eventCallBack'][funName].call(this, param)
|
|
165
|
+
} else {
|
|
166
|
+
return doFormat(column, cellValue)
|
|
167
|
+
}
|
|
168
|
+
} else {
|
|
169
|
+
return doFormat(column, cellValue)
|
|
170
|
+
}
|
|
171
|
+
} else {
|
|
172
|
+
return doFormat(column, cellValue)
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
getColumnValue(row, column) {
|
|
176
|
+
const prop = column.prop
|
|
177
|
+
let originalValue = row[prop]
|
|
178
|
+
if (this.isObjectProp(prop)) {
|
|
179
|
+
originalValue = this.objectPropOriginalValue(row, prop)
|
|
180
|
+
}
|
|
181
|
+
const formatValue = doFormat(column, originalValue)
|
|
182
|
+
return {
|
|
183
|
+
originalValue,
|
|
184
|
+
formatValue,
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
onClickFun(row, column, onClick, rowIndex, button) {
|
|
188
|
+
const values = this.getColumnValue(row, column)
|
|
189
|
+
onClick.call(
|
|
190
|
+
this,
|
|
191
|
+
values.originalValue,
|
|
192
|
+
values.formatValue,
|
|
193
|
+
row,
|
|
194
|
+
column,
|
|
195
|
+
rowIndex,
|
|
196
|
+
button
|
|
197
|
+
)
|
|
198
|
+
},
|
|
199
|
+
isShowButtonFun(row, column, isShowFun, rowIndex) {
|
|
200
|
+
if (isShowFun === undefined) {
|
|
201
|
+
return true
|
|
202
|
+
}
|
|
203
|
+
if (typeof isShowFun === 'function') {
|
|
204
|
+
const values = this.getColumnValue(row, column)
|
|
205
|
+
let isShow = isShowFun.call(
|
|
206
|
+
this,
|
|
207
|
+
values.originalValue,
|
|
208
|
+
values.formatValue,
|
|
209
|
+
row,
|
|
210
|
+
column,
|
|
211
|
+
rowIndex
|
|
212
|
+
)
|
|
213
|
+
if (isShow === undefined) {
|
|
214
|
+
isShow = true
|
|
215
|
+
}
|
|
216
|
+
return isShow
|
|
217
|
+
} else {
|
|
218
|
+
return isShowFun
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
// 超链接解析
|
|
222
|
+
getHyperLinkSetting(
|
|
223
|
+
column,
|
|
224
|
+
row,
|
|
225
|
+
isSql,
|
|
226
|
+
additionalParamerter,
|
|
227
|
+
contextParameter,
|
|
228
|
+
tableName,
|
|
229
|
+
listCode
|
|
230
|
+
) {
|
|
231
|
+
const gridParams = store.get(listCode)
|
|
232
|
+
let parentFormData = null
|
|
233
|
+
if (
|
|
234
|
+
gridParams.options.extraParam &&
|
|
235
|
+
gridParams.options.extraParam.entityMap
|
|
236
|
+
) {
|
|
237
|
+
parentFormData = gridParams.options.extraParam.entityMap
|
|
238
|
+
}
|
|
239
|
+
let hyperLinkResult = {}
|
|
240
|
+
let jumpPageJson
|
|
241
|
+
if (
|
|
242
|
+
column &&
|
|
243
|
+
column.formatter &&
|
|
244
|
+
column.formatter.options &&
|
|
245
|
+
column.formatter.options.format
|
|
246
|
+
) {
|
|
247
|
+
jumpPageJson = column.formatter.options.format
|
|
248
|
+
}
|
|
249
|
+
if (jumpPageJson && jumpPageJson !== '') {
|
|
250
|
+
// 解析是否需要显示该超链接
|
|
251
|
+
const result = initialization(
|
|
252
|
+
JSON.parse(jumpPageJson),
|
|
253
|
+
row,
|
|
254
|
+
isSql,
|
|
255
|
+
additionalParamerter,
|
|
256
|
+
contextParameter,
|
|
257
|
+
tableName,
|
|
258
|
+
parentFormData
|
|
259
|
+
)
|
|
260
|
+
// console.log('getHyperLinkSetting--resut=', result)
|
|
261
|
+
if (result && result.label && result.label !== '') {
|
|
262
|
+
console.log('label存在')
|
|
263
|
+
} else {
|
|
264
|
+
result.label = this.objectPropValueTwo(row, column)
|
|
265
|
+
}
|
|
266
|
+
if (result && result.title && result.title !== '') {
|
|
267
|
+
console.log('title存在')
|
|
268
|
+
} else {
|
|
269
|
+
result.title = result.label
|
|
270
|
+
}
|
|
271
|
+
hyperLinkResult = result
|
|
272
|
+
} else {
|
|
273
|
+
// 表示显示超链接
|
|
274
|
+
hyperLinkResult.visible = true
|
|
275
|
+
hyperLinkResult.label = this.objectPropValueTwo(row, column)
|
|
276
|
+
hyperLinkResult.title = hyperLinkResult.label
|
|
277
|
+
}
|
|
278
|
+
return hyperLinkResult
|
|
279
|
+
},
|
|
280
|
+
// 点击超链接
|
|
281
|
+
clickHyperLink(column, row, listCode, rowIndex) {
|
|
282
|
+
let jumpPageJson
|
|
283
|
+
if (
|
|
284
|
+
column &&
|
|
285
|
+
column.formatter &&
|
|
286
|
+
column.formatter.options &&
|
|
287
|
+
column.formatter.options.format
|
|
288
|
+
) {
|
|
289
|
+
jumpPageJson = column.formatter.options.format
|
|
290
|
+
}
|
|
291
|
+
if (jumpPageJson && jumpPageJson !== '') {
|
|
292
|
+
// 解析是否需要显示该超链接
|
|
293
|
+
const gridParams = store.get(listCode)
|
|
294
|
+
let parentFormData = null
|
|
295
|
+
if (
|
|
296
|
+
gridParams.options.extraParam &&
|
|
297
|
+
gridParams.options.extraParam.entityMap
|
|
298
|
+
) {
|
|
299
|
+
parentFormData = gridParams.options.extraParam.entityMap
|
|
300
|
+
}
|
|
301
|
+
console.log(
|
|
302
|
+
'ridParams.options.extraParam.entityMap',
|
|
303
|
+
gridParams.options.extraParam
|
|
304
|
+
)
|
|
305
|
+
jumpToPage(
|
|
306
|
+
JSON.parse(jumpPageJson),
|
|
307
|
+
gridParams.system,
|
|
308
|
+
row.id ? row.id : row.ID,
|
|
309
|
+
row,
|
|
310
|
+
gridParams.additionalParamMap,
|
|
311
|
+
null,
|
|
312
|
+
null,
|
|
313
|
+
parentFormData
|
|
314
|
+
).then((openPageParams) => {
|
|
315
|
+
console.log('clickHyperLink--openPageParams===', openPageParams)
|
|
316
|
+
if (openPageParams) {
|
|
317
|
+
// 点击列表组件中某元素弹出的页面
|
|
318
|
+
openPageParams._position = 'list'
|
|
319
|
+
openPageParams._listCode = listCode
|
|
320
|
+
openPageParams._rowIndex = rowIndex
|
|
321
|
+
// 行编辑的记录
|
|
322
|
+
openPageParams.row = row
|
|
323
|
+
// 通知父页面弹出页面
|
|
324
|
+
$emit(this, 'open-page', openPageParams)
|
|
325
|
+
}
|
|
326
|
+
})
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
}
|
|
330
|
+
export default customFormatter
|