|
|
|
@ -35,6 +35,7 @@ public class QTXJCDialog extends Application {
|
|
|
|
|
private List<String> sfList = new ArrayList<String>();
|
|
|
|
|
private TCComponent[] com;
|
|
|
|
|
private String type;
|
|
|
|
|
private Stage primaryStage = null;
|
|
|
|
|
|
|
|
|
|
public QTXJCDialog(List<String> sfList, TCComponent[] com, TCSession session, String type) throws TCException {
|
|
|
|
|
|
|
|
|
@ -47,7 +48,7 @@ public class QTXJCDialog extends Application {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void start(Stage arg0) throws Exception {
|
|
|
|
|
Stage primaryStage = new Stage();
|
|
|
|
|
primaryStage = new Stage();
|
|
|
|
|
Pane root = new Pane();
|
|
|
|
|
Label pjStage = new Label("项目阶段");
|
|
|
|
|
pjStage.setLayoutX(37.0);
|
|
|
|
@ -195,7 +196,7 @@ public class QTXJCDialog extends Application {
|
|
|
|
|
String outpath = roadName;
|
|
|
|
|
|
|
|
|
|
System.out.println(outpath);
|
|
|
|
|
|
|
|
|
|
// System.out.println("typeĘÇ" + type);
|
|
|
|
|
File file = getExcle(jdname, type);
|
|
|
|
|
String sel = pjsName.getSelectionModel().getSelectedItem();
|
|
|
|
|
Map<String, List<TCComponent>> jfw = new HashMap<String, List<TCComponent>>();
|
|
|
|
@ -235,6 +236,7 @@ public class QTXJCDialog extends Application {
|
|
|
|
|
}
|
|
|
|
|
ExcelOperation.writeExcel(file, outpath, jfw);
|
|
|
|
|
System.out.println("导出成功");
|
|
|
|
|
primaryStage.close();
|
|
|
|
|
MessageBox.post("导出成功", "信息", MessageBox.INFORMATION);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|