实现对未交作业人员的查询和展示

This commit is contained in:
F嘉阳
2018-02-23 21:57:32 +08:00
parent 143f419020
commit 48b5944d28
9 changed files with 75 additions and 54 deletions

View File

@@ -314,7 +314,6 @@ var Main = {
})
},
methods: {
openNotiSuccess(title, content) {
this.$notify({
title: title,
@@ -329,7 +328,7 @@ var Main = {
});
},
uploadURL(row) {
return "http://localhost:8080/cms/moreUpload?courseName=" + row.coursename + "&folder=" + row.workfolder;
return getRootPath_web()+"/moreUpload?courseName=" + row.coursename + "&folder=" + row.workfolder;
},
limitTime(row) {
return DateDiff(row.worktime.replace(/([^\s]+)\s.*/, "$1"), cur);
@@ -338,7 +337,7 @@ var Main = {
this.$refs[formName].validate((valid) => {
if (valid) {
axios({
url: 'http://localhost:8080/cms/' + url,
url: getRootPath_web()+'/' + url,
method: 'post',
data: {
content: this.$refs.content.value