inl-ui 0.0.47 → 0.0.49
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/dist/index.js +13 -14
- package/dist/index.js.map +1 -1
- package/dist/style.css +3 -3
- package/package.json +1 -1
- package/src/components/layoutNav/style.less +5 -0
- package/src/pageComponent/assets/styles/systemManager/aboutNew.less +2 -0
- package/src/pageComponent/views/thingInstance/index.tsx +50 -54
- package/src/pageComponent/views/thingInstance/less/editThing.less +2 -0
- package/src/pageComponent/views/thingInstance/less/thingInstance.less +13 -4
|
@@ -627,10 +627,10 @@ const com = defineComponent({
|
|
|
627
627
|
|
|
628
628
|
return () => (
|
|
629
629
|
<div
|
|
630
|
-
class="thingApp
|
|
630
|
+
class="thingApp"
|
|
631
631
|
style={{ justifyContent: isLoad.value ? "center" : "" }}
|
|
632
632
|
>
|
|
633
|
-
{page.value === "edit"
|
|
633
|
+
{page.value === "edit" && (
|
|
634
634
|
<editThing
|
|
635
635
|
data={pageData.editData}
|
|
636
636
|
triggerModeList={triggerModeList}
|
|
@@ -650,10 +650,9 @@ const com = defineComponent({
|
|
|
650
650
|
_context.emit("toRoute");
|
|
651
651
|
}}
|
|
652
652
|
/>
|
|
653
|
-
) : (
|
|
654
|
-
""
|
|
655
653
|
)}
|
|
656
|
-
|
|
654
|
+
|
|
655
|
+
{page.value === "add" && (
|
|
657
656
|
<addThing
|
|
658
657
|
data={pageData.addData}
|
|
659
658
|
triggerModeList={triggerModeList}
|
|
@@ -672,56 +671,56 @@ const com = defineComponent({
|
|
|
672
671
|
_context.emit("toRoute");
|
|
673
672
|
}}
|
|
674
673
|
/>
|
|
675
|
-
) : (
|
|
676
|
-
""
|
|
677
674
|
)}
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
675
|
+
|
|
676
|
+
{page.value === "detail" && (
|
|
677
|
+
<div style="height: 100%; overflow: auto;">
|
|
678
|
+
<a-spin spinning={isLoad.value}>
|
|
679
|
+
{!isLoad.value && (
|
|
680
|
+
<thingDetail
|
|
681
|
+
data={pageData.editData}
|
|
682
|
+
id={pageData.id}
|
|
683
|
+
hideBtnLine={hideBtnLine.value}
|
|
684
|
+
hideEditBtn={hideEditBtn.value}
|
|
685
|
+
hideBackBtn={hideBackBtn.value}
|
|
686
|
+
onBack={() => {
|
|
687
|
+
if (formQuery.thingCode) {
|
|
688
|
+
refresh();
|
|
689
|
+
} else {
|
|
690
|
+
refreshAll();
|
|
691
|
+
if (newThing.value) {
|
|
692
|
+
newThing.value = null;
|
|
693
|
+
getTreeData();
|
|
694
|
+
}
|
|
695
695
|
}
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
696
|
+
page.value = "list";
|
|
697
|
+
}}
|
|
698
|
+
onBackList={() => {
|
|
699
|
+
if (formQuery.thingCode) {
|
|
700
|
+
refresh();
|
|
701
|
+
} else {
|
|
702
|
+
refreshAll();
|
|
703
|
+
if (newThing.value) {
|
|
704
|
+
newThing.value = null;
|
|
705
|
+
getTreeData();
|
|
706
|
+
}
|
|
707
707
|
}
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
</
|
|
717
|
-
) : (
|
|
718
|
-
""
|
|
708
|
+
page.value = "list";
|
|
709
|
+
}}
|
|
710
|
+
onToEdit={(res) => {
|
|
711
|
+
toEdit(res);
|
|
712
|
+
}}
|
|
713
|
+
/>
|
|
714
|
+
)}
|
|
715
|
+
</a-spin>
|
|
716
|
+
</div>
|
|
719
717
|
)}
|
|
718
|
+
|
|
720
719
|
<div
|
|
721
720
|
class="thingInstance flex"
|
|
722
721
|
style={page.value !== "list" ? "display:none" : ""}
|
|
723
722
|
>
|
|
724
|
-
<div class="left_wrap">
|
|
723
|
+
<div class="left_wrap flex">
|
|
725
724
|
<div class="flex_lr_c">
|
|
726
725
|
<div class="flex-center title flex1">
|
|
727
726
|
<span>物模型</span>
|
|
@@ -741,10 +740,7 @@ const com = defineComponent({
|
|
|
741
740
|
placeholder="搜索"
|
|
742
741
|
allowClear
|
|
743
742
|
/>
|
|
744
|
-
<div
|
|
745
|
-
class="mar-t-20 tree_wrap"
|
|
746
|
-
style={{ height: "calc(100vh - 240px)" }}
|
|
747
|
-
>
|
|
743
|
+
<div class="mar-t-20 tree_wrap">
|
|
748
744
|
{tree.data.length ? (
|
|
749
745
|
<a-tree
|
|
750
746
|
show-line
|
|
@@ -772,7 +768,7 @@ const com = defineComponent({
|
|
|
772
768
|
</div>
|
|
773
769
|
</div>
|
|
774
770
|
</div>
|
|
775
|
-
<div class="table_wrap">
|
|
771
|
+
<div class="table_wrap flex">
|
|
776
772
|
{!formQuery.thingCode ? (
|
|
777
773
|
// <a-empty
|
|
778
774
|
// image="/micro-assets/platform-web/empty.png"
|
|
@@ -879,7 +875,7 @@ const com = defineComponent({
|
|
|
879
875
|
批量配点
|
|
880
876
|
</a-button>
|
|
881
877
|
</a-space>
|
|
882
|
-
<div class="mar-t-20">
|
|
878
|
+
<div class="mar-t-20 tableBox">
|
|
883
879
|
<a-table
|
|
884
880
|
rowKey={(record) => record.thingInst.id}
|
|
885
881
|
columns={columnsAll}
|
|
@@ -1092,7 +1088,7 @@ const com = defineComponent({
|
|
|
1092
1088
|
批量配点
|
|
1093
1089
|
</a-button>
|
|
1094
1090
|
</a-space>
|
|
1095
|
-
<div class="mar-t-20">
|
|
1091
|
+
<div class="mar-t-20 tableBox">
|
|
1096
1092
|
<a-table
|
|
1097
1093
|
rowKey="ID"
|
|
1098
1094
|
columns={columns.value}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
.thingApp {
|
|
2
|
-
|
|
2
|
+
height: 100%;
|
|
3
|
+
overflow: hidden;
|
|
3
4
|
}
|
|
4
5
|
|
|
5
6
|
.thingInstance {
|
|
6
7
|
background: #fff;
|
|
8
|
+
height: 100%;
|
|
7
9
|
|
|
8
10
|
.gap {
|
|
9
11
|
gap: 8px;
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
.left_wrap {
|
|
13
15
|
height: 100%;
|
|
14
16
|
width: 220px;
|
|
17
|
+
flex-direction: column;
|
|
15
18
|
padding-right: 0px !important;
|
|
16
19
|
flex-shrink: 0;
|
|
17
20
|
box-sizing: border-box;
|
|
@@ -25,6 +28,9 @@
|
|
|
25
28
|
}
|
|
26
29
|
.tree_data {
|
|
27
30
|
margin-top: 20px;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
overflow: auto;
|
|
28
34
|
.search {
|
|
29
35
|
padding-right: 20px;
|
|
30
36
|
}
|
|
@@ -33,14 +39,13 @@
|
|
|
33
39
|
}
|
|
34
40
|
}
|
|
35
41
|
.tree_wrap {
|
|
36
|
-
|
|
37
|
-
overflow-y: auto;
|
|
42
|
+
overflow: auto;
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
.table_wrap {
|
|
41
|
-
flex-grow: 1;
|
|
42
46
|
padding-left: 20px;
|
|
43
47
|
box-sizing: border-box;
|
|
48
|
+
flex-direction: column;
|
|
44
49
|
.ant-empty {
|
|
45
50
|
position: relative;
|
|
46
51
|
top: 50%;
|
|
@@ -52,6 +57,10 @@
|
|
|
52
57
|
width: 100px;
|
|
53
58
|
}
|
|
54
59
|
}
|
|
60
|
+
|
|
61
|
+
.tableBox {
|
|
62
|
+
overflow: auto;
|
|
63
|
+
}
|
|
55
64
|
}
|
|
56
65
|
}
|
|
57
66
|
.align-r {
|