cloud-web-corejs 1.0.54-dev.13 → 1.0.54-dev.130

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 (169) hide show
  1. package/package.json +9 -3
  2. package/src/components/Qrcode/fileParse.vue +0 -1
  3. package/src/components/VabUpload/index.vue +2 -1
  4. package/src/components/VabUpload/mixins.js +1 -1
  5. package/src/components/VabUpload/view.vue +4 -3
  6. package/src/components/advancedSearchDialog/mixins.js +28 -1
  7. package/src/components/excelExport/exportFieldDialog.vue +16 -6
  8. package/src/components/excelExport/index.js +2 -1
  9. package/src/components/excelExport/index.vue +8 -6
  10. package/src/components/excelExport/mixins.js +1 -2
  11. package/src/components/excelImport/index.vue +2 -1
  12. package/src/components/excelImport/mixins.js +1 -1
  13. package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
  14. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +1 -1
  15. package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
  16. package/src/components/fileLibrary/filterDialog.vue +383 -0
  17. package/src/components/fileLibrary/index.vue +23 -24
  18. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  19. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  20. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  21. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +15 -10
  22. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +8 -5
  23. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  24. package/src/components/fileLibrary/mixins/indexMixins.js +76 -26
  25. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  26. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  27. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  28. package/src/components/fileLibrary/shareDialog.vue +1 -1
  29. package/src/components/jsonImport/mixins.js +1 -1
  30. package/src/components/onlineTalk/index.vue +327 -5
  31. package/src/components/onlineTalk/mixins.js +1 -1
  32. package/src/components/table/index.js +12 -10
  33. package/src/components/table/tableForm.vue +38 -4
  34. package/src/components/table/tableFormMixin.js +265 -1
  35. package/src/components/wf/wf.js +1763 -1
  36. package/src/components/wf/wfStartDialog.vue +1 -1
  37. package/src/components/wf/wfUtil.js +279 -1
  38. package/src/components/xform/form-designer/designer.js +1514 -1
  39. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +35 -5
  40. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  41. package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
  42. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +6 -1
  43. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +6 -2
  44. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +10 -5
  45. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  46. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  47. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  48. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  49. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1026 -1
  50. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  51. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  52. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  53. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +67 -3
  54. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +9 -4
  55. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +8 -2
  56. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  57. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +80 -0
  58. package/src/components/xform/form-designer/indexMixin.js +773 -1
  59. package/src/components/xform/form-designer/setting-panel/form-setting.vue +59 -36
  60. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  61. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  62. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1051 -1042
  63. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  64. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +595 -299
  65. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  66. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  67. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  68. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +20 -1
  69. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  70. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  71. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  72. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  73. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +3 -0
  74. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  75. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +42 -4
  76. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  77. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +177 -0
  78. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
  79. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  80. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +1 -1
  81. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +242 -27
  82. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +4 -0
  83. package/src/components/xform/form-designer/toolbar-panel/index.vue +4 -3
  84. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +145 -147
  85. package/src/components/xform/form-render/container-item/data-table-item.vue +7 -6
  86. package/src/components/xform/form-render/container-item/data-table-mixin.js +2131 -18
  87. package/src/components/xform/form-render/indexMixin.js +1792 -1
  88. package/src/components/xform/lang/zh-CN.js +1 -1
  89. package/src/components/xform/mixins/defaultHandle.js +120 -1
  90. package/src/components/xform/mixins/scriptHttp.js +82 -1
  91. package/src/components/xform/utils/emitter.js +4 -4
  92. package/src/components/xform/utils/util.js +1631 -1
  93. package/src/layout/components/Sidebar/default.vue +50 -6
  94. package/src/layout/components/TagsView/index.vue +0 -1
  95. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  96. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  97. package/src/layout/components/extractedCode/viewDialog.vue +192 -0
  98. package/src/mixins/selectDialog/index.js +1 -1
  99. package/src/router/modules/customer.js +15 -0
  100. package/src/store/config/index.js +664 -1
  101. package/src/store/modules/permission.js +1 -1
  102. package/src/store/modules/user.js +1 -1
  103. package/src/utils/index.js +4 -2
  104. package/src/utils/pddLog.js +103 -0
  105. package/src/utils/request.js +28 -28
  106. package/src/utils/vab.js +1 -1
  107. package/src/views/bd/setting/form_import_log/edit.vue +126 -0
  108. package/src/views/bd/setting/form_import_log/list.vue +204 -0
  109. package/src/views/bd/setting/form_script/edit1.vue +1 -1
  110. package/src/views/bd/setting/form_script/mixins/edit.js +167 -1
  111. package/src/views/bd/setting/form_script/mixins/edit1.js +165 -1
  112. package/src/views/bd/setting/form_script/mixins/list.js +176 -1
  113. package/src/views/bd/setting/form_script/mixins/list1.js +345 -14
  114. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  115. package/src/views/bd/setting/form_template/edit.vue +9 -1
  116. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  117. package/src/views/bd/setting/form_template/list.vue +4 -2
  118. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  119. package/src/views/bd/setting/form_template/mixins/edit.js +170 -1
  120. package/src/views/bd/setting/form_template/mixins/list.js +608 -22
  121. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  122. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  123. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  124. package/src/views/bd/setting/menu_kind/mixins/list.js +176 -1
  125. package/src/views/bd/setting/table_model/edit.vue +71 -13
  126. package/src/views/bd/setting/table_model/list.vue +4 -2
  127. package/src/views/bd/setting/table_model/mixins/edit.js +901 -13
  128. package/src/views/bd/setting/table_model/mixins/list.js +362 -14
  129. package/src/views/user/area/dialog.vue +21 -9
  130. package/src/views/user/bill_setting/edit.vue +1 -1
  131. package/src/views/user/bill_setting/list.vue +1 -1
  132. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  133. package/src/views/user/common_attribute/list.vue +1 -1
  134. package/src/views/user/common_script/edit.vue +1 -1
  135. package/src/views/user/common_script/list.vue +1 -1
  136. package/src/views/user/company_info/dialog.vue +164 -154
  137. package/src/views/user/company_info/edit.vue +1 -1
  138. package/src/views/user/extend_datasource/dialog.vue +1 -0
  139. package/src/views/user/extend_datasource/edit.vue +3 -0
  140. package/src/views/user/extend_datasource/list.vue +2 -1
  141. package/src/views/user/file_type/edit.vue +30 -1
  142. package/src/views/user/file_type/list.vue +28 -0
  143. package/src/views/user/form/vform/designer.vue +5 -1
  144. package/src/views/user/groups/edit.vue +2 -0
  145. package/src/views/user/groups/list.vue +1 -0
  146. package/src/views/user/home/default.vue +15 -11
  147. package/src/views/user/home/dev.vue +29 -0
  148. package/src/views/user/home/index.vue +16 -6
  149. package/src/views/user/login/default.vue +4 -2
  150. package/src/views/user/login/index2.vue +131 -0
  151. package/src/views/user/notify_message/dialog.vue +1 -1
  152. package/src/views/user/outLink/form_view.vue +39 -12
  153. package/src/views/user/outLink/index.vue +17 -0
  154. package/src/views/user/outLink/view.vue +39 -13
  155. package/src/views/user/position/list.vue +4 -4
  156. package/src/views/user/push_setting/list.vue +2 -2
  157. package/src/views/user/role/dialog.vue +1 -1
  158. package/src/views/user/role/list.vue +4 -4
  159. package/src/views/user/sale_org/dialog.vue +1 -1
  160. package/src/views/user/user/dialog.vue +1 -1
  161. package/src/views/user/user/edit.vue +9 -9
  162. package/src/views/user/user/form_edit.vue +63 -2
  163. package/src/views/user/user/form_info.vue +210 -0
  164. package/src/views/user/user/form_list.vue +1 -0
  165. package/src/views/user/user/list.vue +3 -3
  166. package/src/views/user/wf/wf_manage/list.vue +1 -1
  167. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  168. package/src/views/user/wf/wf_obj_config/list.vue +1 -13
  169. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -62,7 +62,7 @@
