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

优化代码

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