vue2-client 1.14.65 → 1.14.66

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.
Files changed (28) hide show
  1. package/docs/Logic/345/207/275/346/225/260/344/275/277/347/224/250/347/233/270/345/205/263.md +0 -1
  2. package/docs//345/207/275/346/225/260/344/275/277/347/224/250/347/233/270/345/205/263.md +1 -2
  3. package/package.json +1 -1
  4. package/src/base-client/components/common/AmapMarker/index.js +3 -3
  5. package/src/base-client/components/common/XDetailsView/index.js +3 -3
  6. package/src/base-client/components/common/XFormGroupDetails/index.js +3 -3
  7. package/src/base-client/components/his/XTextCard/XTextCard.vue +207 -207
  8. package/src/base-client/components/his/XTreeRows/TreeNode.vue +100 -100
  9. package/src/base-client/components/his/XTreeRows/XTreeRows.vue +197 -197
  10. package/src/base-client/components/his/threeTestOrders/editor.vue +111 -111
  11. package/src/pages/WorkflowDetail/WorkFlowDemo.vue +79 -36
  12. package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +5 -4
  13. package/vue.config.js +2 -2
  14. package/.history/public/his/editor/editor_20250606134713.html +0 -51
  15. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527173925.vue +0 -509
  16. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174316.vue +0 -524
  17. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174419.vue +0 -524
  18. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174422.vue +0 -524
  19. package/.history/src/base-client/components/common/XForm/XFormItem_20250508134122.vue +0 -1320
  20. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171604.vue +0 -1332
  21. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171613.vue +0 -1331
  22. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171703.vue +0 -1331
  23. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171720.vue +0 -1331
  24. package/.history/src/base-client/components/common/XForm/XFormItem_20250527174327.vue +0 -1339
  25. package/Users/objecrt/af-vue2-client/src/base-client/components/his/XShiftSchedule/XShiftSchedule.vue +0 -36
  26. package/src/base-client/components/TreeList/TreeList.vue +0 -91
  27. package/src/base-client/components/TreeList/TreeNode.vue +0 -81
  28. package/src/base-client/components/common/XCardSet/XTiltle.vue +0 -191
@@ -1,47 +1,90 @@
1
+ <template>
2
+ <a-card :bordered="false">
3
+ <x-form-table
4
+ title="示例页面"
5
+ :queryParamsName="queryParamsName"
6
+ :fixed-query-form="{
7
+ users_f_handler_id: currUser.id,
8
+ }"
9
+ @action="toDetail">
10
+ <template slot="button">
11
+ <a-button @click="add">
12
+ <a-icon type="plus"/>
13
+ 发起报建
14
+ </a-button>
15
+ </template>
16
+ </x-form-table>
17
+ <a-modal
18
+ v-model="applyAddFlag"
19
+ :footer="null"
20
+ :dialog-style="{ top: '5rem' }"
21
+ :z-index="1001"
22
+ title="发起报建"
23
+ :destroyOnClose="true">
24
+ <x-add-native-form ref="xForm" @onSubmit="applySubmit"/>
25
+ </a-modal>
26
+ <WorkflowDetail ref="workFlow" @success="success"></WorkflowDetail>
27
+ </a-card>
28
+ </template>
29
+
1
30
  <script>
2
31
  import WorkflowDetail from '@vue2-client/pages/WorkflowDetail/WorkflowDetail.vue'
32
+ import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
33
+ import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
34
+ import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
35
+ import { mapState } from 'vuex'
3
36
 
