cloud-web-corejs 1.0.280 → 1.1.0-dev.4
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 +6 -2
- package/src/components/VabUpload/image-viewer.vue +442 -442
- package/src/components/VabUpload/index.vue +44 -2
- package/src/components/VabUpload/mixins.js +174 -34
- package/src/components/VabUpload/previewGroup.js +128 -0
- package/src/components/VabUpload/view.vue +247 -209
- package/src/components/baseTabs/mixins.js +181 -181
- package/src/components/bizTab/BizBillActions.vue +129 -0
- package/src/components/bizTab/BizTabListPage.vue +391 -0
- package/src/components/bizTab/README.md +378 -0
- package/src/components/bizTab/billTableUtil.js +48 -0
- package/src/components/bizTab/billValidators.js +136 -0
- package/src/components/bizTab/bizBillDetailMixin.js +705 -0
- package/src/components/bizTab/index.js +24 -0
- package/src/components/excelExport/exportFieldDialog.vue +23 -12
- package/src/components/excelExport/exportItemConfigUtil.js +30 -0
- package/src/components/excelExport/mixins.js +3 -3
- package/src/components/mobile/statusTag/mixins.js +1 -61
- package/src/components/mobile/wf/content.vue +1662 -1556
- package/src/components/mobile/wf/mixins/wfModifyDialogMixin.js +8 -6
- package/src/components/table/config.js +78 -78
- package/src/components/table/index.js +1276 -1276
- package/src/components/table/plugins/cell-area/index.js +1055 -0
- package/src/components/table/plugins/cell-area/index.scss +77 -0
- package/src/components/table/plugins/cell-area/util.js +224 -0
- package/src/components/table/tableForm.vue +330 -330
- package/src/components/table/tableFormMixin.js +318 -318
- package/src/components/table/vxeFilter/index.js +163 -163
- package/src/components/table/vxeFilter/mixin.js +316 -316
- package/src/components/wf/content.vue +1188 -1188
- package/src/components/wf/wf.js +40 -20
- package/src/components/wf/wfActionDropdown.vue +1 -1
- package/src/components/wf/wfActionItems.js +1 -1
- package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +528 -0
- package/src/components/xform/docs/2026-08 xform H5 P1 /345/256/236/347/216/260/350/247/204/346/240/274.md" +412 -0
- package/src/components/xform/docs/2026-08 xform H5 P2 /345/256/236/347/216/260/350/247/204/346/240/274.md" +287 -0
- package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +400 -0
- package/src/components/xform/form-designer/designer.js +15 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +269 -269
- package/src/components/xform/form-designer/form-widget/container-widget/detail-temp-widget.vue +132 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +250 -250
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +319 -320
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +365 -365
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +554 -555
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +409 -409
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +150 -132
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +114 -114
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +154 -154
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +47 -1
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +178 -178
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +77 -77
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +6 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +139 -139
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +106 -106
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +134 -134
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +39 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +10 -10
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +438 -432
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +2103 -2103
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-temp-edito.vue +90 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue +82 -82
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +19 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +8 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +137 -137
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +237 -237
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-defaultValue-editor.vue +43 -43
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultValue-editor.vue +43 -43
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -96
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +42 -42
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-defaultValue-editor.vue +43 -43
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +158 -158
- package/src/components/xform/form-designer/setting-panel/property-editor/h5Span-editor.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/itemStyle-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +188 -188
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTempClass-editor.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +347 -347
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +4 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +59 -3
- package/src/components/xform/form-render/container-item/data-table-mixin.js +151 -93
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +183 -32
- package/src/components/xform/form-render/container-item/detail-temp-item.vue +110 -0
- package/src/components/xform/form-render/container-item/h5-card-pane-item.vue +160 -140
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1688 -1700
- package/src/components/xform/form-render/index.vue +153 -147
- package/src/components/xform/form-render/indexMixin.js +12 -0
- package/src/components/xform/lang/en-US.js +10 -0
- package/src/components/xform/lang/zh-CN.js +12 -0
- package/src/components/xform/mixins/defaultHandle.js +707 -707
- package/src/components/xform/styles/h5.scss +1992 -0
- package/src/components/xform/utils/textMaskUtil.js +182 -179
- package/src/components/xform/utils/treeTableUtil.js +1292 -1265
- package/src/components/xform/utils/util.js +56 -11
- package/src/index.js +9 -4
- package/src/layout/components/extractedCode/viewDialog.vue +7 -7
- package/src/router/index.js +21 -0
- package/src/router/modules/customer.js +71 -14
- package/src/store/modules/permission.js +17 -18
- package/src/utils/pdfUtil.js +429 -429
- package/src/utils/resolveViewComponent.js +142 -16
- package/src/views/bd/project/branch/bd_branch/edit.vue +145 -0
- package/src/views/bd/project/branch/bd_branch/list.vue +72 -0
- package/src/views/bd/project/branch/bd_branch/menuKindDialog.vue +106 -0
- package/src/views/bd/project/branch/bd_branch/mixins/edit.js +189 -0
- package/src/views/bd/project/branch/bd_branch/mixins/list.js +124 -0
- package/src/views/bd/project/branch/bd_branch/mixins/menuKindDialog.js +85 -0
- package/src/views/bd/project/branch/form_script/list.vue +31 -0
- package/src/views/bd/project/branch/form_template/list.vue +30 -0
- package/src/views/bd/project/branch/menu_kind/list.vue +31 -0
- package/src/views/bd/project/common/form_script/list.vue +16 -0
- package/src/views/bd/project/common/form_template/list.vue +15 -0
- package/src/views/bd/project/common/menu_kind/list.vue +15 -0
- package/src/views/bd/project/core/branchContext.js +100 -0
- package/src/views/bd/project/core/branchPage.js +78 -0
- package/src/views/bd/project/core/branchPageWrap.vue +225 -0
- package/src/views/bd/project/core/branchScope.js +44 -0
- package/src/views/bd/project/core/branchSearchPage.js +285 -0
- package/src/views/bd/project/core/branchSelect.vue +85 -0
- package/src/views/bd/project/core/branchTreeBar.vue +81 -0
- package/src/views/bd/project/core/httpBranchPatch.js +58 -0
- package/src/views/bd/project/datatable/menu_kind/list.vue +15 -0
- package/src/views/bd/project/datatable/table_model/list.vue +15 -0
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
- package/src/views/bd/setting/table_model/edit.vue +1066 -1066
- package/src/views/bd/setting/table_model/mixins/edit.js +1455 -1455
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +148 -148
- package/src/views/demo/bizTab/bill/billConfig.js +41 -0
- package/src/views/demo/bizTab/bill/detail.vue +436 -0
- package/src/views/demo/bizTab/bill/list.vue +288 -0
- package/src/views/demo/bizTab/bill/productDialog.vue +176 -0
- package/src/views/demo/bizTab/simple/billApi.js +123 -0
- package/src/views/demo/bizTab/simple/detail.vue +407 -0
- package/src/views/demo/bizTab/simple/list.vue +217 -0
- package/src/views/demo/bizTab/standalone/index.vue +121 -0
- package/src/views/demo/bizTab/wf/billConfig.js +44 -0
- package/src/views/demo/bizTab/wf/detail.vue +661 -0
- package/src/views/demo/bizTab/wf/list.vue +242 -0
- package/src/views/support/form-dialog-demo/demoPickerDialog.vue +72 -0
- package/src/views/support/form-dialog-demo/index.vue +537 -0
- package/src/views/user/file_view_ins/list.vue +3 -3
- package/src/views/user/home/index.vue +8 -6
- package/src/views/user/home/wjl/content.vue +1569 -0
- package/src/views/user/notify_message/dialog.vue +7 -5
- package/src/views/user/outLink/cc_form_view.vue +188 -0
- package/src/views/user/outLink/form_view.vue +2 -2
- package/src/views/user/outLink/index.vue +4 -4
- package/src/views/user/outLink/view.vue +3 -3
- package/src/views/user/role/edit.vue +632 -632
- package/src/views/user/role/list.vue +260 -260
- package/src/views/user/wf/iframe/index.vue +3 -3
- package/src/views/user/wf/iframe/index2.vue +3 -3
- package/src/views/user/wf/wf_manage/list.vue +1112 -1116
- package/src/views/user/wf/wf_manage/list2.vue +9 -13
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +8 -5
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +0 -106
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +0 -99
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +0 -1340
- package/src/utils/wf.js +0 -766
package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue
CHANGED
|
@@ -1,347 +1,347 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-show="true">
|
|
3
|
-
<el-form-item label-width="0">
|
|
4
|
-
<el-divider class="custom-divider-margin-top">显示设置</el-divider>
|
|
5
|
-
</el-form-item>
|
|
6
|
-
<el-form-item :label="i18nt('显示超链接')">
|
|
7
|
-
<el-switch v-model="optionModel.showLinkTextEnabled" @change="changeShowLinkTextEnabled"></el-switch>
|
|
8
|
-
</el-form-item>
|
|
9
|
-
<el-form-item :label="i18nt('超链接配置')">
|
|
10
|
-
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openLinkConfig">
|
|
11
|
-
<span></span>
|
|
12
|
-
<i class="el-icon-edit"></i>
|
|
13
|
-
</a>
|
|
14
|
-
</el-form-item>
|
|
15
|
-
<el-form-item :label="i18nt('启用特定用户显示规则设置')">
|
|
16
|
-
<el-switch v-model="optionModel.userTextRuleEnabled"></el-switch>
|
|
17
|
-
</el-form-item>
|
|
18
|
-
<el-form-item :label="i18nt('特定用户显示规则设置')" v-if="optionModel.userTextRuleEnabled" class="el-form-item-second">
|
|
19
|
-
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog">
|
|
20
|
-
<span>{{ optionModel.userTextRuleConfig && optionModel.userTextRuleConfig.length ? "已维护" : "" }}</span>
|
|
21
|
-
<i class="el-icon-edit"></i>
|
|
22
|
-
</a>
|
|
23
|
-
</el-form-item>
|
|
24
|
-
<!-- <el-form-item :label="i18nt('仅显示明文文本')">
|
|
25
|
-
<el-switch v-model="optionModel.showTextEnabled" @change="optionModel.showEncryptTextEnabled=false;optionModel.showLinkTextEnabled=false;"></el-switch>
|
|
26
|
-
</el-form-item>
|
|
27
|
-
<el-form-item :label="i18nt('仅显示密文文本')">
|
|
28
|
-
<el-switch v-model="optionModel.showEncryptTextEnabled" @change="optionModel.showTextEnabled=false;optionModel.showLinkTextEnabled=false;"></el-switch>
|
|
29
|
-
</el-form-item>
|
|
30
|
-
|
|
31
|
-
<template v-if="optionModel.showEncryptTextEnabled || optionModel.userTextRuleEnabled">
|
|
32
|
-
<el-form-item label-width="0">
|
|
33
|
-
<el-divider class="custom-divider-margin-top">密文显示规则</el-divider>
|
|
34
|
-
</el-form-item>
|
|
35
|
-
<el-form-item :label="i18nt('全部显示为*')">
|
|
36
|
-
<el-switch v-model="optionModel.textRule1" @change="changeTextRule1"
|
|
37
|
-
:disabled="optionModel.textRule1 && !optionModel.textRule2 && !optionModel.textRule3"></el-switch>
|
|
38
|
-
</el-form-item>
|
|
39
|
-
<el-form-item :label="i18nt('前面明文,其他为*')">
|
|
40
|
-
<el-switch v-model="optionModel.textRule2" @change="changeTextRule2"></el-switch>
|
|
41
|
-
</el-form-item>
|
|
42
|
-
<el-form-item :label="i18nt('前面明文位数')">
|
|
43
|
-
<base-input-number v-model="optionModel.textRule2Number" :scale="0"></base-input-number>
|
|
44
|
-
</el-form-item>
|
|
45
|
-
<el-form-item :label="i18nt('后面明文,其他为*')">
|
|
46
|
-
<el-switch v-model="optionModel.textRule3" @change="changeTextRule3"></el-switch>
|
|
47
|
-
</el-form-item>
|
|
48
|
-
<el-form-item :label="i18nt('后面明文位数')">
|
|
49
|
-
<base-input-number v-model="optionModel.textRule3Number" :scale="0"></base-input-number>
|
|
50
|
-
</el-form-item>
|
|
51
|
-
<el-form-item label-width="0">
|
|
52
|
-
<el-divider class="custom-divider-margin-top"></el-divider>
|
|
53
|
-
</el-form-item>
|
|
54
|
-
</template>
|
|
55
|
-
-->
|
|
56
|
-
<el-dialog
|
|
57
|
-
v-if="dialogVisible"
|
|
58
|
-
custom-class="dialog-style list-dialog"
|
|
59
|
-
:title="i18nt('特定用户显示规则设置')"
|
|
60
|
-
:visible.sync="dialogVisible"
|
|
61
|
-
:show-close="!0"
|
|
62
|
-
:append-to-body="true"
|
|
63
|
-
:modal="false"
|
|
64
|
-
:close-on-click-modal="!1"
|
|
65
|
-
:close-on-press-escape="!1"
|
|
66
|
-
:destroy-on-close="!0"
|
|
67
|
-
width="1220px"
|
|
68
|
-
top="5vh"
|
|
69
|
-
v-dialog-drag
|
|
70
|
-
:fullscreen="true"
|
|
71
|
-
>
|
|
72
|
-
<div class="cont" style="padding-bottom: 8px;">
|
|
73
|
-
<el-table
|
|
74
|
-
ref="singleTable"
|
|
75
|
-
width="100%"
|
|
76
|
-
:data="tableData"
|
|
77
|
-
height="100%"
|
|
78
|
-
border=""
|
|
79
|
-
row-key="columnId"
|
|
80
|
-
stripe=""
|
|
81
|
-
style="margin-bottom: 0px;"
|
|
82
|
-
>
|
|
83
|
-
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
84
|
-
<el-table-column :label="i18nt('组织编码')" width="250">
|
|
85
|
-
<template slot-scope="{ row, $index }">
|
|
86
|
-
<el-input
|
|
87
|
-
class="search-input"
|
|
88
|
-
max="200"
|
|
89
|
-
v-model="row.companyCodes"
|
|
90
|
-
@clear="clearBdCompanyEnv(row)"
|
|
91
|
-
v-el-readonly
|
|
92
|
-
clearable
|
|
93
|
-
>
|
|
94
|
-
<i
|
|
95
|
-
slot="suffix"
|
|
96
|
-
class="el-input__icon el-icon-search"
|
|
97
|
-
@click="openBdCompanyEnvDialog($index)"
|
|
98
|
-
></i>
|
|
99
|
-
</el-input>
|
|
100
|
-
</template>
|
|
101
|
-
</el-table-column>
|
|
102
|
-
<el-table-column :label="i18nt('服务名称')" width="150">
|
|
103
|
-
<template slot-scope="{ row }">
|
|
104
|
-
{{ row.serveName }}
|
|
105
|
-
</template>
|
|
106
|
-
</el-table-column>
|
|
107
|
-
<el-table-column :label="i18nt('角色编码')" width="250">
|
|
108
|
-
<template slot-scope="{row}">
|
|
109
|
-
<el-input v-model="row.roleCodes" clearable></el-input>
|
|
110
|
-
</template>
|
|
111
|
-
</el-table-column>
|
|
112
|
-
|
|
113
|
-
<el-table-column :label="i18nt('设置')" width="150">
|
|
114
|
-
<template slot-scope="{row}">
|
|
115
|
-
<el-select v-model="row.type">
|
|
116
|
-
<el-option :value="1" label="明文"></el-option>
|
|
117
|
-
<el-option :value="2" label="密文"></el-option>
|
|
118
|
-
</el-select>
|
|
119
|
-
</template>
|
|
120
|
-
</el-table-column>
|
|
121
|
-
<el-table-column label='加密规则(格式:“3*3”,“3*”,“*3”,“*”,“-”,数值表示明文位数)' width="400">
|
|
122
|
-
<template slot-scope="{row}">
|
|
123
|
-
<el-input v-model="row.encryptFormula" clearable></el-input>
|
|
124
|
-
</template>
|
|
125
|
-
</el-table-column>
|
|
126
|
-
<el-table-column :label="i18nt('designer.setting.actionColumn')" width="100" align="center">
|
|
127
|
-
<template #header>
|
|
128
|
-
<span>{{ i18nt('designer.setting.actionColumn') }}</span>
|
|
129
|
-
<el-button :title="i18nt('designer.setting.addTableColumn')" size="mini" type="" circle=""
|
|
130
|
-
icon="el-icon-plus" @click="addItem"></el-button>
|
|
131
|
-
</template>
|
|
132
|
-
<template slot-scope="scope">
|
|
133
|
-
<el-button
|
|
134
|
-
:title="i18nt('designer.setting.deleteTableColumn')"
|
|
135
|
-
size="mini"
|
|
136
|
-
type=""
|
|
137
|
-
circle=""
|
|
138
|
-
icon="el-icon-minus"
|
|
139
|
-
@click="tableData.splice(scope.$index,1)"
|
|
140
|
-
></el-button>
|
|
141
|
-
</template>
|
|
142
|
-
</el-table-column>
|
|
143
|
-
|
|
144
|
-
</el-table>
|
|
145
|
-
</div>
|
|
146
|
-
<div class="dialog-footer" slot="footer">
|
|
147
|
-
<el-button @click="dialogVisible = false" class="button-sty" icon="el-icon-close">
|
|
148
|
-
{{ i18nt('designer.hint.cancel') }}
|
|
149
|
-
</el-button>
|
|
150
|
-
<el-button type="primary" @click="colSubmit" class="button-sty" icon="el-icon-check">
|
|
151
|
-
{{ i18nt('designer.hint.confirm') }}
|
|
152
|
-
</el-button>
|
|
153
|
-
</div>
|
|
154
|
-
</el-dialog>
|
|
155
|
-
<bdCompanyEnvDialog
|
|
156
|
-
v-if="showBdCompanyEnvDialog"
|
|
157
|
-
:visiable.sync="showBdCompanyEnvDialog"
|
|
158
|
-
@confirm="confirmBdCompanyEnvDialog"
|
|
159
|
-
:multi="false"
|
|
160
|
-
/>
|
|
161
|
-
</div>
|
|
162
|
-
</template>
|
|
163
|
-
|
|
164
|
-
<script>
|
|
165
|
-
import i18n from "../../../../../components/xform/utils/i18n"
|
|
166
|
-
import bdCompanyEnvDialog from "@base/views/bd/setting/bd_company_env/dialog";
|
|
167
|
-
|
|
168
|
-
export default {
|
|
169
|
-
name: "textFlag-editor",
|
|
170
|
-
components: {bdCompanyEnvDialog},
|
|
171
|
-
mixins: [i18n],
|
|
172
|
-
props: {
|
|
173
|
-
designer: Object,
|
|
174
|
-
selectedWidget: Object,
|
|
175
|
-
optionModel: Object,
|
|
176
|
-
},
|
|
177
|
-
inject: ["openWidgetPropertyDialog"],
|
|
178
|
-
data() {
|
|
179
|
-
return {
|
|
180
|
-
dialogVisible: false,
|
|
181
|
-
tableData: [],
|
|
182
|
-
|
|
183
|
-
operateIndex: 0,
|
|
184
|
-
showBdCompanyEnvDialog: false,
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
methods: {
|
|
188
|
-
changeTextRule1(val) {
|
|
189
|
-
this.optionModel.textRule2 = false;
|
|
190
|
-
this.optionModel.textRule3 = false;
|
|
191
|
-
this.optionModel.textRule2Number = null;
|
|
192
|
-
this.optionModel.textRule3Number = null;
|
|
193
|
-
this.$forceUpdate()
|
|
194
|
-
},
|
|
195
|
-
changeTextRule2(val) {
|
|
196
|
-
let textRule1 = !this.optionModel.textRule2 && !this.optionModel.textRule3;
|
|
197
|
-
this.optionModel.textRule1 = textRule1;
|
|
198
|
-
this.$forceUpdate()
|
|
199
|
-
},
|
|
200
|
-
changeTextRule3(val) {
|
|
201
|
-
let textRule1 = !this.optionModel.textRule2 && !this.optionModel.textRule3;
|
|
202
|
-
this.optionModel.textRule1 = textRule1;
|
|
203
|
-
this.$forceUpdate()
|
|
204
|
-
},
|
|
205
|
-
openDialog() {
|
|
206
|
-
let userTextRuleConfig = this.optionModel.userTextRuleConfig || [];
|
|
207
|
-
this.tableData = this.$baseLodash.cloneDeep(userTextRuleConfig)
|
|
208
|
-
this.dialogVisible = true;
|
|
209
|
-
|
|
210
|
-
},
|
|
211
|
-
addItem() {
|
|
212
|
-
let newItem = {
|
|
213
|
-
type: 2,
|
|
214
|
-
serveType: null,
|
|
215
|
-
serveName: null,
|
|
216
|
-
// loginAccounts: null,
|
|
217
|
-
roleCodes: null,
|
|
218
|
-
// saleOrgCodes: null,
|
|
219
|
-
companyCodes: null,
|
|
220
|
-
encryptFormula: null
|
|
221
|
-
}
|
|
222
|
-
this.tableData.push(newItem);
|
|
223
|
-
},
|
|
224
|
-
colSubmit() {
|
|
225
|
-
// 定义正则表达式
|
|
226
|
-
const pattern = /^(?:\d*\*\d*|-)$/;
|
|
227
|
-
let tableData = this.tableData;
|
|
228
|
-
let map = {};
|
|
229
|
-
for (let i = 0; i < tableData.length; i++) {
|
|
230
|
-
let item = tableData[i];
|
|
231
|
-
if (!item.serveName) {
|
|
232
|
-
this.$message({
|
|
233
|
-
type: "error",
|
|
234
|
-
message: "服务名称不能为空",
|
|
235
|
-
});
|
|
236
|
-
return
|
|
237
|
-
}
|
|
238
|
-
if (!item.companyCodes) {
|
|
239
|
-
this.$message({
|
|
240
|
-
type: "error",
|
|
241
|
-
message: "组织编码不能为空",
|
|
242
|
-
});
|
|
243
|
-
return
|
|
244
|
-
}
|
|
245
|
-
if (!item.encryptFormula) {
|
|
246
|
-
this.$message({
|
|
247
|
-
type: "error",
|
|
248
|
-
message: "加密规则不能为空",
|
|
249
|
-
});
|
|
250
|
-
return
|
|
251
|
-
}
|
|
252
|
-
if (!item.type) {
|
|
253
|
-
this.$message({
|
|
254
|
-
type: "error",
|
|
255
|
-
message: "设置不能为空",
|
|
256
|
-
});
|
|
257
|
-
return
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
let serveName = item.serveName;
|
|
261
|
-
let companyCodes = item.companyCodes;
|
|
262
|
-
let key = serveName + "_" + companyCodes;
|
|
263
|
-
if (!map[key]) {
|
|
264
|
-
map[key] = true;
|
|
265
|
-
} else {
|
|
266
|
-
this.$message({
|
|
267
|
-
type: "error",
|
|
268
|
-
message: "[服务+组织]不能重复",
|
|
269
|
-
});
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
if (!pattern.test(item.encryptFormula)) {
|
|
273
|
-
this.$message({
|
|
274
|
-
type: "error",
|
|
275
|
-
message: `第${i}行的加密规则格式错误`,
|
|
276
|
-
});
|
|
277
|
-
return;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
this.dialogVisible = !1;
|
|
283
|
-
this.optionModel.userTextRuleConfig = this.tableData;
|
|
284
|
-
},
|
|
285
|
-
changeShowLinkTextEnabled(val) {
|
|
286
|
-
this.optionModel.widgetTextLinkConfig = null;
|
|
287
|
-
''
|
|
288
|
-
this.optionModel.showEncryptTextEnabled = false;
|
|
289
|
-
this.optionModel.showTextEnabled = false;
|
|
290
|
-
if (val) {
|
|
291
|
-
this.initLinkWidget();
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
initLinkWidget() {
|
|
295
|
-
let widget = null
|
|
296
|
-
let keyName = this.optionModel.keyName;
|
|
297
|
-
let label = this.optionModel.label;
|
|
298
|
-
if (!this.optionModel.widgetTextLinkConfig) {
|
|
299
|
-
widget = this.designer.copyNewFieldWidget(this.designer.getFieldWidgetByType("a-link2"));
|
|
300
|
-
this.$set(this.optionModel, 'widgetTextLinkConfig', widget)
|
|
301
|
-
widget.options.underline = true;
|
|
302
|
-
} else {
|
|
303
|
-
widget = this.optionModel.widgetTextLinkConfig
|
|
304
|
-
}
|
|
305
|
-
// widget.options.label = label;
|
|
306
|
-
// widget.options.keyName = keyName;
|
|
307
|
-
// widget.options.labelHidden = true
|
|
308
|
-
// widget.options.isFormLabel = true
|
|
309
|
-
return widget;
|
|
310
|
-
},
|
|
311
|
-
openLinkConfig() {
|
|
312
|
-
let widget = this.initLinkWidget();
|
|
313
|
-
this.openWidgetPropertyDialog({
|
|
314
|
-
// row: row,
|
|
315
|
-
columnSelectedWidget: widget,
|
|
316
|
-
// index: index,
|
|
317
|
-
// columnEditFields: columnEditFields,
|
|
318
|
-
callback: (columnSelectedWidget) => {
|
|
319
|
-
widget.options = columnSelectedWidget.options;
|
|
320
|
-
},
|
|
321
|
-
});
|
|
322
|
-
},
|
|
323
|
-
|
|
324
|
-
clearBdCompanyEnv(row) {
|
|
325
|
-
row.serveName = null;
|
|
326
|
-
row.companyCodes = null;
|
|
327
|
-
},
|
|
328
|
-
openBdCompanyEnvDialog(rowIndex) {
|
|
329
|
-
this.operateIndex = rowIndex;
|
|
330
|
-
this.showBdCompanyEnvDialog = true;
|
|
331
|
-
},
|
|
332
|
-
confirmBdCompanyEnvDialog(rows) {
|
|
333
|
-
if (rows.length) {
|
|
334
|
-
let row = rows[0];
|
|
335
|
-
let item = this.tableData[this.operateIndex];
|
|
336
|
-
item.serveName = row.bdService;
|
|
337
|
-
item.companyCodes = row.bdCompanyCode;
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
</script>
|
|
344
|
-
|
|
345
|
-
<style scoped>
|
|
346
|
-
|
|
347
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div v-show="true">
|
|
3
|
+
<el-form-item label-width="0">
|
|
4
|
+
<el-divider class="custom-divider-margin-top">显示设置</el-divider>
|
|
5
|
+
</el-form-item>
|
|
6
|
+
<el-form-item :label="i18nt('显示超链接')">
|
|
7
|
+
<el-switch v-model="optionModel.showLinkTextEnabled" @change="changeShowLinkTextEnabled"></el-switch>
|
|
8
|
+
</el-form-item>
|
|
9
|
+
<el-form-item :label="i18nt('超链接配置')">
|
|
10
|
+
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openLinkConfig">
|
|
11
|
+
<span></span>
|
|
12
|
+
<i class="el-icon-edit"></i>
|
|
13
|
+
</a>
|
|
14
|
+
</el-form-item>
|
|
15
|
+
<el-form-item :label="i18nt('启用特定用户显示规则设置')">
|
|
16
|
+
<el-switch v-model="optionModel.userTextRuleEnabled"></el-switch>
|
|
17
|
+
</el-form-item>
|
|
18
|
+
<el-form-item :label="i18nt('特定用户显示规则设置')" v-if="optionModel.userTextRuleEnabled" class="el-form-item-second">
|
|
19
|
+
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog">
|
|
20
|
+
<span>{{ optionModel.userTextRuleConfig && optionModel.userTextRuleConfig.length ? "已维护" : "" }}</span>
|
|
21
|
+
<i class="el-icon-edit"></i>
|
|
22
|
+
</a>
|
|
23
|
+
</el-form-item>
|
|
24
|
+
<!-- <el-form-item :label="i18nt('仅显示明文文本')">
|
|
25
|
+
<el-switch v-model="optionModel.showTextEnabled" @change="optionModel.showEncryptTextEnabled=false;optionModel.showLinkTextEnabled=false;"></el-switch>
|
|
26
|
+
</el-form-item>
|
|
27
|
+
<el-form-item :label="i18nt('仅显示密文文本')">
|
|
28
|
+
<el-switch v-model="optionModel.showEncryptTextEnabled" @change="optionModel.showTextEnabled=false;optionModel.showLinkTextEnabled=false;"></el-switch>
|
|
29
|
+
</el-form-item>
|
|
30
|
+
|
|
31
|
+
<template v-if="optionModel.showEncryptTextEnabled || optionModel.userTextRuleEnabled">
|
|
32
|
+
<el-form-item label-width="0">
|
|
33
|
+
<el-divider class="custom-divider-margin-top">密文显示规则</el-divider>
|
|
34
|
+
</el-form-item>
|
|
35
|
+
<el-form-item :label="i18nt('全部显示为*')">
|
|
36
|
+
<el-switch v-model="optionModel.textRule1" @change="changeTextRule1"
|
|
37
|
+
:disabled="optionModel.textRule1 && !optionModel.textRule2 && !optionModel.textRule3"></el-switch>
|
|
38
|
+
</el-form-item>
|
|
39
|
+
<el-form-item :label="i18nt('前面明文,其他为*')">
|
|
40
|
+
<el-switch v-model="optionModel.textRule2" @change="changeTextRule2"></el-switch>
|
|
41
|
+
</el-form-item>
|
|
42
|
+
<el-form-item :label="i18nt('前面明文位数')">
|
|
43
|
+
<base-input-number v-model="optionModel.textRule2Number" :scale="0"></base-input-number>
|
|
44
|
+
</el-form-item>
|
|
45
|
+
<el-form-item :label="i18nt('后面明文,其他为*')">
|
|
46
|
+
<el-switch v-model="optionModel.textRule3" @change="changeTextRule3"></el-switch>
|
|
47
|
+
</el-form-item>
|
|
48
|
+
<el-form-item :label="i18nt('后面明文位数')">
|
|
49
|
+
<base-input-number v-model="optionModel.textRule3Number" :scale="0"></base-input-number>
|
|
50
|
+
</el-form-item>
|
|
51
|
+
<el-form-item label-width="0">
|
|
52
|
+
<el-divider class="custom-divider-margin-top"></el-divider>
|
|
53
|
+
</el-form-item>
|
|
54
|
+
</template>
|
|
55
|
+
-->
|
|
56
|
+
<el-dialog
|
|
57
|
+
v-if="dialogVisible"
|
|
58
|
+
custom-class="dialog-style list-dialog"
|
|
59
|
+
:title="i18nt('特定用户显示规则设置')"
|
|
60
|
+
:visible.sync="dialogVisible"
|
|
61
|
+
:show-close="!0"
|
|
62
|
+
:append-to-body="true"
|
|
63
|
+
:modal="false"
|
|
64
|
+
:close-on-click-modal="!1"
|
|
65
|
+
:close-on-press-escape="!1"
|
|
66
|
+
:destroy-on-close="!0"
|
|
67
|
+
width="1220px"
|
|
68
|
+
top="5vh"
|
|
69
|
+
v-dialog-drag
|
|
70
|
+
:fullscreen="true"
|
|
71
|
+
>
|
|
72
|
+
<div class="cont" style="padding-bottom: 8px;">
|
|
73
|
+
<el-table
|
|
74
|
+
ref="singleTable"
|
|
75
|
+
width="100%"
|
|
76
|
+
:data="tableData"
|
|
77
|
+
height="100%"
|
|
78
|
+
border=""
|
|
79
|
+
row-key="columnId"
|
|
80
|
+
stripe=""
|
|
81
|
+
style="margin-bottom: 0px;"
|
|
82
|
+
>
|
|
83
|
+
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
84
|
+
<el-table-column :label="i18nt('组织编码')" width="250">
|
|
85
|
+
<template slot-scope="{ row, $index }">
|
|
86
|
+
<el-input
|
|
87
|
+
class="search-input"
|
|
88
|
+
max="200"
|
|
89
|
+
v-model="row.companyCodes"
|
|
90
|
+
@clear="clearBdCompanyEnv(row)"
|
|
91
|
+
v-el-readonly
|
|
92
|
+
clearable
|
|
93
|
+
>
|
|
94
|
+
<i
|
|
95
|
+
slot="suffix"
|
|
96
|
+
class="el-input__icon el-icon-search"
|
|
97
|
+
@click="openBdCompanyEnvDialog($index)"
|
|
98
|
+
></i>
|
|
99
|
+
</el-input>
|
|
100
|
+
</template>
|
|
101
|
+
</el-table-column>
|
|
102
|
+
<el-table-column :label="i18nt('服务名称')" width="150">
|
|
103
|
+
<template slot-scope="{ row }">
|
|
104
|
+
{{ row.serveName }}
|
|
105
|
+
</template>
|
|
106
|
+
</el-table-column>
|
|
107
|
+
<el-table-column :label="i18nt('角色编码')" width="250">
|
|
108
|
+
<template slot-scope="{row}">
|
|
109
|
+
<el-input v-model="row.roleCodes" clearable></el-input>
|
|
110
|
+
</template>
|
|
111
|
+
</el-table-column>
|
|
112
|
+
|
|
113
|
+
<el-table-column :label="i18nt('设置')" width="150">
|
|
114
|
+
<template slot-scope="{row}">
|
|
115
|
+
<el-select v-model="row.type">
|
|
116
|
+
<el-option :value="1" label="明文"></el-option>
|
|
117
|
+
<el-option :value="2" label="密文"></el-option>
|
|
118
|
+
</el-select>
|
|
119
|
+
</template>
|
|
120
|
+
</el-table-column>
|
|
121
|
+
<el-table-column label='加密规则(格式:“3*3”,“3*”,“*3”,“*”,“-”,数值表示明文位数)' width="400">
|
|
122
|
+
<template slot-scope="{row}">
|
|
123
|
+
<el-input v-model="row.encryptFormula" clearable></el-input>
|
|
124
|
+
</template>
|
|
125
|
+
</el-table-column>
|
|
126
|
+
<el-table-column :label="i18nt('designer.setting.actionColumn')" width="100" align="center">
|
|
127
|
+
<template #header>
|
|
128
|
+
<span>{{ i18nt('designer.setting.actionColumn') }}</span>
|
|
129
|
+
<el-button :title="i18nt('designer.setting.addTableColumn')" size="mini" type="" circle=""
|
|
130
|
+
icon="el-icon-plus" @click="addItem"></el-button>
|
|
131
|
+
</template>
|
|
132
|
+
<template slot-scope="scope">
|
|
133
|
+
<el-button
|
|
134
|
+
:title="i18nt('designer.setting.deleteTableColumn')"
|
|
135
|
+
size="mini"
|
|
136
|
+
type=""
|
|
137
|
+
circle=""
|
|
138
|
+
icon="el-icon-minus"
|
|
139
|
+
@click="tableData.splice(scope.$index,1)"
|
|
140
|
+
></el-button>
|
|
141
|
+
</template>
|
|
142
|
+
</el-table-column>
|
|
143
|
+
|
|
144
|
+
</el-table>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="dialog-footer" slot="footer">
|
|
147
|
+
<el-button @click="dialogVisible = false" class="button-sty" icon="el-icon-close">
|
|
148
|
+
{{ i18nt('designer.hint.cancel') }}
|
|
149
|
+
</el-button>
|
|
150
|
+
<el-button type="primary" @click="colSubmit" class="button-sty" icon="el-icon-check">
|
|
151
|
+
{{ i18nt('designer.hint.confirm') }}
|
|
152
|
+
</el-button>
|
|
153
|
+
</div>
|
|
154
|
+
</el-dialog>
|
|
155
|
+
<bdCompanyEnvDialog
|
|
156
|
+
v-if="showBdCompanyEnvDialog"
|
|
157
|
+
:visiable.sync="showBdCompanyEnvDialog"
|
|
158
|
+
@confirm="confirmBdCompanyEnvDialog"
|
|
159
|
+
:multi="false"
|
|
160
|
+
/>
|
|
161
|
+
</div>
|
|
162
|
+
</template>
|
|
163
|
+
|
|
164
|
+
<script>
|
|
165
|
+
import i18n from "../../../../../components/xform/utils/i18n"
|
|
166
|
+
import bdCompanyEnvDialog from "@base/views/bd/setting/bd_company_env/dialog";
|
|
167
|
+
|
|
168
|
+
export default {
|
|
169
|
+
name: "textFlag-editor",
|
|
170
|
+
components: {bdCompanyEnvDialog},
|
|
171
|
+
mixins: [i18n],
|
|
172
|
+
props: {
|
|
173
|
+
designer: Object,
|
|
174
|
+
selectedWidget: Object,
|
|
175
|
+
optionModel: Object,
|
|
176
|
+
},
|
|
177
|
+
inject: ["openWidgetPropertyDialog"],
|
|
178
|
+
data() {
|
|
179
|
+
return {
|
|
180
|
+
dialogVisible: false,
|
|
181
|
+
tableData: [],
|
|
182
|
+
|
|
183
|
+
operateIndex: 0,
|
|
184
|
+
showBdCompanyEnvDialog: false,
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
methods: {
|
|
188
|
+
changeTextRule1(val) {
|
|
189
|
+
this.optionModel.textRule2 = false;
|
|
190
|
+
this.optionModel.textRule3 = false;
|
|
191
|
+
this.optionModel.textRule2Number = null;
|
|
192
|
+
this.optionModel.textRule3Number = null;
|
|
193
|
+
this.$forceUpdate()
|
|
194
|
+
},
|
|
195
|
+
changeTextRule2(val) {
|
|
196
|
+
let textRule1 = !this.optionModel.textRule2 && !this.optionModel.textRule3;
|
|
197
|
+
this.optionModel.textRule1 = textRule1;
|
|
198
|
+
this.$forceUpdate()
|
|
199
|
+
},
|
|
200
|
+
changeTextRule3(val) {
|
|
201
|
+
let textRule1 = !this.optionModel.textRule2 && !this.optionModel.textRule3;
|
|
202
|
+
this.optionModel.textRule1 = textRule1;
|
|
203
|
+
this.$forceUpdate()
|
|
204
|
+
},
|
|
205
|
+
openDialog() {
|
|
206
|
+
let userTextRuleConfig = this.optionModel.userTextRuleConfig || [];
|
|
207
|
+
this.tableData = this.$baseLodash.cloneDeep(userTextRuleConfig)
|
|
208
|
+
this.dialogVisible = true;
|
|
209
|
+
|
|
210
|
+
},
|
|
211
|
+
addItem() {
|
|
212
|
+
let newItem = {
|
|
213
|
+
type: 2,
|
|
214
|
+
serveType: null,
|
|
215
|
+
serveName: null,
|
|
216
|
+
// loginAccounts: null,
|
|
217
|
+
roleCodes: null,
|
|
218
|
+
// saleOrgCodes: null,
|
|
219
|
+
companyCodes: null,
|
|
220
|
+
encryptFormula: null
|
|
221
|
+
}
|
|
222
|
+
this.tableData.push(newItem);
|
|
223
|
+
},
|
|
224
|
+
colSubmit() {
|
|
225
|
+
// 定义正则表达式
|
|
226
|
+
const pattern = /^(?:\d*\*\d*|-)$/;
|
|
227
|
+
let tableData = this.tableData;
|
|
228
|
+
let map = {};
|
|
229
|
+
for (let i = 0; i < tableData.length; i++) {
|
|
230
|
+
let item = tableData[i];
|
|
231
|
+
if (!item.serveName) {
|
|
232
|
+
this.$message({
|
|
233
|
+
type: "error",
|
|
234
|
+
message: "服务名称不能为空",
|
|
235
|
+
});
|
|
236
|
+
return
|
|
237
|
+
}
|
|
238
|
+
if (!item.companyCodes) {
|
|
239
|
+
this.$message({
|
|
240
|
+
type: "error",
|
|
241
|
+
message: "组织编码不能为空",
|
|
242
|
+
});
|
|
243
|
+
return
|
|
244
|
+
}
|
|
245
|
+
if (!item.encryptFormula) {
|
|
246
|
+
this.$message({
|
|
247
|
+
type: "error",
|
|
248
|
+
message: "加密规则不能为空",
|
|
249
|
+
});
|
|
250
|
+
return
|
|
251
|
+
}
|
|
252
|
+
if (!item.type) {
|
|
253
|
+
this.$message({
|
|
254
|
+
type: "error",
|
|
255
|
+
message: "设置不能为空",
|
|
256
|
+
});
|
|
257
|
+
return
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
let serveName = item.serveName;
|
|
261
|
+
let companyCodes = item.companyCodes;
|
|
262
|
+
let key = serveName + "_" + companyCodes;
|
|
263
|
+
if (!map[key]) {
|
|
264
|
+
map[key] = true;
|
|
265
|
+
} else {
|
|
266
|
+
this.$message({
|
|
267
|
+
type: "error",
|
|
268
|
+
message: "[服务+组织]不能重复",
|
|
269
|
+
});
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
if (!pattern.test(item.encryptFormula)) {
|
|
273
|
+
this.$message({
|
|
274
|
+
type: "error",
|
|
275
|
+
message: `第${i}行的加密规则格式错误`,
|
|
276
|
+
});
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
this.dialogVisible = !1;
|
|
283
|
+
this.optionModel.userTextRuleConfig = this.tableData;
|
|
284
|
+
},
|
|
285
|
+
changeShowLinkTextEnabled(val) {
|
|
286
|
+
this.optionModel.widgetTextLinkConfig = null;
|
|
287
|
+
''
|
|
288
|
+
this.optionModel.showEncryptTextEnabled = false;
|
|
289
|
+
this.optionModel.showTextEnabled = false;
|
|
290
|
+
if (val) {
|
|
291
|
+
this.initLinkWidget();
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
initLinkWidget() {
|
|
295
|
+
let widget = null
|
|
296
|
+
let keyName = this.optionModel.keyName;
|
|
297
|
+
let label = this.optionModel.label;
|
|
298
|
+
if (!this.optionModel.widgetTextLinkConfig) {
|
|
299
|
+
widget = this.designer.copyNewFieldWidget(this.designer.getFieldWidgetByType("a-link2"));
|
|
300
|
+
this.$set(this.optionModel, 'widgetTextLinkConfig', widget)
|
|
301
|
+
widget.options.underline = true;
|
|
302
|
+
} else {
|
|
303
|
+
widget = this.optionModel.widgetTextLinkConfig
|
|
304
|
+
}
|
|
305
|
+
// widget.options.label = label;
|
|
306
|
+
// widget.options.keyName = keyName;
|
|
307
|
+
// widget.options.labelHidden = true
|
|
308
|
+
// widget.options.isFormLabel = true
|
|
309
|
+
return widget;
|
|
310
|
+
},
|
|
311
|
+
openLinkConfig() {
|
|
312
|
+
let widget = this.initLinkWidget();
|
|
313
|
+
this.openWidgetPropertyDialog({
|
|
314
|
+
// row: row,
|
|
315
|
+
columnSelectedWidget: widget,
|
|
316
|
+
// index: index,
|
|
317
|
+
// columnEditFields: columnEditFields,
|
|
318
|
+
callback: (columnSelectedWidget) => {
|
|
319
|
+
widget.options = columnSelectedWidget.options;
|
|
320
|
+
},
|
|
321
|
+
});
|
|
322
|
+
},
|
|
323
|
+
|
|
324
|
+
clearBdCompanyEnv(row) {
|
|
325
|
+
row.serveName = null;
|
|
326
|
+
row.companyCodes = null;
|
|
327
|
+
},
|
|
328
|
+
openBdCompanyEnvDialog(rowIndex) {
|
|
329
|
+
this.operateIndex = rowIndex;
|
|
330
|
+
this.showBdCompanyEnvDialog = true;
|
|
331
|
+
},
|
|
332
|
+
confirmBdCompanyEnvDialog(rows) {
|
|
333
|
+
if (rows.length) {
|
|
334
|
+
let row = rows[0];
|
|
335
|
+
let item = this.tableData[this.operateIndex];
|
|
336
|
+
item.serveName = row.bdService;
|
|
337
|
+
item.companyCodes = row.bdCompanyCode;
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
</script>
|
|
344
|
+
|
|
345
|
+
<style scoped>
|
|
346
|
+
|
|
347
|
+
</style>
|