【正文】
stem is the system total household data management, plaint management, to repair household management, property management and tenants pay parking spaces, and other management 2 functions of five modules, household information management module has a detailed information area households and households recorded information to add, delete And amendments to the management of plaints management module achieved a record of plaints tenants and management。由于此 時人們對信息和數(shù)據(jù)的利用與處理也已進入自動化、網(wǎng)絡(luò)化和社會化的階段, 因此實現(xiàn)這一功能,就要求物業(yè)管理者配備一套高效的管理住處網(wǎng)絡(luò)系統(tǒng),以便在小區(qū)內(nèi)快速地發(fā)布和獲取住處并以最快地速度響應(yīng)用戶的需求,及時為用戶提供服務(wù),為住戶提供一個高效、舒適的居住、生活環(huán)境。 2 1 概述 ASP 技術(shù)綜述 什么是 ASP Active Server Pages 即我們所稱的 ASP,其實是一套微軟開發(fā)的服務(wù)器端腳本環(huán)境 .。 ASP 的編程語言可以是 VBSCRIPT 和 JSCRIPT。 ASP 的特點 ? 使用 VBScript 、 JScript 等簡單易懂的腳本語言,結(jié)合 HTML 代碼,即可快速地完成網(wǎng)站的應(yīng)用程序。 ? 可使用服務(wù)器端的腳本來產(chǎn)生客戶端的腳本。也可以用來實現(xiàn)頁面的跳轉(zhuǎn)或 Cookie 值的設(shè)定。數(shù)據(jù)庫以其強大的操作和管理功能成為 高 速 信 息 表 達 的 途 經(jīng) 。性能、可伸縮性及可靠性是基本要求,而進入市場時間也非常關(guān)鍵。不過,如果喜歡用手工直接編碼, Dreamweaver 還包括許多與編碼相關(guān)的工具和功能。該節(jié)將在軟件開發(fā)目標(biāo)和需求方面為用戶和開發(fā)者之間創(chuàng)建一個共同的基礎(chǔ)和共識。 6 總之,用戶需求分析的編寫是軟件工程中的非常關(guān)鍵的一個環(huán)節(jié),用戶需求分析也是軟件工程中的非常重要的一個文檔。 圖 1 對于小區(qū)物業(yè)系統(tǒng),根據(jù)系統(tǒng)功能分析,僅有一個單一的流程化頁面。住戶的報修信息主要包括: 單據(jù)編號、 住戶名稱 (即要被維修的住戶 )、維修人員、維修日期、物料費用、服務(wù)費用和報修內(nèi)容。 E—— R圖由實體、屬性、聯(lián)系三部分組成。pwd=sa。 六個下拉菜單分別是 “基本設(shè)置”、“住戶資料管理”、“投訴管 理”、“ 保修管理 ” 、 “ 繳費管理 ” 和“ 停車車位管理 ” 。點擊“報修管理”可以查看、修改和刪除報修信息,如圖 41 416 和 417所示。) exit sub elseif session(getcode)= then errmsg=li 請不要重復(fù)提交,如需重新登錄請返回登錄頁面。) exit sub end if session(getcode)= if username= or password= then errmsg=li 請輸入您的用戶名或密碼。) if and then errmsg=li 您輸入的用戶名不正確或者您不是系統(tǒng)管理員。請 a 30 href=重新輸 入 /a您的密碼。) () end if dim saveset,cmd cmd = insert into baseinfo(hostname,tel,buildingname,floor,housenum,apartment,indate,roomtype,remark) values(39。,39。,39。,39。,39。errmsg=amp。housenumamp。roomtypeamp。buildingnameamp。apartmentamp。 set saveedit = (cmd) info=li 住戶修改成功 (?action=adminsucamp。) end sub sub add() (0) end sub sub edit dim id,edit_news if session(level)=0 and session(level) then id= (id) else 33 id=session() end if set rs = (select * from baseinfo where id= amp。tsnumamp。receiveramp。tscontentamp。remarkamp。) end if dim saveedit,cmd cmd = update tousu set 35 tsnum=39。,receiver=39。,processor=39。,remark=39。info=amp。 idamp。登陸 /a。) exit sub elseif session(getcode)= then errmsg=li 請不要重復(fù)提交,如需重新登錄請返回登錄頁面。) exit sub end if session(getcode)= if password_= or password= or password2= then errmsg=li 請您完整輸入信息。) exit sub end if dim rs password_ = md5 (password_) set rs = (select * from admin where username=39。) exit sub else if password_ = rs(2) then dim saveset,cmd,md5_code md5_code=md5(password) cmd = update admin set pwd = 39。 (cmd) info=li 管理員密碼更新成功。) exit sub end if end if end sub sub main() dim username,admin_type username = session(admin_name) end sub 5 系統(tǒng)測試 測試的概述 測試的概念和意義 測試的定義:程序測試是為了發(fā)現(xiàn)錯誤而執(zhí)行程序的過程。 4. 經(jīng)濟性 通場這種測試稱為“選擇測試( Selective Testing)”。統(tǒng)計表明,在典型的軟件開發(fā)項目中,軟件測試工作量往往占軟件開發(fā)總工作量的 40%以上。 首先是界面測試,為了使軟件在不同的的操作系統(tǒng)平臺上運行界面能保持原來的風(fēng)格。 b.由于前期工作的不徹底,對系統(tǒng)的需求分析的要求認識不夠清楚,使得后續(xù)的工作不得不經(jīng)常返回去修改數(shù)據(jù)表和個別代碼。論文的不足之處,望各位老師予以批評指正。 經(jīng)過近二個月的設(shè)計,我深刻體會到了一個軟件的設(shè)計和它的發(fā)展是那很的嚴密,容不得半點的馬虎。 測試結(jié)果:使用普通用戶身份登陸系 統(tǒng)時的查詢結(jié)果與數(shù)據(jù)庫中的數(shù)據(jù)相同;使用管理員身份登陸系統(tǒng)時的查詢結(jié)果與數(shù)據(jù)庫中的數(shù)據(jù)相同,對樓盤、樓閣、房屋、住戶信息、住戶請修申請、普通用戶信息、公司概況、部門信息等等的添加、編輯或刪除操作結(jié)果與數(shù)據(jù)庫中的數(shù)據(jù)對應(yīng),并無不同。 系統(tǒng)測試 測試在軟件開發(fā)過程中一直都是備受關(guān)注的,即使在傳統(tǒng)的軟件工程中,也有一個明確、獨立的測試階段。 事實上,對于軟件來講,不論采用什么技術(shù)和什么方法,軟件中仍然會有錯。只有抱著程序有錯的目的去測試,才能把程序中潛在的大部分錯誤找出來。) 38 else errmsg=li 您輸入的密碼不正確。 where username = 39。) if and then errmsg=li 用戶名不正確。) exit sub end if if passwordpassword2 then errmsg=li 您兩次輸入的密碼不一致,請重新輸入。) 37 exit sub elseif cstr(session(getcode))cstr(trim(code)) then errmsg=li 您輸入的確認碼和系統(tǒng)產(chǎn)生的不一致,請重新輸入。) () end if if (action)=update_info then call update_info() else call main() end if footer() sub update_info() dim username,password_,password,password2,code username = trim((username)) password_ = trim((password_)) password = trim((password_new)) password2 = trim((password_new2)) code=trim((code)) if code= then errmsg=li 請返回輸入確認碼。請 a href=39。) info=li 住戶投訴刪除成功 (?action=adminsucamp。 where id= amp。,tsdate=39。,tscontent=39。,tsname=39。infoamp。processoramp。tsdateamp。tsnameamp。errmsg=amp。idamp。remarkamp。flooramp。telamp。indateamp。hostnameamp。) set saveset = (cmd) info=li 住戶添加成功 (?action=adminsucamp。,39。,39。,39。,39。) exit sub end if end if end sub 住戶資料管理模塊 該模塊對住戶資料進行添加、修改、顯示和刪 除。errmsgamp。) exit sub end if dim rs password = md5(password) set rs = (select * from admin where username=39。) exit sub elseif cstr(session(getcode))cstr(trim(code)) then errmsg=li 您輸入的附加碼和系統(tǒng)產(chǎn)生的不一致,請重新輸入。代碼為: () if (action)=chk then call chk() end if if (action)= then if then () () else call login() end if end if sub login() dim ados,getcode set ados=() if err then getcode=9999 end if end sub sub chk() dim username,password,code username=trim((username)) password=trim((password)) code=trim((code)) if code= then errmsg=li 請返回輸入附加碼。單擊”住戶添加“可以添加住戶 (圖 47),輸入信息后點擊”提交“可跳轉(zhuǎn)至”成功信 息界面“或”錯誤信息界面“ ,然后點擊”返回上一頁 “繼續(xù)添加住戶或填寫正確的住戶信息。當(dāng)輸入的賬號、密碼和認證碼不正確或為空時,則跳轉(zhuǎn)到錯誤提示 界面 并提示返回 ,如圖 42 所示。 表 1 本系統(tǒng)所用到的基本信息表及用途 表名 用途 Admin 管理員信息表 baseinfo 住戶信息表 mone