mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
暂时提交
This commit is contained in:
@@ -432,7 +432,7 @@
|
||||
</a-drawer>
|
||||
<ImportWork v-model:showWork="showWork" :url="'/admin/export/exportTeacherExpense'" :title="title"></ImportWork>
|
||||
</div>
|
||||
|
||||
<ConfirmLecturer v-model:visible="visibleConfirm" :name="'确认讲师费'" />
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
import { reactive, toRefs, ref ,watch} from "vue";
|
||||
@@ -452,6 +452,7 @@
|
||||
// lecturerFeeManagement
|
||||
// import {getProjSt} from "../../api/indexProjStu";
|
||||
// import AddTeacher from "../../components/drawers/project/AddTeacher"
|
||||
import ConfirmLecturer from "@/components/project/ConfirmLecturer"
|
||||
export default {
|
||||
name: "LecturerFee",
|
||||
components: {
|
||||
@@ -462,10 +463,12 @@
|
||||
FolderAddOutlined,//图标--新增
|
||||
SearchTeacher,
|
||||
ImportWork,
|
||||
ConfirmLecturer,
|
||||
},
|
||||
setup() {
|
||||
const formRef = ref();
|
||||
const state = reactive({
|
||||
visibleConfirm: false,
|
||||
title:'导入讲师费记录',
|
||||
allFeedialog:false,
|
||||
tableLoadings:false,
|
||||
@@ -876,23 +879,9 @@ console.log( "讲师体系id" +val);
|
||||
state.vf = false
|
||||
TeacherSystem()
|
||||
}
|
||||
//一键确认讲师费
|
||||
const handleTeacher =()=>{
|
||||
let array = []
|
||||
tableData.value.map((item)=>{
|
||||
let arr = {
|
||||
id:item.id
|
||||
}
|
||||
array.push(arr)
|
||||
return array
|
||||
})
|
||||
confirm(array)
|
||||
.then((res) => {
|
||||
if(res.data.code == 200 ){
|
||||
message.success("一键确认讲师费成功");
|
||||
getTableDate();
|
||||
}
|
||||
})
|
||||
//一键确认讲师费
|
||||
const handleTeacher =()=>{
|
||||
state.visibleConfirm = true
|
||||
}
|
||||
async function validateField(name) {
|
||||
return new Promise((resolve) => {
|
||||
|
||||
Reference in New Issue
Block a user