评估设置
@@ -2317,7 +2317,7 @@ export default defineComponent({
const store = useStore();
const sysTypeOptions = computed(() => store.state.content_type);
const durationText = computed(() => state.xjkkinputV3?.length==2?dayjs(state.xjkkinputV3[1]).diff(dayjs(state.xjkkinputV3[0]),'minute')|| '请输入持续时间':'请输入持续时间');
-
+
const state = reactive({
tableStudentChange: null,
isAssessmentId: null,
@@ -3474,7 +3474,9 @@ function onFocusEnd(){
};
const logT = () => {
state.examInfo = {};
- state.EditTestId = null;
+ state.EditTestId = null; // 新增
+ state.assessmentId = null; // 新增
+ state.assessmentName = ""; // 新增
};
const removePG = () => {
console.log("11111");
@@ -3680,7 +3682,7 @@ function onFocusEnd(){
}).catch(err=>{
message.error(err.message=='timeout of 15000ms exceeded'?'系统超时,请稍后再试':err.data.msg)
state.tableCoursePlanLoading = false
- res ={
+ res ={
data:{data:{
"pageNo": "1",
"pageSize": "10",
@@ -3929,7 +3931,6 @@ function onFocusEnd(){
// handleRestTable();
};
const createkk = () => {
- //todo 创建开课
state.xjkkinputV1 = state.newCourseName
state.offcoursePlanId = null;
state.itemType = 3;
@@ -3941,9 +3942,6 @@ function onFocusEnd(){
}]
state.changeName = true
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),'']
-
- state.examInfo = {};
- //清除缓存
state.cstm_hs = true;
};
const handleCancelStu = () => {
@@ -3979,8 +3977,6 @@ function onFocusEnd(){
//保存开课
const handleSureStu = async () => {
- console.log("编辑的状况 state.kk_eidt",state.kk_eidt)
- console.log("编辑的状况 state.examInfo",state.examInfo)
if(editBeginClass.value){
message.info('讲师费已进入审批阶段,无法编辑')
return
@@ -4007,7 +4003,7 @@ function onFocusEnd(){
let t = state.signCom ? "1," : "0,";
let p = state.comLeave ? "1" : "0";
let type = t.concat(p);
- let postData = {
+ const postData = {
offcourseId: state.offcourseId,
id: state.offcoursePlanId, //开课ID,不传代表新增
address: state.xjkkinputV2,
@@ -4120,11 +4116,10 @@ function onFocusEnd(){
});
state.cstm_hs = false;
};
-
+
let editBeginClass = ref(false)
//编辑开课
const handelEditStu = async (item) => {
- console.log("gx handelEditStu item",item)
nums.value = 0
editBeginClass.value = false
if (item.expenseStatus && item.expenseStatus !== 'A10' && item.expenseStatus !== 'S00') {
@@ -4143,7 +4138,6 @@ function onFocusEnd(){
if (item.testId) {
queryExaminationDetailById({ examinationId: item.testId }).then(
(res) => (state.examInfo = res.data.data)
-
);
}
// if(item.evalFlag){
@@ -4365,7 +4359,7 @@ function onFocusEnd(){
align: "center",
customRender: ({ record }) =>
record.examinationScore ? record.examinationScore : "-",
-
+
},
{
title: "结业状态",
@@ -5302,13 +5296,13 @@ function onFocusEnd(){
};
const disabledDateTime = () => {
- // const dateOnlyStart = new Date(state.xjkkinputV3[0].split(' ')[0]);
- // const dateOnlyEnd = new Date(state.xjkkinputV3[1].split(' ')[0]);
+ // const dateOnlyStart = new Date(state.xjkkinputV3[0].split(' ')[0]);
+ // const dateOnlyEnd = new Date(state.xjkkinputV3[1].split(' ')[0]);
// if(dateOnlyStart.getTime()==dateOnlyEnd.getTime()){
// const currentMinute = dayjs(state.xjkkinputV3[0]).minute();
// return {
- // disabledHours: () => range(0, dayjs(state.xjkkinputV3[0]).hour()).splice(0, dayjs(state.xjkkinputV3[0]).hour()),
- // disabledMinutes: () => range(0, currentMinute+1).splice(0, currentMinute+1),
+ // disabledHours: () => range(0, dayjs(state.xjkkinputV3[0]).hour()).splice(0, dayjs(state.xjkkinputV3[0]).hour()),
+ // disabledMinutes: () => range(0, currentMinute+1).splice(0, currentMinute+1),
// };
// }
};
diff --git a/src/views/lecturer/LecturerFee.vue b/src/views/lecturer/LecturerFee.vue
index 655c87d2..57753283 100644
--- a/src/views/lecturer/LecturerFee.vue
+++ b/src/views/lecturer/LecturerFee.vue
@@ -508,7 +508,7 @@
-
{{formParam.score +'分' }}
+
{{formParam.score }}
{{ formParam.levelPay || formParam.levelPay == 0 ? formParam.levelPay + '元' :
'-'}}
{{ formParam.expense ? formParam.expense + '元' : '-' }}