venus-design 0.4.0 → 0.4.1
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.
|
@@ -21,7 +21,7 @@ import VenusAdjustDetail from "../VenusAdjustDetail";
|
|
|
21
21
|
import { LoadingAdjustData, LoadingWorkFlowData, LoadingWorkFlowTableData } from "./services";
|
|
22
22
|
import VenusTable from "../VenusTable";
|
|
23
23
|
import VenusForm from "../VenusForm";
|
|
24
|
-
import { BISpin } from "./..";
|
|
24
|
+
import { BISpin, isNotNullVenus } from "./..";
|
|
25
25
|
import VenusAdjustBatch from "../VenusAdjustBatch";
|
|
26
26
|
import { getInnerIdByBusinessKey } from "./utils";
|
|
27
27
|
import Loadable from 'react-loadable';
|
|
@@ -186,12 +186,12 @@ var VenusWorkDetail = function VenusWorkDetail(props) {
|
|
|
186
186
|
return /*#__PURE__*/React.createElement(StyleProvider, {
|
|
187
187
|
hashPriority: "high",
|
|
188
188
|
transformers: [legacyLogicalPropertiesTransformer]
|
|
189
|
-
},
|
|
189
|
+
}, isNotNullVenus(props.componentUrl) && props.actionId != "adjust" ?
|
|
190
190
|
/*#__PURE__*/
|
|
191
191
|
//@ts-ignore
|
|
192
192
|
React.createElement(LoadableSub, {
|
|
193
193
|
innerId: getInnerIdByBusinessKey(props.businessKey)
|
|
194
|
-
})
|
|
194
|
+
}) : props.actionId == "adjust" ? props.batchFlag == true ? /*#__PURE__*/React.createElement(VenusAdjustBatch, {
|
|
195
195
|
actionRef: adjustActionRef,
|
|
196
196
|
notEditType: "ALL" //默认偶数行不可编辑
|
|
197
197
|
//@ts-ignore
|
|
@@ -203,10 +203,10 @@ var VenusWorkDetail = function VenusWorkDetail(props) {
|
|
|
203
203
|
dataViewIid: props.dataViewIid //数据视图标识
|
|
204
204
|
,
|
|
205
205
|
dataSceneIid: props.dataSceneIid //数据场景标识
|
|
206
|
-
})
|
|
206
|
+
}) : /*#__PURE__*/React.createElement(VenusAdjustDetail, _extends({}, props, {
|
|
207
207
|
adjustBefore: dataBefore,
|
|
208
208
|
adjustAfter: dataAfter
|
|
209
|
-
}))
|
|
209
|
+
})) : props.batchFlag == true ? /*#__PURE__*/React.createElement(VenusTable, {
|
|
210
210
|
actionRef: actionRef
|
|
211
211
|
//@ts-ignore
|
|
212
212
|
,
|
|
@@ -227,7 +227,7 @@ var VenusWorkDetail = function VenusWorkDetail(props) {
|
|
|
227
227
|
showIndexColumn: true //是否显示序号列
|
|
228
228
|
,
|
|
229
229
|
search: false //是否支持搜索
|
|
230
|
-
})
|
|
230
|
+
}) : /*#__PURE__*/React.createElement(VenusForm, {
|
|
231
231
|
form: form //必传
|
|
232
232
|
,
|
|
233
233
|
initApi: function initApi() {} //初始填充请求
|