亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? timecardpanel.java

?? 根據企業對人事管理的要求
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
		final JLabel label = new JLabel();
		label.setPreferredSize(new Dimension(100, 20));
		final GridBagConstraints gridBagConstraints_19 = new GridBagConstraints();
		gridBagConstraints_19.gridy = 0;
		gridBagConstraints_19.gridx = 3;
		contentPanel.add(label, gridBagConstraints_19);

		final JLabel nameLabel = new JLabel();
		nameLabel.setText("考勤員工:");
		final GridBagConstraints gridBagConstraints_1 = new GridBagConstraints();
		gridBagConstraints_1.insets = new Insets(0, 0, 0, 0);
		gridBagConstraints_1.gridy = 0;
		gridBagConstraints_1.gridx = 4;
		contentPanel.add(nameLabel, gridBagConstraints_1);

		personnalComboBox = new JComboBox(); // 創建下拉菜單對象
		personnalComboBox.addItemListener(new ItemListener() { // 捕獲下拉菜單選項狀態發生改變的事件
					public void itemStateChanged(ItemEvent e) {
						if (e.getStateChange() == ItemEvent.SELECTED) { // 查看是否由選中當前項觸發的
							String selectedItem = (String) e.getItem();// 獲得選中項的內容
							if (selectedItem.equals("請選擇")) {// 當選中項為“請選擇”時,設置部門文本框為空
								inDeptTextField.setText(null);
							} else {// 否則設置部門文本框為選中員工所在的部門
								TbRecord record = (TbRecord) dao
										.queryRecordByNum(selectedItem
												.substring(0, 6));
								inDeptTextField.setText(record.getTbDutyInfo()
										.getTbDept().getName());
							}
						}
					}
				});
		personnalComboBox.addItem("請選擇"); // 添加提示項
		Iterator recordIt = dao.queryRecord().iterator();// 檢索所有員工
		while (recordIt.hasNext()) {// 通過循環添加到下拉菜單中
			TbRecord record = (TbRecord) recordIt.next();
			personnalComboBox.addItem(record.getRecordNumber() + "    "
					+ record.getName());
		}
		final GridBagConstraints gridBagConstraints_10 = new GridBagConstraints();
		gridBagConstraints_10.anchor = GridBagConstraints.WEST;
		gridBagConstraints_10.insets = new Insets(0, 0, 0, 0);
		gridBagConstraints_10.gridy = 0;
		gridBagConstraints_10.gridx = 5;
		contentPanel.add(personnalComboBox, gridBagConstraints_10);

		final JLabel label_9 = new JLabel();
		final GridBagConstraints gridBagConstraints_18 = new GridBagConstraints();
		gridBagConstraints_18.gridy = 0;
		gridBagConstraints_18.gridx = 6;
		contentPanel.add(label_9, gridBagConstraints_18);

		final JLabel timecardTypeLabel = new JLabel();
		timecardTypeLabel.setText("考勤類型:");
		final GridBagConstraints gridBagConstraints_2 = new GridBagConstraints();
		gridBagConstraints_2.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_2.gridy = 1;
		gridBagConstraints_2.gridx = 0;
		contentPanel.add(timecardTypeLabel, gridBagConstraints_2);

		timecardTypeComboBox = new JComboBox();
		timecardTypeComboBox.addItem("請選擇");
		Iterator accountItemIt = dao.queryAccountItemUsedTimecard().iterator();
		while (accountItemIt.hasNext()) {
			TbAccountItem accountItem = (TbAccountItem) accountItemIt.next();
			timecardTypeComboBox.addItem(accountItem.getName());
		}
		final GridBagConstraints gridBagConstraints_11 = new GridBagConstraints();
		gridBagConstraints_11.anchor = GridBagConstraints.WEST;
		gridBagConstraints_11.gridwidth = 2;
		gridBagConstraints_11.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_11.gridy = 1;
		gridBagConstraints_11.gridx = 1;
		contentPanel.add(timecardTypeComboBox, gridBagConstraints_11);

		final JLabel explainLabel = new JLabel();
		explainLabel.setText("考勤說明:");
		final GridBagConstraints gridBagConstraints_3 = new GridBagConstraints();
		gridBagConstraints_3.insets = new Insets(20, 0, 104, 0);
		gridBagConstraints_3.gridy = 2;
		gridBagConstraints_3.gridx = 0;
		contentPanel.add(explainLabel, gridBagConstraints_3);

		final JScrollPane scrollPane = new JScrollPane();
		final GridBagConstraints gridBagConstraints_17 = new GridBagConstraints();
		gridBagConstraints_17.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_17.gridwidth = 6;
		gridBagConstraints_17.gridy = 2;
		gridBagConstraints_17.gridx = 1;
		contentPanel.add(scrollPane, gridBagConstraints_17);

		explainTextArea = new JTextArea();
		explainTextArea.setLineWrap(true);
		explainTextArea.setRows(6);
		explainTextArea.setColumns(70);
		scrollPane.setPreferredSize(explainTextArea.getPreferredSize());
		scrollPane.setViewportView(explainTextArea);

		final JLabel startDateLabel = new JLabel();
		startDateLabel.setText("開始日期:");
		final GridBagConstraints gridBagConstraints_4 = new GridBagConstraints();
		gridBagConstraints_4.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_4.gridy = 3;
		gridBagConstraints_4.gridx = 0;
		contentPanel.add(startDateLabel, gridBagConstraints_4);

		startDateTextField = new JTextField();
		startDateTextField.setHorizontalAlignment(SwingConstants.CENTER);
		startDateTextField.setColumns(16);
		startDateTextField.setText(Today.TODAY_DATE);
		final GridBagConstraints gridBagConstraints_15 = new GridBagConstraints();
		gridBagConstraints_15.gridwidth = 2;
		gridBagConstraints_15.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_15.gridy = 3;
		gridBagConstraints_15.gridx = 1;
		contentPanel.add(startDateTextField, gridBagConstraints_15);

		final JLabel endDateLabel = new JLabel();
		endDateLabel.setText("結束日期:");
		final GridBagConstraints gridBagConstraints_5 = new GridBagConstraints();
		gridBagConstraints_5.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_5.gridy = 3;
		gridBagConstraints_5.gridx = 4;
		contentPanel.add(endDateLabel, gridBagConstraints_5);

		endDateTextField = new JTextField();
		endDateTextField.setHorizontalAlignment(SwingConstants.CENTER);
		endDateTextField.setColumns(16);
		endDateTextField.setText(Today.TODAY_DATE);
		final GridBagConstraints gridBagConstraints_16 = new GridBagConstraints();
		gridBagConstraints_16.anchor = GridBagConstraints.WEST;
		gridBagConstraints_16.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_16.gridy = 3;
		gridBagConstraints_16.gridx = 5;
		contentPanel.add(endDateTextField, gridBagConstraints_16);

		final JLabel ratifierDeptLabel = new JLabel();
		ratifierDeptLabel.setText("批準部門:");
		final GridBagConstraints gridBagConstraints_6 = new GridBagConstraints();
		gridBagConstraints_6.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_6.gridy = 4;
		gridBagConstraints_6.gridx = 0;
		contentPanel.add(ratifierDeptLabel, gridBagConstraints_6);

		deptTextField = new JTextField();
		deptTextField.setEditable(false);
		deptTextField.setColumns(11);
		final GridBagConstraints gridBagConstraints_12 = new GridBagConstraints();
		gridBagConstraints_12.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_12.gridy = 4;
		gridBagConstraints_12.gridx = 1;
		contentPanel.add(deptTextField, gridBagConstraints_12);

		final JButton deptTreeButton = new JButton();
		deptTreeButton.setMargin(new Insets(0, 6, 0, 3));
		deptTreeButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				DeptTreeDialog deptTree = new DeptTreeDialog(deptTextField);
				deptTree.setBounds(375, 393, 101, 175);
				deptTree.setVisible(true);
				// 根據選擇的部門初始化批準人列表
				TbDept dept = (TbDept) dao.queryDeptByName(deptTextField
						.getText());
				if (ratifierPersonComboBox.isEnabled())
					ratifierPersonComboBox.removeAllItems();
				else
					ratifierPersonComboBox.setEnabled(true);
				ratifierPersonComboBox.addItem("請選擇");
				Iterator dutyInfoIt = dept.getTbDutyInfos().iterator();
				while (dutyInfoIt.hasNext()) {
					TbDutyInfo dutyInfo = (TbDutyInfo) dutyInfoIt.next();
					TbRecord tbRecord = dutyInfo.getTbRecord();
					ratifierPersonComboBox.addItem(tbRecord.getRecordNumber()
							+ "    " + tbRecord.getName());
				}
			}
		});
		deptTreeButton.setText("...");
		final GridBagConstraints gridBagConstraints_20 = new GridBagConstraints();
		gridBagConstraints_20.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_20.gridy = 4;
		gridBagConstraints_20.gridx = 2;
		contentPanel.add(deptTreeButton, gridBagConstraints_20);

		final JLabel ratifierPersonLabel = new JLabel();
		ratifierPersonLabel.setText("批 準 人:");
		final GridBagConstraints gridBagConstraints_7 = new GridBagConstraints();
		gridBagConstraints_7.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_7.gridy = 4;
		gridBagConstraints_7.gridx = 4;
		contentPanel.add(ratifierPersonLabel, gridBagConstraints_7);

		ratifierPersonComboBox = new JComboBox();
		ratifierPersonComboBox.setEnabled(false);
		final GridBagConstraints gridBagConstraints_13 = new GridBagConstraints();
		gridBagConstraints_13.anchor = GridBagConstraints.WEST;
		gridBagConstraints_13.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_13.gridy = 4;
		gridBagConstraints_13.gridx = 5;
		contentPanel.add(ratifierPersonComboBox, gridBagConstraints_13);

		final JLabel ratifierDateLabel = new JLabel();
		ratifierDateLabel.setText("批準日期:");
		final GridBagConstraints gridBagConstraints_8 = new GridBagConstraints();
		gridBagConstraints_8.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_8.gridy = 5;
		gridBagConstraints_8.gridx = 0;
		contentPanel.add(ratifierDateLabel, gridBagConstraints_8);

		ratifierDateTextField = new JTextField();
		ratifierDateTextField.setHorizontalAlignment(SwingConstants.CENTER);
		ratifierDateTextField.setText(Today.TODAY_DATE);
		ratifierDateTextField.setColumns(16);
		final GridBagConstraints gridBagConstraints_14 = new GridBagConstraints();
		gridBagConstraints_14.gridwidth = 2;
		gridBagConstraints_14.insets = new Insets(20, 0, 0, 0);
		gridBagConstraints_14.gridy = 5;
		gridBagConstraints_14.gridx = 1;
		contentPanel.add(ratifierDateTextField, gridBagConstraints_14);
		//
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品xxxxbbbb| 国产日本一区二区| 成人va在线观看| 婷婷国产v国产偷v亚洲高清| 久久综合九色综合97婷婷| 欧美日韩视频在线第一区 | 日韩精品亚洲一区二区三区免费| 久久午夜国产精品| 欧美三级一区二区| 成人av资源在线观看| 精品影院一区二区久久久| 亚洲一区二区av电影| 亚洲欧洲www| 国产亚洲精品精华液| 欧美本精品男人aⅴ天堂| 欧美色图12p| 日本道色综合久久| 成人视屏免费看| 国产一本一道久久香蕉| 免费在线观看一区二区三区| 亚洲国产视频一区| 亚洲午夜精品17c| 亚洲免费av高清| 国产精品麻豆一区二区| 欧美国产日产图区| 中文字幕精品一区二区精品绿巨人 | 亚洲欧美视频在线观看视频| 中文字幕av一区 二区| 国产午夜精品美女毛片视频| 日韩欧美自拍偷拍| 欧美一区二区女人| 欧美一区二区播放| 91精品国产综合久久久久久漫画| 欧美在线一二三四区| 色乱码一区二区三区88| 色综合久久久久| 一本久道中文字幕精品亚洲嫩| www.亚洲国产| 91麻豆免费观看| 在线观看av一区二区| 欧美午夜精品久久久久久超碰 | 欧美国产日本韩| 国产精品你懂的在线| 国产日韩欧美亚洲| 国产欧美精品在线观看| 国产精品区一区二区三区| 国产精品成人免费在线| 1区2区3区精品视频| 一区二区三区影院| 亚洲狠狠爱一区二区三区| 午夜影院久久久| 免费观看日韩电影| 国产精品一区二区x88av| 丁香六月综合激情| 色综合久久久久| 欧美日本在线观看| 2021国产精品久久精品| 国产欧美日产一区| 亚洲欧美激情小说另类| 亚洲国产三级在线| 精品一区二区三区在线观看国产| 国产一区二区福利视频| 91浏览器打开| 欧美精品乱人伦久久久久久| 欧美精品一区二区三区久久久| 欧美精品一区二区三区久久久| 国产精品动漫网站| 亚洲成a人片在线不卡一二三区| 奇米影视7777精品一区二区| 国产精品一区二区视频| 99综合电影在线视频| 欧美日韩在线播放一区| 久久综合久久综合久久| 亚洲视频1区2区| 欧美a一区二区| 不卡大黄网站免费看| 欧美日韩在线播放一区| 久久精品亚洲精品国产欧美kt∨| 亚洲人成7777| 国产一区二区在线影院| 色哟哟一区二区三区| 日韩精品专区在线| 亚洲理论在线观看| 九九热在线视频观看这里只有精品| 99热在这里有精品免费| 91精品久久久久久久久99蜜臂| 国产欧美日韩视频一区二区| 亚洲国产精品尤物yw在线观看| 国产麻豆9l精品三级站| 欧美日韩免费一区二区三区视频| 亚洲精品在线免费观看视频| 亚洲自拍偷拍麻豆| 国产精品影视在线| 911精品国产一区二区在线| 欧美激情在线免费观看| 日本在线不卡视频| 色伊人久久综合中文字幕| www日韩大片| 日本三级亚洲精品| 91黄色激情网站| 国产精品你懂的在线| 久久激情五月激情| 欧美午夜精品一区二区三区| 国产精品成人免费在线| 国产精品99久久久久久久女警| 欧美巨大另类极品videosbest| 日韩一区在线播放| 国产一区二区三区免费| 91.成人天堂一区| 亚洲一区二区四区蜜桃| 99久久国产综合精品色伊| 久久天堂av综合合色蜜桃网| 日本网站在线观看一区二区三区| 色琪琪一区二区三区亚洲区| 国产精品麻豆久久久| 国产一区三区三区| 亚洲精品一线二线三线无人区| 五月天激情小说综合| 欧美亚洲尤物久久| 一级日本不卡的影视| 色综合久久久久综合| 中文字幕在线不卡一区二区三区| 国产精品一二三四区| 26uuu精品一区二区| 久久激情五月婷婷| 精品日产卡一卡二卡麻豆| 免费xxxx性欧美18vr| 欧美成人a∨高清免费观看| 日韩成人午夜精品| 欧美一级理论片| 秋霞成人午夜伦在线观看| 欧美一区二区人人喊爽| 美女视频黄免费的久久 | 亚洲欧美日韩在线| 99久久国产综合色|国产精品| 国产精品国产三级国产aⅴ中文| 丁香一区二区三区| 欧美高清在线视频| 99久久精品一区二区| 亚洲另类色综合网站| 欧日韩精品视频| 亚州成人在线电影| 91精品国产综合久久精品app| 三级欧美韩日大片在线看| 日韩欧美国产1| 国产在线精品一区二区不卡了 | 欧美一卡二卡在线观看| 狠狠色狠狠色综合系列| 国产欧美视频一区二区三区| 成人涩涩免费视频| 一区二区在线观看视频在线观看| 色8久久精品久久久久久蜜| 亚洲国产视频直播| 欧美电视剧免费观看| 国产成人精品免费看| 成人免费视频在线观看| 欧美日韩国产高清一区二区三区| 日韩av电影免费观看高清完整版在线观看| 日韩欧美国产一区二区三区| 国产成人在线电影| 亚洲免费在线视频一区 二区| 欧美视频一区二区三区在线观看| 日韩av不卡在线观看| 国产日产精品1区| 91福利区一区二区三区| 欧美96一区二区免费视频| 久久综合精品国产一区二区三区| 不卡视频在线看| 午夜激情一区二区| 久久蜜臀精品av| 欧美在线免费观看亚洲| 国产一区二区免费看| 亚洲精品国产成人久久av盗摄 | 夜夜嗨av一区二区三区| 日韩欧美黄色影院| 91小视频在线免费看| 视频在线在亚洲| 中文字幕av不卡| 欧美一区二区三区男人的天堂| 懂色av噜噜一区二区三区av| 午夜私人影院久久久久| 久久精品视频免费观看| 欧美午夜影院一区| 国产一区二区三区精品欧美日韩一区二区三区| 国产精品五月天| 欧美一区二区成人| 欧美在线一区二区三区| 国产盗摄女厕一区二区三区| 五月天网站亚洲| 亚洲人亚洲人成电影网站色| 精品日韩在线观看| 欧美日韩国产精选| 成av人片一区二区| 国产一区美女在线| 视频在线观看国产精品| 一区二区欧美国产| 国产欧美精品一区二区三区四区| 欧美人成免费网站| 91国模大尺度私拍在线视频| 国产精品一区二区三区乱码|