mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
授课记录新增时间调整
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item class="select" v-if="moreid == 2">
|
||||
<a-select style="width: 235px ;margin-bottom:20px" placeholder="请选择讲师体系" v-model:value="searchParam.tsystemid" allowClear
|
||||
<a-select style="width: 235px ;margin-bottom:20px" placeholder="请选择讲师体系" v-model:value="searchParam.tsystemId" allowClear
|
||||
:options="lecturerSystemList" @change="changetlevel">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
@@ -150,7 +150,7 @@
|
||||
<a-drawer v-model:visible="teacherdialog" placement="right" @closa="cancelTeacherDialog" :maskClosable="true" dropdown-style="drawaer"
|
||||
width="60%" :title="teacherdialogtitle">
|
||||
<a-form :model="formParam" :rules="rules" layout="vertical" ref="formRef" >
|
||||
<!-- 讲师姓名 name 讲师工号 teacherNo-->
|
||||
<!-- 讲师姓名 name 讲师工号 userNo-->
|
||||
<a-row :gutter="16">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="讲师名称" name="teacher">
|
||||
@@ -356,7 +356,7 @@
|
||||
<span>讲师费用详情</span>
|
||||
<a-descriptions bordered :column="2" :contentStyle="rowCenter" :labelStyle="rowCenter">
|
||||
<a-descriptions-item label="讲师名称">{{formParam.name}}</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师工号">{{formParam.teacherNo}}</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师工号">{{formParam.userNo}}</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师组织" :span="2">{{formParam.teacherOrg}}</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师体系">{{formParam.systemName}}</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师级别">{{formParam.levelName }}</a-descriptions-item>
|
||||
@@ -500,10 +500,10 @@
|
||||
},
|
||||
searchdate: null, //选择时间
|
||||
searchParam: {
|
||||
teacherNo:null,
|
||||
userNo:null,
|
||||
name:null,
|
||||
trainorgId:null,
|
||||
tsystemid:null,
|
||||
tsystemId:null,
|
||||
levelId:null,
|
||||
courseType:null,
|
||||
certStatus:null,
|
||||
@@ -643,8 +643,8 @@ console.log( "讲师体系id" +val);
|
||||
},
|
||||
{
|
||||
title: '讲师工号 ',
|
||||
dataIndex: 'teacherNo',
|
||||
key: 'teacherNo',
|
||||
dataIndex: 'userNo',
|
||||
key: 'userNo',
|
||||
elipsis: true, align: "center",
|
||||
width: 120,
|
||||
},
|
||||
@@ -818,8 +818,8 @@ console.log( "讲师体系id" +val);
|
||||
state.searchParam = {
|
||||
endTime:null,
|
||||
beginTime:null,
|
||||
teacherNo:null,
|
||||
tsystemid:null,
|
||||
userNo:null,
|
||||
tsystemId:null,
|
||||
levelId:null,
|
||||
courseType:null,
|
||||
certStatus:null,
|
||||
@@ -1001,9 +1001,9 @@ console.log( "讲师体系id" +val);
|
||||
const cancel = () => {
|
||||
state.formParam ={
|
||||
teacher:null,
|
||||
teacherNo:null,
|
||||
userNo:null,
|
||||
departId:null,
|
||||
tsystemid:null,
|
||||
tsystemId:null,
|
||||
levelId:null,
|
||||
payrollPlaceName:null,
|
||||
tSystemName: null,
|
||||
@@ -1092,7 +1092,7 @@ console.log( "讲师体系id" +val);
|
||||
}
|
||||
const rules = {
|
||||
name: [{ required: true, message:'',log: '讲师不能为空' }],
|
||||
teacherNo: [{ required: true, message: '',log:'讲师工号不能为空' }],
|
||||
userNo: [{ required: true, message: '',log:'讲师工号不能为空' }],
|
||||
departId: [{ required: true, message: '',log:'讲师组织不能为空' }],
|
||||
tSystemName: [{ required: true, message:'',log: '讲师体系不能为空' }],
|
||||
tLevelId: [{ required: true, message:'',log: ' 讲师级别 不能为空' }],
|
||||
@@ -1109,8 +1109,8 @@ console.log( "讲师体系id" +val);
|
||||
}
|
||||
function managerChange(e, l, d, t, orgName) {
|
||||
console.log(e, l);
|
||||
state.searchParam.teacherNo = d;
|
||||
state.searchParam.teacherNo = t;
|
||||
state.searchParam.userNo = d;
|
||||
state.searchParam.userNo = t;
|
||||
// state.searchParam.trainorgName=orgName
|
||||
}
|
||||
const handleImport = () => {
|
||||
@@ -1156,8 +1156,8 @@ const column = ref([
|
||||
},
|
||||
{
|
||||
title: '讲师工号 ',
|
||||
dataIndex: 'teacherNo',
|
||||
key: 'teacherNo',
|
||||
dataIndex: 'userNo',
|
||||
key: 'userNo',
|
||||
elipsis: true, align: "center",
|
||||
width: 120,
|
||||
},
|
||||
@@ -1322,12 +1322,8 @@ const column = ref([
|
||||
//导出功能
|
||||
const handleExport = ()=>{
|
||||
window.open (
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/exportTeacherExpense?pageNo=${
|
||||
state.searchParam.pageNo
|
||||
}&pageSize=${state.searchParam.pageSize}&name=${
|
||||
state.searchParam.name ? state.searchParam.name : ""
|
||||
}&tsystemid=${ state.searchParam.tsystemid ? state.searchParam.tsystemid : ""}&levelId=${
|
||||
state.searchParam.levelId ? state.searchParam.levelId : ""
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/exportTeacherExpense?pageNo=${state.searchParam.pageNo}&pageSize=${state.searchParam.pageSize}&name=${state.searchParam.name ? state.searchParam.name : ""
|
||||
}&tsystemId=${ state.searchParam.tsystemId ? state.searchParam.tsystemId : ""}&levelId=${state.searchParam.levelId ? state.searchParam.levelId : ""
|
||||
}&courseType=${ state.searchParam.courseType ? state.searchParam.courseType : ""}&certStatus=${
|
||||
state.searchParam.certStatus ? state.searchParam.certStatus : ""
|
||||
}&salaryName=${state.searchParam.salaryName ? state.searchParam.salaryName : ""}&status=${state.searchParam.status ? state.searchParam.status : ""}&beginTime=${state.searchParam.beginTime ? state.searchParam.beginTime : ""}&endTime=${state.searchParam.endTime ? state.searchParam.endTime : ""}`
|
||||
@@ -1337,7 +1333,6 @@ const column = ref([
|
||||
// }, `project_${new Date().getTime()}.xlsx` )
|
||||
}
|
||||
const beforeUpload2 = (file) => {
|
||||
console.log(6765555);
|
||||
console.log(file);
|
||||
const fileType = [
|
||||
"xls",
|
||||
|
||||
Reference in New Issue
Block a user