Commit 4508ae30 authored by 熊成伟's avatar 熊成伟

debug

parent 8b4e576c
Pipeline #15214 passed with stages
in 1 minute and 3 seconds
This diff is collapsed.
......@@ -21,7 +21,7 @@ const Backlog = (props) => {
setLoading(true)
axiosRequest({
method: 'post',
url: '/idtAppServiceV6/getWaitDealList&tableids=1',
url: '/idtAppServiceV6/oApp/getUnDone',
}).then(res => {
setLoading(false);
let result = res.rows ? data.concat(res.rows) : data;
......
import React, {useState, useEffect} from 'react';
import AddressList from '../../components/AddressList';
import AddressUser from '../../components/AddressList/AddressUser';
import axiosRequest from '../../utils/request';
import {ActivityIndicator} from "antd-mobile";
......@@ -8,7 +7,7 @@ import {ActivityIndicator} from "antd-mobile";
const Communicate = (props) => {
const [loading, setLoading] = useState(false);
const [data, setData] = useState([]);
const [type, setType] = useState('basic')
// const [type, setType] = useState('basic')
// const {id} = props.match.params;
......@@ -16,6 +15,7 @@ const Communicate = (props) => {
const getData = () => {
setLoading(true);
console.log(data)
axiosRequest({
method: 'post',
url: '/idtAppServiceV6/oApp/getSearchAddressBook',
......@@ -25,18 +25,10 @@ const Communicate = (props) => {
});
};
useEffect(() => {
if (props.location.query && props.location.query.parent) {
const {parent} = props.location.query;
}
// const {parent} = props.location.query;
console.log(props.location.query)
getData()
}, []);
const getCurrent = () =>{
}
return (
<div>
<ActivityIndicator
......
import React, {useState, useEffect} from 'react';
import React, { useEffect} from 'react';
import {Modal} from 'antd-mobile'
import './index.less';
import axiosRequest from '../../utils/request';
......
import React, {useState, useEffect} from 'react';
import {WingBlank, WhiteSpace, ActionSheet, ActivityIndicator} from 'antd-mobile'
import axiosRequest from '../../utils/request';
// import axiosRequest from '../../utils/request';
import './index.less'
import TopTabs from '../../components/BlankTabs'
import Basic from './Basic'
......@@ -23,6 +23,8 @@ const Pro = (props) => {
setFootStatus(true)
};
useEffect(() => {
setTableId();
console.log(tableId)
setLoading(false);
const option = document.getElementsByClassName("option-text")[0]
option.addEventListener('focus', optionBlur, true);
......@@ -75,14 +77,14 @@ const Pro = (props) => {
console.log(buttonIndex)
});
};
const processEnd = () => {
axiosRequest({
method: 'post',
url: `/dgbg/MobileGetFlowsByTabId.view?userName=2012012099&clientFlag=123456&tableId=${tableId}`,
}).then(res => {
console.log(res)
});
}
// const processEnd = () => {
// axiosRequest({
// method: 'post',
// url: `/dgbg/MobileGetFlowsByTabId.view?userName=2012012099&clientFlag=123456&tableId=${tableId}`,
// }).then(res => {
// console.log(res)
// });
// }
const handleScroll = () => {
const adjunct = document.getElementById("event-adjunct").offsetTop;
......
......@@ -36,8 +36,8 @@ const Notice = (props) => {
}
};
useEffect(() => {
// window.addEventListener('scroll', handleScroll, true);
// return () => window.removeEventListener('scroll', handleScroll, true);
window.addEventListener('scroll', handleScroll, true);
return () => window.removeEventListener('scroll', handleScroll, true);
}, [data]);
const checkLog = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment