@titaui/pc 1.12.69 → 1.12.70
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.
|
@@ -86,6 +86,8 @@ var prefix = "titaui-dynamic-new-report-item";
|
|
|
86
86
|
var loginUserId = (0, _bsGlobal.getUserInfo)().Id;
|
|
87
87
|
|
|
88
88
|
var DynamicReply = function DynamicReply(_ref) {
|
|
89
|
+
var _classNames;
|
|
90
|
+
|
|
89
91
|
var data = _ref.data,
|
|
90
92
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
91
93
|
|
|
@@ -126,13 +128,10 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
126
128
|
currentEvalutes = _useState8[0],
|
|
127
129
|
setCurrentEvalutes = _useState8[1];
|
|
128
130
|
|
|
129
|
-
var renderSuffix =
|
|
130
|
-
|
|
131
|
+
var renderSuffix = /*#__PURE__*/_react["default"].createElement("span", {
|
|
132
|
+
className: (0, _classnames["default"])("".concat(prefix, "__complete-type"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "__complete-type--normal"), submitState === 1), _defineProperty(_classNames, "".concat(prefix, "__complete-type--delay"), submitState === 2), _classNames))
|
|
133
|
+
}, submitState === 1 && (0, _getLocale.getLocale)("Rep_Tab_Mys_Submitontime"), submitState === 2 && (0, _getLocale.getLocale)("Tasks_Tab_DelaSubmission"));
|
|
131
134
|
|
|
132
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
133
|
-
className: (0, _classnames["default"])("".concat(prefix, "__complete-type"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "__complete-type--normal"), submitState === 1), _defineProperty(_classNames, "".concat(prefix, "__complete-type--delay"), submitState === 2), _classNames))
|
|
134
|
-
}, submitState === 1 && (0, _getLocale.getLocale)("Rep_Tab_Mys_Submitontime"), submitState === 2 && (0, _getLocale.getLocale)("Tasks_Tab_DelaSubmission"));
|
|
135
|
-
}, []);
|
|
136
135
|
var renderDesc = (0, _react.useMemo)(function () {
|
|
137
136
|
var reportTextMap = {
|
|
138
137
|
8: (0, _getLocale.getLocale)("Rep_Tab_Mys_Dailynewsp"),
|
|
@@ -17,11 +17,9 @@ require("rc-select/assets/index.less");
|
|
|
17
17
|
|
|
18
18
|
var _getLocale = require("../../utils/getLocale");
|
|
19
19
|
|
|
20
|
-
var _openData = require("../../utils/open-data");
|
|
21
|
-
|
|
22
20
|
require("./index.css");
|
|
23
21
|
|
|
24
|
-
var _excluded = ["selected", "controlValue", "data", "onChange", "style", "mode", "className", "placeholder", "name", "noBorder"
|
|
22
|
+
var _excluded = ["selected", "controlValue", "data", "onChange", "style", "mode", "className", "placeholder", "name", "noBorder"];
|
|
25
23
|
|
|
26
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
25
|
|
|
@@ -69,8 +67,6 @@ var SelectTags = function SelectTags(_ref) {
|
|
|
69
67
|
placeholder = _ref$placeholder === void 0 ? "".concat((0, _getLocale.getLocale)("Mod_Pleaseselect")) : _ref$placeholder,
|
|
70
68
|
name = _ref.name,
|
|
71
69
|
noBorder = _ref.noBorder,
|
|
72
|
-
_ref$isParse = _ref.isParse,
|
|
73
|
-
isParse = _ref$isParse === void 0 ? false : _ref$isParse,
|
|
74
70
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
75
71
|
|
|
76
72
|
var _useState = (0, _react.useState)(selected),
|
|
@@ -114,7 +110,7 @@ var SelectTags = function SelectTags(_ref) {
|
|
|
114
110
|
return /*#__PURE__*/_react["default"].createElement(_rcSelect.Option, {
|
|
115
111
|
key: key,
|
|
116
112
|
value: item.value
|
|
117
|
-
},
|
|
113
|
+
}, item.label);
|
|
118
114
|
})));
|
|
119
115
|
};
|
|
120
116
|
|