resolver-egretimp-plus 0.0.173 → 0.0.175
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
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { resultToast } from "../../utils/respone"
|
|
2
2
|
|
|
3
|
-
export async function executeLoadServices(services = [], { requestTraceId, businessIdentityReqData = {}, axiosInstance, messageInstance, reqData, respCb }) {
|
|
3
|
+
export async function executeLoadServices(services = [], { requestTraceId, businessIdentityReqData = {}, axiosInstance, messageInstance, reqData, respCb, notLoadCb }) {
|
|
4
4
|
if (reqData?.notLoad) {
|
|
5
|
+
notLoadCb && notLoadCb()
|
|
5
6
|
return
|
|
6
7
|
}
|
|
7
8
|
const noramlReqData = {
|
|
@@ -156,7 +156,10 @@ export default {
|
|
|
156
156
|
if (!props.prop) {
|
|
157
157
|
props.prop = config.metaCode
|
|
158
158
|
}
|
|
159
|
-
if (
|
|
159
|
+
if (config.columnWidth) {
|
|
160
|
+
props.width = config.columnWidth
|
|
161
|
+
}
|
|
162
|
+
if (!props.width) {
|
|
160
163
|
props.minWidth = '160px'
|
|
161
164
|
}
|
|
162
165
|
if (props.width == 0 || props.width == '0px' || config.hidden == '1') {
|
package/src/index.jsx
CHANGED
|
@@ -179,6 +179,9 @@ export default {
|
|
|
179
179
|
businessIdentityReqData: props.businessIdentityReqData,
|
|
180
180
|
axiosInstance,
|
|
181
181
|
reqData: {...props.loadEvnetsReq, ...props.dialogReq},
|
|
182
|
+
notLoadCb: () => {
|
|
183
|
+
nativeDataLoad.value = true
|
|
184
|
+
},
|
|
182
185
|
respCb: (result) => {
|
|
183
186
|
nativeDataLoad.value = true
|
|
184
187
|
let val = result
|
|
@@ -199,9 +199,6 @@ export function parseCondition(rule) {
|
|
|
199
199
|
// } else {
|
|
200
200
|
conditionsRet = conditions.map(condition => {
|
|
201
201
|
const { refType, refValue, targetType, targetValue } = condition
|
|
202
|
-
// if (refValue === 'studentId') {
|
|
203
|
-
// debugger
|
|
204
|
-
// }
|
|
205
202
|
if (conditionType.COMPONENT == refType) {
|
|
206
203
|
const labelInfos = getCurrentComp.call(this, `${tabpanelCode ? tabpanelCode + '->' : ''}${refValue}`)
|
|
207
204
|
if (!labelInfos || labelInfos.length !== 1) {
|