TRlTCfNG DAI HOC AN GIANG
KHOA KY THUAT - CONG NGHE - MOI TR^CING
TRAN QUOC LlTC
KHOA LUAN TOT NGHlgP DAI HOC NGANH CU" NHAN TIN HOC
XAY DlTNG HE THONG QUAN LY LICH LAM VIEC TUAN
CHO TRUNG TAM TIN HOC -
SO THONG TIN VA TRUYEN THONG TINH AN GIANG
TRHC3NG D^I HOC
AN GIANG
thUvien
Giang vien humg din:
ThS. NGUYEN THI LAN QUYEN
An Giang, 05/2011
DH8TH .-•
-Quan V/ ljch lam vijc man
LCtfCAMON
Hoc tap la mot con dtrong dai ma tuoi tre chung em dang bubc di de vuon tdi sir hieu
bilt trong tri thiic va sir thanh cong trong cuoc song. Bon nam dai hoc cung la m8t phan cua
con duong do.•
,Em dung vftng dugc tren chang duong dai hoc nhu1 ngay horn nay la nha sir giup d9
•tan tinh cua quy thay co truang Dai hpc An Giang noi chung va quy th4y co khoa Ky thu^t Cong nghe - Moi tnrong noi rieng.
Trong qua trinh hoc tap tai truang Dai hoc An Giang, em da nhan rat nhi^u nhirng
kien thuc, ky nang m^ thay co d2 truy^n dat.
Cuoi khoa hoc, em cung nhan dugc nhieu sir giiip da ciia quy th^y co khoa Ky thuat Cong nghe - Moi truang va co Nguyen Thi Lan Quyen khi thuc hien de tai thuc tap va khoa
lu^n cila minh.
De tri an nhQng sir giup d& va ho trg trong suot qua trinh hoc tap va thuc tap, em xin
gtri lai cam an den quy th^y co truang Dai hoc An Giang va co Nguyln Thj Lan Quyen. Em
xin hiia la se co gang han nua trong con duang hoc tap cua ban than, khong phu nhung giiip
da cua moi ngubi.
Cuqi cung, em xin chuc qiry thay co ciia truang Dai hoc An Giang, khoa Ky thuat Cong nghe - Moi truang va co Nguyen Thj Lan Quyen that doi dao sue khoe, dat nhieu thanh
cong trong cuoc song.
Trim Quoc Lire
DTH072249 - Tran Qu3c Luc
DH8TH''•Quan ly ljoh lam vi^^ tufa
CAU TRUC CUA KHOA LUAN
•5* Phan I: Tong quan
-Gioi thieu: Trung tarn Tin hoc - So Thong tin va Truyen thong tinh An
Giang;
-Tong quan ve de tai: Khai quat ve muc dich nghien ciiu dl tai, ddi tuong
va pham vi cua de tai. Gidi thi^u ca sd ly thuyet va phtrcmg phap thvrc hien.
?Phan n: Noi dung
-Mo ta he thong:
+ Mo ta quy trinh to chiic hoat dong hien tai va dtra ra nltung v8n de kho
khan can giai quyet;
+ Xac dinh each thiic hoat dong, chuc nang chinh cda he thong raoi.
-PhSn tich:
+Xac dinh cac actor, goi (package), usecase;
+Xay dung luge do usecase;
+Phan tich tirng usecase trong he thdng mdi.
-Thietke:
+ Thiet ke.kien triic he thong: Xac dinh yeu cau cua he thong. Tit do de nghj
nto hinh kien true v^ ca ph8n cung Ian phln mSra ap dung cho viec xay
dung he thong mdi.
+ ThiSt ke CSDL: Thi^t kk cac lap, d6i tuang cho he thdng. Tu kk qua dat
' dugc, chuyen sang thiet ke mfc vat ly cua CSDL.
+ Thiet ke giao dien: xay dung giao dien ngudi diing cho he thdng bang cdng
cu thiet ke giao dien.
-Cai dat:
+ Cai d5t CSDL: tu cac kefqua.thiSt kg CSDL, ti6nhanhcai.dat CSDL thuc
t^ tren he quan tri CSDL.
+ Cai dat cac chuc nang: dua tren cac dac ta d cac giai doan trudc (mo ta yeu
cSu, phan.tich trudng hap str dung, thiet kS kiln true, . . .), tiln hanh lap
trinh cac chiic nang cua he thong mdi.
?Ph^n HI: Kit luan
-Tu- danh gia: nhan xet, danh gia ket qua dat dugc va nhung van dl con ton
tai cua d^ tai;'
-Hu-dng phat trien: dl ra nhung hudng di tilp theo cua dl tai.
?tai lieu tham khao,
DTH072249 - Trk Qu3c Luc
DH8TH •.Quan ly Ijch lam vi^c takn
MUC LUC
Than I: TONG QUAN;1
Chirong I. GICSI THIEU TRUNG TAM TIN HOC - SCi THONG TIN -VA TRUYEN
THONG TINH AN GIANG'1
1.Nhiem vu1
2.Quyln han;2
3.Co cau to chiic va bien che2
Chirong II.
1.
1
T6NG QUAN Vfi BE. TAI3
Khai quat-
3
2.
Ccr so ly thuygt3
3.
Phucmg phap thuc hien4
Phan II: NOI DUNG10
Chirong I. MO TA HE THONG.10
Chirong II.
PHANTICH-_12
1.Xac dinh cac actor\12
2.Xac dinh cac tnrcmg hpp sur dung (use case)13
2.1.Danh sach cac goi (package)'
13
2.2.Danh sach cac use case13
3.Lupc d6 use case- \16
4.Phan tich cac use case20
Chuong III.
THIET KE'50
1.Thi^t kg kign true he thong50
1.1.Kien true tfing quat50
1.2.Kign tnic phan ciing.53
1.3.Kign true ph^n mgm56
1.4.Mo hinh trien khai hg thfing57
2.ThietkgCSDL;57
2.1.Thiet kg lap•57
2.2.. Thigt kg luac d8 vat ly'_64
3.Thigt kg giao dien nguai dung'70
Chuang IV. CAI DAT77
'
1.
Cai dat CSDL
- •.77
2.
Cai dat chiic nang he th6ng78
Phiin IE: KET LUAN'79
DTH072249 - Tran Quoc Luc
DH8TH.Quan ly ljch lam vi^^ tu^n
? DANH GlA BE TAI
79
• ? HU'CSNGPHATTRIEN=79
TAI LIEU THAM KHAO'80
WEBSITE THAMKHAO
DTH072249 - Tran Quoo Luc
.80
DH8TH
•
Quan ly ljch lam vi^c tuan
DANH SACH CAC BANG
Bang 1: Thanh ph^n giao dien va nhung cong nghe chuyen biet clin thiSt d tao chiing
Bang 2: Danh sach cac actor
Bang 3: Danhsach cac package
7
12
'
13'
Bang 4: Danh sach cac use case •
13
Bang 5: Mo ta use case BSng nhap
20
Bang 6: Mo ta use case DSng xuat
21
Bang 7: Mo ta use case Xem thong tin ca nhSn
22
Bang 8: Mo ta use case Sira thong tin ca nhan
23,
• Bang 9: Mo ta use case Xem danh sach nhan vien
Bang 10: Mo ta use case Xem thong tin nhan vien .
- 24
.• 25
Bang 11: Mo ta use case Tra cuu thong tin nhan vien
26
Bang 12: Mo ta use case Them thong tin nhan vien
27
Bang 13: Mo ta use case Xoa thOng tin nhan vien
28
Bang 14: Mo ta use case Sira thong tin nhan vien
29
Bang 15: Mo ta use case Xem lich
30
Bang 16: Mo ta use case Xem noi dung 1 ph^n cong cong viec
31
Bang 17: Mo ta use case Tra cuu phan cong cong viec
32
Bang 18: Mo ta use case Them 1 phan cong viec
33
Bang 19: Mo ta use case Xoa phan cong cong viec:
35
Bang 20: Mo ta use case Sira 1 phSn cong cong viec
36
Bang 21: Mo ta use case Phai h6i 1 phan cong cong viec
37
Bang 22: Mo ta use case Xem danh sach phan hSi
38
Bang 23: Mo ta use case.Xem danh sach ph^n hoi ca nhan
39
Bang 24: Mo ta use case Xem 1 phan h6i
40
Bang 25: Mo ta use case Tra cuu phan hoi
41
Bang 26: Mo ta use case Tra ldi 1 phan hoi
42
Bang 27: Mo ta use case Xem danh sach thong bao chung
43
Bang 28: Mo ta use case Xem 1 thong bao chung
44
Bang 29: Mo ta use case Tra cuu thong bao chung
45
Bang 30: Mo ta use case Them 1 thong bao chung
46
Bang 31: Mo ta use case thong bao chung
48
Bang 32: Mo ta use case Sira 1 thong bao chung.
49
Bang 33: Danh gia khk nang dap ting cac tieu chuSn he thong cha cac mo hinh kiSn true'_ 51
DTH072249 - Trk Qu6c Luc
DH8TH''Quan ly lich lam vi^^ tu3n
Bang 34: Yeu cau cau hinh phan cung cho server;54
Bang 35: Yeu cau cau hinh phan mem cho server54
Bang 36: Yeu cju cau hinh phln ciing cho client truy cap ung dung desktop54
Bang 37: Yeu cau cau hinh phan mem cho client truy cap ung dung desktop55
Bang 38: Yeu cSu cau hinh ph^n cung cho client truy cap ung dung web55
Bang 39: YSu c^u c^u hinh phan m&n cho client truy c^p ung dung web
56
Bang 40: Danh sach cac lop57
Bang 41: Mo Xk trach nhiem va su cong tac cua lop Nhan su59
Bang 42: Mo tatrach nhiem va su cong tac cua lop Ban giam doc60
Bang 43: Mo ta trach nhiem va su cong tac cua lap Tai khoan nguoi dung61
Bang 44: Mo ta trach nhiem va sir cong tac cua lap Phan cong62
Bang 45: Mo ta trach nhiem va su cong tac cua I6p Chi tiet phan cong62
Bang 46: Mo ta trach nhiem va su cong tac cua lap Phan hoi.63
Bang 47: Mo ta trach nhiem va su cong tac ciia lap Tra ioi64
Bang 48: Mo ta chi tiet quan he PhongBan __'66
Bang 49: Mo ta chi tiSt quan he NhanSu66
Bang 50: M6 ta chi tiet quan he TaiKltoanNguoiDung67
Bang 51: Mo ta chi tiet quan he ThongBaoChung;67
Bang 52: Mo ta chi tiet quan he CongViec;.68
Bang 53: Mo ta chi tiSt quan he PhanCong\68
Bang 54: Mo ta chi ti^t quan he ChiTietPhanCong69
Bang 55: Mo ta chi tiSt quan he PhanHoi
69
Bang 56: Mo ta chi tiet quan he TraLoi70
DTH072249 - Tran Qu6c Luc
DH8TH;.Quan ly lich lam vi^c tuk
DANH SACH CAC HINH ANH
Hinh 1: So d6t6 chic Trung tarn Tin hoc2
Hinh 2: Phan tich vai UML5
Hinh 3: Thiet kS vai UML'5
Hinh 4: LINQ to SQL6
Hinh 5: Cac thanh phJn ca ban cua WPF[7
Hinh 6: XAML ho trg ngudi lap trinh va nguai thiet ke lam viec chung8
Hinii 7: ung dung WPF doc lap cung cap dich vu tai chinh chay trong cua so rieng9
Hinh 8: Giao dien cua cung ung dung neu tren dudi dang mot XBAP chay tren Internet
Explorer'.9
Hinh 9: luge do use case tong quat.16
Hinh 10: Pakage quan ly phong ban:;17
Hinh 11: Luge do use case trong package quan ly thong tin nMn vien17
Hinh 12: Luge d6 use case trong package quan ly phan cong cong viec.18
Hinh 13: Luge d6 use case trong package quan ly cac phan h6i v^ phan cong cong viec18
Hinh 14: Luge do use case trong package quan ly tai khoan nguai dung19
Hinh 15: Luge d6 use case trong package quan ly thong bao chung19
Hinh 16: Mo hinh 3 - Tier52
Hinh 17: Mo hinh kien true tong the cua he thong\ 53
Hinh 18: Mo hinh tri6n khai he thong;57
Hinh 19: Luge d6 16p.^58
Hinh 20: Luge d8 v^t ly\65
Hinh 21: Giao dien chinh (truac khi dang nhap)..71
Hinh 22: Giao dien chinh (sau khi dang nhSp vdi quyen ban giam d6c)71
Hinh 23: Form quan ly phong ban'72
Hinh 24: Form quan ly nhan sir;•
72
Hinh 25: Form quan ly thong bao72
Hinh 26: Form quan ly phan cong;73
Hinh 27: Form them phan c6ng: phan cong cho nhan sir;73
Hinh 28: Form them phan cong: phan cong cho phong ban73
Hinh 29: Ljch lam viec tu^n74
Hinh 30: Lich lam viec tren desktop
.:74
Hinh 31: Report th6ng ke phan cong;;75
Hinh 32: Form quan ly phan hoi cua trung tarn;75
DTH072249 - Tran Quoc Luc
. DH8TH•Quan ly Ijch liim vi^c tu^n
Hinh 33: Form quan ly phan hoi cua ca nhari;76
•Hinh 34: Form thong tin nhan sit ctia ngtrai ditng76
Hinh 35: Form thong tin tai khoan cua nguai dung76
Hinh 36: so d8 CSDL sau'khi cai dat xong'77
DTH072249 - Trim Quoc L^e
DH8TH
Quan ly ljch lam vi?c tuan
DANH SACH CAC TlT VIET TAT
Dang vicl tat
CNTT
Dang day dii
. Cong nghe thong tin
CSDL
Co so dtt lieu
WPF
Windows Presentation Foundation
HTML
HyperText Markup Language .
API
Application Programming Interface
XAML
Extensible Application Markup Language
XBAP
XAML BrowserAipplication
DTH072249 - Trill Qu6c L\ic
DH8TH..• Quan ly ljch lam vi6c tuhn
Phan I: TONG QUAN
Chuong I. Gldl THIEU TRWG TAM TIN HQC - SO THONG
TIN VA TRUYEN THONG TINH AN GIANG
Trung tam Tin hpc thudc Sd Thdng tin va Truyin thong tinh An Giang (dudi day goi tat
la Trung tam) la don vi sir nghipp co thu t\r dambao mpt phin chi phi cho hoat dpng thudng
xuyen; trung tam co chile nang giup Sd Thong tin va Truyen thong thuc hien phit trien, ling dung
cdng nghe thong tin trong cic co quan Nha nude, ttch hpp du1 lieu so hoi phyc vu pong tic quan
ly nha nude cua tinh, quan ly cu sd ha ting thong tin truyin thong va quan ly Cdng Thong tin
.dien til tinh An Giang tren Internet.
Trung tSm co tu each phap nhan, co tai khoan va con dau rieng; tru sd dat tai sd 82 dudng
' Ton Slic Thing, phudng My Binh, Thanh phd Long Xuygn .
1. Nhiem vu
•• Trung tam cd nhiem vu quan ^^ co sd ha ting thong tin truydn thong va quan ly Cdng
. Thong tin dien til tinh An Giang tren Internet; quan ly bang dien til an toan giao thong; thuc hien
cdng tie phat tridn va ling dyng CNTT trong cac co quan nlta nude . Cd cac nhiem vu cu thd sau
day:
-Tham muu cho Sd Thdng tin & Truyin thong ban hanh hoac trinh Uy ban nhan dan
tinh ban hanh nhOng van ban dinh hudng, quan ^^, chi dao trong cdng tic tin hoc hoi quan ly
hanh chinh phi hop, vdi muc tieu img dung va phat triln CNTT cua Chinh Phil.
-Van hanh va dim bio ky thuit, an toan thdng tin.
-Quan ^^ ky thuat Cdng thdng tin dien til tinh An Giang; phuc vu cho viec cung cap
cic dich vu cdng true tuydn hudng din cic don vi trong tinh thdng nhit kit ndi cung cap npi
dung thdng tin va cic dich vu hanh chinh cdng tren dia ban tinh.
-Thudng true Ban bien tap C^ng thdng tin dien tu, tham gia quan iy npi dung va giup
Ban bien tap Cdng thdng tin dipn ttr tinh thuc hien cic nhiem vti cua Ban bien tap va cic dich vp
lien quan den Cong thdng tin dipn tu gdm: quang cao, thdng bio mdi thau, v.v.. dupe sp chap
thuan ciia Ban bidn tip Cdng thdng tin dien til. '
-To chile trien khai quan ly hp thdng dudng truyen va thiet bj Hpi nghi truyen hinh
(hpp true tuyen).
-Quan ly ky thuat va van hanh he thdng Email cdng chuc trong toan tinh.
-Quan ly ky thuat va van hanh hp thdng bang dipn cua Ban an toan giao thdng tinh An
Giang.
-Thuc hien chi d^ bio cio dinh ky, dpt xuit theo ydu ciu ciia cua Sd Thdng tin va
Truyin thdng hoac bio cao khac theo quy dinh.
-Thuc hien cic nhiem vu khic theo chi dao cua Sd Thdng tin va Truyin thdng.
DTH072249 - Trim Qu6c L^cTrang 1
Quan ly ljch lam viec tuiin
DH8TH
2. Quyen ban
-• To chiic sinh hoyt, hoi thao khoa hoc, tham gia cac sinh hoyt, hoi thao khoa hoc lien
quan din CNTT, phii hop td chile hoi nglii so kit, ting kit, phi biin kinh nghiem lien quan din
linh vuc CNTT.
-Hpp tac, cdng tdc vdi cic to chile, ca nhan co du nSng lire trong vide cung cap, phat
triin npi dung Cong thdng tin didn tu tinh.
-C6 quyin ky hop ding voi cac don vj co du nang luc vi phat trien ky thu^t, phat trien
giao di^n Cong, bao tri he thong may chu, cac thiet bj mang
-Thpc hi^n kiim tra an ninh ky thuat h6 thing, niu phat hi?n co cac dau hieu anh
huong din an ninh, an toan he thing, Trung tarn tin hoc dirge phep thuc hien ede bien phdp ky
thuat nghiip vy dam bao an toan he thing.
1 - Thyc hi^n cac hoat d^ng co thu trong linh vuc tin hoc:
• 3. Co cau ti chire vk bien chi
LSnh dao irun^ t^m
1
'
Phbne bi^n >3p
1
Pttdnghinh chinh
'
Pti^^e k? llmjl
Hinh 1: So* ^o tb chire Trung tarn Tin hoc
Trung tam to chile vh dieu hdnh hoat d$ng theo che d$ thii trudng. Giam doc la ngudi
diing diu, chju trdch nhiem cao nhit trircrc Giam die So Thong tin va Truyin thong vi cac hoat
dong cua Trung tam. Phd Giam die la ngudi hi tro giam die mot hoac mot si m3t cing tac va
chju trach nhiem,trudc Giam doc ve nhi^m vy dugc phan cdng.
Vi?c bi tri can bo, cdng chile, vien chile cua Trung tam phai cin cii chuc danh, tieu chuin
ngach cdng chile, vien chile Nha nude theo quy dinh cua Phap luat. Khi chua cd Trudng phdng
thi ngudi dugc phan cdng lam Phd phdng hoac phu trach phdng cd trach nhiem thyc hien nhiem
vy nhu Trudng phdng theo quy che n^y.
Cdc trudng, phd phdng, by phan thudc Trung tflm do giam ddc Trung tam bd nhiem, mien
nhiem sau khi dugc sir thing nhdt cua Giam die Sd Thong tin va Truyin thdng.
DTH072249 - Trin Qu6c Lye
Trang 2
Quan ly Ijch lam viectuin
Chircmg II. TONG QUAN VE BE TAI
1.Khaiquat
Be tii "Xay dung h^ thong qudn ly Itch lam yic tudn cho Tnmg tarn Tin hoc - So Thong
tin vd Truyen thong tinh An Giang" cd nhung die diem khai quit nhu sau:
?Muc dich cua di tai:
Vi^c quan ^^ phan cdng cflng viec tai Trung tarn Tin hpc thupc So Thong tin va Truyln
thong tinh An Giang dirpc thuc hien thu cong va t6n tai mot so van dS khd khan trong viec pho
bien phan cong, su'a doi phan cong.
Myc dich cua dl tai chinh la tim hilu ill xiy dung mot he thong phin mlm h trp viec
quan ^^ phin cong cong viec va khac phuc nhung kho kh3n hien tai.
?Doi tupmg cua dl tai:
D6i tupng cua dS tai chinh la quy trinh quanjyljch lam viec theo tuSn tai Trung t^m Tin
hpc thupc S6 Thong tin va TruySn thdng tinh An Giang, bao gom: phan cong cong vipc, trao doi
vS phan cong v^ thuc hien phan cong.
?Pham vi cua de tai:
Tim hieu quy trinh quan ly trong viec phan cong cong viec tai Trung tarn Tin hpc thudc
So Thong tin va Truyen thong tinh An Giang;
Tir do xay dung he thong phan mem dS ho trp cho quan \^ lich lam viec tu^n tai trung
tarn, gop phan nho vao muc tieu tin hpc hoa cac sit, ban ng^nh trong tinh.
2.Co s^ ly thuylt
Viec xay dung dS tai dua tren quy trinh quan ly trong viec phan cong cong vi^c tai Trung
tam Tin hpc trong cac tu^n lam viec. Bao g6m: phan cong cong viec, phan hSi, sira d6i, leh lich"
lam viec tuin.
BSn canh do, nhung kiSn thuc da hpc va tim hiSu dupe trong qua trinh hpc tap vS quy
trinh phat triSn phln mem la cp so quan trong trong qua trinh thuc hien dd tai. Quy trinh phat
triSn phln mem dupe ap dung bao g6m:
-Mo ta he thong: Tim hieu quy trinh hoat dpng hien tai trong viec quan ^^. Ttr nhung
thong tin da tim hiSu, dua ra danh gia vd yeu cdu cho he thdng mdi. Sau do, tdng hpp thanh bang
mo ta he thdng hoan chinh;
-Phan tich he thdng: Xdc dinh cac chtlc nang cua hS thdng mdi thong qua cac actor, use
case. Sau do tiSn hanh mo ta chi tiSt cac actor, use case da xac djnh. ^
-Thiit kS he thdng:
+ ThiSt ki kiSn true: xac dinh cac yeu cdu vi hiSu nang, hoat dpng cua he thdng. Tir do,
dua ra kiln true tdng quit vl ca phan cung lin phin mem cho he thing mdi.
+ Thilt kl CSDL: bao glm 2 giai doan la thilt kl d miic lu^n ly - lap, dli tupng vi thilt
kl a muc vat ly - cac quan he.
DTH072249 - Trin Qu6c LyeTrang 3
DH8TH;Quan Jy lich lam viec tu^n
+ Thiet ke giab dien ngubi dung: dira tren cac ch^c nang da xac djnh, tien hanh xdc dinh
va dSc ta cac thanh phan giao di^n ngubi dung phu hpp.
-Cai djt he thdng:
+ Cai d^t CSDL: tign hanh tao CSDL va cac quan he cua no theo m6 ta thi^t ki CSDL
tren h$ quan tri CSDL da chpn trong giai doan thiSt ke kien true;.
+ Cai dat giao dien ngudi dung: dya theo cac dac ta giao dien ngirbi diing da co, tien
hanh xay dyng cac thanh phan giao dien ngudi diing cho h thong;
+ Cai dat chiic nang: l^p trinh ede chirc nang cho he thdng theo cac d5c ta co duac tCr
giai do^n phan tich he thong.
3. Fhuong phap thuc hien
Phan qua trinh xay dtrng he thdng thanh 2 giai dottn:
-Giai doan 1: xay dung he thdng tren nen desktop;
• - Giai doan 2: sau khi xay dung xong he thong tren nen desktop, se md rpng ph^t trien
he thdng tren n^n web.
Be taj thuc hien dua tren quy trinh phat triSn phln mSm kSt hop vdi cac cong nghe phat
trien phan mem hien d^i va hieu qua. Bao gom:
i
? Mo hinh h6a he thong trong phan tich, thiet ke vdi Unifield Modeling Language
(UML)
UML la mot ngon ngtr mo hinh hda thong nh^t co phan chinlt bao gom nhiing ky hieu
hinh h
mpth?tH6ng.
Day la ngon ngu dg djc ta, tryc quan hda, xay dung va lam suu ligu cho nhieu khia canh
khdc nhau ciia mot hp thdng, c6 thg dupe sir dung lam cong cu giao tigp giOa ngudi dung, nha
phan tich, nha thilt kl va nh^ phdt tri6n ph^n mgm.
DTH072249 - Trk Qu6c L^c •Trang 4
DH8TH
Quan ^^ l|ch lam vi?c tu^n
Hinh 2: Phan tfch vdi UML
Nivansu
^f Neay sliih
^Gjof ifnh;
^^Sodien theal: string
*mai I: siring
^ chic imc
idiucvu; Int
^f>hor>iitii: string
*tao_moi(|; Nhan su
rhuyl): void
'^iat):Nbansu
r^em():vid
to
1 1
Tai khoan nguot dung
-Ten i khoan; ch^r
'Malkhati: stdli^
-ioal lai khoan; int
-Dang Da ng Nlta^: 1 nt
+taa_mo#j tTai khoan n^UDid.mg
fhwO:vdkl
*^ua|) ; T^i kttoan ^guoi dung
g ii cht
Thoi diem tra loi
Dangia mdot
1
\ fThong h.to thu
Ma^t.-im ^
-Not dung t wring
N^ay thon^ bao
Haoj;moi0 ^Thcngbao Chung
Chi tint phan cong
•Mo_mc0 i pii tiet phan tons'
hpd
Phan.cong'
so: tons
•
•7hoi diem phai bat^m
-Ttioi tfieni phai Vet time
•Tli^i dMnn hoan tlianh
H}: Phan c
IE
Hinh"3: Thiet ke vcH tJML
DTH072249 - Trfin Qu6c L
Trang 5
DH8TH
Quail ly ljch lam vi^e tu5n
Uu diem cua UML la:
-Mo hinh h6a cac he th6ng sir dung cac khai niem hudng doi tugng.
-Thiet lap m^t ket noi tir nhan thue cua con ngudi den cac sir kien can mo hinh hoa.
-Giai quygt van dS ve hutc dp thira kg trong cac he thong phiirc tap, co nhieu rang huge
khdc nhau.
-Tao mpt ngon ngii mo hinh hoa co thS dugc sir dung bdi ngudi va mdy.
? Mo hinh h6a CSDL vdi LINQ to SQL:
LINQ to SQL 1^ mgt phien ban Men thgc hda cua O/RM (object relational mapping) co
ben trong .NET Framework ban "Oreas" (nay la .NET 3.5), cho.phep mo hinh hoa mgt co so dtt
lieu diing cac ldp .NET. Sau do co the truy van co so do lieu CSDL dimg LINQ, cung nhu cap
nhat/them/xoa dir lieu tir do.
LINQ Architecture
CS• Visual Basic
Other Languages
.NET Language Integrated Query (LINQ)
Hinh 4: LINQ to SQL
LINQ to SQL ho trg d^y dir transaction, view va cac stored procedure (SP). No cung cung
cap mdt each de dang de them kha nang kiem tra tinh hop le cua du liSu v4 cac quy tac vao trong
mo hinh diJ ligu.
DTH072249 - Tran Qu6c Luc
Trang6
Quib ly Ijch lam viec tuin
DH8TH
? Xay dung ung dung da nen vdi Windows Presentation Foundation (WPF):
WPF la he thing API moi hi trp viec xay dung giao dien dl hoa trSn nen Windows.
Bupc xem nhu the hp ke ti^p cua WinForms, WPF tdng cucrng kha nang ISp trinh giao di?n cua
lap trinh vien blng each cung cdp cdc API cho phdp tan dung nhflng lcri till vl da phuong tien
hien dai. La m^t bo phan cua .NET Framework, WPF s5n co trong Windows Vista va Windows
Server 2008. B6ng th^^i, WPF cung co thl hoat dpng tren nln Windows XP Service Pack 2 hoSc
mdi hon, va ca Windows Server 2003.
. WPF dugc xay dung nham vao ba muc tieu ca ban:
- Nen tang thong nhat dd xay dung giao di^n nguoi dung:
Bang 1: Thanh phnn giao di|n vh nhu-ng cong nghc chuyen bift can tliict He tao cluing
Windows
Forms
Windows"
^ornis/GDI+.
Windows'.
Media
Direct 3D \ '.WPF;
'.
'^
Player
Giao dien d6 hpa
' ' .^
.'
X
X
(form va cac control)
Hinh anh •
X
Video va am thanh
B6 hpa 2 chilu
B6 hpa 3 chilu
X
X
X
X
X
X
X
Hinh 5: Cac tln'i nh phan cff ban cua WPF
DTH072249 - Tr^n Qu6c L^c
Trang 7
Quan ly lich lam viec tuiin
DH8TH
Bang vide hop nhat tat ca cac cong nghe cSn thidt dd tao ra mot giao dien nguoi dung vao
mpt ndn tang don nhat, WPF don gian hda dang ke cong viec cua lap trlnh vien giao dipn. Vdi
vipc yeu cau lap trinh vien hpc mot m6i trudng phat tridn duy nhdt, WPF gdp phdn lam giam chi
phi chp vide xay dung va bao tri ling dyng. Va blng viec cho phep tich hgp da dang nhidu each
bieu didn thong tin tren giao dien nguoi dung, WPF gdp phan nang cao chdt lu^ng, v^ theo do la
gia tri cong viec, cua edeh thiic ngudi dCing tuong tac vdi ling dung tren Windows.
- Kha nangiam vi^c chung gifta ngudi thi^t kS giao dien vd lap trinh vien:
Trong thuc te, viec xay dyng myt giao dien ngudi dung phiic hop nhu trong vi du ve ling
dung quan ly bynh nhan tren doi hoi nhOng ky nang it thly d nhung lap trinh vi^n don thuin, ma
chi cd th6 tim thiy a nhttng ngudi thi^t k^ giao diyn chuyen nghiep. Nhung cau hoi dat ra.la lam
sao dl ngudi thidt ke va lap trinh vidn cd thd lam vide cung nhau?
Bd thyc hien dugc didu nay, WPF dua ra ngdn ngit dSc ta extensible Application
Markup Language (XAML).XAML dinh ra mot tap cac phln td XML nhu Button, TextBox,
Label..., nhlm dinh nghla cac ddi tuong dd hga tuong lingnhu niit bam, hop thoai, nhan,.., va
, nhd do cho phep mo ta chinh xac dien mao cua giao dien ngudi dung. Cac phln td XAML cung
chiia cac thuyc tinh, cho phep thidt lap nhidu tinh ch^t khac nhau cua ddi tugng dd hpa tuong
ling.
Expression
Interactive Designer
Visual Studio
DesignerDeveloper
Hinh 6: XAML ho try n^uoi lap trinh va ngiioi thiet ke 1:1m viec chung
— Cong nghe chung cho giao di^n tren Windows va tren trinh duyyt Web:
• Trong thdi dai biing no ciia Internet, cac ling diing Web ngay mot phat tridn. Viyc trang bi
giao diyn ngudi dung vdi day du tinh nang nhu mot ling dung desktop se thu hilt nhidu ngudi sii
dung; va do dd gdp phan lam tang gia tri doanh nghiep. Tuy nhidn, nhu d^ neu trong phdn dau,
vdi nltung cong nghe truydn thong, de phat tridn mdt giao dien dd hpa vira hoat d^ng trdn desktop
vita trdn trinh duyet Web, ddi hoi phai sii dung nhung cong nghe hoan tdan khac nhau, giong nhu
vipc xay dyng hai giao dien hoan toan dpc lap. Bidu nay tao ra chi phi khdng cdn thidt de phat
trien giao dien. .
DTH072249 - Trail Qu6c Lye
Trang 8
DH8TH
,
Qu^n ly lich lam vi^c tuin
WPF la mot giai phap cho vkn &k ntty. Ldp trlnh vien co th tao ra mpt ting dyng trinh
duy^t XAML (XBAP) sir dpng WPF chay tr^i Internet Explore. Tren thyc ti, cung doan code
ndy c6 thl dui?c ding de sinh ting dung WPF chay dpc l^tp tren Windows.
Hlnh 7: ung dung WPF fl^c Ifip cung cap djch vu tki chinh chay trong cfra s5 rieng
Hinh 8: Giao di^n cua cung ung dung neu tren dir^^i dang m^t XBAP chay tren Internet Explorer
DTH072249 - Tr^n Qu6c L^e
Trang 9
DH8TH
'••Quanlyljchlamvi^ctuan
Phan II: NOI DUNG
Chmmgl. MO TA HE THONG
M6 ta h| thong quan Iy lich lam vi^c tuin cho Trung tam tin hoc - Sd Thong tin vi
Truyen thong tinh An Giang:
Trurig tarn tin hoc — So Thong tin va Truyen thdng tinh An Giang, true thudc Sd Thong
tin vi Truydn thong-tinh An Giang, co vai tro ho trg ve mat ky thuat cdng nghp thong tin cho cic
so, ban nginh trong.tinh An Giang.
Cung nhu cac to chiic khac, vao diu mdi tuan, ban giam doc trung tam tien hinh phan
cong cong viec cho cac nhan sir trong cong ty trong tuin mdi.
-Danh sich phan cong nay se dugc ghi len bang phan cong cong tic tuin cua trung
tam, de cac nhan sir co the xem va thuc hien. '
-Viec thay ddi se dugc thuc hign true tilp tren bang phan cfing cfing tic tuin cua trung
tam.
Tuy nhi^n, viec quan Iy lich lam viec tuan nhu tren the hien mot so kho khan nhat djnh:
-Dau mi tuan, sau khi ban giam doc tien hanh phan cong viec cho cic nhan sir trong
tuan mdi, con phai ton thai gian dS ph6 bien cho cac nhan sir ciia trung tam biet thong qua cac •
cudc hop va ghi len bang phin cong cong tic;
-Trong tuin lam viec, niu co thay dbi trong- phan cong cong tic thl phai thay d6i tren
bang phan cong cong tic tuin. Biiu nay cung tin khong it thai gian;
-Ben canh dd, nhan s\f cua trung tam cd the dang di cong tic xatai thai diem bang
phan cong tic tuan mdi dugc dua ra. Khi do, nhung phin cong nay se kho din vdi nhan sir mot
cich nhanh chdng va chinh xic.
Do vay, doi hoi can cd mot he thong hd trg viec quan 1^ lich lam viec tuan cho trung tam
nhim khic phuc nhirng khd khan tren va tao them thuan lgi cho qui trinh phan cong cong tic cua
trung tam, cung nhu phyc vii cho muc ti^u cong nghe thong tin hba cic sd, ban, nganh trong tinh
An Giang. Nhung yeu ciu dii vdi viec xay dung he thing mdi la:
-He thong phai h5 trg cho ca ban giim ddc va cic nhan sir khic trong trung tam trong
viec quin ^^ phan cong cong tic tuan cua trung tam:
+ He.thong ho trg ban giim doc phan cong cong tic cho tuan mdi thong qua ung dung
cai d^t tren may vi tinh cua hp. Nhung phan cong nay phai diigc luu lai trong ca sa dtt lieu;
. + Sau khi bang phan cdng dugc cap nhat mdi,lphin mem trong may tfnh cua cac nhan
sir se cap nhat thong tin mdi, hidn thi len mot bang phan cong cong tic tuin dugc "dan" tren man
hinh desktop cua may tinh cac nhan sir trong trung tam. Luu y la cic nhan sir chi dugc xem cic
thong tin phan cdng mi khong dugc chinh sira chung.
+ Neu cd y kien v6 phan cdng thi nhan sir cd the phin hdi ldn ban giim ddc thong qua
phan mem. Nhung •} kien cua nhan sir ve viec thay ddi phan cdng se dugc giii din ban giam ddc
thong qua phan mim tren miy tinh cua hp. D^a vao do, hp se-cd hudng giii quyit phu hpp ddi
vdi nhilng y kien cua cic nliin sg nhu: t'r a Idi cic y kiin hoac thay ddi phan cdng.
DTH072249 - Tran Qu6c Lye:Trang 10
DH8TH
^Quan ^^ lich lim viec tuto
+ Mat khac, trong su6t tuin l^m viec, nSu'co bat ky thay d6i v6 ph^n cong cua ban gidm
doc (thong qua phan mem tren may tinh ban giam doc) thi bang phan cong tren may tfnh cua cac
• nhan vien van du^c cap nhat theo.
-He thbng phai co chic nang xac thtrc, phan quy^n nguoi dung tfong trung tarn va
quan ly cac thbng tin ngubi dung (tai khoan dang nhap, thong tin ci nhan), Se co nguoi quan trj
dam nhan nhiem vu nay.
-Ngoai ra, cSn mo rqng he thong ra moi truong mang Internet. Cung cap chuc nang
xem phan cong cong tac tudn de cdc nhan sy dang cong tac a xa co the cap nhat dirge thong tin
phan cong mdi t€r trung tarn.
• DTH072249 - TrSn Quoc Lire' .Trang 11
DH8TH
Quan !•} Ijch lam vi
Chirong H. PHAN TICH
1. Xac dinh cac actor
Bang 2: Danh sach cac actor
ID
Temacto'r
1
Ban giam doc
>,
M6 ta •
Tac dng doi v^i'he thong <, ' ^ ,
Ban giam <16c
-
Dang nhap vao he thbng;
-
Dang xu^t khoi he thdng;
i
'. t ,
n '
Xem va thay doi thong tin ca nhan;
-
Xem va tra cuu thong tin cac nhan vien trong trung
tarn;
Cap nh^t th^ng tin cac nhan vien, bao gom: them,
xoa; sira thong tin cac nhan vien;
Quan \ thong tin cac phong ban, bao gom: them,
xoa, s\la thong tin cac phong ban;
Quan ly cac thong bao, bao gom them, xoa, siia
cac thong bao;
-
Thirc hien phan cong cong viec cho cac nhan vien
trong tu^n 14m viec;
-
Xem Itch cfing tac tutin va tra cuu cac phan cong
cong viec;
-
Cap nhat c^c phan cong cong viec, bao g6m: them,
xoa, sua cac phan cong;
-
Xem cac phan h6i cua cac nh^n vi&i \h cac phan
cong cong viec;
2-
Nhan vien
Nhan viSn
Tra loi cac phan hoi cua cac nhan vien.
Dang nhap vao he thong;
Dang xuat khoi he thong;
-
Xem va thay doi thong tin ca nhan;
-
Xem ljch c6ng tdc tuan va tra cuu cac phan cong
cong viec;
-
Phan hoi ve cac phan cong cong vi^c cua ban giam
d6c;
-
DTH072249 - Tr4n Qu6c L(rc
Xem c^c phan hdi cua minh va cac tra loi cho cac
phan hoi do.
Trang12
DH8TH
3
Quan ly ljch lam vi^c tuan •
Nguoi quan tri
Nguai quan tri
BSng nhap vao he th^^ng;
-
Dang xuat khoi he thong;
-
Xem va thay ddi thong tin ca nhan;
-
Xem va tra ciiu cac tii khoan ngirdi dhng ttong he
thong;
-
Cap nhat cac tai khoan ngufri dung trong he thong,
bao gom: them, xoa, siia (ngoai trur mat khau) cdc
tai khoan nguai dung.
2. Xac dinh cac truwng hop sit dung (use case)
2.1.Danh sach cic goi (package)
-06 ti^n cho viec quan ly, 1 s6 use case c6 lien quan se dugc tap hop thanh 1 package;
-Danh sach cac package:.
Bang 3: Danh sach cac package
,M6ti; ( ' ."• ,
,•
*
"*^ .
>
•'t.^ ,
IDi
Ten package
5.0
QL phong ban
Quan ly thong tin cac phong ban trong trung tam
6.0
QLTTNV
Quan \f thong tin nh^n vien
8.0
QL PCCV
Quan ly phan cong cong viec
9.0
QL phan hoi
Quan ly cac phan h6i v6 phan cong cong viec
10.0
QLTKND
Quan ly tai khoan nguai dung
11.0
QLTBC
Quan ^^ thong bao chung
''• .' ('
2.2.Danh sach cac use case
Bang 4: Danh sach cac use case
id; • •Ten use.case
'
<•
MotiC'"
-'
'••,-.•,
/"-
'
Package
',"
.^. ~ • .
l
Dang nhap
Dang nhap vao he thfing
2
Dang xuat
Dang xult khoi h^ th6ng
3
Xem TTCN
Xem thong tin ca nhan cua ngubi diing
DTH072249 - Tran Qu6c Lye
'•
Trang 13
DH8TH
Quan ly lich l^m viec tuan
4
Thay doi TTCN
5.1
Xem DS PB
Thay d6i thong tin cd nhan
Xem danh sach cdc phong ban trong trung
QL
tam
ban
5.2
Tra cuu TTPB
Tim kiem thong tin phong ban
5.3
Xem TTPB
Xem thong tin 1 phong ban
5.4
ThemPB
Them phong ban mod
•5.5
XoaPB
Xoa 1 phbng ban da cb
5.6
SuaPB
Siia thong tin 1 phbng ban
6^1
Xem DS NV
Xem danh sach nhan yibn trong trung tam
6.2
XemTTNV
Xem thong tin cua 1 nhan vien trong trung
phong
•
QLTTNV'
tdm
6.3
Tra cuu TTNV
Tra cuu thbng tin 1 nhan vien trong trung tam
6.4
Them TTNV
Them thbng tin 1 nhan vien trong trung tam
6.5
XoaTTNV
X6a thbng tin nhan vien trong trung tam
6.6
SuaTTNV
Sua thbng tin 1 nhan vibn trong trung tam
7
Xem lich
Xem lich cbng tdc tudn
8.1
Xem 1 PCCV
Xem npi dung ciia 1 phan cbng cbng viec
8.2
Tra cuu PCCV
Tra cuu 1 phan cbrig cbng viec
8.3
Them 1 PCCV
Them 1 phan cbng cbng viec
8.4
XoaPCCV
X6a 1 phan cbng cbng viec
8.5
Sua 1 PCCV
Sira 1 phan cbng cbng viec
9.1
Phan hoi 1 PCCV
Phan hoi ve l.phan cbng cbng viec
9.2
Xem DS phan hoi
Xem danh sach cac phan hbi ve cac phan
cbng cbng viec
9.3
Xem DS phan hoi ca nhan
Nhan vien xem danh sach phan hbi ve cac
phan cbng viec ma ho da giii
DTH072249 - Tran Qu6c Lye
QLPCCV
QL phan hoi
Trang 14
DH8TH
Quan ly lich lam vi^c tu^n
9.4
Xem 1 phan hoi
Xem npi dung va cac tra loi cua 1 phan hoi ve
cic phan c6ng cong viec
•9.5
Tra cuu phan hoi
Tra cuu 1 phan hoi ve cac phan cong cong
vic
9.6
Tra loi 1 phan hoi
Tra loi cho 1 phan hoi vS cic phan cong cong
vi^c
10.1
Xem DS TKND
Xem danh sach tai khoan ngu'hi dung trong
he th6ng
10.2
Xem 1 TKND
Xem thong tin 1 tai khoan nguoi dung trong
QLTKND
h? thong
10.3
Tra cuu TKND
Tra cuu 1 t^i khoan nguoi diing trong he
th6ng
10.4
Them 1 TKND
Them 1 tai khoan nguoi dimg mcfi vko he
thSng
'
•
10.5
Xoa 1 TKND
Xoa 1 tai khoan ngu^i dhng khoi he thong
10.6
Sua 1 TKND
Sua thong tin cua 1 tai khoan ngucri dCing
trong hS thOng
11.1
XemDSTBC
Xem danh sach cac th6ng bao chung
11.2
Xem 1 TBC
Xem thong tin chi tiet cua 1 thong bao chung
11.3
Tra cuu TBC
Tra cuu thong bao chung
11.4
Them 1 TBC
Them 1 thong bio chung
11.5
Xoa 1 TBC
X6a 1 thong bao ehung
11.6
Sua 1 TBC
Sua thong tin 1 thong bao chung
DTH072249 - Trin Qu6c Lye
QLTBC
Trang 15