vue2-client 1.16.61 → 1.16.62
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 +112 -112
- package/src/assets/svg/female.svg +1 -1
- package/src/assets/svg/male.svg +1 -1
- package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
- package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +379 -379
- package/src/base-client/components/common/HIS/demo.vue +61 -61
- package/src/base-client/components/common/XCollapse/XCollapse.vue +708 -708
- package/src/base-client/components/common/XInput/XInput.vue +147 -147
- package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
- package/src/base-client/components/common/XTimeline/XTimeline.vue +454 -454
- package/src/base-client/components/common/XTree/XTreePro.vue +12 -0
- package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
- package/src/base-client/components/his/XList/XList.vue +829 -829
- package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
- package/src/pages/WorkflowDetail/WorkFlowDemo3.vue +203 -203
- package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
- package/src/router/async/router.map.js +129 -129
- package/src-base-client/components/common/XCollapse/XCollapse.vue +0 -0
|
@@ -22,6 +22,13 @@
|
|
|
22
22
|
@change="onChange">
|
|
23
23
|
<a-icon slot="prefix" type="search"/>
|
|
24
24
|
</a-input>
|
|
25
|
+
<span v-if="config.addParent.isShow" style="margin-left: 10px;">
|
|
26
|
+
<a-icon
|
|
27
|
+
:type="config.addParent.icon || 'plus-square'"
|
|
28
|
+
:style="{ fontSize: config.addParent.size || '30px', color: config.addParent.color }"
|
|
29
|
+
@click="addParent(config.addParent.func)"
|
|
30
|
+
/>
|
|
31
|
+
</span>
|
|
25
32
|
</div>
|
|
26
33
|
</a-row>
|
|
27
34
|
<a-row v-if="config.tabBtn && config.tabBtn.length > 0">
|
|
@@ -271,6 +278,11 @@ export default {
|
|
|
271
278
|
this.nodeItemClick(node)
|
|
272
279
|
this.$emit('itemChecked', node)
|
|
273
280
|
},
|
|
281
|
+
addParent (func) {
|
|
282
|
+
if (func) {
|
|
283
|
+
this.$emit('action', null, null, null, func, null)
|
|
284
|
+
}
|
|
285
|
+
},
|
|
274
286
|
action (record, func) {
|
|
275
287
|
this.$emit('action', record, record[this.replaceFields.key], null, func)
|
|
276
288
|
},
|