cloud-web-corejs-haier 1.0.4 → 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 +1 -1
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- 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/index.js +1 -6
- 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
|
@@ -115,6 +115,11 @@
|
|
|
115
115
|
:objConfigItem="objConfigItem" :serviceId="currentRow.serviceId"></wfBizDataSettingDialog>
|
|
116
116
|
|
|
117
117
|
<importItemDialog v-if="showImportItemDialog" :visiable.sync="showImportItemDialog" @confirm="confirmImportItemDialog"/>
|
|
118
|
+
<itemOperateDialog v-if="showItemOperateDialog" :visiable.sync="showItemOperateDialog"
|
|
119
|
+
@close="closeItemOperateDialog"
|
|
120
|
+
@openWfDesignDialog="openWfDesignDialog"
|
|
121
|
+
:row="operateItemRow"
|
|
122
|
+
:pRow="currentRow"></itemOperateDialog>
|
|
118
123
|
</div>
|
|
119
124
|
</template>
|
|
120
125
|
<script>
|
|
@@ -131,8 +136,10 @@ import wfDiyAttributeEdit from '../../../../views/user/wf/wf_diy_attribute/edit'
|
|
|
131
136
|
import wfBizDataSettingDialog from "./wfBizDataSettingDialog";
|
|
132
137
|
|
|
133
138
|
import importItemDialog from "./importItemDialog.vue";
|
|
139
|
+
import {getToken} from "@base/utils/auth"
|
|
134
140
|
|
|
135
|
-
|
|
141
|
+
import itemOperateDialog from './itemOperateDialog'
|
|
142
|
+
import settingConfig from "@base/settings"
|
|
136
143
|
|
|
137
144
|
export default {
|
|
138
145
|
name: 'wf_obj_config:list',
|
|
@@ -145,7 +152,8 @@ export default {
|
|
|
145
152
|
scriptDescriptionDialog,
|
|
146
153
|
wfDiyAttributeEdit,
|
|
147
154
|
wfBizDataSettingDialog,
|
|
148
|
-
importItemDialog
|
|
155
|
+
importItemDialog,
|
|
156
|
+
itemOperateDialog
|
|
149
157
|
},
|
|
150
158
|
created() {
|
|
151
159
|
},
|
|
@@ -196,7 +204,10 @@ export default {
|
|
|
196
204
|
|
|
197
205
|
objConfigItem: null,
|
|
198
206
|
showWfBizDataSettingDialog: false,
|
|
199
|
-
showImportItemDialog:false
|
|
207
|
+
showImportItemDialog:false,
|
|
208
|
+
|
|
209
|
+
operateItemRow:null,
|
|
210
|
+
showItemOperateDialog: false
|
|
200
211
|
};
|
|
201
212
|
},
|
|
202
213
|
watch: {
|
|
@@ -369,10 +380,9 @@ export default {
|
|
|
369
380
|
});
|
|
370
381
|
},
|
|
371
382
|
initTableM2() {
|
|
372
|
-
let
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
3: this.$t1('节点无候选人,无提示'),
|
|
383
|
+
let modelValueMap = {
|
|
384
|
+
CLASSICS: "经典模型",
|
|
385
|
+
MIMIC: "仿钉钉模型",
|
|
376
386
|
}
|
|
377
387
|
var that = this;
|
|
378
388
|
let tableOption1 = {
|
|
@@ -385,8 +395,8 @@ export default {
|
|
|
385
395
|
columns: [
|
|
386
396
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
387
397
|
{
|
|
388
|
-
title: this.$t1('
|
|
389
|
-
field: '
|
|
398
|
+
title: this.$t1('流程名称'),
|
|
399
|
+
field: 'flowName',
|
|
390
400
|
width: 150,
|
|
391
401
|
fixed: 'left'
|
|
392
402
|
},
|
|
@@ -396,8 +406,8 @@ export default {
|
|
|
396
406
|
width: 150
|
|
397
407
|
},
|
|
398
408
|
{
|
|
399
|
-
title: this.$t1('
|
|
400
|
-
field: '
|
|
409
|
+
title: this.$t1('流程编码'),
|
|
410
|
+
field: 'flowCode',
|
|
401
411
|
width: 150
|
|
402
412
|
},
|
|
403
413
|
{
|
|
@@ -420,70 +430,26 @@ export default {
|
|
|
420
430
|
}
|
|
421
431
|
},
|
|
422
432
|
{
|
|
423
|
-
|
|
424
|
-
|
|
433
|
+
field: 'published',
|
|
434
|
+
title: this.$t1('是否发布'),
|
|
425
435
|
width: 150,
|
|
426
436
|
slots: {
|
|
427
437
|
default: ({row}) => {
|
|
428
|
-
if (row.
|
|
429
|
-
return [<div class="txt-status">{this.$t1('
|
|
430
|
-
} else {
|
|
431
|
-
return [<div class="txt-status s-3">{this.$t1('否')}</div>];
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
title: this.$t1('驳回后提交模式'),
|
|
438
|
-
field: 'toRejectNode',
|
|
439
|
-
width: 180,
|
|
440
|
-
slots: {
|
|
441
|
-
default: ({row}) => {
|
|
442
|
-
if (row.toNextNode === 1) {
|
|
443
|
-
return [<div class="txt-status">{this.$t1('顺延下一步提交')}</div>];
|
|
444
|
-
} else if (row.toRejectNode) {
|
|
445
|
-
return [<div class="txt-status">{this.$t1('由提交人确定节点提交')}</div>];
|
|
438
|
+
if (row.published) {
|
|
439
|
+
return [<div class="txt-status">{this.$t1('已发布')}</div>];
|
|
446
440
|
} else {
|
|
447
|
-
return [<div class="txt-status s-3">{this.$t1('
|
|
441
|
+
return [<div class="txt-status s-3">{this.$t1('未发布')}</div>];
|
|
448
442
|
}
|
|
449
443
|
}
|
|
450
444
|
}
|
|
451
445
|
},
|
|
452
446
|
{
|
|
453
|
-
title: this.$t1('
|
|
454
|
-
field: '
|
|
455
|
-
width: 180,
|
|
456
|
-
slots: {
|
|
457
|
-
default: ({row}) => {
|
|
458
|
-
return startModeMap[row.startMode] || '';
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
title: this.$t1('跨任务跳过'),
|
|
464
|
-
field: 'skipSameUserTask',
|
|
447
|
+
title: this.$t1('设计器模型'),
|
|
448
|
+
field: 'modelValue',
|
|
465
449
|
width: 150,
|
|
466
450
|
slots: {
|
|
467
451
|
default: ({row}) => {
|
|
468
|
-
|
|
469
|
-
return [<div class="txt-status">{this.$t1('是')}</div>];
|
|
470
|
-
} else {
|
|
471
|
-
return [<div class="txt-status s-3">{this.$t1('否')}</div>];
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
title: this.$t1('是否允许流程启动更改候选人'),
|
|
478
|
-
field: 'startNoSetCandidate',
|
|
479
|
-
width: 230,
|
|
480
|
-
slots: {
|
|
481
|
-
default: ({row}) => {
|
|
482
|
-
if (row.startNoSetCandidate) {
|
|
483
|
-
return [<div class="txt-status">{this.$t1('否')}</div>];
|
|
484
|
-
} else {
|
|
485
|
-
return [<div class="txt-status s-3">{this.$t1('是')}</div>];
|
|
486
|
-
}
|
|
452
|
+
return modelValueMap[row.modelValue]
|
|
487
453
|
}
|
|
488
454
|
}
|
|
489
455
|
},
|
|
@@ -493,7 +459,12 @@ export default {
|
|
|
493
459
|
width: 200
|
|
494
460
|
},
|
|
495
461
|
{
|
|
496
|
-
|
|
462
|
+
field: 'modifyDate',
|
|
463
|
+
title: this.$t1('修改时间'),
|
|
464
|
+
width: 150
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
width: 100,
|
|
497
468
|
fixed: 'right',
|
|
498
469
|
sortable: false,
|
|
499
470
|
title: '',
|
|
@@ -515,7 +486,19 @@ export default {
|
|
|
515
486
|
<a
|
|
516
487
|
href="javascript:void(0);"
|
|
517
488
|
onClick={() => {
|
|
518
|
-
this.
|
|
489
|
+
this.openItemOperateDialog(row);
|
|
490
|
+
}}
|
|
491
|
+
class="a-link"
|
|
492
|
+
>
|
|
493
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('流程设置')} placement="top"
|
|
494
|
+
popper-class="tooltip-skin">
|
|
495
|
+
<i class="el-icon-setting"/>
|
|
496
|
+
</el-tooltip>
|
|
497
|
+
</a>
|
|
498
|
+
/* <a
|
|
499
|
+
href="javascript:void(0);"
|
|
500
|
+
onClick={() => {
|
|
501
|
+
this.wfEdit(row.definitionId, this.currentRow.serviceId);
|
|
519
502
|
}}
|
|
520
503
|
class="a-link"
|
|
521
504
|
>
|
|
@@ -528,10 +511,10 @@ export default {
|
|
|
528
511
|
href="javascript:void(0);"
|
|
529
512
|
class="a-link"
|
|
530
513
|
onclick={() => {
|
|
531
|
-
this.
|
|
514
|
+
this.wfPublish(row);
|
|
532
515
|
}}
|
|
533
516
|
>
|
|
534
|
-
<el-tooltip enterable={false} effect="dark" content={this.$t1('
|
|
517
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('发布')} placement="top"
|
|
535
518
|
popper-class="tooltip-skin">
|
|
536
519
|
<i class="el-icon-upload2"/>
|
|
537
520
|
</el-tooltip>
|
|
@@ -540,14 +523,14 @@ export default {
|
|
|
540
523
|
href="javascript:void(0);"
|
|
541
524
|
class="a-link"
|
|
542
525
|
onclick={() => {
|
|
543
|
-
this.
|
|
526
|
+
this.wfUnPublish(row);
|
|
544
527
|
}}
|
|
545
528
|
>
|
|
546
|
-
<el-tooltip enterable={false} effect="dark" content={this.$t1('
|
|
529
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('取消发布')} placement="top"
|
|
547
530
|
popper-class="tooltip-skin">
|
|
548
531
|
<i class="el-icon-download"/>
|
|
549
532
|
</el-tooltip>
|
|
550
|
-
</a
|
|
533
|
+
</a> */
|
|
551
534
|
];
|
|
552
535
|
}
|
|
553
536
|
}
|
|
@@ -566,26 +549,41 @@ export default {
|
|
|
566
549
|
$table1.setCheckboxRow(row, true);
|
|
567
550
|
});
|
|
568
551
|
this.currentRow = row;
|
|
552
|
+
this.loadTablemM2Data(row)
|
|
553
|
+
} else {
|
|
554
|
+
this.$refs['table-m2'].loadData([]);
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
loadTablemM2Data(row){
|
|
558
|
+
if(row && row.id){
|
|
569
559
|
this.$http({
|
|
570
560
|
method: 'post',
|
|
571
561
|
url: '/' + row.serviceId + '/wf_obj_config_item/list',
|
|
572
562
|
data: {objConfigId: row.id || ''},
|
|
573
563
|
success: res => {
|
|
574
564
|
let rows = res.objx || [];
|
|
575
|
-
/* rows.forEach(function(item) {
|
|
576
|
-
item.name = row.name;
|
|
577
|
-
}); */
|
|
578
565
|
this.$refs['table-m2'].loadData(rows);
|
|
579
566
|
}
|
|
580
567
|
});
|
|
581
|
-
}
|
|
568
|
+
}else{
|
|
582
569
|
this.$refs['table-m2'].loadData([]);
|
|
583
570
|
}
|
|
584
571
|
},
|
|
572
|
+
openWfDesignDialog(definitionId,serviceId){
|
|
573
|
+
this.wfEdit(definitionId,serviceId);
|
|
574
|
+
},
|
|
575
|
+
|
|
576
|
+
wfEdit(definitionId, serviceId) {
|
|
577
|
+
let token = getToken();
|
|
578
|
+
let Authorization = `Bearer ${token}`;
|
|
579
|
+
let onlyDesignShow = true;
|
|
580
|
+
let prefix = this.currentRow.serviceId;
|
|
581
|
+
if(settingConfig.isTest){
|
|
582
|
+
this.wfUrl = `http://stdxx.sc.5mall.com/warm-flow-ui/index.html?id=${definitionId}&prefix=${prefix}&onlyDesignShow=${onlyDesignShow}&Authorization=${Authorization}`;
|
|
583
|
+
}else{
|
|
584
|
+
this.wfUrl = WEB_PREFIX + `/warm-flow-ui/index.html?id=${definitionId}&prefix=${prefix}&onlyDesignShow=${onlyDesignShow}&Authorization=${Authorization}`;
|
|
585
|
+
}
|
|
585
586
|
|
|
586
|
-
wfEdit(actModelId, serviceId) {
|
|
587
|
-
//wfType 0:单据流程,1:场景流程
|
|
588
|
-
this.wfUrl = WEB_PREFIX + '/activiti-explorer/modeler.html?wfType=0&serviceId=' + serviceId + '&modelId=' + actModelId;
|
|
589
587
|
this.dialogActiveName = 'first';
|
|
590
588
|
this.showWfDialog = true;
|
|
591
589
|
},
|
|
@@ -706,7 +704,7 @@ export default {
|
|
|
706
704
|
responseType: "blob",
|
|
707
705
|
resultType: "other",
|
|
708
706
|
callback: res => {
|
|
709
|
-
let fileName = row.
|
|
707
|
+
let fileName = row.flowName + ".bpmn20.xml"
|
|
710
708
|
this.saveAs(res,fileName)
|
|
711
709
|
}
|
|
712
710
|
});
|
|
@@ -740,6 +738,14 @@ export default {
|
|
|
740
738
|
});
|
|
741
739
|
}
|
|
742
740
|
});
|
|
741
|
+
},
|
|
742
|
+
|
|
743
|
+
openItemOperateDialog(row){
|
|
744
|
+
this.operateItemRow = row;
|
|
745
|
+
this.showItemOperateDialog = true;
|
|
746
|
+
},
|
|
747
|
+
closeItemOperateDialog(){
|
|
748
|
+
this.loadTablemM2Data(this.currentRow)
|
|
743
749
|
}
|
|
744
750
|
}
|
|
745
751
|
};
|
|
@@ -96,6 +96,56 @@
|
|
|
96
96
|
</el-input>
|
|
97
97
|
</el-form-item>
|
|
98
98
|
</td>
|
|
99
|
+
<th>
|
|
100
|
+
<em class="f-red">*</em>
|
|
101
|
+
{{ $t1("有效开始时间") }}
|
|
102
|
+
</th>
|
|
103
|
+
<td>
|
|
104
|
+
<el-form-item
|
|
105
|
+
prop="startDate"
|
|
106
|
+
:rules="[
|
|
107
|
+
{
|
|
108
|
+
required: true,
|
|
109
|
+
trigger: ['blur', 'change'],
|
|
110
|
+
},
|
|
111
|
+
]"
|
|
112
|
+
>
|
|
113
|
+
<el-date-picker
|
|
114
|
+
v-model="wfTransferSetting.startDate"
|
|
115
|
+
type="datetime"
|
|
116
|
+
size="small"
|
|
117
|
+
clearable
|
|
118
|
+
value-format="yyyy-MM-dd HH:mm:ss"
|
|
119
|
+
default-time="00:00:00"
|
|
120
|
+
:picker-options="$baseStartPickerOptions(wfTransferSetting.endDate)"
|
|
121
|
+
></el-date-picker>
|
|
122
|
+
</el-form-item>
|
|
123
|
+
</td>
|
|
124
|
+
<th>
|
|
125
|
+
<em class="f-red">*</em>
|
|
126
|
+
{{ $t1("有效结束时间") }}
|
|
127
|
+
</th>
|
|
128
|
+
<td>
|
|
129
|
+
<el-form-item
|
|
130
|
+
prop="endDate"
|
|
131
|
+
:rules="[
|
|
132
|
+
{
|
|
133
|
+
required: true,
|
|
134
|
+
trigger: ['blur', 'change'],
|
|
135
|
+
},
|
|
136
|
+
]"
|
|
137
|
+
>
|
|
138
|
+
<el-date-picker
|
|
139
|
+
v-model="wfTransferSetting.endDate"
|
|
140
|
+
type="datetime"
|
|
141
|
+
size="small"
|
|
142
|
+
clearable
|
|
143
|
+
value-format="yyyy-MM-dd HH:mm:ss"
|
|
144
|
+
default-time="23:59:59"
|
|
145
|
+
:picker-options="$baseEndPickerOptions(wfTransferSetting.startDate)"
|
|
146
|
+
></el-date-picker>
|
|
147
|
+
</el-form-item>
|
|
148
|
+
</td>
|
|
99
149
|
</tr>
|
|
100
150
|
<tr>
|
|
101
151
|
<th>{{ $t1("创建人") }}</th>
|
|
@@ -147,6 +197,8 @@ export default {
|
|
|
147
197
|
transferToName: null,
|
|
148
198
|
transferFrom: null,
|
|
149
199
|
transferTo: null,
|
|
200
|
+
startDate: null,
|
|
201
|
+
endDate: null,
|
|
150
202
|
},
|
|
151
203
|
showUserDialog1: false,
|
|
152
204
|
showUserDialog2: false,
|
|
@@ -180,6 +180,16 @@ export default {
|
|
|
180
180
|
field: "transferToName",
|
|
181
181
|
width: 250,
|
|
182
182
|
},
|
|
183
|
+
{
|
|
184
|
+
title: this.$t1("有效开始时间"),
|
|
185
|
+
field: "startDate",
|
|
186
|
+
width: 150,
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
title: this.$t1("有效结束时间"),
|
|
190
|
+
field: "endDate",
|
|
191
|
+
width: 150,
|
|
192
|
+
},
|
|
183
193
|
{
|
|
184
194
|
title: this.$t1("创建人"),
|
|
185
195
|
field: "_createBy",
|