Files
contract-manager/client/src/main/resources/ui/employee/functions-manager.fxml
songqq 375de610ef refactor(client): 重构服务类继承关系并统一使用QueryService
重构所有服务类,使其继承自QueryService接口,统一数据查询逻辑。同时为服务类添加@Service注解,确保Spring容器管理。更新相关FXML文件的控制器路径,从manager.ds调整为controller目录结构。调整pom.xml版本号至0.0.84-SNAPSHOT。新增MessageNotitfication和SimpleMessage消息类,提供基础消息结构支持。
2025-09-11 00:06:22 +08:00

45 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox prefHeight="680.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.ecep.contract.controller.permission.EmployeeFunctionsManagerWindowController">
<children>
<MenuBar VBox.vgrow="NEVER">
<menus>
<Menu text="文件(_F)">
<items>
<MenuItem onAction="#onCreateNewAction" text="新建…(_N)"/>
<MenuItem onAction="#onReBuildFilesAction" text="同步…(_R)"/>
<SeparatorMenuItem mnemonicParsing="false"/>
<MenuItem mnemonicParsing="false" text="Preferences…"/>
</items>
</Menu>
<Menu text="帮助(_H)">
<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>
<TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
<columns>
<TableColumn fx:id="idColumn" prefWidth="50.0" sortType="DESCENDING" text="ID"/>
<TableColumn fx:id="nameColumn" prefWidth="150.0" text="名称"/>
<TableColumn fx:id="keyColumn" prefWidth="150" text="KEY"/>
<TableColumn fx:id="controllerColumn" prefWidth="150" text="控制器"/>
<TableColumn fx:id="iconColumn" prefWidth="150" text="图标"/>
<TableColumn fx:id="descriptionColumn" prefWidth="200" text="备注"/>
<TableColumn fx:id="activeColumn" prefWidth="80" text="是否启用"/>
</columns>
</TableView>
<fx:include source="../part-footer.fxml" fx:id="footer"/>
</children>
</VBox>