From ddaa9e3908c74f486fb4e064323cc03a8f963199 Mon Sep 17 00:00:00 2001
From: wangxuemei <283912718@qq.com>
Date: Fri, 2 Aug 2024 19:17:21 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83802?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/project/AddContent.vue | 254 ++++++++++++++++++++++++++
src/views/lecturer/InsideLecturer.vue | 18 +-
src/views/lecturer/LecturerSystem.vue | 44 ++---
3 files changed, 285 insertions(+), 31 deletions(-)
create mode 100644 src/components/project/AddContent.vue
diff --git a/src/components/project/AddContent.vue b/src/components/project/AddContent.vue
new file mode 100644
index 00000000..fcf004e8
--- /dev/null
+++ b/src/components/project/AddContent.vue
@@ -0,0 +1,254 @@
+
+
+
+
+
diff --git a/src/views/lecturer/InsideLecturer.vue b/src/views/lecturer/InsideLecturer.vue
index ae916b33..ba316e1e 100644
--- a/src/views/lecturer/InsideLecturer.vue
+++ b/src/views/lecturer/InsideLecturer.vue
@@ -33,7 +33,7 @@
-->
-
@@ -412,7 +412,7 @@ export default {
searchParam: {
name:null,
userNo: null,
- kid: null,
+ systemid: null,
tlevelId: null,
waitStatus: null,
certStatus: null,
@@ -475,7 +475,7 @@ export default {
let array = [];
arr.map((value) => {
let obj = {
- value: value.kid,
+ value: value.systemid,
label: value.systemName,
};
array.push(obj);
@@ -522,7 +522,7 @@ export default {
])
const changetlevel = (val) => {
console.log( "讲师体系id" +val);
- getLevel( {kid:val}).then((res) => {
+ getLevel( {systemid:val}).then((res) => {
if (res.data.code === 200) {
let arr = res.data.data;
let array = [];
@@ -787,7 +787,7 @@ console.log( "讲师体系id" +val);
state.searchParam = {
name:null,
userNo: null,
- kid: null,
+ systemid: null,
tlevelId: null,
waitStatus: null,
certStatus: null,
@@ -868,7 +868,7 @@ console.log( "讲师体系id" +val);
// departId:'8465784657',
// defaultTeachingTime:50,
// leveId:1,
- // kid:249,
+ // systemid:249,
// certStatus:1,
// description:'测试13.00',
// workExperience:'测试13.00',
@@ -946,11 +946,11 @@ console.log( "讲师体系id" +val);
// userNo:null,
departId: null,
tlevelId: null,
- defaultTeachingTime: null,
+ defaultTeachingTime: 0,
// levelName:null,
// leveName:null,
tsystemId: null,
- // kid:null,
+ // systemid:null,
certStatus:0,
description:null,
workExperience:null,
@@ -996,7 +996,7 @@ console.log( "讲师体系id" +val);
}&pageSize=${state.pageSize1}
&userNo=${state.searchParam.userNo ? state.searchParam.userNo : ""}
&name=${state.searchParam.name ? state.searchParam.name : ""}
- &kid=${state.searchParam.kid ? state.searchParam.kid : ""}
+ &systemid=${state.searchParam.systemid ? state.searchParam.systemid : ""}
&tlevelId=${state.searchParam.tlevelId ? state.searchParam.tlevelId : ""
}&waitStatus=${state.searchParam.waitStatus ? state.searchParam.waitStatus : ""}
&certStatus=${state.searchParam.certStatus ? state.searchParam.certStatus : ""
diff --git a/src/views/lecturer/LecturerSystem.vue b/src/views/lecturer/LecturerSystem.vue
index 34a04264..203de18f 100644
--- a/src/views/lecturer/LecturerSystem.vue
+++ b/src/views/lecturer/LecturerSystem.vue
@@ -366,34 +366,34 @@ export default {
}
//保存
const createTeacherDialog = () => {
- // let a ={
- // kid:11111111,
- // systemCode: 888,
- // systemName: 'cesceshi',
- // remark: 'cesceshi',
- // levelList:[{
- // levelName:'cesceshi',
- // levelTime:'222',
- // sort:1,
- // levelPay:'56',
- // upperLimit:'186'
- // }, ]
- // }
- // console.log(a)
+ let a ={
+ kid:11111111,
+ systemCode: 888,
+ systemName: 'cesceshi',
+ remark: 'cesceshi',
+ levelList:[{
+ levelName:'cesceshi',
+ levelTime:'222',
+ sort:1,
+ levelPay:'56',
+ upperLimit:'186'
+ }, ]
+ }
+ console.log(a)
// console.log(state.formParam)
- if (state.formParam.kid != undefined) {
- updateSystem(state.formParam).then(response => {
- message.success("修改成功");
- });
- }
- else {
- addLecturerSystem(state.formParam)
+ // if (state.formParam.kid != undefined) {
+ // updateSystem(state.formParam).then(response => {
+ // message.success("修改成功");
+ // });
+ // }
+ // else {
+ addLecturerSystem(a)
.then((res) => {
message.success("保存成功");
}).catch((err) => {
console.log(err);
});
- }
+ // }
cancel()
state.teacherdialog = false;
getTableDate();