resolver-egretimp-plus 0.1.9 → 0.1.11
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/h5/index.js +2 -2
- package/dist/web/index.js +2 -2
- package/package.json +1 -1
- package/src/bpm/udc-sdk-esm/cjs/impl/iframe/udcSdkForIframe/index.js +1 -1
- package/src/components/helper/calcTooltip.jsx +2 -1
- package/src/components/helper/eventOrchestration.js +3 -5
- package/src/components/packages-web/ElInput.jsx +11 -2
- package/src/components/styles/CustomComponenTable.scss +1 -1
- package/src/utils/render.jsx +0 -3
package/package.json
CHANGED
|
@@ -190,7 +190,7 @@ export default class UdcSdkForIfame {
|
|
|
190
190
|
};
|
|
191
191
|
/** 获取客户定制API */
|
|
192
192
|
getCustomApi = () => {
|
|
193
|
-
const _tenant = currentSDK.baseInfo.tenant;
|
|
193
|
+
const _tenant = currentSDK.baseInfo.tenant || 'CMI';
|
|
194
194
|
const _tenantApi = this._customization[_tenant];
|
|
195
195
|
if (!_tenantApi) {
|
|
196
196
|
console.error(!_tenant ? "缺少tenant信息" : "该tenant未定制过API");
|
|
@@ -99,6 +99,7 @@ export function useToolTip({
|
|
|
99
99
|
})
|
|
100
100
|
function generateTooltipWrap(node, opt) {
|
|
101
101
|
const {
|
|
102
|
+
wrapAttrs = {},
|
|
102
103
|
maintain = false,
|
|
103
104
|
} = opt || {}
|
|
104
105
|
const nodeComp = defineComponent(node)
|
|
@@ -106,7 +107,7 @@ export function useToolTip({
|
|
|
106
107
|
return <nodeComp></nodeComp>
|
|
107
108
|
}
|
|
108
109
|
return (
|
|
109
|
-
<div class="resolver-calc-contrainer
|
|
110
|
+
<div class="resolver-calc-contrainer" {...wrapAttrs}>
|
|
110
111
|
<span ref={(e) => calcSpanRef.value = e} class="resolver-calc-span">{ displayValue.value }</span>
|
|
111
112
|
{
|
|
112
113
|
isOverflow.value ?
|
|
@@ -2,7 +2,7 @@ import { isArray, isHasVal, isNull, isUndefined } from "../../utils/is"
|
|
|
2
2
|
import { DATA_VALID_RULE_EXECUTE } from "../../api/builtIn"
|
|
3
3
|
import { getRelateConfigKeys } from "../../rules/ruleUtils"
|
|
4
4
|
import { RESULT_CODE, resultToast } from "../../utils/respone"
|
|
5
|
-
import { isPromise, parseExtendAttr, unionWith } from "../../utils/index"
|
|
5
|
+
import { isPromise, modelValueDeepMerge, parseExtendAttr, unionWith } from "../../utils/index"
|
|
6
6
|
import { buildInRequest } from "../../utils/request"
|
|
7
7
|
|
|
8
8
|
function getPathVal(obj = {}, path) {
|
|
@@ -119,10 +119,8 @@ export async function dispatchClickEvent(service, {
|
|
|
119
119
|
reqResult = {
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
...reqData
|
|
125
|
-
}
|
|
122
|
+
const mergeObj = modelValueDeepMerge(reqResult, reqData)
|
|
123
|
+
reqResult = mergeObj
|
|
126
124
|
|
|
127
125
|
let beforeRequestServiceRet = true
|
|
128
126
|
if (normalBeforeRequestService) {
|
|
@@ -173,12 +173,18 @@ export default {
|
|
|
173
173
|
}
|
|
174
174
|
return ret
|
|
175
175
|
})
|
|
176
|
-
|
|
176
|
+
const inputWrapAttrs = computed(() => {
|
|
177
|
+
return {
|
|
178
|
+
class: attrs?.class,
|
|
179
|
+
style: attrs?.style
|
|
180
|
+
}
|
|
181
|
+
})
|
|
177
182
|
const normalAttrs = computed(() => {
|
|
178
183
|
const ret = {
|
|
179
184
|
...attrs
|
|
180
185
|
}
|
|
181
186
|
delete ret.class
|
|
187
|
+
delete ret.style
|
|
182
188
|
|
|
183
189
|
if (isPagePopupAndSearch.value && isOnlyIconClickFlag.value) {
|
|
184
190
|
delete ret.onClick
|
|
@@ -293,7 +299,10 @@ export default {
|
|
|
293
299
|
{
|
|
294
300
|
getInputSolts()
|
|
295
301
|
}
|
|
296
|
-
</ElInput
|
|
302
|
+
</ElInput>,
|
|
303
|
+
{
|
|
304
|
+
wrapAttrs: inputWrapAttrs.value
|
|
305
|
+
}
|
|
297
306
|
)
|
|
298
307
|
}
|
|
299
308
|
}
|
package/src/utils/render.jsx
CHANGED