@zgfe/modules-dm 1.0.57-zhongyuan.20 → 1.0.57-zhongyuan.21
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.
|
@@ -624,15 +624,18 @@ var TablePlus = function TablePlus(props) {
|
|
|
624
624
|
setTriTagId = _useState52[1];
|
|
625
625
|
var getTagList = function getTagList(type) {
|
|
626
626
|
request(apis.dict.eventTag, {
|
|
627
|
-
|
|
628
|
-
|
|
627
|
+
method: 'post',
|
|
628
|
+
data: {
|
|
629
|
+
appId: getAppID(currentApp),
|
|
630
|
+
labelType: type
|
|
631
|
+
}
|
|
629
632
|
}).then(function (res) {
|
|
630
633
|
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
631
634
|
switch (type) {
|
|
632
635
|
case 2:
|
|
633
636
|
setBizTag(res.data.map(function (res) {
|
|
634
637
|
return {
|
|
635
|
-
label: res.
|
|
638
|
+
label: res.labelName,
|
|
636
639
|
value: res.id
|
|
637
640
|
};
|
|
638
641
|
}));
|
|
@@ -640,7 +643,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
640
643
|
case 3:
|
|
641
644
|
setTriTag(res.data.map(function (res) {
|
|
642
645
|
return {
|
|
643
|
-
label: res.
|
|
646
|
+
label: res.labelName,
|
|
644
647
|
value: res.id
|
|
645
648
|
};
|
|
646
649
|
}));
|
|
@@ -832,7 +835,9 @@ var TablePlus = function TablePlus(props) {
|
|
|
832
835
|
}, record.triggerLabel.labelName)) : record.triggeringOccasion),
|
|
833
836
|
trigger: "hover",
|
|
834
837
|
placement: "top"
|
|
835
|
-
}, record.triggerLabel ?
|
|
838
|
+
}, record.triggerLabel ? (/*#__PURE__*/React.createElement(Tag, {
|
|
839
|
+
color: "orange"
|
|
840
|
+
}, record.triggerLabel.labelName)) : (/*#__PURE__*/React.createElement("div", {
|
|
836
841
|
className: "alias_name_text"
|
|
837
842
|
}, record.triggeringOccasion))), /*#__PURE__*/React.createElement(IconFont, {
|
|
838
843
|
className: "edit-alias-name",
|