提交 0e586fb3 authored 作者: 钟是志's avatar 钟是志

优化代码

上级 076c654b
...@@ -20,7 +20,6 @@ import ButtonDiy from '@/baseComponent/ButtonDiy'; ...@@ -20,7 +20,6 @@ import ButtonDiy from '@/baseComponent/ButtonDiy';
import Shell from '@/baseComponent/Shell'; import Shell from '@/baseComponent/Shell';
import { deepCopy, getIsBei_Dian } from '@/webPublic/zyd_public/utils/utils'; import { deepCopy, getIsBei_Dian } from '@/webPublic/zyd_public/utils/utils';
import ApplyForZyd from '@/webPublic/one_stop_public/ForZydApply/index'; import ApplyForZyd from '@/webPublic/one_stop_public/ForZydApply/index';
import { uaaRequest } from '@/webPublic/one_stop_public/utils/request';
import rebackButton from '@/webPublic/FormInsertDiy/AffairPage/ApplyPage/ReBackButton'; import rebackButton from '@/webPublic/FormInsertDiy/AffairPage/ApplyPage/ReBackButton';
export default function index(props) { export default function index(props) {
...@@ -49,7 +48,7 @@ class AffairPage extends React.Component { ...@@ -49,7 +48,7 @@ class AffairPage extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
let pathname = this.props.location.pathname; let pathname = this.props.location.pathname;
const { dataBaseId, workId } = this.props; const { workId } = this.props;
this.state = { this.state = {
showIframe: false, showIframe: false,
columns: [], columns: [],
...@@ -317,9 +316,7 @@ class AffairPage extends React.Component { ...@@ -317,9 +316,7 @@ class AffairPage extends React.Component {
if (!workId || !allConfigSetInfo) { if (!workId || !allConfigSetInfo) {
return null; return null;
} }
// console.log(allConfigSetInfo.isCloseStart);
// const url = config.onestopPC.split('/#/');
// let iframeUrl = iframeUrlDiy || `${url[0]}/#/IFrameForApply?id=${workId}&token=${getToken()}`;
let buttons = this.handleButtonSet({}); let buttons = this.handleButtonSet({});
let listConfig = pageSetting.listConfig; let listConfig = pageSetting.listConfig;
if (!buttons.length) { if (!buttons.length) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// * 2022年9月15日 // * 2022年9月15日
// * onestopApp1.0 // * onestopApp1.0
// * */ // * */
import React, { useEffect, useState, createContext, useRef } from 'react'; import React from 'react';
import CheckRecord from '@/webPublic/FormInsertDiy/ExportComponent/CheckRecord'; // 查询类 import CheckRecord from '@/webPublic/FormInsertDiy/ExportComponent/CheckRecord'; // 查询类
import Apply from '@/webPublic/FormInsertDiy/AffairPage/ApplyPage'; // 申请 import Apply from '@/webPublic/FormInsertDiy/AffairPage/ApplyPage'; // 申请
import BatchAudit from '@/webPublic/FormInsertDiy/AffairPage/AuditPage/BatchAudit'; // 批量审批 import BatchAudit from '@/webPublic/FormInsertDiy/AffairPage/AuditPage/BatchAudit'; // 批量审批
...@@ -17,7 +17,6 @@ import CheckRecordMerge from './CheckRecordMerge'; ...@@ -17,7 +17,6 @@ import CheckRecordMerge from './CheckRecordMerge';
import CreateC from './ContextCreate'; import CreateC from './ContextCreate';
function SassOnestopComponent(props){ function SassOnestopComponent(props){
console.log(props);
const params = props.match?.params; const params = props.match?.params;
if(!params || !params.appId){ if(!params || !params.appId){
return '参数错误, 暂无此功能'; return '参数错误, 暂无此功能';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论