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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToolBar?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?>
<?import org.controlsfx.glyphfont.Glyph?>

<BorderPane fx:id="root" prefHeight="600.0" prefWidth="500.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.controller.project.satisfaction_survey.CustomerSatisfactionSurveyWindowController">
    <top>
        <ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
            <items>
                <Button mnemonicParsing="false" onAction="#onRefreshAction" text="刷新">
                    <graphic>
                        <Glyph fontFamily="FontAwesome" icon="REFRESH" />
                    </graphic>
                </Button>
                <Button fx:id="saveBtn" disable="true" text="保存(_S)">
                    <graphic>
                        <Glyph fontFamily="FontAwesome" icon="SAVE" />
                    </graphic>
                </Button>
                <Separator />
                <Button fx:id="importExcelBtn" disable="true" mnemonicParsing="false" text="Excel表单导入">
                    <graphic>
                        <Glyph fontFamily="FontAwesome" icon="UPLOAD" />
                    </graphic>
                </Button>
                <Button fx:id="exportExcelBtn" mnemonicParsing="false" text="Excel表单导出">
                    <graphic>
                        <Glyph fontFamily="FontAwesome" icon="DOWNLOAD" />
                    </graphic>
                </Button>
            </items>
        </ToolBar>
    </top>
    <center>
        <TabPane tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
            <tabs>
                <Tab fx:id="baseInfoTab" text="基本信息">
                    <ScrollPane fitToWidth="true" pannable="true">
                        <content>
                            <VBox>
                                <children>
                                    <GridPane maxHeight="1.7976931348623157E308" minWidth="150.0" VBox.vgrow="NEVER">
                                        <columnConstraints>
                                            <ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
                                            <ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
                                            <ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
                                            <ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
                                        </columnConstraints>
                                        <rowConstraints>
                                            <RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                 <RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="80.0" prefHeight="80.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
                                            <RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="NEVER" />
                                        </rowConstraints>
                                        <children>
                                            <Label text="编号" GridPane.rowIndex="1" />
                                            <Label text="日期" GridPane.columnIndex="2" GridPane.rowIndex="1" />
                                            <Label text="填写时间" GridPane.columnIndex="2" GridPane.rowIndex="14" />
                                            <TextField fx:id="applyTimeField" promptText="yyyy-MM-dd hh:mm:ss" GridPane.columnIndex="3" GridPane.rowIndex="14" />
                                            <Label text="填写人" GridPane.rowIndex="14" />
                                            <TextField fx:id="applicantField" GridPane.columnIndex="1" GridPane.rowIndex="14" />
                                            <VBox spacing="3.0" GridPane.columnSpan="4" GridPane.halignment="LEFT" GridPane.rowIndex="18">
                                                <children>
                                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="备注：" />
                                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="1. 投标需要关联成本表。" wrappingWidth="600.0" />
                                                    <Text fill="RED" strokeType="OUTSIDE" strokeWidth="0.0" text="2. 客户资信和资信等级转换关系：良好≥4;一般:2~3;较差≤1" wrappingWidth="600.0" />
                                                </children>
                                            </VBox>
                                            <Label text="审批文件" GridPane.rowIndex="15" />
                                            <HBox spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="15">
                                                <children>
                                                    <TextField fx:id="authorizationFileField" editable="false" HBox.hgrow="ALWAYS" />
                                                    <Button fx:id="openAuthorizationFileBtn" mnemonicParsing="false" text="打开" />
                                                    <Button fx:id="changeAuthorizationFileBtn" mnemonicParsing="false" text="更换" />
                                                </children>
                                            </HBox>
                                            <TextArea fx:id="descriptionField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="16">
                                                <GridPane.margin>
                                                    <Insets bottom="3.0" top="3.0" />
                                                </GridPane.margin>
                                            </TextArea>
                                            <Label text="备注" GridPane.rowIndex="16" />
                                            <TextField fx:id="codeField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
                                            <TextField fx:id="dateField" GridPane.columnIndex="3" GridPane.rowIndex="1" />
                                            <HBox GridPane.columnIndex="1" GridPane.rowIndex="2" />
                                            <Slider fx:id="slider1" blockIncrement="1.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickLabels="true" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="3">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>

                                            <Slider fx:id="slider2" blockIncrement="1.0" layoutX="130.0" layoutY="70.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="4">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Slider fx:id="slider3" blockIncrement="1.0" layoutX="130.0" layoutY="107.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="5">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Slider fx:id="slider4" blockIncrement="1.0" layoutX="130.0" layoutY="141.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="6">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Slider fx:id="slider5" blockIncrement="1.0" layoutX="130.0" layoutY="171.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="7">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Slider fx:id="slider6" blockIncrement="1.0" layoutX="130.0" layoutY="201.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="8">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Label fx:id="sliderLabel1" text="系统总体质量" textFill="#132890" GridPane.rowIndex="3" />
                                            <Label fx:id="sliderLabel2" text="交货期" textFill="#132890" GridPane.rowIndex="4" />
                                            <Label fx:id="sliderLabel3" text="外包装及标识" textFill="#132890" GridPane.rowIndex="5" />
                                            <Label fx:id="sliderLabel4" text="人员礼貌态度" textFill="#132890" GridPane.rowIndex="6" />
                                            <Label fx:id="sliderLabel5" text="问题回复速度" textFill="#132890" GridPane.rowIndex="7" />
                                            <Label fx:id="sliderLabel6" text="性能价格比" textFill="#132890" GridPane.rowIndex="8" />
                                            <Label fx:id="sliderLabel7" text="安装指导服务" textFill="#132890" GridPane.rowIndex="9" />
                                            <Label fx:id="sliderLabel8" text="售后服务" textFill="#132890" GridPane.rowIndex="10" />
                                            <Label fx:id="sliderLabel9" text="送检资料完整" textFill="#132890" GridPane.rowIndex="11" />
                                            <Label fx:id="sliderLabel10" text="其它配合度" textFill="#132890" GridPane.rowIndex="12" />

                                            <Slider fx:id="slider7" blockIncrement="1.0" layoutX="130.0" layoutY="231.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="9">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Slider fx:id="slider8" blockIncrement="1.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="10">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Slider fx:id="slider9" blockIncrement="1.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="11">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Slider fx:id="slider10" blockIncrement="1.0" majorTickUnit="1.0" max="10.0" min="1.0" minorTickCount="0" nodeOrientation="RIGHT_TO_LEFT" showTickLabels="true" showTickMarks="true" snapToTicks="true" value="9.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="12">
                                                <GridPane.margin>
                                                    <Insets bottom="6.0" top="6.0" />
                                                </GridPane.margin>
                                            </Slider>
                                            <Label text="总分" textFill="#132890" GridPane.rowIndex="13" />
                                            <TextField fx:id="totalScoreField" GridPane.columnIndex="1" GridPane.rowIndex="13" />
                                        </children>
                                        <VBox.margin>
                                            <Insets />
                                        </VBox.margin>
                                    </GridPane>
                                </children>
                            </VBox>
                        </content>
                        <padding>
                            <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
                        </padding>
                    </ScrollPane>
                </Tab>
                <!--                <Tab fx:id="itemTab" text="成本内容">-->
                <!--                </Tab>-->
                <Tab fx:id="approvalTab" disable="true" text="审批">
                </Tab>
                <Tab fx:id="otherTab" disable="true" text="其他">
                </Tab>
            </tabs>
        </TabPane>

    </center>
</BorderPane>
