import React, { Component } from "react"; import Taro from "@tarojs/taro"; import { View, Text, Image, Button } from "@tarojs/components"; import Skeleton from "taro-skeleton"; import { getClockState } from "../../utils/tools"; import ListBottomStart from "../../components/common/listBottomStart"; import RevokeWhite from "../../image/revokeWhite.png"; import "./index.less"; class MyList extends Component { constructor(props) { super(props); } 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.nickname} { Taro.setClipboardData({ data: v.orgCode, success: function (res) { Taro.showToast({ title: '复制成功', }); } }) }}>{v.orgCode}{v.orgCode && " [复制]"} {["未签单", "已签单"][v.signBills]} {v.signBills == 1 && v.signTime && ("(" + v.signTime + ")")} 营销员:{v.adminName} { !v.latestFollow && { e.stopPropagation() this.props.getMore(v) }}>查看更多 ▼ } { !!v.latestFollow && 累计公出次数:{v.count} 首次面谈时间:{!v.minPublicRelease.id ? "无" : (v.minPublicRelease.releaseStart + "【" + v.minPublicRelease.aname + "】")} 最新公出时间:{!v.maxPublicRelease.id ? "无" : (v.maxPublicRelease.releaseStart + "【" + v.maxPublicRelease.aname + "】")} 最新跟进时间:{!v.latestFollow.id ? "无" : (v.latestFollow.followTime + "【" + v.latestFollow.followName + "】")} } { !!v.latestFollow && { e.stopPropagation() this.props.onHide(v) }}>收起 ▲ } { { e.stopPropagation(); Taro.navigateTo({ url: "/pages/situation/index?id=" + v.id, }); }} > 公出情况 } { { e.stopPropagation(); Taro.navigateTo({ url: "/pages/customerProfile/index?id=" + v.id, }); }} > 客户档案 } ))} { this.props.onRefresh; }} /> ); } } export default MyList;