resolver-egretimp-plus 0.1.29 → 0.1.30
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/package.json
CHANGED
|
@@ -205,6 +205,9 @@ export function parseCondition(rule) {
|
|
|
205
205
|
return false
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
+
// if (refValue?.indexOf('itemId') > -1) {
|
|
209
|
+
// debugger
|
|
210
|
+
// }
|
|
208
211
|
if (!calcConditionValue[refType]) return false
|
|
209
212
|
let refVal = calcConditionValue[refType].call(this, {tabpanelCode, value: refValue})
|
|
210
213
|
|
package/src/rules/rulesDriver.js
CHANGED
|
@@ -8,12 +8,12 @@ const recoverCbTimer = {}
|
|
|
8
8
|
export default function(rules, isInit) {
|
|
9
9
|
rules = rules || []
|
|
10
10
|
this.rules = rules
|
|
11
|
-
const { config: { dynamicHireRelat, metaCode } } = this
|
|
11
|
+
const { config: { dynamicHireRelat, columnId, id, metaCode } } = this
|
|
12
12
|
if (rules && rules.length) {
|
|
13
13
|
rules.forEach(rule => {
|
|
14
14
|
if (!rule) return
|
|
15
15
|
const { pmRuleTargetEventVoList, pmRuleTargetEventVOList, relId, tabpanelCode } = rule
|
|
16
|
-
const relIdKey = `${relId}__${dynamicHireRelat}`
|
|
16
|
+
const relIdKey = `${relId}_${columnId || ''}_${id || ''}__${dynamicHireRelat}`
|
|
17
17
|
if (parseCondition.call(this, rule)) {
|
|
18
18
|
setTimeout(() => {
|
|
19
19
|
recoverCb[relIdKey] && recoverCb[relIdKey].forEach(recover => {
|