Commit e2017a16 by tangjiale

交互优化

parent 09a1cddc
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-27 14:10:41 * @Date: 2022-06-27 14:10:41
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-27 16:11:45 * @LastEditTime: 2022-07-01 08:49:36
--> -->
<template> <template>
<div style="width:100%"> <div style="width:100%">
<client-only style="width:100%"> <client-only style="width:100%">
<div style="width:100%"> <div style="width:100%">
<quill-editor style="width:100%" <quill-editor class="quill-editor" style="width:100%"
ref="myQuillEditor" ref="myQuillEditor"
:value="quillContent" :value="quillContent"
:options="editorOption" :options="editorOption"
...@@ -113,6 +113,8 @@ export default { ...@@ -113,6 +113,8 @@ export default {
} }
</script> </script>
<style> <style lang="less" scoped>
/deep/ .quill-editor img{
width: 250px !important;
}
</style> </style>
\ No newline at end of file
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
:show-file-list="false"> :show-file-list="false">
<template> <template>
<div class="flex-c"> <div class="flex-c">
<div class="upload-ctn" v-if="fileName">{{fileName || ''}}</div> <div class="upload-ctn" v-if="fileName">{{fileName || ''}}</div>
<div class="download-btn flex-c">点击上传(.xls文件)</div> <div class="download-btn flex-c">点击上传(.xls文件)</div>
</div> </div>
</template> </template>
...@@ -120,10 +120,6 @@ export default { ...@@ -120,10 +120,6 @@ export default {
this.fileName = file.name this.fileName = file.name
this.file = file this.file = file
}, },
showProgress(file,progress){
this.uploadList = []
this,$set(this.uploadList.filter(_file => file.uid === file.uid[0],'origress',origress))
},
handleRemove(file, fileList) { handleRemove(file, fileList) {
//删除重置数据 //删除重置数据
this.fileList = [] this.fileList = []
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-16 16:01:31 * @Date: 2022-06-16 16:01:31
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-30 11:30:48 * @LastEditTime: 2022-06-30 15:25:36
--> -->
<template> <template>
...@@ -123,9 +123,7 @@ export default { ...@@ -123,9 +123,7 @@ export default {
let failName = `消课记录列表${ let failName = `消课记录列表${
param.startDate ? param.startDate + "-" + param.endDate : "" param.startDate ? param.startDate + "-" + param.endDate : ""
}`; }`;
this.$service.course this.$service.course.exportSalesCourseList(param, failName).then((res) => {
.exportSalesCourseList(param, failName)
.then((res) => {
this.$notifySuccess(); this.$notifySuccess();
}); });
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-02 14:08:46 * @Date: 2022-06-02 14:08:46
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-28 14:44:44 * @LastEditTime: 2022-07-01 08:42:46
--> -->
<template> <template>
<div class="page-bg"> <div class="page-bg">
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
break break
case 'delete': //删除 case 'delete': //删除
this.$showConfirm(`是否确认删除${row.name}学生?`).then(() => { this.$showConfirm(`是否确认删除${row.name}学生?`).then(() => {
that.$service.student.deleteStudent(row.id).then(res =>{ that.$service.student.deleteStudent(row.id).then(res =>{
that.$notifySuccess() that.$notifySuccess()
setTimeout(() =>{ setTimeout(() =>{
that.updateList() that.updateList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment