service-flow-designer 2.3.18-flow1 → 2.3.19-flow1
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./datatable-select.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const a = t(e, [["__scopeId", "data-v-f557a3ca"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElDialog as e, ElContainer as l, ElHeader as a, ElSelect as t, ElOption as o, ElInput as s, ElButton as n, ElTable as
|
|
1
|
+
import { ElDialog as e, ElContainer as l, ElHeader as a, ElSelect as t, ElOption as o, ElInput as s, ElButton as n, ElTable as u, ElTableColumn as i, ElPagination as r } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/dialog/style/css";
|
|
4
4
|
import "element-plus/es/components/container/style/css";
|
|
@@ -12,10 +12,10 @@ import "element-plus/es/components/select/style/css";
|
|
|
12
12
|
import "element-plus/es/components/option/style/css";
|
|
13
13
|
import { defineComponent as p, ref as c, watch as m, createBlock as d, openBlock as v, withCtx as f, createVNode as g, createElementBlock as h, Fragment as y, renderList as b, unref as C, createTextVNode as w, createElementVNode as z } from "vue";
|
|
14
14
|
import { Search as S } from "@element-plus/icons-vue";
|
|
15
|
-
import
|
|
16
|
-
import { ElMessage as
|
|
17
|
-
const k = { class: "dialog-footer" },
|
|
18
|
-
const
|
|
15
|
+
import N from "agilebuilder-ui/src/utils/request";
|
|
16
|
+
import { ElMessage as V } from "element-plus";
|
|
17
|
+
const k = { class: "dialog-footer" }, _ = p({ name: "DatatableSelect", inheritAttrs: false, __name: "datatable-select", props: { visible: { type: Boolean, default: false }, systemCode: { type: String, default: "" }, systemVersion: { type: Number, default: -1 } }, emits: ["update:visible", "select"], setup(p2, { emit: _2 }) {
|
|
18
|
+
const T = _2, P = p2, x = c(false), A = c([]), O = c([]), $ = c({ code: "", publishVersion: 1 }), U = c([]), I = c({ searchCode: "", searchName: "" }), B = c({ name: "" }), E = c({ currentPage: 1, pageSize: 20, showTotal: true, total: 0 }), L = c();
|
|
19
19
|
function M(e2) {
|
|
20
20
|
e2 && "" !== e2.trim() ? A.value = O.value.filter((l2) => l2.name.toLowerCase().indexOf(e2.toLowerCase()) > -1 || l2.code.toLowerCase().indexOf(e2.toLowerCase()) > -1) : A.value = O.value;
|
|
21
21
|
}
|
|
@@ -32,7 +32,7 @@ const k = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
|
|
|
32
32
|
const l2 = { code: "MMS_MODULE_PAGE", pagination: { currentPage: E.value.currentPage, pageSize: E.value.pageSize, showTotal: true }, searchForm: [], dynamicColumnInfo: [] };
|
|
33
33
|
I.value.searchCode && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "name", operator: "CONTAIN", dataType: "TEXT", propValue: I.value.searchCode }), I.value.searchName && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "alias", operator: "CONTAIN", dataType: "TEXT", propValue: I.value.searchName });
|
|
34
34
|
const a2 = e2.code || P.systemCode;
|
|
35
|
-
|
|
35
|
+
N.post(window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/list/" + a2 + "/0/" + e2.publishVersion, l2).then((e3) => {
|
|
36
36
|
U.value = e3.data, E.value.pageSize = e3.size, E.value.total = e3.total;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -42,18 +42,18 @@ const k = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
|
|
|
42
42
|
function R() {
|
|
43
43
|
if (B.value.name) {
|
|
44
44
|
const e2 = X($.value.code);
|
|
45
|
-
|
|
46
|
-
} else
|
|
45
|
+
T("select", { dataTable: B.value, system: e2 }), T("update:visible", false);
|
|
46
|
+
} else V.warning("请选择一条记录!");
|
|
47
47
|
}
|
|
48
48
|
function X(e2) {
|
|
49
49
|
const l2 = A.value.find((l3) => l3.code === e2);
|
|
50
50
|
if (l2) return JSON.parse(JSON.stringify(l2));
|
|
51
51
|
}
|
|
52
52
|
function q() {
|
|
53
|
-
|
|
53
|
+
T("update:visible", false);
|
|
54
54
|
}
|
|
55
55
|
m(() => P.visible, (e2) => {
|
|
56
|
-
x.value = e2, e2 &&
|
|
56
|
+
x.value = e2, e2 && N.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e3) => {
|
|
57
57
|
e3 && e3.forEach((e4) => {
|
|
58
58
|
e4.name = e4.name + "(" + e4.publishVersion + ")";
|
|
59
59
|
});
|
|
@@ -62,15 +62,15 @@ const k = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
|
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
64
|
return (p3, c2) => {
|
|
65
|
-
const m2 = o,
|
|
66
|
-
return v(), d(G, { "append-to-body": "", "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": c2[
|
|
65
|
+
const m2 = o, N2 = t, V2 = s, _3 = n, T2 = a, P2 = i, O2 = u, B2 = r, X2 = l, G = e;
|
|
66
|
+
return v(), d(G, { "append-to-body": "", "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": c2[8] || (c2[8] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": q }, { footer: f(() => [z("div", k, [g(_3, { type: "default", size: "small", onClick: c2[7] || (c2[7] = (e2) => x.value = false) }, { default: f(() => [...c2[11] || (c2[11] = [w("返回", -1)])]), _: 1 }), g(_3, { size: "small", type: "primary", onClick: R }, { default: f(() => [...c2[12] || (c2[12] = [w(" 确定 ", -1)])]), _: 1 })])]), default: f(() => [g(X2, { style: { height: "400px" } }, { default: f(() => [g(T2, { style: { padding: "0", height: "50px" } }, { default: f(() => [g(N2, { modelValue: $.value.code, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => $.value.code = e2), onChange: D, "filter-method": M, "value-key": "code", size: "small", filterable: "", style: { width: "240px" } }, { default: f(() => [(v(true), h(y, null, b(A.value, (e2) => (v(), d(m2, { key: e2.code, label: e2.name, value: e2.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), g(V2, { size: "small", clearable: "", modelValue: I.value.searchCode, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => I.value.searchCode = e2), placeholder: "编码", style: { width: "100px" } }, null, 8, ["modelValue"]), g(V2, { size: "small", clearable: "", modelValue: I.value.searchName, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => I.value.searchName = e2), placeholder: "名称", style: { width: "100px" } }, null, 8, ["modelValue"]), g(_3, { type: "primary", size: "small", icon: C(S), onClick: c2[3] || (c2[3] = (e2) => {
|
|
67
67
|
J($.value);
|
|
68
|
-
}) }, { default: f(() => [...c2[
|
|
68
|
+
}) }, { default: f(() => [...c2[9] || (c2[9] = [w("查询", -1)])]), _: 1 }, 8, ["icon"]), g(_3, { size: "small", icon: C(S), onClick: c2[4] || (c2[4] = (e2) => (I.value = { searchCode: "", searchName: "" }, void J($.value))) }, { default: f(() => [...c2[10] || (c2[10] = [w("重置", -1)])]), _: 1 }, 8, ["icon"])]), _: 1 }), g(O2, { ref_key: "tableRef", ref: L, "current-row-key": "code", "row-key": "code", onRowClick: j, data: U.value, "highlight-current-row": "", style: { width: "100%" } }, { default: f(() => [g(P2, { type: "index", width: "50" }), g(P2, { prop: "name", label: "编码" }), g(P2, { prop: "alias", label: "名称" }), g(P2, { prop: "modifierName", label: "修改人" }), g(P2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
|
|
69
69
|
let l2 = new Date(e3);
|
|
70
70
|
return `${l2.getFullYear()}-${("0" + (l2.getMonth() + 1)).slice(-2)}-${("0" + l2.getDate()).slice(-2)} ${("0" + l2.getHours()).slice(-2)}:${("0" + l2.getMinutes()).slice(-2)}:${("0" + l2.getSeconds()).slice(-2)}`;
|
|
71
|
-
})(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), g(B2, { "current-page": E.value.currentPage, "onUpdate:currentPage": c2[
|
|
71
|
+
})(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), g(B2, { "current-page": E.value.currentPage, "onUpdate:currentPage": c2[5] || (c2[5] = (e2) => E.value.currentPage = e2), "page-size": E.value.pageSize, "onUpdate:pageSize": c2[6] || (c2[6] = (e2) => E.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: E.value.total, onSizeChange: F, onCurrentChange: F }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
|
|
72
72
|
};
|
|
73
73
|
} });
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
_ as default
|
|
76
76
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -1204,13 +1204,13 @@
|
|
|
1204
1204
|
position: static;
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
|
-
.el-select + .el-input[data-v-
|
|
1207
|
+
.el-select + .el-input[data-v-f557a3ca] {
|
|
1208
1208
|
margin-left: 10px;
|
|
1209
1209
|
}
|
|
1210
|
-
.el-input + .el-input[data-v-
|
|
1210
|
+
.el-input + .el-input[data-v-f557a3ca] {
|
|
1211
1211
|
margin-left: 10px;
|
|
1212
1212
|
}
|
|
1213
|
-
.el-input + .el-button[data-v-
|
|
1213
|
+
.el-input + .el-button[data-v-f557a3ca] {
|
|
1214
1214
|
margin-left: 10px;
|
|
1215
1215
|
}
|
|
1216
1216
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "service-flow-designer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.19-flow1",
|
|
4
4
|
"description": "AgileBuilder Service Flow Designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@logicflow/layout": "1.2.0-alpha.16",
|
|
62
62
|
"@uiw/codemirror-themes-all": "^4.21.25",
|
|
63
63
|
"@vueuse/core": "^10.9.0",
|
|
64
|
-
"agilebuilder-ui": "1.1.
|
|
64
|
+
"agilebuilder-ui": "1.1.65",
|
|
65
65
|
"codemirror": "^6.0.1",
|
|
66
66
|
"nprogress": "^0.2.0",
|
|
67
67
|
"pinia": "^2.1.7",
|