agilebuilder-ui 1.1.57-sit1 → 1.1.57-sit3
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/lib/{401-c5a1349e.js → 401-636d8b54.js} +1 -1
- package/lib/{404-b03064f7.js → 404-06a6c571.js} +1 -1
- package/lib/{_baseUniq-BXtq6_NW-d6551fa9.js → _baseUniq-BXtq6_NW-225b437f.js} +2 -2
- package/lib/{arc-Js_tyW10-c0c7c1a2.js → arc-Js_tyW10-6f3f1db2.js} +1 -1
- package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-4df08933.js +11 -0
- package/lib/{architectureDiagram-SUXI7LT5-kyYGGrHN-d776d126.js → architectureDiagram-SUXI7LT5-kyYGGrHN-0f7e87f0.js} +8 -8
- package/lib/{blockDiagram-6J76NXCF-IAr4zDV3-47209215.js → blockDiagram-6J76NXCF-IAr4zDV3-8da0a1a7.js} +7 -7
- package/lib/{c4Diagram-6F6E4RAY-Dv27rXcJ-ce9d7848.js → c4Diagram-6F6E4RAY-Dv27rXcJ-c2b174b6.js} +3 -3
- package/lib/{channel-BBZy6zOT-e388a5fc.js → channel-BBZy6zOT-b4765106.js} +1 -1
- package/lib/{chunk-353BL4L5-Dn_Y_Yna-e72b46c0.js → chunk-353BL4L5-Dn_Y_Yna-1776736a.js} +1 -1
- package/lib/{chunk-67H74DCK-Br5U8bfD-8f08192d.js → chunk-67H74DCK-Br5U8bfD-a0911b18.js} +1 -1
- package/lib/{chunk-AACKK3MU-DH_MKxca-d9d6453a.js → chunk-AACKK3MU-DH_MKxca-c07677af.js} +1 -1
- package/lib/{chunk-BFAMUDN2-DHLCoYMN-031abe1a.js → chunk-BFAMUDN2-DHLCoYMN-eb545da6.js} +1 -1
- package/lib/{chunk-E2GYISFI-DQPHyyga-ca9a4f36.js → chunk-E2GYISFI-DQPHyyga-aa6ec5ff.js} +1 -1
- package/lib/{chunk-OW32GOEJ-CQOSE6Bn-734be41a.js → chunk-OW32GOEJ-CQOSE6Bn-dbe507d3.js} +3 -3
- package/lib/{chunk-SKB7J2MH-BlwHRDiW-29d649eb.js → chunk-SKB7J2MH-BlwHRDiW-e6132f1f.js} +1 -1
- package/lib/{chunk-SZ463SBG-DEp8buKJ-b1a17931.js → chunk-SZ463SBG-DEp8buKJ-514d9beb.js} +4 -4
- package/lib/{classDiagram-M3E45YP4-D0ySDe-v-c256310d.js → classDiagram-M3E45YP4-D0ySDe-v-1cdc4005.js} +6 -6
- package/lib/{classDiagram-v2-YAWTLIQI-D0ySDe-v-c256310d.js → classDiagram-v2-YAWTLIQI-D0ySDe-v-1cdc4005.js} +6 -6
- package/lib/{clone-CEJtuQzg-7ce1b437.js → clone-CEJtuQzg-d9ba41f8.js} +1 -1
- package/lib/{dagre-JOIXM2OF-5zx0JY2T-07da96ef.js → dagre-JOIXM2OF-5zx0JY2T-24815a3c.js} +7 -7
- package/lib/{diagram-5UYTHUR4-C19nyAKc-8c1e71d8.js → diagram-5UYTHUR4-C19nyAKc-777429e8.js} +7 -7
- package/lib/{diagram-VMROVX33-DkGwo-hj-96ad49c5.js → diagram-VMROVX33-DkGwo-hj-013b3705.js} +8 -8
- package/lib/{diagram-ZTM2IBQH-CBgHCu9L-6e909326.js → diagram-ZTM2IBQH-CBgHCu9L-9e561cf8.js} +7 -7
- package/lib/{erDiagram-3M52JZNH-cttdAJXW-43e587f0.js → erDiagram-3M52JZNH-cttdAJXW-bfce1da6.js} +5 -5
- package/lib/{flowDiagram-KYDEHFYC-9HpsqDdB-97303193.js → flowDiagram-KYDEHFYC-9HpsqDdB-e7c887af.js} +6 -6
- package/lib/{ganttDiagram-EK5VF46D-8QB3ofs6-3e715e1e.js → ganttDiagram-EK5VF46D-8QB3ofs6-85cf3e57.js} +3 -3
- package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-f5711898.js +11 -0
- package/lib/{gitGraphDiagram-GW3U2K7C-DNzc0Vx_-a6b5ffbb.js → gitGraphDiagram-GW3U2K7C-DNzc0Vx_-5fd38d51.js} +8 -8
- package/lib/{graph-3zJxsO-i-fc91751a.js → graph-3zJxsO-i-c290b7f9.js} +3 -3
- package/lib/{iframe-page-81cc92ea.js → iframe-page-e15f9aa6.js} +1 -1
- package/lib/{index-c82e996c.js → index-0ed2fd1d.js} +70 -33
- package/lib/info-63CPKGFF-C8sYWczU-6af95050.js +11 -0
- package/lib/{infoDiagram-LHK5PUON-C-vFFPTf-3c20ccfa.js → infoDiagram-LHK5PUON-C-vFFPTf-a80cb5a6.js} +6 -6
- package/lib/{journeyDiagram-EWQZEKCU-BJrw4-AG-60cabfcc.js → journeyDiagram-EWQZEKCU-BJrw4-AG-6b1ce36e.js} +5 -5
- package/lib/{kanban-definition-ZSS6B67P-BptAnqU--e12fd5b0.js → kanban-definition-ZSS6B67P-BptAnqU--46cade26.js} +3 -3
- package/lib/{layout-sGZIJplX-4d18c1af.js → layout-sGZIJplX-2ba75b8e.js} +5 -5
- package/lib/{linear-DqgVh5FN-b45457e8.js → linear-DqgVh5FN-5c70024b.js} +1 -1
- package/lib/{mermaid-parser.core-CH9ryA1K-53eb12ca.js → mermaid-parser.core-CH9ryA1K-bf0875cb.js} +12 -12
- package/lib/{mermaid.core-CAqkCmS1-6a3e5da0.js → mermaid.core-CAqkCmS1-6c0f2e5c.js} +30 -30
- package/lib/{min-BngCxx8g-91dfa5a9.js → min-BngCxx8g-43ed7f04.js} +3 -3
- package/lib/{mindmap-definition-6CBA2TL7-Cp_EeEsh-4148cc78.js → mindmap-definition-6CBA2TL7-Cp_EeEsh-3a57f8d1.js} +2 -2
- package/lib/packet-HUATNLJX-bfFWFja0-5b720ab3.js +11 -0
- package/lib/pie-WTHONI2E-QPrWs3SR-436ddd74.js +11 -0
- package/lib/{pieDiagram-NIOCPIFQ-C46Y_4C6-6c431548.js → pieDiagram-NIOCPIFQ-C46Y_4C6-35933904.js} +8 -8
- package/lib/{quadrantDiagram-2OG54O6I-Dgf6d6F_-629ce505.js → quadrantDiagram-2OG54O6I-Dgf6d6F_-bf70f6d5.js} +3 -3
- package/lib/radar-NJJJXTRR-BnUCJhQL-2afb3d31.js +11 -0
- package/lib/{requirementDiagram-QOLK2EJ7-CSF6N7HA-6641f869.js → requirementDiagram-QOLK2EJ7-CSF6N7HA-872aad37.js} +4 -4
- package/lib/{sankeyDiagram-4UZDY2LN-BAHB7dMS-e5307903.js → sankeyDiagram-4UZDY2LN-BAHB7dMS-164d5969.js} +2 -2
- package/lib/{sequenceDiagram-SKLFT4DO-10gLJ50N-faee7ce9.js → sequenceDiagram-SKLFT4DO-10gLJ50N-25ebccff.js} +4 -4
- package/lib/{stateDiagram-MI5ZYTHO-D6p6nCaj-42d9b7dd.js → stateDiagram-MI5ZYTHO-D6p6nCaj-463eda6c.js} +9 -9
- package/lib/{stateDiagram-v2-5AN5P6BG-DaN5hC-t-7778df73.js → stateDiagram-v2-5AN5P6BG-DaN5hC-t-9e723206.js} +5 -5
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +1 -1
- package/lib/{tab-content-iframe-index-6bd7ae79.js → tab-content-iframe-index-f6d751c8.js} +1 -1
- package/lib/{tab-content-index-86e0a67a.js → tab-content-index-21a895d8.js} +1 -1
- package/lib/{tache-subprocess-history-2e4e9d30.js → tache-subprocess-history-b7f9b31d.js} +1 -1
- package/lib/{timeline-definition-MYPXXCX6-gLqnWxDu-a6ef00b8.js → timeline-definition-MYPXXCX6-gLqnWxDu-ef084beb.js} +3 -3
- package/lib/treemap-75Q7IDZK-B2atdfMH-b96fa422.js +11 -0
- package/lib/{xychartDiagram-H2YORKM3-Whqa4ezL-d2f71eee.js → xychartDiagram-H2YORKM3-Whqa4ezL-53c0c31c.js} +3 -3
- package/package.json +1 -1
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +40 -3
- package/packages/super-grid/src/columns-config.vue +11 -5
- package/packages/super-grid/src/dynamic-input.vue +40 -3
- package/packages/super-grid/src/super-grid-service.js +18 -7
- package/packages/super-nine-grid/src/super-grid-service.js +7 -5
- package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-c823c7a1.js +0 -11
- package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-4041fce9.js +0 -11
- package/lib/info-63CPKGFF-C8sYWczU-f3c99df8.js +0 -11
- package/lib/packet-HUATNLJX-bfFWFja0-8167d48f.js +0 -11
- package/lib/pie-WTHONI2E-QPrWs3SR-860d0817.js +0 -11
- package/lib/radar-NJJJXTRR-BnUCJhQL-a6d31b8c.js +0 -11
- package/lib/treemap-75Q7IDZK-B2atdfMH-a836817c.js +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
|
|
2
|
-
import { a8 as s } from "./index-
|
|
2
|
+
import { a8 as s } from "./index-0ed2fd1d.js";
|
|
3
3
|
const a = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
|
|
4
4
|
this.src = this.$route.query.src;
|
|
5
5
|
} }, mounted() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as f, aa as x, ab as _, ac as P, ad as h, ae as O, af as I, ag as M } from "./index-
|
|
1
|
+
import { a8 as f, aa as x, ab as _, ac as P, ad as h, ae as O, af as I, ag as M } from "./index-0ed2fd1d.js";
|
|
2
2
|
import { resolveComponent as u, openBlock as d, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, createElementVNode as m, toDisplayString as w, normalizeClass as S, createCommentVNode as y } from "vue";
|
|
3
3
|
const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
|
|
4
4
|
return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as t, openBlock as l, createElementBlock as s, createElementVNode as y, createVNode as a, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
|
|
2
|
-
import { a8 as I } from "./index-
|
|
2
|
+
import { a8 as I } from "./index-0ed2fd1d.js";
|
|
3
3
|
const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
|
|
4
4
|
const o = this.$route.query.workflowId;
|
|
5
5
|
o && (this.workflowId = parseInt(o));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as a, D as yt, ag as gt, z as ft, d as G, c as mt, l as S, ac as xt, ad as bt, ae as _t, af as kt } from "./mermaid.core-CAqkCmS1-
|
|
2
|
-
import { d as K } from "./arc-Js_tyW10-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { _ as a, D as yt, ag as gt, z as ft, d as G, c as mt, l as S, ac as xt, ad as bt, ae as _t, af as kt } from "./mermaid.core-CAqkCmS1-6c0f2e5c.js";
|
|
2
|
+
import { d as K } from "./arc-Js_tyW10-6f3f1db2.js";
|
|
3
|
+
import "./index-0ed2fd1d.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
var q = function() {
|
|
6
6
|
var n = a(function(s, d, l, h) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { T as s, h as T } from "./mermaid-parser.core-CH9ryA1K-bf0875cb.js";
|
|
2
|
+
import "./index-0ed2fd1d.js";
|
|
3
|
+
import "vue";
|
|
4
|
+
import "./mermaid.core-CAqkCmS1-6c0f2e5c.js";
|
|
5
|
+
import "./_baseUniq-BXtq6_NW-225b437f.js";
|
|
6
|
+
import "./min-BngCxx8g-43ed7f04.js";
|
|
7
|
+
import "./clone-CEJtuQzg-d9ba41f8.js";
|
|
8
|
+
export {
|
|
9
|
+
s as TreemapModule,
|
|
10
|
+
T as createTreemapServices
|
|
11
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as n, a1 as hi, G as gt, F as Bt, H as oi, aD as ri, l as zt, a9 as kt, i as li, t as Ot, b as ci, a as gi, q as ui, g as xi, s as di, z as pi, K as fi, e as mi } from "./mermaid.core-CAqkCmS1-
|
|
1
|
+
import { _ as n, a1 as hi, G as gt, F as Bt, H as oi, aD as ri, l as zt, a9 as kt, i as li, t as Ot, b as ci, a as gi, q as ui, g as xi, s as di, z as pi, K as fi, e as mi } from "./mermaid.core-CAqkCmS1-6c0f2e5c.js";
|
|
2
2
|
import { i as yi } from "./init-ZxktEp_H-731b6c9b.js";
|
|
3
3
|
import { o as bi } from "./ordinal-DSZU4PqD-57a34423.js";
|
|
4
|
-
import { l as _t } from "./linear-DqgVh5FN-
|
|
5
|
-
import "./index-
|
|
4
|
+
import { l as _t } from "./linear-DqgVh5FN-5c70024b.js";
|
|
5
|
+
import "./index-0ed2fd1d.js";
|
|
6
6
|
import "vue";
|
|
7
7
|
import "./defaultLocale-DVr69WTU-dbb4acef.js";
|
|
8
8
|
var Tt, Rt, Dt, Lt, Pt, vt, Et, Mt, It, $t;
|
package/package.json
CHANGED
|
@@ -357,14 +357,18 @@ export default {
|
|
|
357
357
|
const that = this
|
|
358
358
|
const clipboard = new ClipboardJs('#'+this.copyBtnId,{
|
|
359
359
|
text:function (){
|
|
360
|
-
return that
|
|
360
|
+
return that.getSelectItemsTitle(that.value)
|
|
361
361
|
}
|
|
362
362
|
})
|
|
363
363
|
clipboard.on('success',()=>{
|
|
364
|
-
|
|
364
|
+
that.$message({
|
|
365
|
+
type: 'success',
|
|
366
|
+
message: that.$t('chatEmbed.copySuccess'),
|
|
367
|
+
showClose: true
|
|
368
|
+
})
|
|
365
369
|
})
|
|
366
370
|
clipboard.on('error',(e)=>{
|
|
367
|
-
console.
|
|
371
|
+
console.error('复制失败',e)
|
|
368
372
|
})
|
|
369
373
|
},
|
|
370
374
|
methods: {
|
|
@@ -875,6 +879,39 @@ export default {
|
|
|
875
879
|
// 清空 空值 勾选,列表查询空值 重置时调用了
|
|
876
880
|
clearEmptyValue() {
|
|
877
881
|
this.checkEmptyValue = false
|
|
882
|
+
},
|
|
883
|
+
// 获得选中项的label值
|
|
884
|
+
getSelectItemsTitle(val) {
|
|
885
|
+
if (val !== null && val !== undefined && val !== '' && val.length > 0) {
|
|
886
|
+
let selectTittle = ''
|
|
887
|
+
if (typeof val === 'string') {
|
|
888
|
+
// 单选
|
|
889
|
+
if(this.optionItems.length > 0){
|
|
890
|
+
this.optionItems.forEach((Ttem) => {
|
|
891
|
+
if (Ttem[this.valueAttribute] === val) {
|
|
892
|
+
selectTittle = Ttem._label_
|
|
893
|
+
}
|
|
894
|
+
})
|
|
895
|
+
} else {
|
|
896
|
+
selectTittle = val
|
|
897
|
+
}
|
|
898
|
+
} else {
|
|
899
|
+
// 多选
|
|
900
|
+
if(this.optionItems.length > 0){
|
|
901
|
+
this.optionItems.forEach((Ttem) => {
|
|
902
|
+
val.forEach((Vtem) => {
|
|
903
|
+
if (Ttem[this.valueAttribute] === Vtem) {
|
|
904
|
+
selectTittle = selectTittle + Ttem._label_ + ','
|
|
905
|
+
}
|
|
906
|
+
})
|
|
907
|
+
})
|
|
908
|
+
selectTittle = selectTittle.slice(0, selectTittle.length - 1)
|
|
909
|
+
} else {
|
|
910
|
+
selectTittle = val.join(',')
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
return selectTittle
|
|
914
|
+
}
|
|
878
915
|
}
|
|
879
916
|
},
|
|
880
917
|
emits: [
|
|
@@ -303,11 +303,17 @@ export default {
|
|
|
303
303
|
newIndex !== -1
|
|
304
304
|
) {
|
|
305
305
|
|
|
306
|
-
const
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
306
|
+
const column = vm.columns[oldIndex]
|
|
307
|
+
const newColumn = vm.columns[newIndex]
|
|
308
|
+
if((column.prop && column.prop !== '$index' && column.prop !== '$selection') &&
|
|
309
|
+
(newColumn.prop && newColumn.prop !== '$index' && newColumn.prop !== '$selection')){
|
|
310
|
+
// 如果是 序号、复选框列,不要修改元素
|
|
311
|
+
const dragColumn = JSON.parse(JSON.stringify(vm.columns[oldIndex]))
|
|
312
|
+
// 将拖动的元素删除
|
|
313
|
+
vm.columns.splice(oldIndex, 1)
|
|
314
|
+
// 将拖动的元素插入到新位置
|
|
315
|
+
vm.columns.splice(newIndex, 0, dragColumn)
|
|
316
|
+
}
|
|
311
317
|
}
|
|
312
318
|
// 重置列顺序
|
|
313
319
|
for(let i=0;i<vm.columns.length;i++){
|
|
@@ -966,14 +966,18 @@ export default {
|
|
|
966
966
|
})
|
|
967
967
|
const clipboard = new ClipboardJs('#'+this.copyBtnId,{
|
|
968
968
|
text:function (){
|
|
969
|
-
return that
|
|
969
|
+
return that.getSelectItemsTitle(that.innerValue)
|
|
970
970
|
}
|
|
971
971
|
})
|
|
972
972
|
clipboard.on('success',()=>{
|
|
973
|
-
|
|
973
|
+
that.$message({
|
|
974
|
+
type: 'success',
|
|
975
|
+
message: that.$t('chatEmbed.copySuccess'),
|
|
976
|
+
showClose: true
|
|
977
|
+
})
|
|
974
978
|
})
|
|
975
979
|
clipboard.on('error',(e)=>{
|
|
976
|
-
console.
|
|
980
|
+
console.error('复制失败',e)
|
|
977
981
|
})
|
|
978
982
|
},
|
|
979
983
|
destroyed() {
|
|
@@ -2163,6 +2167,39 @@ export default {
|
|
|
2163
2167
|
showClose: true
|
|
2164
2168
|
})
|
|
2165
2169
|
}
|
|
2170
|
+
},
|
|
2171
|
+
// 获得选中项的label值
|
|
2172
|
+
getSelectItemsTitle(val) {
|
|
2173
|
+
if (val !== null && val !== undefined && val !== '' && val.length > 0) {
|
|
2174
|
+
let selectTittle = ''
|
|
2175
|
+
if (typeof val === 'string') {
|
|
2176
|
+
// 单选
|
|
2177
|
+
if(this.options.length > 0){
|
|
2178
|
+
this.options.forEach((Ttem) => {
|
|
2179
|
+
if (Ttem['value'] === val) {
|
|
2180
|
+
selectTittle = Ttem.label
|
|
2181
|
+
}
|
|
2182
|
+
})
|
|
2183
|
+
} else {
|
|
2184
|
+
selectTittle = val
|
|
2185
|
+
}
|
|
2186
|
+
} else {
|
|
2187
|
+
// 多选
|
|
2188
|
+
if(this.options.length > 0){
|
|
2189
|
+
this.options.forEach((Ttem) => {
|
|
2190
|
+
val.forEach((Vtem) => {
|
|
2191
|
+
if (Ttem['value'] === Vtem) {
|
|
2192
|
+
selectTittle = selectTittle + Ttem.label + ','
|
|
2193
|
+
}
|
|
2194
|
+
})
|
|
2195
|
+
})
|
|
2196
|
+
selectTittle = selectTittle.slice(0, selectTittle.length - 1)
|
|
2197
|
+
} else {
|
|
2198
|
+
selectTittle = val.join(',')
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
return selectTittle
|
|
2202
|
+
}
|
|
2166
2203
|
}
|
|
2167
2204
|
}
|
|
2168
2205
|
}
|
|
@@ -288,28 +288,39 @@ const superGridService = {
|
|
|
288
288
|
if (this.settings) {
|
|
289
289
|
resolve(this.settings)
|
|
290
290
|
} else {
|
|
291
|
-
|
|
292
|
-
const param = {}
|
|
291
|
+
let url = window.$vueApp.config.globalProperties.baseAPI + '/component/super-grids/' + this.code
|
|
292
|
+
// const param = {}
|
|
293
293
|
const isSqlSetting = this.options.isSql
|
|
294
294
|
if (this.options && typeof isSqlSetting !== 'undefined') {
|
|
295
295
|
this.isSql = isSqlSetting
|
|
296
|
-
param.isSql = isSqlSetting + ''
|
|
296
|
+
// param.isSql = isSqlSetting + ''
|
|
297
297
|
}
|
|
298
|
-
|
|
298
|
+
url = url + '?_isSql='+isSqlSetting
|
|
299
|
+
// param.publishVersion = this.publishVersion
|
|
300
|
+
url = url + '&_publishVersion='+this.publishVersion
|
|
299
301
|
if (
|
|
300
302
|
this.options &&
|
|
301
303
|
typeof this.options.isAdministerListView !== 'undefined' &&
|
|
302
304
|
this.options.isAdministerListView
|
|
303
305
|
) {
|
|
304
|
-
param.isAdminister = this.options.isAdministerListView + ''
|
|
306
|
+
// param.isAdminister = this.options.isAdministerListView + ''
|
|
307
|
+
url = url + '&_isAdminister='+this.options.isAdministerListView
|
|
305
308
|
}
|
|
306
309
|
if (additionalParams) {
|
|
307
|
-
|
|
310
|
+
try {
|
|
311
|
+
const additionalParamsMap = JSON.parse(additionalParams)
|
|
312
|
+
for(let key in additionalParamsMap){
|
|
313
|
+
url = url + '&'+key+'='+additionalParamsMap[key]
|
|
314
|
+
}
|
|
315
|
+
// param.additionalParamMap = additionalParams
|
|
316
|
+
} catch (error) {
|
|
317
|
+
console.error('获得列表配置时附加参数string转换为object错误')
|
|
318
|
+
}
|
|
308
319
|
}
|
|
309
320
|
this.isLoading = true
|
|
310
321
|
// 初始化组件时先获取元信息再获取数据,以后翻页、排序、查询不再去获取元数据了
|
|
311
322
|
this.$http
|
|
312
|
-
.
|
|
323
|
+
.get(url)
|
|
313
324
|
.then((data) => {
|
|
314
325
|
resolve(data)
|
|
315
326
|
})
|
|
@@ -4,20 +4,22 @@ import {isHasOptionFunction} from './utils'
|
|
|
4
4
|
|
|
5
5
|
const superGridService = {
|
|
6
6
|
initialize() {
|
|
7
|
-
|
|
7
|
+
let url =
|
|
8
8
|
window.$vueApp.config.globalProperties.baseAPI +
|
|
9
9
|
'/component/super-grids/' +
|
|
10
10
|
this.code
|
|
11
|
-
const param = {}
|
|
11
|
+
// const param = {}
|
|
12
12
|
const isSqlSetting = this.options.isSql
|
|
13
13
|
if (this.options && typeof isSqlSetting !== 'undefined') {
|
|
14
14
|
this.isSql = isSqlSetting
|
|
15
|
-
param.isSql = isSqlSetting + ''
|
|
15
|
+
// param.isSql = isSqlSetting + ''
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
url = url + '?_isSql='+isSqlSetting
|
|
18
|
+
// param.publishVersion = this.publishVersion
|
|
19
|
+
url = url + '&_publishVersion='+this.publishVersion
|
|
18
20
|
this.isLoading = true
|
|
19
21
|
// 初始化组件时先获取元信息再获取数据,以后翻页、排序、查询不再去获取元数据了
|
|
20
|
-
this.$http.
|
|
22
|
+
this.$http.get(url).then((data) => {
|
|
21
23
|
// console.log('自定义显示数量1:' + data)
|
|
22
24
|
// console.log('initialize--grid--data.columns.length=', data.columns.length)
|
|
23
25
|
if (this.options.pageSizes && data.pagination) {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { A as a, e as s } from "./mermaid-parser.core-CH9ryA1K-53eb12ca.js";
|
|
2
|
-
import "./index-c82e996c.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-6a3e5da0.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-d6551fa9.js";
|
|
6
|
-
import "./min-BngCxx8g-91dfa5a9.js";
|
|
7
|
-
import "./clone-CEJtuQzg-7ce1b437.js";
|
|
8
|
-
export {
|
|
9
|
-
a as ArchitectureModule,
|
|
10
|
-
s as createArchitectureServices
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { G, f as s } from "./mermaid-parser.core-CH9ryA1K-53eb12ca.js";
|
|
2
|
-
import "./index-c82e996c.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-6a3e5da0.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-d6551fa9.js";
|
|
6
|
-
import "./min-BngCxx8g-91dfa5a9.js";
|
|
7
|
-
import "./clone-CEJtuQzg-7ce1b437.js";
|
|
8
|
-
export {
|
|
9
|
-
G as GitGraphModule,
|
|
10
|
-
s as createGitGraphServices
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { I as c, c as f } from "./mermaid-parser.core-CH9ryA1K-53eb12ca.js";
|
|
2
|
-
import "./index-c82e996c.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-6a3e5da0.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-d6551fa9.js";
|
|
6
|
-
import "./min-BngCxx8g-91dfa5a9.js";
|
|
7
|
-
import "./clone-CEJtuQzg-7ce1b437.js";
|
|
8
|
-
export {
|
|
9
|
-
c as InfoModule,
|
|
10
|
-
f as createInfoServices
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { P as c, a as s } from "./mermaid-parser.core-CH9ryA1K-53eb12ca.js";
|
|
2
|
-
import "./index-c82e996c.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-6a3e5da0.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-d6551fa9.js";
|
|
6
|
-
import "./min-BngCxx8g-91dfa5a9.js";
|
|
7
|
-
import "./clone-CEJtuQzg-7ce1b437.js";
|
|
8
|
-
export {
|
|
9
|
-
c as PacketModule,
|
|
10
|
-
s as createPacketServices
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { b as s, d as c } from "./mermaid-parser.core-CH9ryA1K-53eb12ca.js";
|
|
2
|
-
import "./index-c82e996c.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-6a3e5da0.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-d6551fa9.js";
|
|
6
|
-
import "./min-BngCxx8g-91dfa5a9.js";
|
|
7
|
-
import "./clone-CEJtuQzg-7ce1b437.js";
|
|
8
|
-
export {
|
|
9
|
-
s as PieModule,
|
|
10
|
-
c as createPieServices
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { R as d, g as s } from "./mermaid-parser.core-CH9ryA1K-53eb12ca.js";
|
|
2
|
-
import "./index-c82e996c.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-6a3e5da0.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-d6551fa9.js";
|
|
6
|
-
import "./min-BngCxx8g-91dfa5a9.js";
|
|
7
|
-
import "./clone-CEJtuQzg-7ce1b437.js";
|
|
8
|
-
export {
|
|
9
|
-
d as RadarModule,
|
|
10
|
-
s as createRadarServices
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { T as s, h as T } from "./mermaid-parser.core-CH9ryA1K-53eb12ca.js";
|
|
2
|
-
import "./index-c82e996c.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-6a3e5da0.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-d6551fa9.js";
|
|
6
|
-
import "./min-BngCxx8g-91dfa5a9.js";
|
|
7
|
-
import "./clone-CEJtuQzg-7ce1b437.js";
|
|
8
|
-
export {
|
|
9
|
-
s as TreemapModule,
|
|
10
|
-
T as createTreemapServices
|
|
11
|
-
};
|