cloud-web-corejs-haier 1.0.5 → 1.0.6
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 +7 -4
- package/src/App.vue +30 -34
- package/src/api/user.js +8 -0
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/image-viewer.vue +2 -2
- package/src/components/VabUpload/index.js +1 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
- package/src/components/VabUpload/view.vue +6 -2
- package/src/components/base-textarea/index.vue +104 -0
- package/src/components/baseAlert/mixins.js +1 -1
- package/src/components/baseAttachment/mixins.js +2 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +1 -1
- package/src/components/baseTabs/mixins.js +1 -1
- package/src/components/code-editor/index.vue +102 -63
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +1 -1
- package/src/components/errorMsg/index.vue +42 -34
- package/src/components/errorMsg/mixins.js +1 -1
- package/src/components/excelExport/index.js +1 -2
- package/src/components/excelExport/mixins.js +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +179 -89
- package/src/components/fileLibrary/filterDialog.vue +45 -21
- package/src/components/fileLibrary/index.vue +579 -238
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +4 -1
- package/src/components/fileLibrary/mixins/indexMixins.js +3 -0
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptTest/mixins.js +1 -1
- package/src/components/table/index.js +12 -12
- package/src/components/tempStorage/index.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +0 -1
- package/src/components/wf/content.vue +32 -36
- package/src/components/wf/mixins/setCandidateDialog2.js +1 -1
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -3
- package/src/components/wf/setCandidateDialog2.vue +76 -66
- package/src/components/wf/wf.js +2176 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +5 -1
- package/src/components/wf/wfStartDialog.vue +6 -10
- package/src/components/wf/wfUtil.js +279 -1
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +16 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +17 -4
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +247 -187
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +2 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +10 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +65 -4
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +132 -118
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +5 -1
- package/src/components/xform/form-render/index.vue +8 -0
- package/src/components/xform/form-render/indexMixin copy.js +3462 -0
- package/src/components/xform/form-render/indexMixin.js +3496 -1
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/utils/format.js +14 -4
- package/src/components/xform/utils/formula-util.js +0 -4
- package/src/components/xform/utils/util.js +1 -1
- package/src/index.js +215 -190
- package/src/lang/index.js +56 -51
- package/src/lang/locale/en/login.js +20 -0
- package/src/lang/locale/zh/login.js +20 -0
- package/src/layout/components/Sidebar/default.vue +1423 -1266
- package/src/layout/components/TagsView/index.vue +37 -11
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/viewDialog.vue +1 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/layout/index.vue +3 -5
- package/src/mixins/table/index.js +151 -0
- package/src/permission.js +1 -18
- package/src/router/modules/customer.js +3 -8
- package/src/store/getters.js +24 -23
- package/src/store/modules/user.js +1 -30
- package/src/utils/vab.js +1 -1
- package/src/views/bd/setting/config_manage/list.vue +36 -19
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +29 -3
- package/src/views/bd/setting/form_script/form_list.vue +99 -37
- package/src/views/bd/setting/form_script/list1.vue +181 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +199 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +410 -1
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/edit.vue +13 -0
- package/src/views/bd/setting/form_template/list.vue +326 -214
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +279 -1
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +667 -3
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +1 -91
- package/src/views/bd/setting/logic_param/mixins/list.js +2 -362
- package/src/views/bd/setting/menu_kind/list.vue +172 -87
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/table_model/edit.vue +345 -304
- package/src/views/bd/setting/table_model/list.vue +190 -128
- package/src/views/bd/setting/table_model/mixins/edit.js +1191 -1
- package/src/views/bd/setting/table_model/mixins/list.js +428 -2
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +223 -116
- package/src/views/user/area/list.vue +318 -0
- package/src/views/user/common_attribute/list.vue +4 -1
- package/src/views/user/extend_datasource/dialog.vue +3 -0
- package/src/views/user/extend_datasource/edit.vue +2 -1
- package/src/views/user/extend_datasource/list.vue +3 -0
- package/src/views/user/form/vform/designer.vue +2 -1
- package/src/views/user/home/bears/index.vue +1032 -0
- package/src/views/user/home/default.vue +6 -5
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/ledger_library/list.vue +10 -12
- package/src/views/user/login/default.vue +165 -36
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +184 -8
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/notify_message/dialog.vue +2 -6
- package/src/views/user/outLink/index.vue +57 -18
- package/src/views/user/role/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +114 -4
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/list.vue +652 -582
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +137 -28
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +15 -116
- package/src/views/user/wf/wf_obj_config/itemOperateDialog.vue +414 -0
- package/src/views/user/wf/wf_obj_config/list.vue +84 -78
- package/src/views/user/wf/wf_transfer_setting/edit.vue +52 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +10 -0
- package/src/components/xform/form-render/container-item/data-table-mixin2.js +0 -2169
- package/src/views/bd/setting/table_model/mixins/edit copy.js +0 -903
- package/src/views/user/login/index2.vue +0 -131
|
@@ -105,7 +105,7 @@ export default {
|
|
|
105
105
|
let billData = this.option.data() || {};
|
|
106
106
|
let data = JSON.stringify(billData);
|
|
107
107
|
|
|
108
|
-
let that = this.option.vue || this
|
|
108
|
+
let that = this.option.vue || this.$attrs["parent-target"] || this.$parent;
|
|
109
109
|
this.showSubmitDialog = false;
|
|
110
110
|
that.$http({
|
|
111
111
|
url: url,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
<template #default>
|
|
9
9
|
<div
|
|
10
10
|
style="margin: -36px 0 8px 124px; position: relative; z-index: 2; height: 28px"
|
|
11
|
+
v-if="!wfConfig.hiddenAllButton"
|
|
11
12
|
>
|
|
12
13
|
<el-button
|
|
13
14
|
type="success"
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
icon="iconfont icon-zhuanban"
|
|
46
47
|
>{{ $t2("转办", "components.wf.transfer") }}
|
|
47
48
|
</el-button>
|
|
48
|
-
<el-button
|
|
49
|
+
<!-- <el-button
|
|
49
50
|
type="primary"
|
|
50
51
|
class="button-sty"
|
|
51
52
|
@click="openUrgingDialog"
|
|
@@ -100,7 +101,7 @@
|
|
|
100
101
|
:wfInfo="wfInfo"
|
|
101
102
|
:wfSendTaskId="wfSendTaskId"
|
|
102
103
|
:current_prefix="current_prefix"
|
|
103
|
-
></addOpinionButton>
|
|
104
|
+
></addOpinionButton> -->
|
|
104
105
|
<el-button
|
|
105
106
|
type="primary"
|
|
106
107
|
class="button-sty"
|
|
@@ -134,8 +135,9 @@
|
|
|
134
135
|
</div>
|
|
135
136
|
<div class="flow-tree" style="padding-right: 0" v-show="showFlowImg == true">
|
|
136
137
|
<div class="flow-box">
|
|
137
|
-
<img :src="wfImage" />
|
|
138
|
-
<
|
|
138
|
+
<!-- <img :src="wfImage" /> -->
|
|
139
|
+
<iframe :src="wfImage" style="max-width: 100%;max-height: 100%;min-height:300px;width: 100%"></iframe>
|
|
140
|
+
<!-- <el-tooltip
|
|
139
141
|
:enterable="false"
|
|
140
142
|
class="item"
|
|
141
143
|
effect="dark"
|
|
@@ -147,7 +149,7 @@
|
|
|
147
149
|
@click="$window.open(wfImage)"
|
|
148
150
|
style="right: 0"
|
|
149
151
|
></i>
|
|
150
|
-
</el-tooltip>
|
|
152
|
+
</el-tooltip> -->
|
|
151
153
|
</div>
|
|
152
154
|
</div>
|
|
153
155
|
<div v-show="showWfInfoTab">
|
|
@@ -183,60 +185,54 @@
|
|
|
183
185
|
>
|
|
184
186
|
<div class="time">
|
|
185
187
|
{{
|
|
186
|
-
wftaskLineData.
|
|
187
|
-
? wftaskLineData.
|
|
188
|
+
wftaskLineData.modifyDate
|
|
189
|
+
? wftaskLineData.modifyDate.substring(0, 10)
|
|
188
190
|
: ""
|
|
189
191
|
}}
|
|
190
192
|
<br />
|
|
191
193
|
{{
|
|
192
|
-
wftaskLineData.
|
|
193
|
-
? wftaskLineData.
|
|
194
|
+
wftaskLineData.modifyDate
|
|
195
|
+
? wftaskLineData.modifyDate.substring(11)
|
|
194
196
|
: ""
|
|
195
197
|
}}
|
|
196
198
|
</div>
|
|
197
199
|
<div
|
|
198
200
|
class="status"
|
|
199
|
-
:class="
|
|
200
|
-
taskStatuses[wftaskLineData.type]
|
|
201
|
-
? taskStatuses[wftaskLineData.type].class
|
|
202
|
-
: ''
|
|
203
|
-
"
|
|
201
|
+
:class="statusTypeMap[wftaskLineData.type]"
|
|
204
202
|
>
|
|
205
203
|
{{
|
|
206
|
-
|
|
207
|
-
? taskStatuses[wftaskLineData.type].value
|
|
208
|
-
: null
|
|
204
|
+
wftaskLineData.typeDesc
|
|
209
205
|
}}
|
|
210
206
|
</div>
|
|
211
207
|
<i class="circle"></i>
|
|
212
208
|
<div class="info">
|
|
213
209
|
<p>
|
|
214
|
-
<span class="name">{{ wftaskLineData.
|
|
210
|
+
<span class="name">{{ wftaskLineData.nodeName }}</span>
|
|
215
211
|
<span
|
|
216
212
|
>{{ $t2("执行人", "components.wf.approverName") }}:{{
|
|
217
|
-
wftaskLineData.
|
|
213
|
+
wftaskLineData.approveName
|
|
218
214
|
}}</span
|
|
219
215
|
>
|
|
220
216
|
<span>
|
|
221
217
|
{{ $t2("候选人", "components.wf.candidateName") }}:
|
|
222
218
|
<span>
|
|
223
219
|
<span style="float: left; width: auto; margin-right: 10px">{{
|
|
224
|
-
wftaskLineData.
|
|
220
|
+
wftaskLineData.collaboratorName
|
|
225
221
|
}}</span>
|
|
226
|
-
<setCandidateButton
|
|
222
|
+
<!-- <setCandidateButton
|
|
227
223
|
v-if="wftaskLineData.flag == 1"
|
|
228
224
|
style="float: left; width: auto"
|
|
229
225
|
:current_prefix="current_prefix"
|
|
230
226
|
:wfInfo="wfInfo"
|
|
231
227
|
:checkRow="wftaskLineData"
|
|
232
228
|
@confirm="reloadContent()"
|
|
233
|
-
></setCandidateButton>
|
|
229
|
+
></setCandidateButton> -->
|
|
234
230
|
</span>
|
|
235
231
|
</span>
|
|
236
232
|
</p>
|
|
237
233
|
<p class="t">
|
|
238
234
|
<span class="t1">{{ $t2("备注/意见", "components.wf.opinion") }}:</span
|
|
239
|
-
><span>{{ wftaskLineData.
|
|
235
|
+
><span>{{ wftaskLineData.message }}</span>
|
|
240
236
|
</p>
|
|
241
237
|
</div>
|
|
242
238
|
</div>
|
|
@@ -244,7 +240,7 @@
|
|
|
244
240
|
<div class="title-five" v-if="showWfMemo">
|
|
245
241
|
<b>{{ $t1("发起人附言") }}</b>
|
|
246
242
|
<el-button
|
|
247
|
-
v-if="wfInfo.toAddMemo"
|
|
243
|
+
v-if="wfInfo.toAddMemo && !wfConfig.hiddenAllButton"
|
|
248
244
|
class="button-sty"
|
|
249
245
|
icon="el-icon-plus"
|
|
250
246
|
@click="openWfMemoDialog()"
|
|
@@ -287,7 +283,7 @@
|
|
|
287
283
|
class="button-sty"
|
|
288
284
|
@click="openTalkDialog()"
|
|
289
285
|
icon="el-icon-chat-dot-square"
|
|
290
|
-
v-if="wfInfo.toLinkup"
|
|
286
|
+
v-if="wfInfo.toLinkup && !wfConfig.hiddenAllButton"
|
|
291
287
|
>{{ $t2("沟通", "components.wf.talk") }}
|
|
292
288
|
</el-button>
|
|
293
289
|
</div>
|
|
@@ -454,7 +450,7 @@
|
|
|
454
450
|
>{{ $t2("沟通", "components.wf.talk")
|
|
455
451
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
456
452
|
><b class="f-red" style="font-size: 12px"
|
|
457
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
453
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
458
454
|
></span
|
|
459
455
|
>
|
|
460
456
|
</template>
|
|
@@ -564,7 +560,7 @@
|
|
|
564
560
|
>{{ $t1("发起人附言")
|
|
565
561
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
566
562
|
><b class="f-red" style="font-size: 12px"
|
|
567
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
563
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
568
564
|
></span
|
|
569
565
|
>
|
|
570
566
|
</template>
|
|
@@ -639,7 +635,7 @@
|
|
|
639
635
|
>{{ $t2("流程驳回", "components.wf.wfReject")
|
|
640
636
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
641
637
|
><b class="f-red" style="font-size: 12px"
|
|
642
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
638
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
643
639
|
></span
|
|
644
640
|
>
|
|
645
641
|
</template>
|
|
@@ -654,9 +650,9 @@
|
|
|
654
650
|
</span>
|
|
655
651
|
</th>
|
|
656
652
|
<td>
|
|
657
|
-
<el-form-item label="" field="
|
|
653
|
+
<el-form-item label="" field="nodeCode">
|
|
658
654
|
<el-select
|
|
659
|
-
v-model="rejectForm.
|
|
655
|
+
v-model="rejectForm.nodeCode"
|
|
660
656
|
:placeholder="
|
|
661
657
|
$t2('请选择驳回节点', 'components.wf.rejectNodePlaceholder')
|
|
662
658
|
"
|
|
@@ -664,7 +660,7 @@
|
|
|
664
660
|
<el-option
|
|
665
661
|
v-for="(rejectNode, index) in rejectNodes"
|
|
666
662
|
:label="rejectNode.nodeName"
|
|
667
|
-
:value="rejectNode.
|
|
663
|
+
:value="rejectNode.nodeCode"
|
|
668
664
|
:key="index"
|
|
669
665
|
></el-option>
|
|
670
666
|
</el-select>
|
|
@@ -725,7 +721,7 @@
|
|
|
725
721
|
>{{ $t2("流程通过", "components.wf.wfAgree")
|
|
726
722
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
727
723
|
><b class="f-red" style="font-size: 12px"
|
|
728
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
724
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
729
725
|
></span
|
|
730
726
|
>
|
|
731
727
|
</template>
|
|
@@ -818,7 +814,7 @@
|
|
|
818
814
|
>{{ $t2("流程转办", "components.wf.wfTransfer")
|
|
819
815
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
820
816
|
><b class="f-red" style="font-size: 12px"
|
|
821
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
817
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
822
818
|
></span
|
|
823
819
|
>
|
|
824
820
|
</template>
|
|
@@ -912,7 +908,7 @@
|
|
|
912
908
|
>{{ $t2("流程中断", "components.wf.wfManual")
|
|
913
909
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
914
910
|
><b class="f-red" style="font-size: 12px"
|
|
915
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
911
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
916
912
|
></span
|
|
917
913
|
>
|
|
918
914
|
</template>
|
|
@@ -949,7 +945,7 @@
|
|
|
949
945
|
>{{ $t2("流程撤回", "components.wf.wfRevoke")
|
|
950
946
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
951
947
|
><b class="f-red" style="font-size: 12px"
|
|
952
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
948
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
953
949
|
></span
|
|
954
950
|
>
|
|
955
951
|
</template>
|
|
@@ -1012,7 +1008,7 @@
|
|
|
1012
1008
|
>{{ $t2("流程加签", "components.wf.wfAddIncreaseSign")
|
|
1013
1009
|
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
|
1014
1010
|
><b class="f-red" style="font-size: 12px"
|
|
1015
|
-
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.
|
|
1011
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.nodeName }}</b
|
|
1016
1012
|
></span
|
|
1017
1013
|
>
|
|
1018
1014
|
</template>
|