Commit 2bd3197f authored by 熊成伟's avatar 熊成伟

debug

parent 859e624b
Pipeline #15545 passed with stages
in 58 seconds
@import '../../variable.less'; @import '../../../variable.less';
.todo-card{ .todo-card{
......
import React, {useState, useEffect} from 'react'; import React, {useState, useEffect} from 'react';
import {WhiteSpace, WingBlank} from 'antd-mobile' import {WhiteSpace, WingBlank} from 'antd-mobile'
import TodoCard from '../../components/LogCard' import TodoCard from '../../components/Card/LogCard'
import TopSearch from '../../components/TopSearch'; import TopSearch from '../../components/TopSearch';
import Skeleton from '../../components/Skeleton' import Skeleton from '../../components/Skeleton'
import Loading from '../../components/Loading' import Loading from '../../components/Loading'
......
import React from 'react'; import React from 'react';
import StepCard from '../../components/StepCard' import StepCard from '../../components/Card/StepCard'
const Flow = (props) => { const Flow = (props) => {
const {data} = props const {data} = props
......
...@@ -2,7 +2,7 @@ import React, {useState, useEffect} from 'react'; ...@@ -2,7 +2,7 @@ import React, {useState, useEffect} from 'react';
import Document from 'react-document-title' import Document from 'react-document-title'
import {WingBlank, WhiteSpace, ActionSheet, Toast} from 'antd-mobile' import {WingBlank, WhiteSpace, ActionSheet, Toast} from 'antd-mobile'
import axiosRequest from '../../utils/request'; import axiosRequest from '../../utils/request';
import TopTabs from '../../components/BlankTabs' import TopTabs from '../../components/Tabs/BlankTabs'
import Skeleton from '../../components/Skeleton' import Skeleton from '../../components/Skeleton'
import Basic from './Basic' import Basic from './Basic'
import Adjunct from './Adjunct' import Adjunct from './Adjunct'
...@@ -40,7 +40,7 @@ const Process = (props) => { ...@@ -40,7 +40,7 @@ const Process = (props) => {
}).then(res => { }).then(res => {
const keys = res.elementList ? Object.keys(res.elementList) : []; const keys = res.elementList ? Object.keys(res.elementList) : [];
console.log(keys); console.log(keys);
setBasic(res.elementList ? keys.map(item => ({title: item})) : []); setBasic(res.elementList ? res.elementList.map(item => ({title: item.showName})) : []);
setTableId(res.table && res.table.tableId); setTableId(res.table && res.table.tableId);
setTemplateId(res.property && res.property.templateId); setTemplateId(res.property && res.property.templateId);
setNodeId(res.property && res.property.curNodeId); setNodeId(res.property && res.property.curNodeId);
......
import React, {useEffect, useState} from 'react'; import React, {useEffect, useState} from 'react';
import {WhiteSpace, WingBlank} from 'antd-mobile' import {WhiteSpace, WingBlank} from 'antd-mobile'
import TodoCard from '../../components/LogCard' import TodoCard from '../../components/Card/LogCard'
import TopNotice from '../../components/NoticeTab' import TopNotice from '../../components/Tabs/NoticeTab'
import axiosRequest from '../../utils/request'; import axiosRequest from '../../utils/request';
import Skeleton from '../../components/Skeleton' import Skeleton from '../../components/Skeleton'
import Document from 'react-document-title' import Document from 'react-document-title'
......
...@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; ...@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
import {WhiteSpace, WingBlank} from "antd-mobile"; import {WhiteSpace, WingBlank} from "antd-mobile";
// import axiosRequest from '../../utils/request'; // import axiosRequest from '../../utils/request';
import TopSearch from '../../components/TopSearch' import TopSearch from '../../components/TopSearch'
import WorkCard from '../../components/WorkCard'; import WorkCard from '../../components/Card/WorkCard';
import Skeleton from '../../components/Skeleton' import Skeleton from '../../components/Skeleton'
import Document from 'react-document-title' import Document from 'react-document-title'
import Empty from '../Empty' import Empty from '../Empty'
......
import React, {useEffect, useState} from 'react'; import React, {useEffect, useState} from 'react';
import {WhiteSpace, WingBlank} from 'antd-mobile' import {WhiteSpace, WingBlank} from 'antd-mobile'
import TodoCard from '../../components/LogCard/WorkCard' import TodoCard from '../../components/Card/LogCard/WorkCard'
import TopNotice from '../../components/NoticeTab/AutoTab' import TopNotice from '../../components/Tabs/NoticeTab/AutoTab'
import axiosRequest from '../../utils/request'; import axiosRequest from '../../utils/request';
import Skeleton from '../../components/Skeleton' import Skeleton from '../../components/Skeleton'
import Document from 'react-document-title' import Document from 'react-document-title'
......
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