mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
讲师管理bug
This commit is contained in:
@@ -159,7 +159,11 @@ import {getCookieForName} from "@/api/method";
|
||||
title:{
|
||||
type: String,
|
||||
default: null,
|
||||
}
|
||||
},
|
||||
template:{
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const state = reactive({
|
||||
@@ -283,22 +287,7 @@ import {getCookieForName} from "@/api/method";
|
||||
}
|
||||
};
|
||||
function downTemplate() {
|
||||
if (props.url==='/admin/export/importInTeacherRecord'){
|
||||
window.open(
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/exportInTeacherRecord?
|
||||
&name=${props.name||''}`
|
||||
);}
|
||||
else if(props.url==='/admin/export/importOutTeacherRecord'){
|
||||
window.open(
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/exportOutTeacherRecord?
|
||||
&name=${props.name||''}`
|
||||
);
|
||||
}else if(props.url==='/admin/export/exportTeacherExpense') {
|
||||
window.open(
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/importTeacherExpense?
|
||||
&name=${props.name||''}`
|
||||
);
|
||||
}
|
||||
window.open(`${process.env.VUE_APP_BASE}/template/${props.template}.xlsx`);
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -303,7 +303,7 @@
|
||||
</a-modal>
|
||||
</div>
|
||||
<!-- <div> <ImageUpload/> </div> -->
|
||||
<ImportWork v-model:showWork="showWork" :url="'/admin/export/importOutTeacherRecord'" :title="title"></ImportWork>
|
||||
<ImportWork v-model:showWork="showWork" :template="'外部授课记录导入模板'" :url="'/admin/export/importOutTeacherRecord'" :title="title"></ImportWork>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
|
||||
@@ -403,7 +403,7 @@
|
||||
</div>
|
||||
</a-modal>
|
||||
</div>
|
||||
<ImportWork v-model:showWork="showWork" :url="'/admin/export/importInTeacherRecord'" :title="title"></ImportWork>
|
||||
<ImportWork v-model:showWork="showWork" :template="'内部授课记录导入模板'" :url="'/admin/export/importInTeacherRecord'" :title="title"></ImportWork>
|
||||
<!-- <div> <Upload/> </div> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -437,7 +437,7 @@
|
||||
</a-button>
|
||||
</div>
|
||||
</a-drawer>
|
||||
<ImportWork v-model:showWork="showWork" :url="'/admin/export/importTeacherExpense'" :fileName="uploadFile" :title="title"></ImportWork>
|
||||
<ImportWork v-model:showWork="showWork" :template="'讲师费导入模板'" :url="'/admin/export/importTeacherExpense'" :fileName="uploadFile" :title="title"></ImportWork>
|
||||
</div>
|
||||
<!-- 一键确认讲师费 -->
|
||||
<ConfirmLecturer :ids="selectsIds" v-model:visible="visibleConfirm" :name="'确认讲师费'" />
|
||||
@@ -455,7 +455,7 @@
|
||||
FolderAddOutlined,
|
||||
DownloadOutlined
|
||||
} from '@ant-design/icons-vue';
|
||||
import ImportWork from "../../components/project/ImportWork.vue";
|
||||
import ImportWork from "../../components/lecturer/ImportWork.vue";
|
||||
import SearchTeacher from "@/components/project/SearchTeacher";
|
||||
import {getTeacherFeeList,getTeacherFeeDetail,addTeacherFee ,getListByIds,updateTeacherFee,updateStatusSubmit,approveTeacherFee,getTeacherLevel,deleteInTeacher,confirm} from "../../api/lecturerFeeManagement";
|
||||
import {getTeacherSystemList, getAllLevelList,getPayRollPlace,fileUp,submitApproval } from "../../api/Lecturer";
|
||||
|
||||
Reference in New Issue
Block a user