mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 16:56:46 +08:00
细节调整1
This commit is contained in:
@@ -670,6 +670,9 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
::v-deep .ant-upload.ant-upload-select-picture-card {
|
||||||
|
border-radius: 50% !important;
|
||||||
|
}
|
||||||
//导出按钮icon
|
//导出按钮icon
|
||||||
.daochu {
|
.daochu {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
|||||||
@@ -76,6 +76,9 @@
|
|||||||
<UploadOutlined /> 一键生成讲师费
|
<UploadOutlined /> 一键生成讲师费
|
||||||
</a-button>
|
</a-button>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
<a-button class="resetbtn" @click="handleImport()" >
|
||||||
|
<DownloadOutlined /> 导入
|
||||||
|
</a-button>
|
||||||
<a-button @click="handleExport()" class="resetbtn">
|
<a-button @click="handleExport()" class="resetbtn">
|
||||||
<UploadOutlined /> 导出
|
<UploadOutlined /> 导出
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -270,6 +273,7 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div> <ImageUpload/> </div> -->
|
<!-- <div> <ImageUpload/> </div> -->
|
||||||
|
<ImportWork v-model:showWork="showWork" :url="'/importTeacherCourseRecord'" :title="title "></ImportWork>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
@@ -283,6 +287,7 @@ import {
|
|||||||
FolderAddOutlined,
|
FolderAddOutlined,
|
||||||
DownloadOutlined
|
DownloadOutlined
|
||||||
} from '@ant-design/icons-vue';
|
} from '@ant-design/icons-vue';
|
||||||
|
import ImportWork from "../../components/project/ImportWork.vue";
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
import ProjectManager from "@/components/project/ProjectManagerNew";
|
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||||
import ProjectManagerOutTeacher from "@/components/project/ProjectManagerOutTeacher";
|
import ProjectManagerOutTeacher from "@/components/project/ProjectManagerOutTeacher";
|
||||||
@@ -301,6 +306,7 @@ export default {
|
|||||||
FolderAddOutlined,//图标--新增
|
FolderAddOutlined,//图标--新增
|
||||||
ProjectManager,
|
ProjectManager,
|
||||||
ProjectManagerOutTeacher,
|
ProjectManagerOutTeacher,
|
||||||
|
ImportWork,
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const formRef = ref();
|
const formRef = ref();
|
||||||
@@ -308,7 +314,9 @@ export default {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
vf: false,
|
vf: false,
|
||||||
|
showWork: false,
|
||||||
moreid: 1,
|
moreid: 1,
|
||||||
|
title:"导入外部授课记录",
|
||||||
tableLoading: false,
|
tableLoading: false,
|
||||||
delTeacherId: null, //删除id确认
|
delTeacherId: null, //删除id确认
|
||||||
userNoid: null, //详情工号确认
|
userNoid: null, //详情工号确认
|
||||||
@@ -761,6 +769,10 @@ export default {
|
|||||||
}
|
}
|
||||||
const clearNonNumber=()=>{
|
const clearNonNumber=()=>{
|
||||||
state.formParam.defaultteachingTime = state.formParam.defaultteachingTime.replace(/\D/g, '');
|
state.formParam.defaultteachingTime = state.formParam.defaultteachingTime.replace(/\D/g, '');
|
||||||
|
}
|
||||||
|
//导入功能
|
||||||
|
const handleImport = () => {
|
||||||
|
state.showWork = true
|
||||||
}
|
}
|
||||||
//导出功能
|
//导出功能
|
||||||
const handleExport = () => {
|
const handleExport = () => {
|
||||||
@@ -782,6 +794,7 @@ export default {
|
|||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
rules,
|
rules,
|
||||||
formRef,
|
formRef,
|
||||||
|
handleImport,
|
||||||
clearNonNumber,
|
clearNonNumber,
|
||||||
managerChange,
|
managerChange,
|
||||||
entryTypeList,
|
entryTypeList,
|
||||||
|
|||||||
@@ -1017,7 +1017,7 @@ export default {
|
|||||||
cancel()
|
cancel()
|
||||||
state.teacherdialog = true;
|
state.teacherdialog = true;
|
||||||
state.teacherdialogtitle = '新增讲师'
|
state.teacherdialogtitle = '新增讲师'
|
||||||
// state.formParam.photo = state.formParam.photo === null ? 'https://p0.itc.cn/q_70/images01/20211013/f45d91616a364d6ea9c42a8db69734aa.png' : state.formParam.photo
|
state.formParam.photo ='https://p0.itc.cn/q_70/images01/20211013/f45d91616a364d6ea9c42a8db69734aa.png'
|
||||||
state.formParam.status = '1'
|
state.formParam.status = '1'
|
||||||
state.vf = true
|
state.vf = true
|
||||||
}
|
}
|
||||||
@@ -1193,7 +1193,6 @@ export default {
|
|||||||
state.log = true
|
state.log = true
|
||||||
message.warning('讲师不能为空')
|
message.warning('讲师不能为空')
|
||||||
return
|
return
|
||||||
600000000000000000000000000000000
|
|
||||||
}
|
}
|
||||||
if (state.formParam.departId == null) {
|
if (state.formParam.departId == null) {
|
||||||
state.log = true
|
state.log = true
|
||||||
|
|||||||
@@ -346,7 +346,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<ImportWork v-model:showWork="showWork" :url="'/importTeacherCourseRecord'"></ImportWork>
|
<ImportWork v-model:showWork="showWork" :url="'/importTeacherCourseRecord'" :title="title"></ImportWork>
|
||||||
<!-- <div> <Upload/> </div> -->
|
<!-- <div> <Upload/> </div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -393,6 +393,7 @@ export default {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
moreid: 1,
|
moreid: 1,
|
||||||
|
title:'导入内部授课记录',
|
||||||
vf: false,
|
vf: false,
|
||||||
log: false,
|
log: false,
|
||||||
close: false,
|
close: false,
|
||||||
|
|||||||
@@ -89,19 +89,12 @@
|
|||||||
<UploadOutlined /> 一键生成讲师费
|
<UploadOutlined /> 一键生成讲师费
|
||||||
</a-button>
|
</a-button>
|
||||||
</div> -->
|
</div> -->
|
||||||
<a-upload
|
<a-button class="resetbtn" @click="handleImport()" >
|
||||||
multiple
|
|
||||||
:headers="headers"
|
|
||||||
:show-upload-list="false"
|
|
||||||
:before-upload="beforeUpload2"
|
|
||||||
>
|
|
||||||
<a-button class="resetbtn" @click="handleImport()">
|
|
||||||
<DownloadOutlined /> 导入
|
<DownloadOutlined /> 导入
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-upload>
|
<a-button @click="handleExport()" class="resetbtn">
|
||||||
<a-button @click="handleExport()" class="resetbtn">
|
<UploadOutlined /> 导出
|
||||||
<UploadOutlined /> 导出
|
</a-button>
|
||||||
</a-button>
|
|
||||||
|
|
||||||
<div style="line-height: 40px;" >当前页面汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span>元 当前总汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span>元</div>
|
<div style="line-height: 40px;" >当前页面汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span>元 当前总汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span>元</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -391,7 +384,7 @@
|
|||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
<ImportWork v-model:showWork="showWork" :url="'/importTeacherCourseRecord'"></ImportWork>
|
<ImportWork v-model:showWork="showWork" :url="'/importTeacherCourseRecord'" :title="title"></ImportWork>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
@@ -421,11 +414,13 @@
|
|||||||
UploadOutlined,//图标--导出
|
UploadOutlined,//图标--导出
|
||||||
DownloadOutlined,//图标-导入
|
DownloadOutlined,//图标-导入
|
||||||
FolderAddOutlined,//图标--新增
|
FolderAddOutlined,//图标--新增
|
||||||
SearchTeacher
|
SearchTeacher,
|
||||||
|
ImportWork,
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const formRef = ref();
|
const formRef = ref();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
|
title:'导入讲师费记录',
|
||||||
teachingdialog:false,
|
teachingdialog:false,
|
||||||
showWork: false,
|
showWork: false,
|
||||||
vf:true,
|
vf:true,
|
||||||
|
|||||||
Reference in New Issue
Block a user