import React, { Component } from "react"; import Taro from "@tarojs/taro"; import { View, Image, Button } from "@tarojs/components"; import Skeleton from "taro-skeleton"; import { getClockState } from "../../utils/tools"; import ListBottomStart from "../../components/common/listBottomStart"; import Select from "../applyReimbursement/select"; import "./index.less"; class List extends Component { constructor(props) { super(props); this.state = { id: "", visible: "", }; } onClose() { this.setState({ visible: "", }) } render() { return ( { this.props.list.length === 0 && this.props.listState === "LOADING" && this.props.typelist?.map((v) => ( )) } {this.props.list.length > 0 && this.props.list?.map((v, k) => ( {v.aname}提交的公出申请 {v.updateStatus == 1 && } {v.createTimes} 公出企业:{v.userNames} 公出地点:{v.districtName} 开始时间:{v.releaseStarts} { v.status == 2 && { this.props.initiate(v.id) }} > 发起报销 } 结束时间:{v.releaseEnds} { v.assistAidName != null && v.assistAidName != "" && 技术协单:{v.assistAidName.replace(/,/g, " ")} } { v.assistantName != null && v.assistantName != "" && 协单助手:{v.assistantName.replace(/,/g, " ")} } {v.adminExamine} {['未打卡', '已打卡', '异常打卡'][v.clockIn]} {(v.status === 0 || v.status === 4) && v.rejectName}{getClockState(v.status).title} ))} { this.props.onRefresh; }} /> {/* 发起报销类型选择 */} {/* {this.state.visible != "" &&