inl-ui 0.0.48 → 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 +2 -2
- package/package.json +1 -1
- 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
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import { ColorPicker } from 'vue-color-kit';
|
|
|
18
18
|
import 'vue-color-kit/dist/vue-color-kit.css';
|
|
19
19
|
import 'inl-card/dist/style.css';
|
|
20
20
|
|
|
21
|
-
var version = "0.0.
|
|
21
|
+
var version = "0.0.49";
|
|
22
22
|
|
|
23
23
|
const config$1 = {
|
|
24
24
|
prefix: "inl"
|
|
@@ -44806,11 +44806,11 @@ const com$c = defineComponent({
|
|
|
44806
44806
|
};
|
|
44807
44807
|
provide("toRouter", toRouter);
|
|
44808
44808
|
return () => createVNode("div", {
|
|
44809
|
-
"class": "thingApp
|
|
44809
|
+
"class": "thingApp",
|
|
44810
44810
|
"style": {
|
|
44811
44811
|
justifyContent: isLoad.value ? "center" : ""
|
|
44812
44812
|
}
|
|
44813
|
-
}, [page.value === "edit"
|
|
44813
|
+
}, [page.value === "edit" && createVNode(editThing, {
|
|
44814
44814
|
"data": pageData.editData,
|
|
44815
44815
|
"triggerModeList": triggerModeList,
|
|
44816
44816
|
"hideBackBtn": hideBackBtn.value,
|
|
@@ -44828,7 +44828,7 @@ const com$c = defineComponent({
|
|
|
44828
44828
|
"onToRoute": () => {
|
|
44829
44829
|
_context.emit("toRoute");
|
|
44830
44830
|
}
|
|
44831
|
-
}, null)
|
|
44831
|
+
}, null), page.value === "add" && createVNode(addThing, {
|
|
44832
44832
|
"data": pageData.addData,
|
|
44833
44833
|
"triggerModeList": triggerModeList,
|
|
44834
44834
|
"onBack": () => {
|
|
@@ -44845,7 +44845,9 @@ const com$c = defineComponent({
|
|
|
44845
44845
|
"onToRoute": () => {
|
|
44846
44846
|
_context.emit("toRoute");
|
|
44847
44847
|
}
|
|
44848
|
-
}, null)
|
|
44848
|
+
}, null), page.value === "detail" && createVNode("div", {
|
|
44849
|
+
"style": "height: 100%; overflow: auto;"
|
|
44850
|
+
}, [createVNode(resolveComponent("a-spin"), {
|
|
44849
44851
|
"spinning": isLoad.value
|
|
44850
44852
|
}, {
|
|
44851
44853
|
default: () => [!isLoad.value && createVNode(thingDetail, {
|
|
@@ -44882,11 +44884,11 @@ const com$c = defineComponent({
|
|
|
44882
44884
|
toEdit(res);
|
|
44883
44885
|
}
|
|
44884
44886
|
}, null)]
|
|
44885
|
-
})
|
|
44887
|
+
})]), createVNode("div", {
|
|
44886
44888
|
"class": "thingInstance flex",
|
|
44887
44889
|
"style": page.value !== "list" ? "display:none" : ""
|
|
44888
44890
|
}, [createVNode("div", {
|
|
44889
|
-
"class": "left_wrap"
|
|
44891
|
+
"class": "left_wrap flex"
|
|
44890
44892
|
}, [createVNode("div", {
|
|
44891
44893
|
"class": "flex_lr_c"
|
|
44892
44894
|
}, [createVNode("div", {
|
|
@@ -44909,10 +44911,7 @@ const com$c = defineComponent({
|
|
|
44909
44911
|
"placeholder": "搜索",
|
|
44910
44912
|
"allowClear": true
|
|
44911
44913
|
}, null), createVNode("div", {
|
|
44912
|
-
"class": "mar-t-20 tree_wrap"
|
|
44913
|
-
"style": {
|
|
44914
|
-
height: "calc(100vh - 240px)"
|
|
44915
|
-
}
|
|
44914
|
+
"class": "mar-t-20 tree_wrap"
|
|
44916
44915
|
}, [tree.data.length ? createVNode(resolveComponent("a-tree"), {
|
|
44917
44916
|
"show-line": true,
|
|
44918
44917
|
"blockNode": true,
|
|
@@ -44932,7 +44931,7 @@ const com$c = defineComponent({
|
|
|
44932
44931
|
}, [ele.name])]);
|
|
44933
44932
|
}
|
|
44934
44933
|
}) : null])])]), createVNode("div", {
|
|
44935
|
-
"class": "table_wrap"
|
|
44934
|
+
"class": "table_wrap flex"
|
|
44936
44935
|
}, [!formQuery.thingCode ? // <a-empty
|
|
44937
44936
|
// image="/micro-assets/platform-web/empty.png"
|
|
44938
44937
|
// image-style={{
|
|
@@ -45064,7 +45063,7 @@ const com$c = defineComponent({
|
|
|
45064
45063
|
default: () => [createTextVNode("\u6279\u91CF\u914D\u70B9")]
|
|
45065
45064
|
})]
|
|
45066
45065
|
}), createVNode("div", {
|
|
45067
|
-
"class": "mar-t-20"
|
|
45066
|
+
"class": "mar-t-20 tableBox"
|
|
45068
45067
|
}, [createVNode(resolveComponent("a-table"), {
|
|
45069
45068
|
"rowKey": record => record.thingInst.id,
|
|
45070
45069
|
"columns": columnsAll,
|
|
@@ -45280,7 +45279,7 @@ const com$c = defineComponent({
|
|
|
45280
45279
|
default: () => [createTextVNode("\u6279\u91CF\u914D\u70B9")]
|
|
45281
45280
|
})]
|
|
45282
45281
|
}), createVNode("div", {
|
|
45283
|
-
"class": "mar-t-20"
|
|
45282
|
+
"class": "mar-t-20 tableBox"
|
|
45284
45283
|
}, [createVNode(resolveComponent("a-table"), {
|
|
45285
45284
|
"rowKey": "ID",
|
|
45286
45285
|
"columns": columns.value,
|