diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 9887fdc..cc42cc1 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -28,11 +28,12 @@
-
+ > -->
+
删除
-
+
+
diff --git a/src/views/trainService/attendanceList.vue b/src/views/trainService/attendanceList.vue
index 8062e50..30526c4 100644
--- a/src/views/trainService/attendanceList.vue
+++ b/src/views/trainService/attendanceList.vue
@@ -1,9 +1,7 @@
- 导出为excel
+ 导出为excel
diff --git a/src/views/trainService/courseManage.vue b/src/views/trainService/courseManage.vue
index 7ee2362..7e0a9a3 100644
--- a/src/views/trainService/courseManage.vue
+++ b/src/views/trainService/courseManage.vue
@@ -238,7 +238,6 @@ export default {
},
downLoadSource(params) {
const url = params.filePath
- console.log(url)
if (!url) {
return
}
@@ -279,7 +278,6 @@ export default {
},
// 提交
submitto() {
- console.log(this.courseForm)
this.$refs['form'].validate((valid) => {
if (valid) {
this.submit()
@@ -310,16 +308,15 @@ export default {
},
openDia() {
if (this.optionType === 'motify') {
- console.log('motify');
this.$refs.fileUpload?.fileInit(this.courseForm.attachments)
}
- console.log('dialog open ~~~')
},
// 关闭
closeDia() {
this.$refs['form']?.resetFields()
- Object.keys(this.courseForm).forEach((item, index) => {
+ Object.keys(this.courseForm).forEach((item) => {
if (Array.isArray(this.courseForm[item])) {
+ this.courseForm[item] = []
} else {
this.courseForm[item] = ''
}