4
37
  export default {
5
- name: 'WorkFlowDemo',
6
- components: { WorkflowDetail },
7
- mounted () {
8
- this.$refs.workFlow.init({
9
- workflowId: '11'
10
- })
38
+ name: 'Apply',
39
+ components: {
40
+ XFormTable,
41
+ XAddNativeForm,
42
+ WorkflowDetail
43
+ },
44
+ data () {
45
+ return {
46
+ // 查询配置文件名
47
+ queryParamsName: 'applyCRUD',
48
+ // 发起报建弹框控制
49
+ applyAddFlag: false
50
+ }
51
+ },
52
+ computed: {
53
+ ...mapState('account', { currUser: 'user' }),
11
54
  },
12
55
  methods: {
13
- /**
14
- * 流程详情页成功
15
- * @param note 备注信息
16
- * @param form 表单信息
17
- * @param workflowId
18
- */
19
- success ({ note, form, workflowId }) {
20
- console.log('success', note, form, workflowId)
56
+ add () {
57
+ this.applyAddFlag = true
58
+ this.$nextTick(
59
+ () => {
60
+ getConfigByName('addApplyForm', 'af-apply', (res) => {
61
+ this.$refs.xForm.init({
62
+ businessType: '新增',
63
+ title: '发起报建',
64
+ ...res
65
+ })
66
+ })
67
+ }
68
+ )
69
+ },
70
+ applySubmit (formData) {
71
+ runLogic('addApply', formData).then(
72
+ res => {
73
+ this.$message.success('发起报建成功')
74
+ this.applyAddFlag = false
75
+ }
76
+ ).catch(() => {
77
+ this.applyAddFlag = false
78
+ })
21
79
  },
22
- /**
23
- * 流程详情页成功
24
- * @param note 备注信息
25
- * @param form 表单信息
26
- * @param workflowId 工作流id
27
- * @param fromStepId 起ID
28
- * @param toStepId 往ID
29
- * @param successStepId 完成步骤id
30
- * @param successStep 完成步骤名称
31
- * @param fromStep 起步骤名称
32
- * @param toStep 往步骤名称
33
- */
34
- nextClick ({ note, form, workflowId, fromStepId, toStepId, fromStep, toStep, successStepId, successStep }) {
35
- console.log('success', note, form, workflowId, fromStepId, toStepId, fromStep, toStep, successStepId, successStep)
80
+ success () {
81
+ console.log('完工')
82
+ },
83
+ toDetail (record, id) {
84
+ this.$refs.workFlow.init({
85
+ workflowId: record.twf_id
86
+ })
36
87
  }
37
88
  }
38
89
  }
39
90
  </script>
40
-
41
- <template>
42
- <WorkflowDetail ref="workFlow" @success="success" @nextClick="nextClick"></WorkflowDetail>
43
- </template>
44
-
45
- <style scoped lang="less">
46
-
47
- </style>
@@ -182,7 +182,7 @@
182
182
  </a-button>
183
183
  </a-popover>
184
184
  <a-button
185
- v-show="lastStep"
185
+ v-if="lastStep"
186
186
  type="primary"
187
187
  @click="lastStepNextClick"
188
188
  >
@@ -198,14 +198,14 @@
198
198
  <!-- 退回 -->
199
199
  <a-tab-pane v-if="canSubmit && !beforeStepActive && showPrevBtn && !workflowState" key="2" tab="退回">
200
200
  <a-form layout="vertical">
201
- <a-form-item label="退回原因" :wrapper-col="{ span: 10 }" required>
201
+ <a-form-item label="退回原因" :wrapper-col="{ span: 24 }" required>
202
202
  <a-textarea
203
203
  v-model="note"
204
204
  :auto-size="{ minRows: 4, maxRows: 10 }"
205
205
  placeholder="请填写退回原因 / 备注"
206
206
  />
207
207
  </a-form-item>
208
- <a-form-item :wrapper-col="{ offset: 4 }">
208
+ <a-form-item :wrapper-col="{ offset: 11 }">
209
209
  <a-popover :title="preBtnTitle">
210
210
  <template slot="content">
211
211
  <p v-for="(item,index) in preBtnText" :key="index">{{ item }}</p>
@@ -711,7 +711,8 @@ export default {
711
711
  businessType: '修改',
712
712
  formItems: this.stepDefine,
713
713
  layout: properties.form.xAddFormLayout,
714
- showSubmitBtn: false
714
+ showSubmitBtn: false,
715
+ isKeyHandle: false
715
716
  })
716
717
  })
717
718
  } else {
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://aote-office.8866.org:31567'
14
+ const v3Server = 'http://192.168.50.67:31567'
15
15
  // const gateway = 'http://192.168.50.67:31467'
16
16
  // const testUpload = 'http://123.60.214.109:8406'
17
17
  const OSSServerDev = 'http://192.168.50.67:30351'
18
18
  // const revenue = 'http://aote-office.8866.org:31567'
19
- const revenue = 'http://aote-office.8866.org:31567'
19
+ const revenue = 'http://192.168.50.67:31567'
20
20
  // const OSSServerProd = 'http://192.168.50.67:31351'
21
21
  // const testUploadLocal = 'http://127.0.0.1:9001'
22
22
  // v3 铜川
@@ -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>