agilebuilder-ui 1.1.54-sit2 → 1.1.54-sit4
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-11db557a.js → 401-4130f673.js} +1 -1
- package/lib/{404-ebc916f8.js → 404-7171c0bc.js} +1 -1
- package/lib/{_baseUniq-BXtq6_NW-0dd20adb.js → _baseUniq-BXtq6_NW-66632fbc.js} +2 -2
- package/lib/{arc-Js_tyW10-3cf5d360.js → arc-Js_tyW10-592a34e0.js} +1 -1
- package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-c77ebafb.js +11 -0
- package/lib/{architectureDiagram-SUXI7LT5-kyYGGrHN-bb04688f.js → architectureDiagram-SUXI7LT5-kyYGGrHN-21d43f72.js} +8 -8
- package/lib/{blockDiagram-6J76NXCF-IAr4zDV3-7e06287b.js → blockDiagram-6J76NXCF-IAr4zDV3-241db9d1.js} +7 -7
- package/lib/{c4Diagram-6F6E4RAY-Dv27rXcJ-8b6135f2.js → c4Diagram-6F6E4RAY-Dv27rXcJ-804fad62.js} +3 -3
- package/lib/{channel-BBZy6zOT-18cddf9e.js → channel-BBZy6zOT-8298bf98.js} +1 -1
- package/lib/{chunk-353BL4L5-Dn_Y_Yna-fa14879d.js → chunk-353BL4L5-Dn_Y_Yna-9489fc07.js} +1 -1
- package/lib/{chunk-67H74DCK-Br5U8bfD-f5642db7.js → chunk-67H74DCK-Br5U8bfD-5eace2d1.js} +1 -1
- package/lib/{chunk-AACKK3MU-DH_MKxca-4137b99c.js → chunk-AACKK3MU-DH_MKxca-cd949b9e.js} +1 -1
- package/lib/{chunk-BFAMUDN2-DHLCoYMN-ff0f343e.js → chunk-BFAMUDN2-DHLCoYMN-e4c355de.js} +1 -1
- package/lib/{chunk-E2GYISFI-DQPHyyga-f00f74f4.js → chunk-E2GYISFI-DQPHyyga-d24f5a51.js} +1 -1
- package/lib/{chunk-OW32GOEJ-CQOSE6Bn-6000dbf2.js → chunk-OW32GOEJ-CQOSE6Bn-3eba5def.js} +3 -3
- package/lib/{chunk-SKB7J2MH-BlwHRDiW-7c98fa1a.js → chunk-SKB7J2MH-BlwHRDiW-4249238d.js} +1 -1
- package/lib/{chunk-SZ463SBG-DEp8buKJ-d1585e2d.js → chunk-SZ463SBG-DEp8buKJ-071cba25.js} +4 -4
- package/lib/{classDiagram-M3E45YP4-D0ySDe-v-5a98da66.js → classDiagram-M3E45YP4-D0ySDe-v-91c40022.js} +6 -6
- package/lib/{classDiagram-v2-YAWTLIQI-D0ySDe-v-5a98da66.js → classDiagram-v2-YAWTLIQI-D0ySDe-v-91c40022.js} +6 -6
- package/lib/{clone-CEJtuQzg-f58fe871.js → clone-CEJtuQzg-258da07e.js} +1 -1
- package/lib/{dagre-JOIXM2OF-5zx0JY2T-2ba1930d.js → dagre-JOIXM2OF-5zx0JY2T-8c6eef34.js} +7 -7
- package/lib/{diagram-5UYTHUR4-C19nyAKc-43ce80a0.js → diagram-5UYTHUR4-C19nyAKc-afd680a6.js} +7 -7
- package/lib/{diagram-VMROVX33-DkGwo-hj-29f303d0.js → diagram-VMROVX33-DkGwo-hj-f274eeba.js} +8 -8
- package/lib/{diagram-ZTM2IBQH-CBgHCu9L-b21e1a6f.js → diagram-ZTM2IBQH-CBgHCu9L-b010d51a.js} +7 -7
- package/lib/{erDiagram-3M52JZNH-cttdAJXW-5af37d21.js → erDiagram-3M52JZNH-cttdAJXW-7e57fabf.js} +5 -5
- package/lib/{flowDiagram-KYDEHFYC-9HpsqDdB-a06b4c8c.js → flowDiagram-KYDEHFYC-9HpsqDdB-9429f9ba.js} +6 -6
- package/lib/{ganttDiagram-EK5VF46D-8QB3ofs6-211d18b5.js → ganttDiagram-EK5VF46D-8QB3ofs6-5de2c578.js} +3 -3
- package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-63145ee5.js +11 -0
- package/lib/{gitGraphDiagram-GW3U2K7C-DNzc0Vx_-2c1fe8ea.js → gitGraphDiagram-GW3U2K7C-DNzc0Vx_-076b6513.js} +8 -8
- package/lib/{graph-3zJxsO-i-07fbdfcc.js → graph-3zJxsO-i-b9e8a8fe.js} +3 -3
- package/lib/{iframe-page-29f7ac17.js → iframe-page-b38c7801.js} +1 -1
- package/lib/{index-37902e74.js → index-ab7c154d.js} +1926 -1959
- package/lib/info-63CPKGFF-C8sYWczU-2c4695ca.js +11 -0
- package/lib/{infoDiagram-LHK5PUON-C-vFFPTf-e050269d.js → infoDiagram-LHK5PUON-C-vFFPTf-00879e89.js} +6 -6
- package/lib/{journeyDiagram-EWQZEKCU-BJrw4-AG-7fa39f6c.js → journeyDiagram-EWQZEKCU-BJrw4-AG-83c6b08a.js} +5 -5
- package/lib/{kanban-definition-ZSS6B67P-BptAnqU--7e01caff.js → kanban-definition-ZSS6B67P-BptAnqU--52620987.js} +3 -3
- package/lib/{layout-sGZIJplX-98190dc4.js → layout-sGZIJplX-4d13ffdb.js} +5 -5
- package/lib/{linear-DqgVh5FN-36f1abec.js → linear-DqgVh5FN-988c12f0.js} +1 -1
- package/lib/{mermaid-parser.core-CH9ryA1K-cb113dbd.js → mermaid-parser.core-CH9ryA1K-92dc9438.js} +12 -12
- package/lib/{mermaid.core-CAqkCmS1-7a15448d.js → mermaid.core-CAqkCmS1-3b4e287a.js} +30 -30
- package/lib/{min-BngCxx8g-bab26a8b.js → min-BngCxx8g-5b0b4efe.js} +3 -3
- package/lib/{mindmap-definition-6CBA2TL7-Cp_EeEsh-f922b7df.js → mindmap-definition-6CBA2TL7-Cp_EeEsh-3bd2a808.js} +2 -2
- package/lib/packet-HUATNLJX-bfFWFja0-63ca003d.js +11 -0
- package/lib/pie-WTHONI2E-QPrWs3SR-f637e710.js +11 -0
- package/lib/{pieDiagram-NIOCPIFQ-C46Y_4C6-43cb6c25.js → pieDiagram-NIOCPIFQ-C46Y_4C6-a3fe9087.js} +8 -8
- package/lib/{quadrantDiagram-2OG54O6I-Dgf6d6F_-9654b90a.js → quadrantDiagram-2OG54O6I-Dgf6d6F_-054d356b.js} +3 -3
- package/lib/radar-NJJJXTRR-BnUCJhQL-001ef91d.js +11 -0
- package/lib/{requirementDiagram-QOLK2EJ7-CSF6N7HA-156d5f6d.js → requirementDiagram-QOLK2EJ7-CSF6N7HA-c894cd8b.js} +4 -4
- package/lib/{sankeyDiagram-4UZDY2LN-BAHB7dMS-0cd85174.js → sankeyDiagram-4UZDY2LN-BAHB7dMS-c92802b6.js} +2 -2
- package/lib/{sequenceDiagram-SKLFT4DO-10gLJ50N-8bbd4634.js → sequenceDiagram-SKLFT4DO-10gLJ50N-2c1fd90f.js} +4 -4
- package/lib/{stateDiagram-MI5ZYTHO-D6p6nCaj-57e3b14a.js → stateDiagram-MI5ZYTHO-D6p6nCaj-789ec047.js} +9 -9
- package/lib/{stateDiagram-v2-5AN5P6BG-DaN5hC-t-7fda9687.js → stateDiagram-v2-5AN5P6BG-DaN5hC-t-b7c97054.js} +5 -5
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +6 -6
- package/lib/{tab-content-iframe-index-3aad43de.js → tab-content-iframe-index-e43fb46a.js} +1 -1
- package/lib/{tab-content-index-304c8405.js → tab-content-index-f3ee662d.js} +1 -1
- package/lib/{tache-subprocess-history-d63f0ebf.js → tache-subprocess-history-39b6545e.js} +1 -1
- package/lib/{timeline-definition-MYPXXCX6-gLqnWxDu-5a0d9750.js → timeline-definition-MYPXXCX6-gLqnWxDu-0ec53542.js} +3 -3
- package/lib/treemap-75Q7IDZK-B2atdfMH-92ba8a13.js +11 -0
- package/lib/{xychartDiagram-H2YORKM3-Whqa4ezL-14e4d9a2.js → xychartDiagram-H2YORKM3-Whqa4ezL-34b64f4c.js} +3 -3
- package/package.json +1 -1
- package/packages/chat-embed/src/chat-sender.vue +6 -4
- package/packages/chat-embed/src/voice/voice.vue +8 -6
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +4 -0
- package/packages/row-form/index.vue +35 -26
- package/packages/super-grid/src/columns-config.vue +18 -109
- package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-e4f19a1e.js +0 -11
- package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-11b55c26.js +0 -11
- package/lib/info-63CPKGFF-C8sYWczU-5e8818fa.js +0 -11
- package/lib/packet-HUATNLJX-bfFWFja0-9e9dc623.js +0 -11
- package/lib/pie-WTHONI2E-QPrWs3SR-cae2aaa0.js +0 -11
- package/lib/radar-NJJJXTRR-BnUCJhQL-947228ad.js +0 -11
- package/lib/treemap-75Q7IDZK-B2atdfMH-727e384d.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-ab7c154d.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-ab7c154d.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-ab7c154d.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-3b4e287a.js";
|
|
2
|
+
import { d as K } from "./arc-Js_tyW10-592a34e0.js";
|
|
3
|
+
import "./index-ab7c154d.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-92dc9438.js";
|
|
2
|
+
import "./index-ab7c154d.js";
|
|
3
|
+
import "vue";
|
|
4
|
+
import "./mermaid.core-CAqkCmS1-3b4e287a.js";
|
|
5
|
+
import "./_baseUniq-BXtq6_NW-66632fbc.js";
|
|
6
|
+
import "./min-BngCxx8g-5b0b4efe.js";
|
|
7
|
+
import "./clone-CEJtuQzg-258da07e.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-3b4e287a.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-988c12f0.js";
|
|
5
|
+
import "./index-ab7c154d.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
|
@@ -56,10 +56,9 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
</template>
|
|
58
58
|
<template #action-list>
|
|
59
|
-
<div style="display: flex; align-items: center">
|
|
59
|
+
<div style="display: flex; align-items: center; gap: 16px">
|
|
60
60
|
<el-tooltip content="上传附件" v-if="showUploadFileTag">
|
|
61
61
|
<el-upload
|
|
62
|
-
style="margin-right: 12px"
|
|
63
62
|
ref="uploadRef"
|
|
64
63
|
:action="uploadFileAction"
|
|
65
64
|
:multiple="true"
|
|
@@ -78,8 +77,9 @@
|
|
|
78
77
|
</el-tooltip>
|
|
79
78
|
<el-tooltip content="语音">
|
|
80
79
|
<!-- @answer="createAnswerMessage" -->
|
|
81
|
-
<VoiceButton @userMessage="handleSubmit" />
|
|
80
|
+
<VoiceButton @userMessage="handleSubmit" class="send-icon" />
|
|
82
81
|
</el-tooltip>
|
|
82
|
+
<el-divider direction="vertical" />
|
|
83
83
|
<el-tooltip v-if="loading" content="取消">
|
|
84
84
|
<el-button type="primary" style="border-radius: 10px" plain round v-loading="loading" @click="handleCancel">
|
|
85
85
|
取消
|
|
@@ -564,7 +564,6 @@ h4 {
|
|
|
564
564
|
font-weight: 400;
|
|
565
565
|
font-size: 16px;
|
|
566
566
|
color: #bbbbbb;
|
|
567
|
-
line-height: 21px;
|
|
568
567
|
text-align: left;
|
|
569
568
|
font-style: normal;
|
|
570
569
|
text-transform: none;
|
|
@@ -606,4 +605,7 @@ h4 {
|
|
|
606
605
|
.send-icon {
|
|
607
606
|
cursor: pointer;
|
|
608
607
|
}
|
|
608
|
+
.el-divider--vertical {
|
|
609
|
+
margin: 0 0;
|
|
610
|
+
}
|
|
609
611
|
</style>
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<span v-if="isShowVoiceBtn">
|
|
3
|
-
<el-button v-if="btnStatus === 'UNDEFINED' || btnStatus === 'CLOSED'" text circle round>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
<!-- <el-button v-if="btnStatus === 'UNDEFINED' || btnStatus === 'CLOSED'" text circle round> -->
|
|
4
|
+
<el-icon v-if="btnStatus === 'UNDEFINED' || btnStatus === 'CLOSED'" color="#409EFF" @click="onclick"
|
|
5
|
+
><Microphone
|
|
6
|
+
/></el-icon>
|
|
7
|
+
<!-- </el-button> -->
|
|
8
|
+
<!-- <el-button v-else text circle round> -->
|
|
9
|
+
<el-icon class="send-icon" v-else color="red"><Mute /></el-icon>
|
|
10
|
+
<!-- </el-button> -->
|
|
9
11
|
</span>
|
|
10
12
|
</template>
|
|
11
13
|
<script setup>
|
|
@@ -640,9 +640,13 @@ export default {
|
|
|
640
640
|
selectNodeInfo.subCompanyCode.push(userData.subCompanyCode)
|
|
641
641
|
if (userData.divisionManager && userData.divisionManager !== '') {
|
|
642
642
|
selectNodeInfo.divisionManager.push(userData.divisionManager)
|
|
643
|
+
} else if (userData.user?.divisionManager) {
|
|
644
|
+
selectNodeInfo.divisionManager.push(userData.user.divisionManager)
|
|
643
645
|
}
|
|
644
646
|
if (userData.divisionManagerName && userData.divisionManagerName !== '') {
|
|
645
647
|
selectNodeInfo.divisionManagerName.push(userData.divisionManagerName)
|
|
648
|
+
} else if (userData.user?.divisionManagerName) {
|
|
649
|
+
selectNodeInfo.divisionManagerName.push(userData.user.divisionManagerName)
|
|
646
650
|
}
|
|
647
651
|
if (userData.email && userData.email !== '') {
|
|
648
652
|
selectNodeInfo.emails.push(userData.email)
|
|
@@ -29,32 +29,34 @@
|
|
|
29
29
|
<el-form label-width="auto">
|
|
30
30
|
<template v-for="(column, index) in columns" >
|
|
31
31
|
<el-form-item :key="index" v-if="column.prop != '$index' && column.prop != '$selection' && column.prop != 'operation'" :label="getMyHeaderLable(column)" >
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
32
|
+
<div class="row-form-item">
|
|
33
|
+
<NormalColumnContent
|
|
34
|
+
:ref="column.prop"
|
|
35
|
+
:is-sql="isSql"
|
|
36
|
+
:column="column"
|
|
37
|
+
:list-code="listCode"
|
|
38
|
+
:drag-column-prop="dragColumnProp"
|
|
39
|
+
:right-click-menu-arr="options.rightClickMenuArr"
|
|
40
|
+
:table-name="tableName"
|
|
41
|
+
:page-code="pageCode"
|
|
42
|
+
:list-toolbar-form-data="listToolbarFormData"
|
|
43
|
+
:list-name="listName"
|
|
44
|
+
:options="options"
|
|
45
|
+
:current-page="currentPage"
|
|
46
|
+
:grid-data="gridData"
|
|
47
|
+
:page-grid-data="pageGridData"
|
|
48
|
+
:row="gridData[realEditIndex]"
|
|
49
|
+
:row-index="realEditIndex"
|
|
50
|
+
:is-show-form="true"
|
|
51
|
+
@open-page="openPageEvent"
|
|
52
|
+
@refresData="refresData"
|
|
53
|
+
@refresh-list="refreshList"
|
|
54
|
+
@refresPortData="refresPortData"
|
|
55
|
+
@refresPortsData="refresPortsData"
|
|
56
|
+
@refresMainTableFields="refresMainTableFields"
|
|
57
|
+
@prohibitToEdit="prohibitToEdit"
|
|
58
|
+
/>
|
|
59
|
+
</div>
|
|
58
60
|
</el-form-item>
|
|
59
61
|
</template>
|
|
60
62
|
|
|
@@ -273,3 +275,10 @@ function afterClickBtn(params) {
|
|
|
273
275
|
})
|
|
274
276
|
}
|
|
275
277
|
</script>
|
|
278
|
+
|
|
279
|
+
<style lang="scss" scoped>
|
|
280
|
+
// 必须加这个width,否则会导致展开的子表的下拉框组件没有宽度,无法显示内容
|
|
281
|
+
.row-form-item {
|
|
282
|
+
width: 50%;
|
|
283
|
+
}
|
|
284
|
+
</style>
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
:data="columns"
|
|
32
32
|
class="custom-config-elTable"
|
|
33
33
|
max-height="450"
|
|
34
|
+
row-key="prop"
|
|
34
35
|
>
|
|
35
36
|
<el-table-column
|
|
36
37
|
:label="$t('superGrid.label')"
|
|
@@ -239,8 +240,13 @@ export default {
|
|
|
239
240
|
message: this.$t('superGrid.resetSuccessful'),
|
|
240
241
|
showClose: true,
|
|
241
242
|
})
|
|
243
|
+
this.hasLoaded = false
|
|
242
244
|
this.listAllColumns().then((columns) => {
|
|
243
245
|
this.columns = columns
|
|
246
|
+
this.hasLoaded = true
|
|
247
|
+
this.$nextTick(() => {
|
|
248
|
+
this.dragColumnDisplayOrder()
|
|
249
|
+
})
|
|
244
250
|
$emit(this, 'reset', true)
|
|
245
251
|
})
|
|
246
252
|
})
|
|
@@ -275,56 +281,6 @@ export default {
|
|
|
275
281
|
clearWidth(row) {
|
|
276
282
|
row.widthType = 'default'
|
|
277
283
|
},
|
|
278
|
-
// 移动完成后的displayOrder设置
|
|
279
|
-
indexAfterTheChangeUpdateDisplayOrder(dataList, oldIndex, newIndex, prop) {
|
|
280
|
-
if (dataList && dataList.length > 0) {
|
|
281
|
-
if (oldIndex != null && oldIndex !== undefined && oldIndex !== -1) {
|
|
282
|
-
if (newIndex !== null && newIndex !== undefined && newIndex !== -1) {
|
|
283
|
-
if (prop && prop !== '') {
|
|
284
|
-
const selectCol = dataList[newIndex]
|
|
285
|
-
selectCol.displayOrderType = 'custom'
|
|
286
|
-
if (newIndex > oldIndex) {
|
|
287
|
-
// 表示向后移动
|
|
288
|
-
// 位置已经移动,所以参数要赋值给原始位置的下一个
|
|
289
|
-
const afProp = dataList[newIndex - 1][prop]
|
|
290
|
-
const arr = dataList.slice(oldIndex, newIndex)
|
|
291
|
-
if (arr && arr.length > 0) {
|
|
292
|
-
for (let i = arr.length - 1; i > -1; i--) {
|
|
293
|
-
const col = arr[i]
|
|
294
|
-
col.displayOrderType = 'custom'
|
|
295
|
-
if (i === 0) {
|
|
296
|
-
// 紧靠原始位置的上一个
|
|
297
|
-
col[prop] = selectCol[prop]
|
|
298
|
-
} else {
|
|
299
|
-
col[prop] = arr[i - 1][prop]
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
selectCol[prop] = afProp
|
|
304
|
-
} else {
|
|
305
|
-
const befProp = dataList[newIndex + 1][prop]
|
|
306
|
-
// 表示向前移动
|
|
307
|
-
// 位置已经移动,所以参数要赋值给原始位置的上一个
|
|
308
|
-
const arr = dataList.slice(newIndex + 1, oldIndex + 1)
|
|
309
|
-
if (arr && arr.length > 0) {
|
|
310
|
-
for (let i = 0; i < arr.length; i++) {
|
|
311
|
-
const col = arr[i]
|
|
312
|
-
col.displayOrderType = 'custom'
|
|
313
|
-
if (i === arr.length - 1) {
|
|
314
|
-
// 紧靠原始位置的上一个
|
|
315
|
-
col[prop] = selectCol[prop]
|
|
316
|
-
} else {
|
|
317
|
-
col[prop] = arr[i + 1][prop]
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
selectCol[prop] = befProp
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
284
|
// 拖动列顺序
|
|
329
285
|
dragColumnDisplayOrder() {
|
|
330
286
|
if (!this.isDragColumn) {
|
|
@@ -346,69 +302,22 @@ export default {
|
|
|
346
302
|
newIndex !== undefined &&
|
|
347
303
|
newIndex !== -1
|
|
348
304
|
) {
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
// 从前往后
|
|
362
|
-
if (vm.columns && vm.columns.length > 0) {
|
|
363
|
-
const item = vm.columns[oldIndex]
|
|
364
|
-
for (var k = oldIndex + 1; k <= newIndex; k++) {
|
|
365
|
-
const col = vm.columns[k]
|
|
366
|
-
col.displayOrderType = 'custom'
|
|
367
|
-
vm.columns[k - 1] = col
|
|
368
|
-
}
|
|
369
|
-
vm.columns[newIndex] = item
|
|
370
|
-
}
|
|
371
|
-
}
|
|
305
|
+
|
|
306
|
+
const dragColumn = JSON.parse(JSON.stringify(vm.columns[oldIndex]))
|
|
307
|
+
// 将拖动的元素删除
|
|
308
|
+
vm.columns.splice(oldIndex, 1)
|
|
309
|
+
// 将拖动的元素插入到新位置
|
|
310
|
+
vm.columns.splice(newIndex, 0, dragColumn)
|
|
311
|
+
}
|
|
312
|
+
// 重置列顺序
|
|
313
|
+
for(let i=0;i<vm.columns.length;i++){
|
|
314
|
+
let column = vm.columns[i]
|
|
315
|
+
column.displayOrderType = 'custom'
|
|
316
|
+
column.displayOrder = i+1
|
|
372
317
|
}
|
|
373
318
|
console.log('config拖动字段', vm.columns)
|
|
374
319
|
console.log('config拖动字段oldIndex', oldIndex)
|
|
375
320
|
console.log('config拖动字段newIndex', newIndex)
|
|
376
|
-
vm.hasLoaded = false
|
|
377
|
-
setTimeout(function () {
|
|
378
|
-
vm.hasLoaded = true
|
|
379
|
-
vm.$nextTick(() => {
|
|
380
|
-
vm.indexAfterTheChangeUpdateDisplayOrder(
|
|
381
|
-
vm.columns,
|
|
382
|
-
oldIndex,
|
|
383
|
-
newIndex,
|
|
384
|
-
'displayOrder'
|
|
385
|
-
)
|
|
386
|
-
vm.dragColumnDisplayOrder()
|
|
387
|
-
})
|
|
388
|
-
}, 100)
|
|
389
|
-
|
|
390
|
-
// vm.hasLoaded = false
|
|
391
|
-
// // 添加setTimeout是解决拖动顺序后数组columns值改变了,但是列表没有重新渲染问题
|
|
392
|
-
// setTimeout(function() {
|
|
393
|
-
// vm.hasLoaded = true
|
|
394
|
-
// vm.$nextTick(() => {
|
|
395
|
-
// vm.dragColumnDisplayOrder()
|
|
396
|
-
// })
|
|
397
|
-
// const currentColumn = vm.columns[oldIndex]
|
|
398
|
-
// const targetColumn = vm.columns[newIndex]
|
|
399
|
-
// const currentDisplayOrder = currentColumn.displayOrder
|
|
400
|
-
// const targetDisplayOrder = targetColumn.displayOrder
|
|
401
|
-
// vm.columns.splice(oldIndex, 1)
|
|
402
|
-
// vm.columns.splice(newIndex, 0, currentColumn)
|
|
403
|
-
// vm.$set(currentColumn, 'displayOrder', targetDisplayOrder)
|
|
404
|
-
// vm.$set(currentColumn, 'displayOrderType', 'custom')
|
|
405
|
-
// vm.$set(targetColumn, 'displayOrder', currentDisplayOrder)
|
|
406
|
-
// vm.$set(targetColumn, 'displayOrderType', 'custom')
|
|
407
|
-
// vm.hasLoaded = true
|
|
408
|
-
// vm.$nextTick(() => {
|
|
409
|
-
// vm.dragColumnDisplayOrder()
|
|
410
|
-
// })
|
|
411
|
-
// }, 100)
|
|
412
321
|
},
|
|
413
322
|
})
|
|
414
323
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { A as a, e as s } from "./mermaid-parser.core-CH9ryA1K-cb113dbd.js";
|
|
2
|
-
import "./index-37902e74.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-7a15448d.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-0dd20adb.js";
|
|
6
|
-
import "./min-BngCxx8g-bab26a8b.js";
|
|
7
|
-
import "./clone-CEJtuQzg-f58fe871.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-cb113dbd.js";
|
|
2
|
-
import "./index-37902e74.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-7a15448d.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-0dd20adb.js";
|
|
6
|
-
import "./min-BngCxx8g-bab26a8b.js";
|
|
7
|
-
import "./clone-CEJtuQzg-f58fe871.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-cb113dbd.js";
|
|
2
|
-
import "./index-37902e74.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-7a15448d.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-0dd20adb.js";
|
|
6
|
-
import "./min-BngCxx8g-bab26a8b.js";
|
|
7
|
-
import "./clone-CEJtuQzg-f58fe871.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-cb113dbd.js";
|
|
2
|
-
import "./index-37902e74.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-7a15448d.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-0dd20adb.js";
|
|
6
|
-
import "./min-BngCxx8g-bab26a8b.js";
|
|
7
|
-
import "./clone-CEJtuQzg-f58fe871.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-cb113dbd.js";
|
|
2
|
-
import "./index-37902e74.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-7a15448d.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-0dd20adb.js";
|
|
6
|
-
import "./min-BngCxx8g-bab26a8b.js";
|
|
7
|
-
import "./clone-CEJtuQzg-f58fe871.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-cb113dbd.js";
|
|
2
|
-
import "./index-37902e74.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-7a15448d.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-0dd20adb.js";
|
|
6
|
-
import "./min-BngCxx8g-bab26a8b.js";
|
|
7
|
-
import "./clone-CEJtuQzg-f58fe871.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-cb113dbd.js";
|
|
2
|
-
import "./index-37902e74.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./mermaid.core-CAqkCmS1-7a15448d.js";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-0dd20adb.js";
|
|
6
|
-
import "./min-BngCxx8g-bab26a8b.js";
|
|
7
|
-
import "./clone-CEJtuQzg-f58fe871.js";
|
|
8
|
-
export {
|
|
9
|
-
s as TreemapModule,
|
|
10
|
-
T as createTreemapServices
|
|
11
|
-
};
|