62
62
  </tr>
63
63
  <tr>
64
64
  <th>
65
- {{ $t1('企业编码') }}
65
+ {{ $t1('组织编码') }}
66
66
  </th>
67
67
  <td colspan="5">
68
68
  <el-form-item prop="exeCompanyCode" :rules="[{ required: false, trigger: 'blur' }]">
@@ -71,7 +71,7 @@
71
71
  </td>
72
72
  <td colspan="2"><span
73
73
  class="f-red">{{
74
- $t1('注:多个企业用逗号隔开,未配置全企业可见,已配置只允许配置企业才可见当前属性值。')
74
+ $t1('注:多个组织用逗号隔开,未配置全组织可见,已配置只允许配置组织才可见当前属性值。')
75
75
  }}</span></td>
76
76
  </tr>
77
77
  <tr>
@@ -272,7 +272,7 @@ export default {
272
272
  width: 150
273
273
  },
274
274
  {
275
- title: this.$t1('企业编码'),
275
+ title: this.$t1('组织编码'),
276
276
  field: 'exeCompanyCode',
277
277
  width: 250
278
278
  },
@@ -72,7 +72,7 @@
72
72
  </td>
73
73
  <th>
74
74
  <em class="f-red" v-if="!commonScript.allCompany">*</em>
75
- {{ $t1('执行企业编码') }}
75
+ {{ $t1('执行组织编码') }}
76
76
  </th>
