@@ -422,8 +422,6 @@ const Index: React.FC<iAuditContentProps> = props => {
</>
)
}
- console.log(uid)
- console.log(userStore.userInfo.id)
return (
<table className="pi-table pi-bordered mt-3">
@@ -121,7 +121,6 @@ export default function FileModal(props: iFileModalProps) {
// 移除文件
const onRemove = (file: any) => {
- console.log(file)
const columns: ColumnsType<iFileModalState> = [
{
@@ -41,7 +41,6 @@ const UploadModal:React.FC<iUploadModalProps> = (props) => {
// console.log(info.file, info.fileList)
if (status === 'done') {
- console.log(info)
const newFileList = [ ...fileList, ...info.fileList ]
// newFileList.push(info.file)
setFileList(newFileList)
@@ -93,7 +92,6 @@ const UploadModal:React.FC<iUploadModalProps> = (props) => {
initOssData()
return false
const reg = new RegExp(consts.UPLOAD_WHITE)
if (!reg.test(file.name)) {
@@ -104,7 +102,7 @@ const UploadModal:React.FC<iUploadModalProps> = (props) => {
+ (file)
<Modal
@@ -89,8 +89,6 @@ const Receivable:React.FC<{}> = () => {
const index = newData.findIndex(item => key === item.id)
if (index > -1) {
const item = newData[index]
- console.log(row)
- console.log(item)
const payload = { ...row, time: dayjsFormat(row.time, 'YYYY-MM-DD'), createTime: dayjsFormat(row.createTime, 'YYYY-MM-DD'), id: item.id, bidsectionId: item.bidsectionId, contractsId: item.contractsId }
const { code = -1 } = await apiUpdateReturn(payload)
if (code === consts.RET_CODE.SUCCESS) {
@@ -142,7 +142,6 @@ const Tender: React.FC<{}> = () =>{
]
const onCreate = async (values: iTenderFormValue, type: string) => {
- console.log('Received values of form: ', values, type)
setModal({
...modal,
confirmLoading: true
@@ -196,7 +196,6 @@ const Member: React.FC<RouteComponentProps> = props => {
const change = (e: ChangeEvent) => {
- console.log(1)
e.persist()
const target = e.target as HTMLTextAreaElement
@@ -52,7 +52,6 @@ const textObj = {
const AuditModal: React.FC<iAuditModalProps> = props => {
const [ form ] = Form.useForm()
const { modalObj: { visible, type, loading }, onCancel, onCreate, auditors, curAuditor, type: auditType } = props
- console.log(loading)
const [ modal, setModal ] = useState<iModalObjState>({
@@ -1,6 +1,7 @@
export default {
// 基础设置
VERSION: '1.0.0',
+ NAME: '纵横工程建设项目管理系统',
BASE_URL: {
DEV: '',
PROD: ''
@@ -46,7 +46,6 @@ const throttle = (fn: Function, delay: number) => {
let last: number = 0
return (...args: any[]) => {
const now: number = +Date.now()
- console.log('call', now, last, delay)
if (now > last + delay) {
last = now
fn.apply(this, args)