vue2-client 1.15.26 → 1.15.28
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/docs/Logic/345/207/275/346/225/260/344/275/277/347/224/250/347/233/270/345/205/263.md +0 -1
- package/docs//345/207/275/346/225/260/344/275/277/347/224/250/347/233/270/345/205/263.md +2 -4
- package/package.json +1 -1
- package/src/base-client/components/common/AmapMarker/index.js +3 -3
- package/src/base-client/components/common/XDetailsView/index.js +3 -3
- package/src/base-client/components/common/XFormGroupDetails/index.js +3 -3
- package/src/base-client/components/his/XTextCard/XTextCard.vue +207 -207
- package/src/base-client/components/his/XTreeRows/TreeNode.vue +100 -100
- package/src/base-client/components/his/XTreeRows/XTreeRows.vue +197 -197
- package/src/base-client/components/his/threeTestOrders/editor.vue +111 -111
- package/src/components/HeightScanner/index.vue +54 -10
- package/src/pages/WorkflowDetail/WorkFlowDemo.vue +201 -37
- package/src/pages/WorkflowDetail/WorkFlowDemo2.vue +97 -169
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +22 -27
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowPreview.vue +5 -5
- package/src/router/async/router.map.js +7 -12
- package/vue.config.js +3 -4
- package/.history/public/his/editor/editor_20250606134713.html +0 -51
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527173925.vue +0 -509
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174316.vue +0 -524
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174419.vue +0 -524
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174422.vue +0 -524
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172825.vue +0 -207
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172945.vue +0 -211
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172949.vue +0 -212
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611173010.vue +0 -212
- package/.history/src/base-client/components/common/XForm/XFormItem_20250508134122.vue +0 -1320
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171604.vue +0 -1332
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171613.vue +0 -1331
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171703.vue +0 -1331
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171720.vue +0 -1331
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527174327.vue +0 -1339
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612092804.vue +0 -731
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612112546.vue +0 -748
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612113808.vue +0 -748
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115237.vue +0 -1071
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115346.vue +0 -1078
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115350.vue +0 -1077
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115415.vue +0 -1077
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115429.vue +0 -1077
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611091619.vue +0 -442
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092547.vue +0 -442
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092552.vue +0 -442
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092744.vue +0 -475
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092955.vue +0 -475
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092957.vue +0 -475
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095652.vue +0 -477
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095701.vue +0 -477
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095704.vue +0 -477
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100005.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100011.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100014.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100833.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100853.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100940.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101011.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101013.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101014.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101159.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101238.vue +0 -474
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101240.vue +0 -474
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101242.vue +0 -474
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101404.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101410.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101459.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101500.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101502.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101504.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101610.vue +0 -501
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101700.vue +0 -501
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101702.vue +0 -501
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101741.vue +0 -504
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101749.vue +0 -504
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101759.vue +0 -504
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611091349.vue +0 -131
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105854.vue +0 -160
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105902.vue +0 -160
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105924.vue +0 -160
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105932.vue +0 -158
- package/.history/src/base-client/components/his/XList/XList_20250609135848.vue +0 -173
- package/.history/src/base-client/components/his/XList/XList_20250609141026.vue +0 -222
- package/.history/src/base-client/components/his/XList/XList_20250609141035.vue +0 -229
- package/.history/src/base-client/components/his/XList/XList_20250609141103.vue +0 -229
- package/.history/src/base-client/components/his/XList/XList_20250609141105.vue +0 -229
- package/.history/src/base-client/components/his/XList/XList_20250609141334.vue +0 -241
- package/.history/src/base-client/components/his/XList/XList_20250609141404.vue +0 -241
- package/.history/src/base-client/components/his/XList/XList_20250609141406.vue +0 -241
- package/.history/src/base-client/components/his/XList/XList_20250609141801.vue +0 -245
- package/.history/src/base-client/components/his/XList/XList_20250609142033.vue +0 -245
- package/.history/src/base-client/components/his/XList/XList_20250609142038.vue +0 -245
- package/.history/src/base-client/components/his/XList/XList_20250609142435.vue +0 -255
- package/.history/src/base-client/components/his/XList/XList_20250609142503.vue +0 -255
- package/.history/src/base-client/components/his/XList/XList_20250609142504.vue +0 -255
- package/.history/src/base-client/components/his/XList/XList_20250609143012.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609143044.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609143046.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609143210.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609144339.vue +0 -294
- package/.history/src/base-client/components/his/XList/XList_20250609144410.vue +0 -294
- package/.history/src/base-client/components/his/XList/XList_20250609144412.vue +0 -294
- package/.history/src/base-client/components/his/XList/XList_20250609144647.vue +0 -303
- package/.history/src/base-client/components/his/XList/XList_20250609144716.vue +0 -303
- package/.history/src/base-client/components/his/XList/XList_20250609144729.vue +0 -303
- package/.history/src/base-client/components/his/XList/XList_20250609151232.vue +0 -288
- package/.history/src/base-client/components/his/XList/XList_20250609151247.vue +0 -288
- package/.history/src/base-client/components/his/XList/XList_20250609151252.vue +0 -288
- package/.history/src/base-client/components/his/XList/XList_20250609161220.vue +0 -317
- package/.history/src/base-client/components/his/XList/XList_20250609161258.vue +0 -306
- package/.history/src/base-client/components/his/XList/XList_20250609161319.vue +0 -306
- package/.history/src/base-client/components/his/XList/XList_20250609161320.vue +0 -306
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250609151519.vue +0 -222
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612155514.vue +0 -183
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612155556.vue +0 -183
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612155600.vue +0 -183
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612181609.vue +0 -206
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612181629.vue +0 -209
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613095553.vue +0 -242
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613095610.vue +0 -242
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613095612.vue +0 -242
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100041.vue +0 -251
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100047.vue +0 -251
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100054.vue +0 -250
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100105.vue +0 -250
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100107.vue +0 -250
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100114.vue +0 -250
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613140844.vue +0 -238
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613140910.vue +0 -238
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613140912.vue +0 -238
- package/Users/objecrt/af-vue2-client/src/base-client/components/his/XShiftSchedule/XShiftSchedule.vue +0 -36
- package/src/base-client/components/TreeList/TreeList.vue +0 -91
- package/src/base-client/components/TreeList/TreeNode.vue +0 -81
- package/src/base-client/components/common/XCardSet/XTiltle.vue +0 -191
@@ -1051,39 +1051,34 @@ export default {
|
|
1051
1051
|
formCompletedDataPreview = JSON.parse(JSON.stringify(this.formCompletedData))
|
1052
1052
|
// 使用字段定义中内容,将回显数据的列名,替换为定义的中文名
|
1053
1053
|
// 调整逻辑:formData中只显示流程配置表单中定义过的显示列,多余冗余的存储列不进行页面展示
|
1054
|
-
const
|
1054
|
+
const formDataArr = []
|
1055
|
+
const dataObj = formCompletedDataPreview.data || {}
|
1055
1056
|
const currentStepDefine = this.stepsDefine.find(item => item.id === stepId)
|
1056
1057
|
const isKeyHandle = currentStepDefine?.properties?.form?.isKeyHandle || false
|
1057
|
-
for (
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
if (item.value === formData[key]) {
|
1068
|
-
formData[stepDefine.name] = item.label
|
1069
|
-
break
|
1070
|
-
}
|
1071
|
-
}
|
1072
|
-
} else {
|
1073
|
-
formData[stepDefine.name] = formCompletedDataPreview.data[key]
|
1074
|
-
}
|
1075
|
-
}
|
1076
|
-
// if (key !== stepDefine.name) {
|
1077
|
-
// delete formData[key]
|
1078
|
-
// }
|
1079
|
-
break
|
1058
|
+
for (let i = 0; i < this.targetStepDefine.length; i++) {
|
1059
|
+
const stepDefine = this.targetStepDefine[i]
|
1060
|
+
const key = this.getRealKey(stepDefine.model, isKeyHandle)
|
1061
|
+
if (Object.prototype.hasOwnProperty.call(dataObj, key)) {
|
1062
|
+
let value = dataObj[key]
|
1063
|
+
// 字典值处理
|
1064
|
+
if (stepDefine.formType === 'select' && stepDefine.selectType === 'key') {
|
1065
|
+
const dictList = this.$appdata.getDictionaryList(stepDefine.selectKey)
|
1066
|
+
const dictItem = dictList.find(item => item.value === value)
|
1067
|
+
value = dictItem ? dictItem.label : value
|
1080
1068
|
}
|
1069
|
+
formDataArr.push({ label: stepDefine.name, value })
|
1081
1070
|
}
|
1082
1071
|
}
|
1083
|
-
|
1084
|
-
|
1072
|
+
// 如果一个都没匹配上,兼容旧逻辑:把原对象转成数组
|
1073
|
+
if (formDataArr.length === 0 && dataObj && typeof dataObj === 'object') {
|
1074
|
+
for (const key in dataObj) {
|
1075
|
+
if (Object.prototype.hasOwnProperty.call(dataObj, key)) {
|
1076
|
+
formDataArr.push({ label: key, value: dataObj[key] })
|
1077
|
+
}
|
1078
|
+
}
|
1085
1079
|
}
|
1086
|
-
|
1080
|
+
formCompletedDataPreview.data = formDataArr.length > 0 ? formDataArr : null
|
1081
|
+
if (!formCompletedDataPreview.data) {
|
1087
1082
|
formCompletedDataPreview.data = null
|
1088
1083
|
}
|
1089
1084
|
// 备注
|
@@ -11,12 +11,12 @@
|
|
11
11
|
填写历史
|
12
12
|
</p>
|
13
13
|
<a-descriptions-item
|
14
|
-
v-for="(
|
15
|
-
:key="
|
16
|
-
v-show="
|
14
|
+
v-for="(item, idx) in formCompletedDataPreview.data"
|
15
|
+
:key="item.label || idx"
|
16
|
+
v-show="item.label !== '附件上传' && item.label !== '__expressionRs'"
|
17
17
|
>
|
18
|
-
<span slot="label" style="color: #000">{{
|
19
|
-
<div style="white-space: pre-wrap">{{ value }}</div>
|
18
|
+
<span slot="label" style="color: #000">{{ item.label }}</span>
|
19
|
+
<div style="white-space: pre-wrap">{{ item.value }}</div>
|
20
20
|
</a-descriptions-item>
|
21
21
|
</a-descriptions>
|
22
22
|
<a-descriptions
|
@@ -50,12 +50,9 @@ routerResource.dynamicStatistics = () => import('@vue2-client/pages/DynamicStati
|
|
50
50
|
// 数据检索(新)
|
51
51
|
routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynamicStatistics')
|
52
52
|
// 示例页面
|
53
|
-
routerResource.
|
54
|
-
path: '
|
53
|
+
routerResource.businessAudit = {
|
54
|
+
path: 'businessAudit',
|
55
55
|
name: '示例主页面',
|
56
|
-
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2.vue'),
|
57
|
-
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
58
|
-
component: () => import('@vue2-client/pages/addressSelect/addressDemo.vue'),
|
59
56
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
60
57
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
58
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
@@ -66,10 +63,9 @@ path: 'example',
|
|
66
63
|
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
67
64
|
// component: () => import('@vue2-client/base-client/components/common/XForm/demo.vue'),
|
68
65
|
// component: () => import('@vue2-client/base-client/components/his/XTimeSelect/XTimeSelectDemo.vue'),
|
69
|
-
|
70
|
-
// component: () => import('@vue2-client/
|
71
|
-
// component: () => import('@vue2-client/
|
72
|
-
// component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
|
66
|
+
component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2.vue'),
|
67
|
+
// component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
|
68
|
+
// component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonexampleDemo.vue'),
|
73
69
|
// component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
|
74
70
|
// component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),
|
75
71
|
// component: () => import('@vue2-client/base-client/components/common/XPrint/Demo.vue'),
|
@@ -98,8 +94,7 @@ const routerMap = {
|
|
98
94
|
root: {
|
99
95
|
path: '/',
|
100
96
|
name: '首页',
|
101
|
-
|
102
|
-
redirect: window.__MICRO_APP_ENVIRONMENT__ ? undefined : homePage,
|
97
|
+
redirect: homePage,
|
103
98
|
component: process.env.VUE_APP_SINGLE_PAPER === 'TRUE' ? view.blank : view.tabs,
|
104
99
|
},
|
105
100
|
exp403: {
|
@@ -113,7 +108,7 @@ const routerMap = {
|
|
113
108
|
name: 'exp404',
|
114
109
|
path: '404',
|
115
110
|
component: () =>
|
116
|
-
import('@vue2-client/pages/
|
111
|
+
import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2')
|
117
112
|
},
|
118
113
|
exp500: {
|
119
114
|
name: 'exp500',
|
package/vue.config.js
CHANGED
@@ -11,12 +11,12 @@ const productionGzipExtensions = ['js', 'css']
|
|
11
11
|
const isProd = process.env.NODE_ENV === 'production'
|
12
12
|
|
13
13
|
// v4 产品演示
|
14
|
-
const v3Server = 'http://
|
14
|
+
const v3Server = 'http://218.93.226.210:31467'
|
15
15
|
// const gateway = 'http://192.168.50.67:31467'
|
16
16
|
// const testUpload = 'http://123.60.214.109:8406'
|
17
|
-
const OSSServerDev = 'http://
|
17
|
+
const OSSServerDev = 'http://218.93.226.210:31467'
|
18
18
|
// const revenue = 'http://aote-office.8866.org:31567'
|
19
|
-
const revenue = 'http://
|
19
|
+
const revenue = 'http://218.93.226.210:31467'
|
20
20
|
// const OSSServerProd = 'http://192.168.50.67:31351'
|
21
21
|
// const testUploadLocal = 'http://127.0.0.1:9001'
|
22
22
|
// v3 铜川
|
@@ -53,7 +53,6 @@ module.exports = {
|
|
53
53
|
changeOrigin: true
|
54
54
|
},
|
55
55
|
'/api/af-apply': {
|
56
|
-
// pathRewrite: { '^/api/af-apply': '/' },
|
57
56
|
target: revenue,
|
58
57
|
changeOrigin: true
|
59
58
|
},
|
@@ -1,51 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8"/>
|
5
|
-
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml"/>
|
6
|
-
<link rel="stylesheet" href="./vender/jquery/zTreeStyle/zTreeStyle.css" type="text/css">
|
7
|
-
<script src = "./vender/jquery/jquery.js"></script>
|
8
|
-
<script src = "./vender/date97/WdatePicker.js"></script>
|
9
|
-
<script src = "./vender/jquery/jquery.ztree.core.min.js"></script>
|
10
|
-
<script src = "./vender/jquery/jquery.ztree.exedit.min.js"></script>
|
11
|
-
<script src = "./vender/jquery/jquery.ztree.exhide.min.js"></script>
|
12
|
-
<script src = "./vender/codemirror.js"></script>
|
13
|
-
<script src = "./vender/fabric.js"></script>
|
14
|
-
<script src="./vender/editor.js"></script>
|
15
|
-
<script>
|
16
|
-
$(function() {
|
17
|
-
//配置项可以不设置,会使用默认设置
|
18
|
-
let option = {
|
19
|
-
license:'QO1pepfLYwDNqGvW21ensj0psE9CxBxf5MSRD1q2sCvclYGGtk6clTZEIth12i4SvvvDC04ZNcHe3uQuNtBUFcAk7sHUwAdYvffM2aZis/jpZqrm1rDGk1NHYsheD6DroF+m3jZ5Izh/LxRjzZJfaHHejfrn5InFoSqErfPm4gY=',
|
20
|
-
mode:'form', //默认模式 form:表单模式,design:设计模式
|
21
|
-
pdfUrl:'https://www.x-emr.cn/pdf/post', //pdf生成服务
|
22
|
-
dictionary: [ //知识库
|
23
|
-
{name: '体征', isParent:true, treeUrl:'https://www.x-emr.cn/dict?category=20', itemUrl:'https://www.x-emr.cn/dictitem'},
|
24
|
-
{name: '症状', isParent:true, treeUrl:'https://www.x-emr.cn/dict?category=20', itemUrl:'https://www.x-emr.cn/dictitem'},
|
25
|
-
{name: '卫生信息数据元', isParent:true, treeUrl:'https://www.x-emr.cn/dict?category=40', itemUrl:'https://www.x-emr.cn/dictitem'},
|
26
|
-
{name: '电子病历数据集', isParent:true, treeUrl:'https://www.x-emr.cn/dict?category=50', itemUrl:'https://www.x-emr.cn/dictitem'},
|
27
|
-
{name: '国家医保标准', isParent:true, treeUrl:'https://www.x-emr.cn/dict?category=80', itemUrl:'https://www.x-emr.cn/dictitem'},
|
28
|
-
{name: '省数据平台标准', isParent:true, treeUrl:'https://www.x-emr.cn/dict?category=90', itemUrl:'https://www.x-emr.cn/dictitem'},
|
29
|
-
]
|
30
|
-
}
|
31
|
-
|
32
|
-
//从模块的Editor组件中获取mode,doc,lang属性 (该段代码可删除)
|
33
|
-
let mode = window.frameElement.getAttribute('mode')
|
34
|
-
let doc = window.frameElement.getAttribute('doc')
|
35
|
-
let lang = window.frameElement.getAttribute('lang')
|
36
|
-
mode? option.mode = mode: null
|
37
|
-
lang? option.lang = lang: null
|
38
|
-
|
39
|
-
//初始化编辑器(初始化代码可以放入组件的load事件中)
|
40
|
-
editor.init(option).then(()=>{
|
41
|
-
doc? editor.loadUrl(doc) : null
|
42
|
-
})
|
43
|
-
|
44
|
-
})
|
45
|
-
</script>
|
46
|
-
</head>
|
47
|
-
<body>
|
48
|
-
<!-- 默认id 为editor -->
|
49
|
-
<div id="editor" style="width:100%; height:100%;"></div>
|
50
|
-
</body>
|
51
|
-
</html>
|