@fecp/designer 5.4.15 → 5.4.16
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/api/index.mjs +7 -1
- package/es/designer/src/components/DocumentParam.vue.mjs +3 -3
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/components/RiskSchemeDialog.vue2.mjs +241 -0
- package/es/designer/src/components/RiskSchemeSelector.vue2.mjs +68 -0
- package/es/designer/src/components/TemplateDialog.vue.mjs +1 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +11 -6
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +55 -0
- package/es/designer/src/packages/eventFlow/dialog/action/config.mjs +171 -69
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +27 -12
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/headerBtn.vue.mjs +6 -1
- package/es/designer.css +46 -28
- package/es/packages/vue/src/components/bus/contract/Contract.vue.mjs +6 -1
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +1 -1
- package/es/packages/vue/src/components/forms/cascader/Cascader.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/date/Date.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +3 -2
- package/es/packages/vue/src/components/forms/radio/Radio.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/select/Select.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +1 -1
- package/es/packages/vue/src/composables/usePageEvents.mjs +1 -1
- package/es/packages/vue/src/utils/datasource.mjs +1 -1
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +54 -29
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/api/index.js +7 -1
- package/lib/designer/src/components/DocumentParam.vue.js +3 -3
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/components/RiskSchemeDialog.vue2.js +241 -0
- package/lib/designer/src/components/RiskSchemeSelector.vue2.js +68 -0
- package/lib/designer/src/components/TemplateDialog.vue.js +1 -1
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +11 -6
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +55 -0
- package/lib/designer/src/packages/eventFlow/dialog/action/config.js +170 -68
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +27 -12
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/headerBtn.vue.js +6 -1
- package/lib/designer.css +46 -28
- package/lib/packages/vue/src/components/bus/contract/Contract.vue.js +6 -1
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +1 -1
- package/lib/packages/vue/src/components/forms/cascader/Cascader.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/date/Date.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +3 -2
- package/lib/packages/vue/src/components/forms/radio/Radio.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/select/Select.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +1 -1
- package/lib/packages/vue/src/composables/usePageEvents.js +1 -1
- package/lib/packages/vue/src/utils/datasource.js +1 -1
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +53 -28
- package/package.json +1 -1
|
@@ -56,8 +56,14 @@ const api = {
|
|
|
56
56
|
getProductConfig: () => {
|
|
57
57
|
return postForm(`${$servers.base}/design/getProductConfig`);
|
|
58
58
|
},
|
|
59
|
-
|
|
59
|
+
getModeNoList4Doc: () => {
|
|
60
60
|
return post(`${$servers.base}/docFileModeConfig/findList`, null, false);
|
|
61
|
+
},
|
|
62
|
+
getModeNoList4Cont: () => {
|
|
63
|
+
return post(`${$servers.base}/docCtrModeConfig/findList`, null, false);
|
|
64
|
+
},
|
|
65
|
+
findRiskSchByPopPage4Designer: (data) => {
|
|
66
|
+
return post(`${$servers.comm}/riskSch/findRiskSchByPopPage4Designer`, data);
|
|
61
67
|
}
|
|
62
68
|
};
|
|
63
69
|
export {
|
|
@@ -9,7 +9,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { computed, ref, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
|
|
11
11
|
import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
12
|
-
import ValueSelector from "./ValueSelector.
|
|
12
|
+
import ValueSelector from "./ValueSelector.vue2.mjs";
|
|
13
13
|
import api from "../api/index.mjs";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -42,7 +42,7 @@ const _sfc_main = {
|
|
|
42
42
|
set: (val) => emit("update:modelValue", val)
|
|
43
43
|
});
|
|
44
44
|
const scenarioOptions = ref([]);
|
|
45
|
-
api.
|
|
45
|
+
api.getModeNoList4Doc().then((data) => {
|
|
46
46
|
scenarioOptions.value = data.map((item) => ({
|
|
47
47
|
label: item.modeName,
|
|
48
48
|
value: item.modeNo
|
|
@@ -150,7 +150,7 @@ const _sfc_main = {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
|
-
const DocumentParam = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
153
|
+
const DocumentParam = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4262b43c"]]);
|
|
154
154
|
export {
|
|
155
155
|
DocumentParam as default
|
|
156
156
|
};
|
|
@@ -4,7 +4,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { computed, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
|
|
6
6
|
import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
7
|
-
import ValueSelector from "./ValueSelector.
|
|
7
|
+
import ValueSelector from "./ValueSelector.vue2.mjs";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
10
10
|
import { ElButton } from "../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import "../../../node_modules/element-plus/es/index.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
|
+
import "../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
|
|
14
|
+
/* empty css */
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
import { computed, ref, watch, createBlock, openBlock, withCtx, createElementVNode, createVNode, withKeys, unref, createTextVNode } from "vue";
|
|
19
|
+
import { Search as search_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
20
|
+
import api from "../api/index.mjs";
|
|
21
|
+
/* empty css */
|
|
22
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
23
|
+
import { ElDialog } from "../../../node_modules/element-plus/es/components/dialog/index.mjs";
|
|
24
|
+
import { ElInput } from "../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
25
|
+
import { ElButton } from "../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
26
|
+
import { ElTable, ElTableColumn } from "../../../node_modules/element-plus/es/components/table/index.mjs";
|
|
27
|
+
import { ElPagination } from "../../../node_modules/element-plus/es/components/pagination/index.mjs";
|
|
28
|
+
import { ElMessage } from "../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
29
|
+
const _hoisted_1 = { class: "search-bar" };
|
|
30
|
+
const _hoisted_2 = { class: "dialog-footer" };
|
|
31
|
+
const _sfc_main = {
|
|
32
|
+
__name: "RiskSchemeDialog",
|
|
33
|
+
props: {
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
},
|
|
38
|
+
title: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "选择风险拦截方案"
|
|
41
|
+
},
|
|
42
|
+
width: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: "50%"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
emits: ["update:modelValue", "confirm", "close"],
|
|
48
|
+
setup(__props, { emit: __emit }) {
|
|
49
|
+
const props = __props;
|
|
50
|
+
const emit = __emit;
|
|
51
|
+
const dialogVisible = computed({
|
|
52
|
+
get: () => props.modelValue,
|
|
53
|
+
set: (val) => emit("update:modelValue", val)
|
|
54
|
+
});
|
|
55
|
+
const searchText = ref("");
|
|
56
|
+
const schemeList = ref([]);
|
|
57
|
+
const total = ref(0);
|
|
58
|
+
const tableRef = ref(null);
|
|
59
|
+
const selectedRows = ref([]);
|
|
60
|
+
const pageInfo = ref({
|
|
61
|
+
pageNo: 1,
|
|
62
|
+
pageSize: 10
|
|
63
|
+
});
|
|
64
|
+
watch(
|
|
65
|
+
() => props.modelValue,
|
|
66
|
+
(val) => {
|
|
67
|
+
if (val) {
|
|
68
|
+
searchText.value = "";
|
|
69
|
+
pageInfo.value = {
|
|
70
|
+
pageNo: 1,
|
|
71
|
+
pageSize: 10
|
|
72
|
+
};
|
|
73
|
+
loadSchemeList();
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{ immediate: true }
|
|
77
|
+
);
|
|
78
|
+
async function loadSchemeList() {
|
|
79
|
+
try {
|
|
80
|
+
const params = {
|
|
81
|
+
pageNo: pageInfo.value.pageNo,
|
|
82
|
+
pageSize: pageInfo.value.pageSize
|
|
83
|
+
};
|
|
84
|
+
if (searchText.value) {
|
|
85
|
+
params.dynamicQuery = searchText.value;
|
|
86
|
+
}
|
|
87
|
+
const data = await api.findRiskSchByPopPage4Designer(params);
|
|
88
|
+
schemeList.value = data.records || data.list || [];
|
|
89
|
+
total.value = schemeList.value.length;
|
|
90
|
+
} catch (error) {
|
|
91
|
+
console.error("加载风险拦截方案列表失败:", error);
|
|
92
|
+
schemeList.value = [];
|
|
93
|
+
total.value = 0;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function handleSearch() {
|
|
97
|
+
pageInfo.value.pageNo = 1;
|
|
98
|
+
loadSchemeList();
|
|
99
|
+
}
|
|
100
|
+
function handleSelectionChange(rows) {
|
|
101
|
+
selectedRows.value = rows;
|
|
102
|
+
}
|
|
103
|
+
function handleSizeChange(size) {
|
|
104
|
+
pageInfo.value.pageSize = size;
|
|
105
|
+
pageInfo.value.pageNo = 1;
|
|
106
|
+
loadSchemeList();
|
|
107
|
+
}
|
|
108
|
+
function handlePageChange(page) {
|
|
109
|
+
pageInfo.value.pageNo = page;
|
|
110
|
+
loadSchemeList();
|
|
111
|
+
}
|
|
112
|
+
function closeDialog() {
|
|
113
|
+
dialogVisible.value = false;
|
|
114
|
+
emit("close");
|
|
115
|
+
}
|
|
116
|
+
function onConfirm() {
|
|
117
|
+
if (selectedRows.value.length === 0) {
|
|
118
|
+
ElMessage.warning("请先选择方案");
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
emit("confirm", {
|
|
122
|
+
rows: selectedRows.value
|
|
123
|
+
});
|
|
124
|
+
dialogVisible.value = false;
|
|
125
|
+
}
|
|
126
|
+
return (_ctx, _cache) => {
|
|
127
|
+
const _component_el_button = ElButton;
|
|
128
|
+
const _component_el_input = ElInput;
|
|
129
|
+
const _component_el_table_column = ElTableColumn;
|
|
130
|
+
const _component_el_table = ElTable;
|
|
131
|
+
const _component_el_pagination = ElPagination;
|
|
132
|
+
const _component_el_dialog = ElDialog;
|
|
133
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
134
|
+
modelValue: dialogVisible.value,
|
|
135
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
|
|
136
|
+
width: __props.width,
|
|
137
|
+
title: __props.title,
|
|
138
|
+
draggable: "",
|
|
139
|
+
overflow: "",
|
|
140
|
+
"append-to-body": "",
|
|
141
|
+
class: "fec-dev-designer-dialog"
|
|
142
|
+
}, {
|
|
143
|
+
footer: withCtx(() => [
|
|
144
|
+
createElementVNode("div", _hoisted_2, [
|
|
145
|
+
createVNode(_component_el_button, {
|
|
146
|
+
onClick: closeDialog,
|
|
147
|
+
size: "default"
|
|
148
|
+
}, {
|
|
149
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
150
|
+
createTextVNode("取消")
|
|
151
|
+
])),
|
|
152
|
+
_: 1
|
|
153
|
+
}),
|
|
154
|
+
createVNode(_component_el_button, {
|
|
155
|
+
type: "primary",
|
|
156
|
+
onClick: onConfirm,
|
|
157
|
+
size: "default"
|
|
158
|
+
}, {
|
|
159
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
160
|
+
createTextVNode("确定")
|
|
161
|
+
])),
|
|
162
|
+
_: 1
|
|
163
|
+
})
|
|
164
|
+
])
|
|
165
|
+
]),
|
|
166
|
+
default: withCtx(() => [
|
|
167
|
+
createElementVNode("div", _hoisted_1, [
|
|
168
|
+
createVNode(_component_el_input, {
|
|
169
|
+
modelValue: searchText.value,
|
|
170
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchText.value = $event),
|
|
171
|
+
placeholder: _ctx.searchPlaceholder || "搜索方案名称/方案编号",
|
|
172
|
+
clearable: "",
|
|
173
|
+
onClear: handleSearch,
|
|
174
|
+
onKeyup: withKeys(handleSearch, ["enter"]),
|
|
175
|
+
style: { "width": "300px" },
|
|
176
|
+
size: "default"
|
|
177
|
+
}, {
|
|
178
|
+
append: withCtx(() => [
|
|
179
|
+
createVNode(_component_el_button, {
|
|
180
|
+
icon: unref(search_default),
|
|
181
|
+
onClick: handleSearch
|
|
182
|
+
}, null, 8, ["icon"])
|
|
183
|
+
]),
|
|
184
|
+
_: 1
|
|
185
|
+
}, 8, ["modelValue", "placeholder"])
|
|
186
|
+
]),
|
|
187
|
+
createVNode(_component_el_table, {
|
|
188
|
+
ref_key: "tableRef",
|
|
189
|
+
ref: tableRef,
|
|
190
|
+
data: schemeList.value,
|
|
191
|
+
"max-height": "500",
|
|
192
|
+
onSelectionChange: handleSelectionChange,
|
|
193
|
+
style: { "width": "100%", "margin-top": "10px" },
|
|
194
|
+
size: "default"
|
|
195
|
+
}, {
|
|
196
|
+
default: withCtx(() => [
|
|
197
|
+
createVNode(_component_el_table_column, {
|
|
198
|
+
type: "selection",
|
|
199
|
+
width: "55"
|
|
200
|
+
}),
|
|
201
|
+
createVNode(_component_el_table_column, {
|
|
202
|
+
prop: "schNo",
|
|
203
|
+
label: "方案编号",
|
|
204
|
+
"min-width": "200"
|
|
205
|
+
}),
|
|
206
|
+
createVNode(_component_el_table_column, {
|
|
207
|
+
prop: "schName",
|
|
208
|
+
label: "方案名称",
|
|
209
|
+
"min-width": "200"
|
|
210
|
+
}),
|
|
211
|
+
createVNode(_component_el_table_column, {
|
|
212
|
+
prop: "remark",
|
|
213
|
+
label: "备注",
|
|
214
|
+
"min-width": "200"
|
|
215
|
+
})
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
}, 8, ["data"]),
|
|
219
|
+
createVNode(_component_el_pagination, {
|
|
220
|
+
size: "small",
|
|
221
|
+
"current-page": pageInfo.value.pageNo,
|
|
222
|
+
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => pageInfo.value.pageNo = $event),
|
|
223
|
+
"page-size": pageInfo.value.pageSize,
|
|
224
|
+
"onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => pageInfo.value.pageSize = $event),
|
|
225
|
+
"page-sizes": [10, 20, 50, 100],
|
|
226
|
+
total: total.value,
|
|
227
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
228
|
+
onSizeChange: handleSizeChange,
|
|
229
|
+
onCurrentChange: handlePageChange,
|
|
230
|
+
style: { "margin-top": "20px", "justify-content": "flex-end" }
|
|
231
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
}, 8, ["modelValue", "width", "title"]);
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
const RiskSchemeDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7dd01cd4"]]);
|
|
239
|
+
export {
|
|
240
|
+
RiskSchemeDialog as default
|
|
241
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { computed, ref, createElementBlock, openBlock, Fragment, createVNode, unref } from "vue";
|
|
2
|
+
import "../../../node_modules/element-plus/es/index.mjs";
|
|
3
|
+
import RiskSchemeDialog from "./RiskSchemeDialog.vue2.mjs";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
6
|
+
import { ElInputTag } from "../../../node_modules/element-plus/es/components/input-tag/index.mjs";
|
|
7
|
+
const _sfc_main = {
|
|
8
|
+
__name: "RiskSchemeSelector",
|
|
9
|
+
props: {
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: Array,
|
|
12
|
+
default: () => []
|
|
13
|
+
},
|
|
14
|
+
schNo: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ""
|
|
17
|
+
},
|
|
18
|
+
dialogTitle: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "风险拦截方案"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ["update:modelValue", "update:schNo", "confirm"],
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
const modelValue = computed({
|
|
28
|
+
get: () => props.modelValue,
|
|
29
|
+
set: (val) => emit("update:modelValue", val)
|
|
30
|
+
});
|
|
31
|
+
const dialogVisible = ref(false);
|
|
32
|
+
function openDialog() {
|
|
33
|
+
dialogVisible.value = true;
|
|
34
|
+
}
|
|
35
|
+
function handleDialogConfirm({ rows }) {
|
|
36
|
+
const schNames = rows.map((row) => row.schName);
|
|
37
|
+
const schNos = rows.map((row) => row.schNo).join(",");
|
|
38
|
+
modelValue.value = schNames;
|
|
39
|
+
emit("update:schNo", schNos);
|
|
40
|
+
emit("confirm", rows);
|
|
41
|
+
}
|
|
42
|
+
function handleDialogClose() {
|
|
43
|
+
}
|
|
44
|
+
return (_ctx, _cache) => {
|
|
45
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
46
|
+
createVNode(unref(ElInputTag), {
|
|
47
|
+
modelValue: modelValue.value,
|
|
48
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
49
|
+
placeholder: "请选择风险拦截方案",
|
|
50
|
+
readonly: "",
|
|
51
|
+
clearable: "",
|
|
52
|
+
onClick: openDialog
|
|
53
|
+
}, null, 8, ["modelValue"]),
|
|
54
|
+
createVNode(RiskSchemeDialog, {
|
|
55
|
+
modelValue: dialogVisible.value,
|
|
56
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dialogVisible.value = $event),
|
|
57
|
+
title: __props.dialogTitle,
|
|
58
|
+
onConfirm: handleDialogConfirm,
|
|
59
|
+
onClose: handleDialogClose
|
|
60
|
+
}, null, 8, ["modelValue", "title"])
|
|
61
|
+
], 64);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
const RiskSchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-87e02ca9"]]);
|
|
66
|
+
export {
|
|
67
|
+
RiskSchemeSelector as default
|
|
68
|
+
};
|
|
@@ -249,7 +249,7 @@ const _sfc_main = {
|
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
|
-
const TemplateDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
252
|
+
const TemplateDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2716f51c"]]);
|
|
253
253
|
export {
|
|
254
254
|
TemplateDialog as default
|
|
255
255
|
};
|
|
@@ -16,7 +16,7 @@ import { Plus as plus_default, RefreshRight as refresh_right_default, Delete as
|
|
|
16
16
|
import { getEditConfigData, getEditingType, cloneDeep, getEditConfigDataFields } from "../../packages/utils/common.mjs";
|
|
17
17
|
import { defaultProperty } from "../../packages/form/aside/index.mjs";
|
|
18
18
|
import { defaultProperty as defaultProperty$1 } from "../../packages/table/aside/index.mjs";
|
|
19
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
19
|
+
import ValueSelector from "../../components/ValueSelector.vue2.mjs";
|
|
20
20
|
/* empty css */
|
|
21
21
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
22
22
|
import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
|
|
|
14
14
|
import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
15
15
|
import { computed, watch, ref, createElementBlock, unref, openBlock, createBlock, isRef, createVNode, createElementVNode, withCtx, Fragment, renderList } from "vue";
|
|
16
16
|
import { useVModel } from "../../../../node_modules/@vueuse/core/dist/index.mjs";
|
|
17
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
17
|
+
import ValueSelector from "../../components/ValueSelector.vue2.mjs";
|
|
18
18
|
import api from "../../api/index.mjs";
|
|
19
19
|
import { getEditConfigDataSources } from "../utils/common.mjs";
|
|
20
20
|
import { createDataSource } from "../utils/datasource.mjs";
|
|
@@ -30,7 +30,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs
|
|
|
30
30
|
/* empty css */
|
|
31
31
|
/* empty css */
|
|
32
32
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
33
|
-
/* empty css
|
|
33
|
+
/* empty css */
|
|
34
34
|
import "../../axios/config.mjs";
|
|
35
35
|
import "../../../../_virtual/FileSaver.min.mjs";
|
|
36
36
|
import "../../../../_virtual/index.mjs";
|
|
@@ -67,6 +67,17 @@ import "../formulaEditor/core/functionCore.mjs";
|
|
|
67
67
|
/* empty css */
|
|
68
68
|
/* empty css */
|
|
69
69
|
/* empty css */
|
|
70
|
+
/* empty css */
|
|
71
|
+
/* empty css */
|
|
72
|
+
/* empty css */
|
|
73
|
+
/* empty css */
|
|
74
|
+
/* empty css */
|
|
75
|
+
/* empty css */
|
|
76
|
+
/* empty css */
|
|
77
|
+
import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
78
|
+
/* empty css */
|
|
79
|
+
/* empty css */
|
|
80
|
+
/* empty css */
|
|
70
81
|
/* empty css */
|
|
71
82
|
/* empty css */
|
|
72
83
|
/* empty css */
|
|
@@ -74,12 +85,6 @@ import "../formulaEditor/core/functionCore.mjs";
|
|
|
74
85
|
/* empty css */
|
|
75
86
|
/* empty css */
|
|
76
87
|
import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
77
|
-
/* empty css */
|
|
78
|
-
/* empty css */
|
|
79
|
-
import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
80
|
-
/* empty css */
|
|
81
|
-
/* empty css */
|
|
82
|
-
/* empty css */
|
|
83
88
|
import "../../axios/config.mjs";
|
|
84
89
|
/* empty css */
|
|
85
90
|
/* empty css */
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
|
|
5
|
+
import RiskSchemeSelector from "../../../../components/RiskSchemeSelector.vue2.mjs";
|
|
6
|
+
import ValueSelector from "../../../../components/ValueSelector.vue2.mjs";
|
|
7
|
+
import ParamsConfig from "../../../../components/ParamsConfig.vue2.mjs";
|
|
8
|
+
import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: "RiskSch",
|
|
11
|
+
props: {
|
|
12
|
+
formData: Object
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
const _component_el_form_item = ElFormItem;
|
|
17
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
18
|
+
createVNode(_component_el_form_item, { label: "风险方案" }, {
|
|
19
|
+
default: withCtx(() => [
|
|
20
|
+
createVNode(RiskSchemeSelector, {
|
|
21
|
+
modelValue: __props.formData.schName,
|
|
22
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.formData.schName = $event),
|
|
23
|
+
schNo: __props.formData.schNo,
|
|
24
|
+
"onUpdate:schNo": _cache[1] || (_cache[1] = ($event) => __props.formData.schNo = $event)
|
|
25
|
+
}, null, 8, ["modelValue", "schNo"])
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
}),
|
|
29
|
+
createVNode(_component_el_form_item, { label: "业务主键" }, {
|
|
30
|
+
default: withCtx(() => [
|
|
31
|
+
createVNode(ValueSelector, {
|
|
32
|
+
modelValue: __props.formData.busNo,
|
|
33
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.busNo = $event),
|
|
34
|
+
multiple: false,
|
|
35
|
+
placeholder: "选择业务主键"
|
|
36
|
+
}, null, 8, ["modelValue"])
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
}),
|
|
40
|
+
createVNode(_component_el_form_item, { label: "业务参数" }, {
|
|
41
|
+
default: withCtx(() => [
|
|
42
|
+
createVNode(ParamsConfig, {
|
|
43
|
+
modelValue: __props.formData.params,
|
|
44
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.formData.params = $event)
|
|
45
|
+
}, null, 8, ["modelValue"])
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
})
|
|
49
|
+
], 64);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
_sfc_main as default
|
|
55
|
+
};
|