<commit_before>// 收费管理 - 物业费管理
import React from 'react'
import {Row, Col, Input, DatePicker, Select, Modal, Form, Icon, notification} from 'antd'
import '../../../../style/test.less'
import { apiPost  } from '../../../../api'
import moment from 'moment'
const Option = Select.Option
const FormItem = Form.Item
const { RangePicker } = DatePicker
class propertyFeeAdd extends React.Component {
    constructor (props) {
        super(props)
        this.state = {
            visible: false,
            view: true,
            accountList: [],
            tenantList: [],
            pmContractList: [],
            openAdd: false,
            isFirst: true,
            data2: [],
            json1: {},
            PropertyFeeList: [],
            data: {}
        }
    }
    async initialRemarks (nextProps) {
        let accountList = await apiPost(
            '/propertyFee/getAccountList'
        )
        let pmContractList = await apiPost(
            '/propertyFee/getPmContractList'
        )
        this.setState({accountList: accountList.data,
            pmContractList: pmContractList.data})
        if (nextProps.id !== null) {
            let json = this.state.json1
            if (this.state.isFirst && nextProps.visible) {
                let propertyFee = await apiPost(
                    '/propertyFee/getPropertyFeeById',<commit_msg>物业费添加合同筛选<commit_after>// 收费管理 - 物业费管理
import React from 'react'
import {Row, Col, Input, DatePicker, Select, Modal, Form, Icon, notification} from 'antd'
import '../../../../style/test.less'
import { apiPost  } from '../../../../api'
import moment from 'moment'
const Option = Select.Option
const FormItem = Form.Item
const { RangePicker } = DatePicker
class propertyFeeAdd extends React.Component {
    constructor (props) {
        super(props)
        this.state = {
            visible: false,
            view: true,
            accountList: [],
            tenantList: [],
            pmContractList: [],
            openAdd: false,
            isFirst: true,
            data2: [],
            json1: {},
            PropertyFeeList: [],
            data: {}
        }
    }
    async initialRemarks (nextProps) {
        let accountList = await apiPost(
            '/propertyFee/getAccountList'
        )
        let pmContractList = await apiPost(
            '/propertyFee/getPmContractList',
            {contractStatus: 0}
        )
        this.setState({accountList: accountList.data,
            pmContractList: pmContractList.data})
        if (nextProps.id !== null) {
            let json = this.state.json1
            if (this.state.isFirst && nextProps.visible) {
                let propertyFee = await apiPost(
                    '/propertyFee/getPropertyFeeById',
{'fraction_non_alphanumeric': 0.11777535441657579, 'fraction_numerical': 0.002544529262086514, 'mean_word_length': 1.7995930824008137, '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': '7055909', 'n_tokens_mistral': 758, 'n_tokens_neox': 772, 'n_words': 185}