diff --git a/src/api/index.js b/src/api/index.js index 60dce19..adfc99a 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,6 +1,6 @@ import config from '@/config' export default { - getCurrentTime : `competition/competition/management/getCurrentTime`, + getCurrentTime: `competition/competition/management/getCurrentTime`, getProjectDetail: 'occupationlab/occupationlab/projectManage/getProjectDetail', submit: 'python/python/submit', runPythonCode: 'python/python/runPythonCode', @@ -14,10 +14,10 @@ export default { getPurchasedTableByCategory: `data/data/myDate/getPurchasedTableByCategory`, previewData: `data/data/preview`, lookupTableFile: `occupationlab/python/table/data/lookupTableFile`, - downloadData:`${config.host}data/data/download`, + downloadData: `${config.host}data/data/download`, getDetailById: 'occupationlab/occupationlab/assessment/getDetailById', pageStuAssessment: 'occupationlab/occupationlab/assessment/pageStuAssessment', - queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`, + queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`, modelClassList: `nakadai/nakadai/model/reference/modelClassList`, studentModelList: `nakadai/nakadai/model/student/studentModelList`, referenceDemoList: `nakadai/nakadai/model/reference/demo/referenceDemoList`, @@ -32,18 +32,19 @@ export default { exportLabReport: `occupationlab/occupationlab/achievement/exportLabReport`, reportDetail: `occupationlab/occupationlab/achievement/reportDetail`, getCompetition: `competition/competition/management/getCompetition`, - whetherCanPaste: `nakadai/nakadai/model/demo/whetherCanPaste`, - displayListOrNotByStudent: `nakadai/nakadai/model/demo/displayListOrNotByStudent`, - modelClassListByStudent: `nakadai/nakadai/model/student/modelClassListByStudent`, - studentModelListBySystem: `nakadai/nakadai/model/student/studentModelListBySystem`, - detailsOfGoods: `nakadai/mall/detailsOfGoods`, - importCode: `occupationlab/occupationlab/experimentalReport/importCode`, - removeImport: `occupationlab/occupationlab/experimentalReport/removeImport`, - getStartTime: `python/python/getStartTime`, - getProductSystemTheme: `nakadai/mall/getProductSystemTheme`, - heartbeatDetection : `nakadai/message/heartbeatDetection`, - heartbeatDetectionRabbit : `python/rabbitMessage/heartbeatDetection`, - createQueue : `python/rabbitMessage/createQueue`, - endRunningProcess : `python/python/endRunningProcess`, - sendMessageToUser : `python/rabbitMessage/sendMessageToUser`, + whetherCanPaste: `nakadai/nakadai/model/demo/whetherCanPaste`, + displayListOrNotByStudent: `nakadai/nakadai/model/demo/displayListOrNotByStudent`, + modelClassListByStudent: `nakadai/nakadai/model/student/modelClassListByStudent`, + studentModelListBySystem: `nakadai/nakadai/model/student/studentModelListBySystem`, + detailsOfGoods: `nakadai/mall/detailsOfGoods`, + importCode: `occupationlab/occupationlab/experimentalReport/importCode`, + removeImport: `occupationlab/occupationlab/experimentalReport/removeImport`, + getStartTime: `python/python/getStartTime`, + getProductSystemTheme: `nakadai/mall/getProductSystemTheme`, + heartbeatDetection: `nakadai/message/heartbeatDetection`, + heartbeatDetectionRabbit: `python/rabbitMessage/heartbeatDetection`, + createQueue: `python/rabbitMessage/createQueue`, + endRunningProcess: `python/python/endRunningProcess`, + sendMessageToUser: `python/rabbitMessage/sendMessageToUser`, + deleteTheLastUncommittedRecord: `python/python/deleteTheLastUncommittedRecord`, } \ No newline at end of file diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 0cefbb5..99ce329 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -1,123 +1,75 @@