ap-dev 1.3.1 → 1.3.2
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/abap/AbapDoc/index.vue
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
dialogTitle: "SAP开发文档",
|
|
100
100
|
sortByTree: true,
|
|
101
101
|
sortByDrag: true,
|
|
102
|
+
defaultExpandAll: false,
|
|
102
103
|
onClick: (data, node, comp) => {
|
|
103
104
|
// 检查未保存
|
|
104
105
|
if (!this.isFirstClick && this.oldEditorValue != this.$refs.richEditorRef.getContent()) {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
2、部门下拉相关的参数:type -> org-select
|
|
28
28
|
<api-table :data="attrData2" :columns="attrCols1" style="height:270px;"/>
|
|
29
29
|
3、人员相关的参数:type -> org-pick
|
|
30
|
-
<api-table :data="attrData3" :columns="attrCols1" style="height:
|
|
30
|
+
<api-table :data="attrData3" :columns="attrCols1" style="height:800px;"/>
|
|
31
31
|
</div>
|
|
32
32
|
</template>
|
|
33
33
|
|
|
@@ -160,6 +160,23 @@ export default {
|
|
|
160
160
|
type: '',
|
|
161
161
|
default: '',
|
|
162
162
|
memo: '参考【ap-search-pick】组件'
|
|
163
|
+
}, {
|
|
164
|
+
name: ':param :afterConfirm',
|
|
165
|
+
type: '',
|
|
166
|
+
default: '',
|
|
167
|
+
memo: `适用于类似表格,动态加载参数场景。
|
|
168
|
+
param: 传到afterConfirm方法的参数
|
|
169
|
+
afterConfirm: 确认选择afterSearchPickConfirm执行完后执行。带两个参数,param和弹出框选择行`,
|
|
170
|
+
code: `<ap-table :options.sync="xxx"><br>
|
|
171
|
+
<template #person="slotProps"><br>
|
|
172
|
+
<ap-search-pick ref="orgPick" :options.sync="opts" :param="slotProps.rowData" :afterConfirm="afterSelectPerson"></ap-search-pick><br>
|
|
173
|
+
</template><br>
|
|
174
|
+
</ap-table><br>
|
|
175
|
+
<br>
|
|
176
|
+
afterSelectPerson(param, info) {<br>
|
|
177
|
+
param.xxx = info.xxx; // 表格行赋值<br>
|
|
178
|
+
param.changeArr.push("xxx")<br>
|
|
179
|
+
}<br>`
|
|
163
180
|
}
|
|
164
181
|
]
|
|
165
182
|
|
package/dev/DevDoc/index.vue
CHANGED
|
@@ -109,6 +109,7 @@ export default {
|
|
|
109
109
|
sortByTree: true,
|
|
110
110
|
sortByDrag: true,
|
|
111
111
|
reLoadByResponsive: true,
|
|
112
|
+
defaultExpandAll: false,
|
|
112
113
|
onClick: (data, node, comp) => {
|
|
113
114
|
// 检查未保存
|
|
114
115
|
if (!this.isFirstClick && this.oldEditorValue != this.$refs.richEditorRef.getContent()) {
|
package/ops/OpsDoc/index.vue
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
dialogTitle: "运维文档",
|
|
109
109
|
sortByTree: true,
|
|
110
110
|
sortByDrag: true,
|
|
111
|
+
defaultExpandAll: false,
|
|
111
112
|
onClick: (data, node, comp) => {
|
|
112
113
|
// 检查未保存
|
|
113
114
|
if (!this.isFirstClick && this.oldEditorValue != this.$refs.richEditorRef.getContent()) {
|