174
社区成员
发帖
与我相关
我的任务
分享
Course for This Assignment | 2301-MUSE |
---|---|
Team Name | THEMIS |
Assignment Requirements | Extreme Programming |
Objectives of This Assignment | Teams collaborate efficiently to complete the scientific interest rate calculator. |
Other References | N / A |
Screenshot taken at 21:37, November 19, 2023.
//vuex
...mapMutations(['setprofitList']),
change(e) {
console.log(e);
return this.interestRate = e;
},
async _intiProfitList() {
if (this.profitList) return
const profitList = await this.$http.get_profit();
this.setprofitList([...profitList]);
},
//computed
profitList_fixed() {
const fixed = [...this.$store.state.profitList.filter(item => item.type === "fixed")];
// console.log(fixed);
return fixed[0].option;
// return [...this.$store.state.profitList.filter(item => item.type==="fixed")];
},
profitList_current() {
// console.log(current);
const current = [...this.$store.state.profitList.filter(item => item.type === "current")];
return current[0].option;
},
profitList_loans() {
// console.log(loans);
const loans = [...this.$store.state.profitList.filter(item => item.type === "loans")];
return loans[0].option;
// return [...this.$store.state.profitList.filter(item => item.type==="current")];
},
DateDiff() {
var aDate, oDate1, oDate2, iDays;
aDate = this.sDate1.split("-");
oDate1 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]); //转换为yyyy-MM-dd格式
aDate = this.sDate2.split("-");
oDate2 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]);
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数
return iDays + 1; //返回相差天数
},
// cloudfunction
'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
const collection = db.collection('profit')
const res = await collection.get()
//返回数据给客户端
return {
code:0,
data:res.data
}
};
Student ID | User | Work Description | Contribution |
---|---|---|---|
832101125 | Jie Huang | Project planning, software testing. | 7.00% |
832101128 | Daming Fu | Implemented functionality to accept user-modified interest rates. | 7.00% |
832101109 | Hongming Chen | Implemented functionality to retrieve deposit/loan interest rate table. | 6.90% |
832101108 | Jiayi Lu | Implemented functionality to store calculations and return results. | 6.50% |
832101229 | Lin Bao | Frontend design for the scientific calculator. | 6.70% |
832101123 | Minghao Gao | Frontend design for the interest rate calculator. | 7.00% |
832101220 | Siqi Lin | Frontend design, integration of frontend and backend, backend review. | 16.00% |
832101121 | Weijie Hong | Completed registration and login module. | 6.90% |
832101116 | Wenxuan Zhou | Implemented functionality to record history in the database. | 6.60% |
832101211 | Xinyun Li | Design of the login interface. | 3.00% |
832101104 | Yuxiang Su | Implemented functionality to calculate deposit/loan interest. | 6.70% |
832101127 | Yuxin Peng | Implemented functionality to calculate deposit/loan interest rates. | 6.70% |
832101207 | Yuyang Hua | Design of the interest rate calculator interface. | 3.00% |
832101202 | Zhipeng Wang | Implemented functionality to transmit data to the database. | 7.00% |
832101217 | Zhaoqing Lin | Frontend design for the scientific calculator. | 3.00% |
Name | Difficulty | Solution |
---|---|---|
Jie Huang | Uncertain about how to organize efficient team collaboration. | Establish a clear project plan and track progress of each team member. |
Daming Fu | Unsure how to call API interfaces. | Refer to the Mini Program development documentation. |
Hongming Chen | Lacks understanding of interest rate calculation methods. | Consult bank-related calculation methods for reference. |
Jiayi Lu | Facing difficulties in frontend-backend collaboration. | Refer to documentation and collaborate closely with peers. |
Lin Bao | Issues with proportion control in interface design. | Define a standardized format for interface proportions. |
Minghao Gao | Uncertain about interface navigation. | Consult the development documentation. |
Siqi Lin | Doesn't know how to update data operations. | Refer to development documentation and communicate with peers. |
Weijie Hong | Encountering challenges in designing different interfaces. | Discuss with peers. |
Wenxuan Zhou | Unclear about database storage logic and organization. | Discuss with peers, search online, and learn. |
Xinyun Li | Considering which font to use for the interface. | Review specific effects and make modifications. |
Yuxiang Su | Unsure how to pass parameters. | Consult the development community. |
Yuxin Peng | Facing challenges in maintaining consistency across different platforms. | Optimize based on testing. |
Yuyang Hua | Considering which color to use for the interface. | Reference design manuals. |
Zhipeng Wang | Unsure how to effectively debug. | Collaborate closely with development peers. |
Zhaoqing Lin | Uncertain about how to better design interface layout. | Experiment with design tools. |
Frontend
Personal Software Process Stages | Estimated Time (minutes) | Actual Time (minutes) |
---|---|---|
Planning | 30 | 40 |
• Estimate | 30 | 40 |
Development | 1130 | 1170 |
• Analysis | 120 | 180 |
• Design Spec | 60 | 30 |
• Design Review | 20 | 20 |
• Coding Standard | 30 | 30 |
• Design | 60 | 30 |
• Coding | 600 | 700 |
• Code Review | 60 | 60 |
• Test | 180 | 120 |
Reporting | 180 | 185 |
• Test Report | 120 | 160 |
• Size Measurement | 10 | 10 |
• Postmortem & Process Improvement Plan | 50 | 45 |
Sum | 1340 | 1395 |
Backend
Personal Software Process Stages | Estimated Time (minutes) | Actual Time (minutes) |
---|---|---|
Planning | 30 | 40 |
• Estimate | 30 | 40 |
Development | 1250 | 1175 |
• Analysis | 120 | 180 |
• Design Spec | 60 | 30 |
• Design Review | 20 | 20 |
• Coding Standard | 30 | 35 |
• Design | 60 | 30 |
• Coding | 700 | 700 |
• Code Review | 60 | 60 |
• Test | 200 | 120 |
Reporting | 180 | 185 |
• Test Report | 120 | 160 |
• Size Measurement | 10 | 10 |
• Postmortem & Process Improvement Plan | 50 | 45 |
Sum | 1460 | 1400 |