<commit_before>// 客户管理 - 合同管理 - 合同管理 [详情]
import React from 'react'
import { Row, Col, Table, Button } from 'antd'
import '../../../style/test.less'
import { apiPost } from '../../../../../api'
import TerminationComponent from '../../../components/LeaseContract/Termination'

class App extends React.Component {
    constructor (props) {
        super(props)
        this.state = {
            TerminationComponentOpen: false,
            contract: {},
            dataSource: [],
            columns: [
                {
                    title: '租赁开始时间',
                    dataIndex: 'startDate'
                }, {
                    title: '租赁结束时间',
                    dataIndex: 'endDate'
                }, {
                    title: '交费期限',
                    dataIndex: 'payDeadline'
                }, {
                    title: '金额',
                    dataIndex: 'currentPeriodMoney'
                }, {
                    title: '优惠金额',
                    dataIndex: 'discountMoney'
                }, {
                    title: '实际应收',
                    dataIndex: 'actualPaidMoney'
                }, {
                    title: '未收租金',
                    dataIndex: 'unpaidMoney'
                }
            ]
        }
    }
    async initialRemarks () {
        let contract = await apiPost(
            '/contract/getcontract', {
                'id': this.props.match.params.id,
                type: 2
            }
        )
        this.setState({
            dataSource: contract.data.list,
            contract: contract.data.contract
        })<commit_msg>select 可清除<commit_after>// 客户管理 - 合同管理 - 合同管理 [详情]
import React from 'react'
import { Row, Col, Table, Button } from 'antd'
import '../../../style/test.less'
import { apiPost } from '../../../../../api'
import TerminationComponent from '../../../components/LeaseContract/Termination'

class App extends React.Component {
    constructor (props) {
        super(props)
        this.state = {
            TerminationComponentOpen: false,
            contract: {},
            dataSource: [],
            columns: [
                {
                    title: '费用开始日期',
                    dataIndex: 'startDate'
                }, {
                    title: '费用结束日期',
                    dataIndex: 'endDate'
                }, {
                    title: '交费期限',
                    dataIndex: 'payDeadline'
                }, {
                    title: '金额',
                    dataIndex: 'currentPeriodMoney'
                }, {
                    title: '优惠金额',
                    dataIndex: 'discountMoney'
                }, {
                    title: '实际应收',
                    dataIndex: 'actualPaidMoney'
                }, {
                    title: '已收租金',
                    dataIndex: 'paidMoney'
                }, {
                    title: '未收租金',
                    dataIndex: 'unpaidMoney'
                }
            ]
        }
    }
    async initialRemarks () {
        let contract = await apiPost(
            '/contract/getcontract', {
                'id': this.props.match.params.id,
                type: 2
            }
        )
        this.setState({
            dataSource: contract.data.list,
            contract: contract.data.contract
        })
{'fraction_non_alphanumeric': 0.11857229280096794, 'fraction_numerical': 0.0006049606775559589, 'mean_word_length': 1.0115571776155718, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '19570', 'n_tokens_mistral': 918, 'n_tokens_neox': 884, 'n_words': 171}