77
77
  <td>
78
78
  <el-form-item prop="exeCompanyCode" :rules="[{ required: !commonScript.allCompany, trigger: 'blur' }]">
@@ -174,7 +174,7 @@ export default {
174
174
  width: 150
175
175
  },
176
176
  {
177
- title: this.$t1('执行企业编码'),
177
+ title: this.$t1('执行组织编码'),
178
178
  field: 'exeCompanyCode',
179
179
  width: 150
180
180
  },
@@ -1,154 +1,164 @@
1
- <template>
2
- <el-dialog
3
- :title="$t1('组织列表')"
4
- :append-to-body="true"
5
- :modal-append-to-body="true"
6
- :close-on-click-modal="falseValue"
7
- :visible.sync="showDialog"
8
- :modal="falseValue"
9
- custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
- width="1200px"
11
- @close="dialogClose"
12
- v-el-drag-dialog
13
- v-el-dialog-center
14
- >
15
- <div class="cont" style="height:450px">
16
- <vxe-grid
17
- class="is-pointer"
18
- ref="table-m1"
19
- v-bind="vxeOption"
20
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
21
- @custom="$vxeTableUtil.customHandle"
22
- @checkbox-change="addDataTable"
23
- @checkbox-all="checkAll"
24
- @cell-dblclick="checkWithSubmit"
25
- >
26
- <template #form>
27
- <div class="clearfix screen-btns">
28
- <div class="fr">
29
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
30
- plain>{{ $t1('重置') }}
31
- </vxe-button>
32
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
33
- {{ $t1('搜索') }}
34
- </vxe-button>
35
- </div>
36
- </div>
37
- <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
38
- @reset="resetEvent">
39
- <vxe-form-item :title="$t1('组织名称')+':'" field="companyName">
40
- <template v-slot>
41
- <el-input v-model="formData.companyName" size="small" clearable/>
42
- </template>
43
- </vxe-form-item>
44
- <vxe-button type="submit" @click="searchEvent" v-show="false"></vxe-button>
45
- </vxe-form>
46
- </template>
47
- </vxe-grid>
48
- </div>
49
- <label id="labBtn" class="transverse">
50
- <div class="icon">
51
- <i class="el-icon-more"></i>
52
- <i class="el-icon-more"></i>
53
- </div>
54
- </label>
55
- <div class="multipleChoice">
56
- <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
57
- class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
58
- <div class="list">
59
- <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
60
- <p>{{ checkRow.companyName }}</p>
61
- <a class="el-icon-close" @click="clearTable1Select(index)"></a>
62
- </div>
63
- </div>
64
- </div>
65
- <span slot="footer" class="dialog-footer">
66
- <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
67
- <el-button type="primary" plain class="button-sty" @click="dialogClose">
68
- <i class="el-icon-close el-icon"></i>
69
- {{ $t1('取 消') }}
70
- </el-button>
71
- <el-button type="primary" @click="dialogPrimary" class="button-sty">
72
- <i class="el-icon-check el-icon"></i>
73
- {{ $t1('确 定') }}
74
- </el-button>
75
- </span>
76
- </el-dialog>
77
- </template>
78
-
79
- <script>
80
- import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
81
-
82
- export default {
83
- name: 'company_info_dialog',
84
- props: ['visiable', 'multi', 'rows', 'param', 'firstEnabled'],
85
- mixins: [selectDialogMixins],
86
- created() {
87
- this.initSetting();
88
- },
89
- mounted() {
90
- this.initTableM1();
91
- },
92
- data() {
93
- var that = this;
94
- return {
95
- showDialog: true,
96
- falseValue: false,
97
- selectMulti: true,
98
- formData: {},
99
- vxeOption: {}
100
- };
101
- },
102
- methods: {
103
- initTableM1() {
104
- let that = this;
105
- let tableOption = {
106
- vue: that,
107
- tableRef: 'table-m1',
108
- tableName: 'basic_ompany_info_dialog_list',
109
- path: USER_PREFIX + '/user_company_info/getCurrentList',
110
- treeNodeUrl: USER_PREFIX + '/user_company_info/getChildren',
111
- treeNodeParam: function (row) {
112
- return {parentCompanyCode: row.companyCode};
113
- },
114
- param: () => {
115
- return this.formData;
116
- },
117
- columns: [
118
- {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
119
- {title: this.$t1('组织名称'), field: 'companyName', width: 250, fixed: 'left', treeNode: true},
120
- {title: this.$t1('组织编码'), field: 'companyCode', width: 200},
121
- {
122
- width: 47,
123
- fixed: 'right',
124
- title: '',
125
- sortable: false
126
- }
127
- ],
128
- config: {
129
- checkboxConfig: {
130
- checkStrictly: true,
131
- showHeader: this.selectMulti,
132
- trigger: 'row',
133
- checkMethod: ({row}) => {
134
- if (this.firstEnabled === 'true' || this.firstEnabled === true) {
135
- return true;
136
- } else {
137
- if (!row.parentCompanyCode) {
138
- return false;
139
- } else {
140
- return true;
141
- }
142
- }
143
- }
144
- }
145
- }
146
- };
147
-
148
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
149
- that.vxeOption = opts;
150
- });
151
- }
152
- }
153
- };
154
- </script>
1
+ <template>
2
+ <el-dialog
3
+ :title="title || $t1('组织列表')"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="true"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
+ width="1200px"
11
+ :before-close="handleBeforeClose"
12
+ @close="dialogClose"
13
+ v-el-drag-dialog
14
+ v-el-dialog-center
15
+ >
16
+ <div class="cont" style="height:65vh">
17
+ <vxe-grid
18
+ class="is-pointer"
19
+ ref="table-m1"
20
+ v-bind="vxeOption"
21
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
22
+ @custom="$vxeTableUtil.customHandle"
23
+ @checkbox-change="addDataTable"
24
+ @checkbox-all="checkAll"
25
+ @cell-dblclick="checkWithSubmit"
26
+ >
27
+ <template #form>
28
+ <div class="clearfix screen-btns">
29
+ <div class="fr">
30
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
31
+ plain>{{ $t1('重置') }}
32
+ </vxe-button>
33
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
34
+ {{ $t1('搜索') }}
35
+ </vxe-button>
36
+ </div>
37
+ </div>
38
+ <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
39
+ @reset="resetEvent">
40
+ <vxe-form-item :title="$t1('组织名称')+':'" field="companyName">
41
+ <template v-slot>
42
+ <el-input v-model="formData.companyName" size="small" clearable/>
43
+ </template>
44
+ </vxe-form-item>
45
+ <vxe-button type="submit" @click="searchEvent" v-show="false"></vxe-button>
46
+ </vxe-form>
47
+ </template>
48
+ </vxe-grid>
49
+ </div>
50
+ <label id="labBtn" class="transverse">
51
+ <div class="icon">
52
+ <i class="el-icon-more"></i>
53
+ <i class="el-icon-more"></i>
54
+ </div>
55
+ </label>
56
+ <div class="multipleChoice">
57
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
58
+ class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
59
+ <div class="list">
60
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
61
+ <p>{{ checkRow.companyName }}</p>
62
+ <a class="el-icon-close" @click="clearTable1Select(index)"></a>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ <span slot="footer" class="dialog-footer">
67
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
68
+ <el-button type="primary" plain class="button-sty" @click="dialogCancel">
69
+ <i class="el-icon-close el-icon"></i>
70
+ {{ $t1('取 消') }}
71
+ </el-button>
72
+ <el-button type="primary" @click="dialogPrimary" class="button-sty">
73
+ <i class="el-icon-check el-icon"></i>
74
+ {{ $t1('确 定') }}
75
+ </el-button>
76
+ </span>
77
+ </el-dialog>
78
+ </template>
79
+
80
+ <script>
81
+ import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
82
+
83
+ export default {
84
+ name: 'company_info_dialog',
85
+ props: ['title', 'visiable', 'multi', 'rows', 'param', 'firstEnabled', 'allCompany'],
86
+ mixins: [selectDialogMixins],
87
+ created() {
88
+ if (this.$attrs.fieldKey) this.fieldKey = this.$attrs.fieldKey;
89
+ this.initSetting();
90
+ },
91
+ mounted() {
92
+ this.initTableM1();
93
+ },
94
+ data() {
95
+ return {
96
+ showDialog: true,
97
+ falseValue: false,
98
+ selectMulti: true,
99
+ formData: {},
100
+ vxeOption: {},
101
+ };
102
+ },
103
+ methods: {
104
+ initTableM1() {
105
+ let that = this;
106
+ let path = USER_PREFIX + '/user_company_info/getCurrentList';
107
+ let treeNodeUrl = USER_PREFIX + '/user_company_info/getChildren';
108
+ if (this.allCompany) {
109
+ path = USER_PREFIX + '/company_info/getRoot';
110
+ treeNodeUrl = USER_PREFIX + '/company_info/getChildren';
111
+ }
112
+ let tableOption = {
113
+ vue: that,
114
+ tableRef: 'table-m1',
115
+ tableName: 'basic_ompany_info_dialog_list',
116
+ path: path,
117
+ treeNodeUrl: treeNodeUrl,
118
+ treeNodeParam: function (row) {
119
+ return {enabled: true, parentCompanyCode: row.companyCode};
120
+ },
121
+ param: () => {
122
+ return {
123
+ enabled: true,
124
+ ...this.formData
125
+ }
126
+ },
127
+ columns: [
128
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
129
+ {title: this.$t1('组织名称'), field: 'companyName', width: 250, fixed: 'left', treeNode: true},
130
+ {title: this.$t1('组织编码'), field: 'companyCode', width: 200},
131
+ {
132
+ width: 47,
133
+ fixed: 'right',
134
+ title: '',
135
+ sortable: false
136
+ }
137
+ ],
138
+ config: {
139
+ checkboxConfig: {
140
+ checkStrictly: true,
141
+ showHeader: this.selectMulti,
142
+ trigger: 'row',
143
+ checkMethod: ({row}) => {
144
+ if (this.firstEnabled === 'true' || this.firstEnabled === true) {
145
+ return true;
146
+ } else {
147
+ if (!row.parentCompanyCode) {
148
+ return false;
149
+ } else {
150
+ return true;
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ };
157
+
158
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
159
+ that.vxeOption = opts;
160
+ });
161
+ }
162
+ }
163
+ };
164
+ </script>
@@ -46,7 +46,7 @@
46
46
  </tr>
47
47
  <tr>
48
48
  <th>
49
- {{ $t1('企业默认首页') }}
49
+ {{ $t1('组织默认首页') }}
50
50
  </th>
51
51
  <td colspan="3">
52
52
  <el-form-item prop="defaultHomePage" :rules="[{ required: false, trigger: 'blur' }]">
@@ -119,6 +119,7 @@ export default {
119
119
  tableRef: 'table-m1',
120
120
  tableName: 'report_datasource_dialog-m1',
121
121
  path: USER_PREFIX + '/extend_datasource/listPage',
122
+ aes: true,
122
123
  param: () => {
123
124
  return {
124
125
  enabled: true,
@@ -168,6 +168,7 @@ export default {
168
168
  if (this.dataId && !isNaN(this.dataId)) {
169
169
  this.isEdit = true;
170
170
  this.$http({
171
+ aes: true,
171
172
  url: USER_PREFIX + `/extend_datasource/get`,
172
173
  method: `post`,
173
174
  data: {
@@ -189,6 +190,7 @@ export default {
189
190
  if (valid) {
190
191
  this.$baseConfirm(this.$t1('您确定要测试数据库链接吗?')).then(() => {
191
192
  this.$http({
193
+ aes: true,
192
194
  url: USER_PREFIX + '/extend_datasource/dblinktest',
193
195
  method: `post`,
194
196
  data: this.dataSource,
@@ -211,6 +213,7 @@ export default {
211
213
  this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
212
214
  var url = USER_PREFIX + (this.isEdit ? `/extend_datasource/update` : `/extend_datasource/save`);
213
215
  this.$http({
216
+ aes: true,
214
217
  url: url,
215
218
  method: `post`,
216
219
  data: this.dataSource,
@@ -72,7 +72,7 @@
72
72
  import editView from './edit.vue';
73
73
 
74
74
  export default {
75
- name: 'report_datasource:list',
75
+ name: 'extend_datasource:list',
76
76
  components: {editView},
77
77
  data() {
78
78
  return {
@@ -106,6 +106,7 @@ export default {
106
106
  tableRef: 'table-m1',
107
107
  tableName: 'user_report_datasource_list-m1',
108
108
  path: USER_PREFIX + '/extend_datasource/listPage',
109
+ aes: true,
109
110
  param: () => {
110
111
  return this.formData;
111
112
  },
@@ -55,6 +55,30 @@
55
55
  </el-radio-group>
56
56
  </el-form-item>
57
57
  </td>
58
+ <th>
59
+ <em class="f-red">*</em>
60
+ {{ $t1('文件操作,是否发系统通知') }}
61
+ </th>
62
+ <td>
63
+ <el-form-item prop="toNotify" :rules="[{ required: true, trigger: 'blur' }]">
64
+ <el-radio-group v-model="fileStoreArea.toNotify">
65
+ <el-radio :label="1">{{ $t1('是') }}</el-radio>
66
+ <el-radio :label="0">{{ $t1('否') }}</el-radio>
67
+ </el-radio-group>
68
+ </el-form-item>
69
+ </td>
70
+ <th>
71
+ <em class="f-red">*</em>
72
+ {{ $t1('文件下载,是否打水印') }}
73
+ </th>
74
+ <td>
75
+ <el-form-item prop="toDownWatermark" :rules="[{ required: true, trigger: 'blur' }]">
76
+ <el-radio-group v-model="fileStoreArea.toDownWatermark">
77
+ <el-radio :label="1">{{ $t1('是') }}</el-radio>
78
+ <el-radio :label="0">{{ $t1('否') }}</el-radio>
79
+ </el-radio-group>
80
+ </el-form-item>
81
+ </td>
58
82
  </tr>
59
83
  <tr>
60
84
  <th>{{ $t1('备注') }}</th>
@@ -94,7 +118,12 @@ export default {
94
118
  tabIndex: 0,
95
119
  isEdit: false,
96
120
  dataId: '',
97
- fileStoreArea: {storeAreaType: 0, hasAuth: 0},
121
+ fileStoreArea: {
122
+ storeAreaType: 0,
123
+ hasAuth: 0,
124
+ toNotify: 0,
125
+ toDownWatermark: 0
126
+ },
98
127
  };
99
128
  },
100
129
  created() {
@@ -154,6 +154,34 @@ export default {
154
154
  }
155
155
  }
156
156
  },
157
+ {
158
+ field: 'toNotify',
159
+ title: this.$t1('文件操作,是否发系统通知'),
160
+ width: 220,
161
+ slots: {
162
+ default: ({row}) => {
163
+ if (row.toNotify == 1) {
164
+ return [<div class="txt-status">{this.$t1('是')}</div>];
165
+ } else {
166
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
167
+ }
168
+ }
169
+ }
170
+ },
171
+ {
172
+ field: 'toDownWatermark',
173
+ title: this.$t1('文件下载,是否打水印'),
174
+ width: 200,
175
+ slots: {
176
+ default: ({row}) => {
177
+ if (row.toDownWatermark == 1) {
178
+ return [<div class="txt-status">{this.$t1('是')}</div>];
179
+ } else {
180
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
181
+ }
182
+ }
183
+ }
184
+ },
157
185
  {
158
186
  title: this.$t1('备注'),
159
187
  field: 'note',
@@ -12,6 +12,7 @@
12
12
  @form-json-updated="handleFJU"
13
13
  @reflushTemplateList="reflushTemplateList"
14
14
  v-if="showDesinger"
15
+ :readonly="readonly"
15
16
  />
16
17
  </div><!--
17
18
  <el-tabs v-model="activeName" class="tab-boxCard tabCard-sty1" v-if="showDesinger">
@@ -32,7 +33,10 @@ import {formFieldMapping} from "../../../../views/user/form/vform/formFieldMappi
32
33
 
33
34
  export default {
34
35
  name: 'vform-designer:edit',
35
- props: ['formCode'],
36
+ props: {
37
+ formCode: String,
38
+ readonly: Boolean
39
+ },
36
40
  components: {
37
41
  VFormDesigner
38
42
  },
@@ -76,6 +76,7 @@ export default {
76
76
  if (this.dataId && !isNaN(this.dataId)) {
77
77
  this.isEdit = true;
78
78
  this.$commonHttp({
79
+ aes:true,
79
80
  url: USER_PREFIX + `/groups/get`,
80
81
  method: `post`,
81
82
  data: {
@@ -95,6 +96,7 @@ export default {
95
96
  this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
96
97
  var url = USER_PREFIX + (this.isEdit ? `/groups/update` : `/groups/save`);
97
98
  this.$http({
99
+ aes:true,
98
100
  url: url,
99
101
  method: `post`,
100
102
  data: this.groups,
@@ -86,6 +86,7 @@ export default {
86
86
  vue: this,
87
87
  tableRef: 'table-m1',
88
88
  tableName: 'user_groups_list-m1',
89
+ aes: true,
89
90
  path: USER_PREFIX + '/groups/listPage',
90
91
  param: () => {
91
92
  return this.formData;
@@ -44,7 +44,7 @@
44
44
  </div>
45
45
  </el-card>
46
46
  </el-col>
47
- <el-col :span="homeConfig.toDoSpan || 12" style="padding-left:6px;">
47
+ <el-col :span="homeConfig.toDoSpan || 16" style="padding-left:6px;">
48
48
  <el-card class="box-card">
49
49
  <div slot="header" class="clearfix">
50
50
  <span style="float:left">
@@ -67,8 +67,10 @@
67
67
  @custom="$vxeTableUtil.customHandle"></vxe-grid>
68
68
  </div>
69
69
  </el-card>
70
- </el-col>
71
- <el-col :span="4" style="padding-left:6px;" v-show="homeConfig.showFastTrack!==false">
70
+ </el-col>
71
+ </el-row>
72
+ <el-row>
73
+ <el-col :span="24" v-show="homeConfig.showFastTrack!==false">
72
74
  <el-card class="box-card">
73
75
  <div slot="header" class="clearfix">
74
76
  <span style="float:left">
@@ -731,14 +733,14 @@ body #app .index-home {
731
733
  }
732
734
 
733
735
  .fast-box {
734
- height: 329px;
736
+ margin: 6px 4px 4px;
735
737
  overflow: hidden;
736
738
 
737
739
  .item {
738
- width: 100%;
740
+ width: 118px;
739
741
  text-align: center;
740
742
  float: left;
741
-
743
+ margin-right: 14px;
742
744
  p {
743
745
  color: #2a6494;
744
746
  border: solid 1px #e2e2e2;
@@ -746,8 +748,8 @@ body #app .index-home {
746
748
  width: calc(100% - 4px);
747
749
  border-radius: 6px;
748
750
  position: relative;
749
- height: 33px;
750
- line-height: 32px;
751
+ height: 54px;
752
+ line-height: 54px;
751
753
  text-align: left;
752
754
  padding-left: 14px;
753
755
  font-size: 12px;
@@ -765,12 +767,13 @@ body #app .index-home {
765
767
  &:before {
766
768
  content: '';
767
769
  width: 4px;
768
- height: 14px;
770
+ height: 24px;
769
771
  display: inline-block;
770
772
  background: #225279b8;
771
773
  position: absolute;
772
774
  left: -1px;
773
- top: 9px;
775
+ top: 50%;
776
+ margin-top:-12px;
774
777
  }
775
778
 
776
779
  &:hover {
@@ -974,6 +977,7 @@ body #app .index-home {
974
977
  color: $baseColor
975
978
  }
976
979
  }
977
- }
980
+ }
981
+ ::v-deep .el-card.is-always-shadow{box-shadow: 0 2px 2px 0 rgb(0 0 0 / 6%);}
978
982
  }
979
983
  </style>