@@ -419,21 +419,10 @@ export default {
entryType: 1,
duration: 0
},
- searchParam: {
- teacherType: '0',
- // userNo: null,//工号姓名
- // teacher:null,
- teacherNameOrUserNo: null,
- name: null,//课程编号
- tsystemName: null,//讲师体系
- payrollPlaceName: null,//发薪地
- entryType: null,
- pageNo: "1",
- pageSize: "10",
- startDate: null,
- endDate: null,
- beginTime: null,
- },
+ startTime:null,
+ startDate:null,
+ searchParam:
+ { "teacherType": "0", "pageNo": 1, "pageSize": 10, "managerId": null, "teacherNameOrUserNo": null, "entryType": null, "status": null, "trainorgId": null, "systemId": null, "endDate": null, "startDate":null, "studysranges": [], "score": null }
})
//获取所属组织
@@ -759,10 +748,14 @@ export default {
};
//修改时间
function searchTimeChange(time, timeStr) {
- state.searchParam.startDate = timeStr[0];
- state.searchParam.endDate = timeStr[1];
- console.log( state.searchParam.startDate)
- console.log(state.searchParam.endDate)
+ let startTime = timeStr[0]
+ let endTime = timeStr[1] ;
+ state.startTime = new Date(startTime).getTime();
+ state.endTime = new Date(endTime).getTime();
+ // state.searchParam.startDate = new Date(startDate).getTime() ;
+ // state.searchParam.endDate = new Date(endDate).getTime() ;
+ state.searchParam.startDate = state.startTime ? state.startTime : null,
+ state.searchParam.endDate = state.endTime ? state.endTime : null
}
const editTimeChange = (e, date) => {
@@ -772,6 +765,7 @@ export default {
};
//重置
const searchReset = () => {
+ state.searchdate= null,
state.searchParam = {
teacherType: '0',
pageNo: 1,
@@ -887,9 +881,11 @@ export default {
state.teacherdialog = false
cancel()
}
+ // state.deleteTeacherdialog = false
+ };
+ const cancelTeacherDialog1 = () => {
state.deleteTeacherdialog = false
};
-
//清空数据
const cancel = () => {
state.formParam = {
@@ -1054,11 +1050,11 @@ export default {
state.log = true
message.warning('组织不能为空')
}
- if (state.formParam.tlevelId == null) {
+ if (state.formParam.levelId == null) {
state.log = true
message.warning('讲师级别不能为空')
}
- if (state.formParam.tsystemId == null) {
+ if (state.formParam.systemId == null) {
state.log = true
message.warning('讲师体系不能为空')
}
@@ -1169,6 +1165,7 @@ export default {
changePagination,
addTeacher,
cancelTeacherDialog,
+ cancelTeacherDialog1,
handleLook,
cancel,
deleteModal,
@@ -1194,17 +1191,25 @@ export default {
}
.addTimeBox {
- position: relative;
- display: flex;
- align-items: center;
+ position: relative;
+ display: flex;
+ align-items: center;
- .addTime {
- position: absolute;
- z-index: 10;
- margin-left: 10px;
- color: rgba(0, 0, 0, 0.4);
- }
-}
+ .addTime {
+ position: absolute;
+ z-index: 1;
+ margin-left: 10px;
+ color: rgba(0, 0, 0, 0.4);
+ }
+
+ .ant-picker {
+ padding-left: 85px;
+ }
+
+ ::v-deep .ant-picker-range .ant-picker-active-bar {
+ margin-left: 85px !important;
+ }
+ }
.addTimeBox .ant-picker{
padding-left: 85px;
}
diff --git a/src/views/lecturer/LecturerApproval.vue b/src/views/lecturer/LecturerApproval.vue
index 3fdfd884..1ff4257d 100644
--- a/src/views/lecturer/LecturerApproval.vue
+++ b/src/views/lecturer/LecturerApproval.vue
@@ -22,8 +22,18 @@
-
+
查询
@@ -65,7 +75,7 @@
-
@@ -263,12 +273,13 @@
remark: null,
kid:null,
},
+ searchdate: null, //选择时间
searchParam: {
teacherNo:null,
teacherName:null,
trainorgId:null,
kid:null,
- tlevelId:null,
+ levelId:null,
courseType:null,
certStatus:null,
salaryName:null,
@@ -444,7 +455,7 @@
},
{
title: '讲师工号 ',
- dataIndex: 'teacherId',
+ dataIndex: 'teacherNo',
key: 'teacherNo',
elipsis: true, align: "center",
width: 120,
@@ -605,12 +616,13 @@
};
//重置
const searchReset = () => {
+ state.searchdate= null,
state.searchParam = {
endDate:null,
startDate:null,
teacherNo:null,
kid:null,
- tlevelId:null,
+ levelId:null,
courseType:null,
certStatus:null,
salaryName:null,
@@ -622,16 +634,16 @@
getTableDate();
};
//修改时间
- const searchTimeChange = (e, date) => {
- let startTime = date[0] + " 00:00:00";
- let endTime = date[1] + " 23:59:59";
+ function searchTimeChange(time, timeStr) {
+ let startTime = timeStr[0]
+ let endTime = timeStr[1] ;
state.startTime = new Date(startTime).getTime();
state.endTime = new Date(endTime).getTime();
// state.searchParam.startDate = new Date(startDate).getTime() ;
// state.searchParam.endDate = new Date(endDate).getTime() ;
state.searchParam.startDate = state.startTime ? state.startTime : null,
state.searchParam.endDate = state.endTime ? state.endTime : null
- };
+}
// List接口数据
const getTableDate = (obj) => {
state.tableLoading=true
@@ -793,8 +805,8 @@
state.currentPage1
}&pageSize=${state.pageSize1}&teacherNo=${
state.searchParam.teacherNo ? state.searchParam.teacherNo : ""
- }&tsystemName=${ state.searchParam.tsystemName ? state.searchParam.tsystemName : ""}&tlevelId=${
- state.searchParam.tlevelId ? state.searchParam.tlevelId : ""
+ }&tsystemName=${ state.searchParam.tsystemName ? state.searchParam.tsystemName : ""}&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 : ""}&payrollPlaceId=${state.searchParam.payrollPlaceId ? state.searchParam.payrollPlaceId : ""}&status=${state.searchParam.status ? state.searchParam.status : ""}&startDate=${state.searchParam.startDate ? state.searchParam.startDate : ""}&endDate=${state.searchParam.endDate ? state.searchParam.endDate : ""}`
@@ -852,17 +864,25 @@
}
.addTimeBox {
- position: relative;
- display: flex;
- align-items: center;
+ position: relative;
+ display: flex;
+ align-items: center;
- .addTime {
- position: absolute;
- z-index: 10;
- margin-left: 10px;
- color: rgba(0, 0, 0, 0.4);
- }
-}
+ .addTime {
+ position: absolute;
+ z-index: 1;
+ margin-left: 10px;
+ color: rgba(0, 0, 0, 0.4);
+ }
+
+ .ant-picker {
+ padding-left: 85px;
+ }
+
+ ::v-deep .ant-picker-range .ant-picker-active-bar {
+ margin-left: 85px !important;
+ }
+ }
//导出按钮icon
.daochu {
diff --git a/src/views/lecturer/LecturerFee.vue b/src/views/lecturer/LecturerFee.vue
index b51c488f..9038375a 100644
--- a/src/views/lecturer/LecturerFee.vue
+++ b/src/views/lecturer/LecturerFee.vue
@@ -22,8 +22,18 @@
-
+
查询
@@ -65,7 +75,7 @@
-
@@ -86,7 +96,7 @@
:show-upload-list="false"
:before-upload="beforeUpload2"
>
-
+
导入
@@ -94,7 +104,7 @@
导出
-
当前页面汇总金额:1,230,490元 当前总汇总金额:9,230,490元
+
当前页面汇总金额:1,230,490元 当前总汇总金额:9,230,490元
@@ -143,7 +153,7 @@
-
+
@@ -384,7 +394,9 @@
+
+
+