vue2-client 1.13.16 → 1.13.18
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/package.json
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
>
|
|
15
15
|
<a-select-option v-for="item of resListCp" :key="item.value" :value="item.value">{{ item.label }}</a-select-option>
|
|
16
16
|
</a-select>
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
<template v-if="this.modeType !== 'readonly' && this.resId !== -1">
|
|
18
|
+
<a-button icon="plus" @click="addRes"/>
|
|
19
|
+
</template>
|
|
20
20
|
</template>
|
|
21
21
|
<a-radio-group
|
|
22
22
|
v-show="showModeChoose"
|
|
@@ -304,10 +304,11 @@ export default {
|
|
|
304
304
|
},
|
|
305
305
|
// 新建文档
|
|
306
306
|
addRes () {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
this.
|
|
307
|
+
this.$emit('add', {})
|
|
308
|
+
// const params = Object.assign({
|
|
309
|
+
// isAddForce: true
|
|
310
|
+
// }, this.logicExtraParams)
|
|
311
|
+
// this.reload(params)
|
|
311
312
|
},
|
|
312
313
|
// 重新加载
|
|
313
314
|
reload (params) {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
</template>
|
|
18
18
|
|
|
19
19
|
<script>
|
|
20
|
-
import TreeNode from '
|
|
21
|
-
import { getConfigByName, runLogic } from '
|
|
20
|
+
import TreeNode from '@vue2-client/base-client/components/his/XTreeRows/TreeNode.vue'
|
|
21
|
+
import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
|
|
22
22
|
|
|
23
23
|
export default {
|
|
24
24
|
name: 'XTreeRows',
|
|
@@ -182,7 +182,8 @@ export default {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
.tree-expand-all {
|
|
185
|
-
|
|
185
|
+
float: right;
|
|
186
|
+
margin-right: 15px;
|
|
186
187
|
font-size: 14px;
|
|
187
188
|
font-weight: 400;
|
|
188
189
|
color: #5D5C5C;
|