<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox prefHeight="680.0" prefWidth="737.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="com.ecep.contract.controller.company.CompanyManagerWindowController">
    <children>
        <MenuBar VBox.vgrow="NEVER">
            <menus>
                <Menu text="文件(_F)">
                    <items>
                        <MenuItem text="新建公司…(_N)" onAction="#onCompanyCreateNewAction"/>
                        <MenuItem text="公司文件重置…(_R)" onAction="#onReBuildFilesAction"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem text="首选项…(_P)" disable="true"/>
                    </items>
                </Menu>
                <Menu text="合规(_V)">
                    <items>
                        <MenuItem text="合规验证(_V)" onAction="#onVerifyAction"/>
                    </items>
                </Menu>
                <Menu mnemonicParsing="false" text="帮助">
                    <items>
                        <MenuItem mnemonicParsing="false" text="关于…"/>
                    </items>
                </Menu>
            </menus>
        </MenuBar>
        <ToolBar prefHeight="40.0" prefWidth="200.0">
            <items>
                <TextField fx:id="searchKeyField" promptText="检索关键字"/>
                <Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
            </items>
        </ToolBar>
        <AnchorPane prefHeight="248.0" prefWidth="2239.0" VBox.vgrow="ALWAYS">
            <children>
                <TableView fx:id="table" layoutX="52.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0"
                           AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
                           AnchorPane.topAnchor="0.0">
                    <columns>
                        <TableColumn fx:id="idColumn" maxWidth="100.0" prefWidth="60.0" text="ID"/>
                        <TableColumn fx:id="nameColumn" maxWidth="1000.0" minWidth="50.0" prefWidth="200.0"
                                     text="名称"/>
                        <TableColumn fx:id="uniscidColumn" maxWidth="200.0" minWidth="50.0" prefWidth="150.0"
                                     text="社会统一信用号码"/>
                        <TableColumn fx:id="entStatusColumn" maxWidth="100.0" minWidth="50.0" text="登记状态"/>
                        <TableColumn fx:id="createdColumn" maxWidth="150.0" minWidth="50.0" prefWidth="100.0"
                                     sortType="DESCENDING" text="创建日期"/>
                        <TableColumn fx:id="memoColumn" maxWidth="150.0" minWidth="50.0" prefWidth="100.0" text="备注"/>
                    </columns>
                </TableView>
            </children>
        </AnchorPane>
        <fx:include source="../part-footer.fxml" fx:id="footer"/>
    </children>
</VBox>
