@titaui/pc 1.11.6 → 1.11.7
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/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js
CHANGED
|
@@ -72,7 +72,7 @@ function _default(props) {
|
|
|
72
72
|
name: "2"
|
|
73
73
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
74
74
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__e-task-node-priority-p2 ").concat(_precls["default"], "__e-task-node-select-priority"))
|
|
75
|
-
}), (0, _getLocale.getLocale)("
|
|
75
|
+
}), (0, _getLocale.getLocale)("OKR_MyO_E_Butt_High")), /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
|
|
76
76
|
name: "3"
|
|
77
77
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
78
78
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__e-task-node-priority-p3 ").concat(_precls["default"], "__e-task-node-select-priority"))
|
|
@@ -127,7 +127,7 @@ var WeChatBtn = function WeChatBtn(props) {
|
|
|
127
127
|
if (isWx) {
|
|
128
128
|
//有群了,判断没在群就先进群再打开群
|
|
129
129
|
if (chatId !== null && chatId !== 'chatId') {
|
|
130
|
-
|
|
130
|
+
window.WeixinJSBridge.invoke('openExistedChatWithMsg', {
|
|
131
131
|
chatId: chatId
|
|
132
132
|
}, function (res) {
|
|
133
133
|
if (res.err_msg === 'openExistedChatWithMsg:ok') {
|
|
@@ -136,14 +136,14 @@ var WeChatBtn = function WeChatBtn(props) {
|
|
|
136
136
|
if (isMac) {
|
|
137
137
|
setMacWarnModalVisible(true);
|
|
138
138
|
} else {
|
|
139
|
-
|
|
139
|
+
window.WeixinJSBridge.invoke('updateEnterpriseChat', {
|
|
140
140
|
chatId: chatId,
|
|
141
141
|
userIdsToAdd: loginUserOpenId
|
|
142
142
|
}, function (res) {
|
|
143
143
|
console.log(chatId);
|
|
144
144
|
|
|
145
145
|
if (res.err_msg == 'updateEnterpriseChat:ok') {
|
|
146
|
-
|
|
146
|
+
window.WeixinJSBridge.invoke('openExistedChatWithMsg', {
|
|
147
147
|
chatId: chatId
|
|
148
148
|
}, function (res) {
|
|
149
149
|
if (res.err_msg == 'openExistedChatWithMsg:ok') {
|
|
@@ -173,7 +173,7 @@ var WeChatBtn = function WeChatBtn(props) {
|
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
var handleCreateGroupChat = function handleCreateGroupChat() {
|
|
176
|
-
|
|
176
|
+
window.WeixinJSBridge.invoke('createChatWithMsg', {
|
|
177
177
|
selectedOpenUserIds: weChatGroupMember,
|
|
178
178
|
chatName: "\u300C".concat(apply, "\u7FA4\u300D").concat(name),
|
|
179
179
|
msg: {
|
|
@@ -193,7 +193,7 @@ var WeChatBtn = function WeChatBtn(props) {
|
|
|
193
193
|
objType: objType,
|
|
194
194
|
chatId: res.chatId
|
|
195
195
|
});
|
|
196
|
-
|
|
196
|
+
window.WeixinJSBridge.invoke('openExistedChatWithMsg', {
|
|
197
197
|
chatId: res.chatId
|
|
198
198
|
});
|
|
199
199
|
}
|