|
|
@@ -4,12 +4,17 @@ export default {
|
|
|
return {};
|
|
|
},
|
|
|
computed: {
|
|
|
+ isQianKun() {
|
|
|
+ return window.__POWERED_BY_QIANKUN__;
|
|
|
+ },
|
|
|
...mapGetters(['paramsSetData']),
|
|
|
//流程是否需要审核
|
|
|
isNeed_process_is_close() {
|
|
|
- let index = this.paramsSetData.paramsData.findIndex(
|
|
|
- (item) => item.code == 'process_is_close'
|
|
|
- );
|
|
|
+ let data =
|
|
|
+ (this.isQianKun
|
|
|
+ ? this.$portalStore.state?.paramsSetData?.paramsData
|
|
|
+ : this.paramsSetData.paramsData) || [];
|
|
|
+ let index = data.findIndex((item) => item.code == 'process_is_close');
|
|
|
if (index > -1) {
|
|
|
const param = this.paramsSetData.paramsData[index];
|
|
|
if (param.enable) {
|