diff --git a/src/components/project/ProjectClass.vue b/src/components/project/ProjectClass.vue
index 854235d3..3a4e9190 100644
--- a/src/components/project/ProjectClass.vue
+++ b/src/components/project/ProjectClass.vue
@@ -1,46 +1,54 @@
+
diff --git a/src/components/project/ProjectLevel.vue b/src/components/project/ProjectLevel.vue
index 10b9c9b6..65611995 100644
--- a/src/components/project/ProjectLevel.vue
+++ b/src/components/project/ProjectLevel.vue
@@ -1,27 +1,34 @@
+
- {{ options?.find(e => e.value == id)?.label || '' }}
+ {{ options?.find((e) => e.value == id)?.label || "" }}
diff --git a/src/components/project/TrainClass.vue b/src/components/project/TrainClass.vue
index 9ddbebd5..4f944ccf 100644
--- a/src/components/project/TrainClass.vue
+++ b/src/components/project/TrainClass.vue
@@ -1,27 +1,34 @@
+
- {{ options.find(e => e.value == id)?.label || '' }}
+ {{ options.find((e) => e.value == id)?.label || "" }}
-
diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index 5a1d7369..5692e525 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -82,18 +82,16 @@
+
{
- // const pageNum =
- // Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
- // return index + 1 + pageNum;
- // },
- // },
+ // customRender: ({ index, record }) => {
+ // const pageNum =
+ // Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
+ // return index + 1 + pageNum;
+ // },
+ // },
{
title: "课程名称",
dataIndex: "organization",
@@ -3205,18 +3233,18 @@ const columns6 = [
];
//开课学员管理
const columns7 = [
-//// {
- // title: "序号",
-// width: 200,
- // dataIndex: "num",
+ //// {
+ // title: "序号",
+ // width: 200,
+ // dataIndex: "num",
// key: "num",
// align: "center",
- // customRender: ({ index, record }) => {
- // const pageNum =
- // Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
- // return index + 1 + pageNum;
- // },
- // },
+ // customRender: ({ index, record }) => {
+ // const pageNum =
+ // Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
+ // return index + 1 + pageNum;
+ // },
+ // },
{
title: "姓名",
width: 200,
@@ -3246,16 +3274,16 @@ const columns7 = [
return text ? text : "-";
},
},
- // {
- // title: "岗位",
- // width: 300,
- // dataIndex: "postion",
- // key: "3",
- // align: "center",
- // customRender: ({ text }) => {
- // return text ? text : "-";
- // },
- // },
+ // {
+ // title: "岗位",
+ // width: 300,
+ // dataIndex: "postion",
+ // key: "3",
+ // align: "center",
+ // customRender: ({ text }) => {
+ // return text ? text : "-";
+ // },
+ // },
{
title: "Band",
width: 200,
@@ -3604,7 +3632,7 @@ export default defineComponent({
imageUrl: "",
imgList: [],
- validate:false,
+ validate: false,
pageSize2: 10,
currentPage2: 0,
@@ -3651,7 +3679,7 @@ export default defineComponent({
codevisible: false, //二维码弹窗
codeInfo: null, //二维码内容
codeUrl: codeUrl,
- finished:false,
+ finished: false,
// 课程三级分类
options2222: [
{
@@ -4554,12 +4582,12 @@ export default defineComponent({
message.destroy();
return message.warning("请输入必填项");
}
-
- console.log("state.validate",state.validate);
- if(!state.finished){
+
+ console.log("state.validate", state.validate);
+ if (!state.finished) {
return;
}
-
+
if (!state.validate && state.finished) {
message.destroy();
return message.warning("该课程名称已存在");
@@ -4569,11 +4597,10 @@ export default defineComponent({
state.bs_hs,
state.valueE1 == 2
);
- if( !state.valueE1 && !state.valueE2){
+ if (!state.valueE1 && !state.valueE2) {
message.destroy();
return message.warning("请选择课程形式");
}
-
if (state.valueE1 === 2) {
state.of_hs = false;
@@ -4814,7 +4841,7 @@ export default defineComponent({
.catch();
console.log("res");
- console.log(item);
+ console.log("获取面授课详情", item);
state.xjkkinputV2 = item.address;
state.checked1 = item.applyFlag === 1 ? true : false;
@@ -5050,7 +5077,7 @@ export default defineComponent({
type: -1,
}).then((res) => {
if (res.data.code === 200) {
- message.destroy();
+ message.destroy();
message.success("删除成功");
getTableDate();
delete_exit1();
@@ -5087,7 +5114,7 @@ export default defineComponent({
console.log(obj);
editPlan(obj).then((res) => {
if (res.data.code === 200) {
- message.destroy();
+ message.destroy();
message.success("复制成功");
getTableDate3();
delete_exit1();
@@ -5119,7 +5146,7 @@ export default defineComponent({
};
edit(postData).then((res) => {
if (res.data.code === 200) {
- message.destroy();
+ message.destroy();
message.success("复制成功");
getTableDate();
delete_exit1();
@@ -5137,7 +5164,7 @@ export default defineComponent({
type: -2,
}).then((res) => {
if (res.data.code === 200) {
- message.destroy();
+ message.destroy();
message.success("操作成功");
getTableDate();
delete_exit1();
@@ -5377,7 +5404,7 @@ export default defineComponent({
}).then((res) => {
if (res.data.code === 200) {
getTableDate();
- message.destroy();
+ message.destroy();
message.success("启用成功");
}
});
@@ -6001,7 +6028,6 @@ export default defineComponent({
}
}
-
.tableBox {
margin: 20px 38px 30px;
@@ -6017,20 +6043,20 @@ export default defineComponent({
}
.operation {
- display: flex;
- justify-content: right;
- .fb {
display: flex;
- margin-right: 20px;
- .jc {
- color: #4ea6ff;
- font-size: 14px;
- margin-left: 20px;
- white-space: nowrap;
- cursor: pointer;
+ justify-content: right;
+ .fb {
+ display: flex;
+ margin-right: 20px;
+ .jc {
+ color: #4ea6ff;
+ font-size: 14px;
+ margin-left: 20px;
+ white-space: nowrap;
+ cursor: pointer;
+ }
}
}
- }
.ynuse {
display: flex;
justify-content: center;
@@ -7612,31 +7638,31 @@ export default defineComponent({
}
.operation {
- display: flex;
- justify-content: right;
- margin-right:20px;
- .fb {
display: flex;
+ justify-content: right;
margin-right: 20px;
- .jc {
- color: #4ea6ff;
- font-size: 14px;
- margin-left: 20px;
- white-space: nowrap;
+ .fb {
+ display: flex;
+ margin-right: 20px;
+ .jc {
+ color: #4ea6ff;
+ font-size: 14px;
+ margin-left: 20px;
+ white-space: nowrap;
+ cursor: pointer;
+ }
+ }
+ }
+ .ynuse {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+
+ .use {
cursor: pointer;
}
}
}
- .ynuse {
- display: flex;
- justify-content: center;
- align-items: center;
-
- .use {
- cursor: pointer;
- }
- }
- }
.stm_inputbtn {
display: flex;
width: 90%;
@@ -7663,29 +7689,29 @@ export default defineComponent({
}
}
.btn {
- padding: 0px 26px 0px 26px;
- height: 38px;
- background: #4ea6ff;
- border-radius: 8px;
- //border: 1px solid rgba(64, 158, 255, 1);
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 14px;
- flex-shrink: 0;
- cursor: pointer;
+ padding: 0px 26px 0px 26px;
+ height: 38px;
+ background: #4ea6ff;
+ border-radius: 8px;
+ //border: 1px solid rgba(64, 158, 255, 1);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 14px;
+ flex-shrink: 0;
+ cursor: pointer;
- .search {
- background-size: 100%;
- }
+ .search {
+ background-size: 100%;
+ }
- .btnText {
- font-size: 14px;
- font-weight: 400;
- color: #ffffff;
- line-height: 36px;
- margin-left: 5px;
- }
+ .btnText {
+ font-size: 14px;
+ font-weight: 400;
+ color: #ffffff;
+ line-height: 36px;
+ margin-left: 5px;
+ }
}
.btnn {
@@ -7754,60 +7780,60 @@ export default defineComponent({
background: rgba(64, 158, 255, 0.2);
}
.btns {
+ display: flex;
+ // flex-wrap: wrap;
+ .btn {
+ padding: 0px 21px 0px 21px;
+ height: 38px;
+ background: #4ea6ff;
+ border-radius: 8px;
+ //border: 1px solid rgba(64, 158, 255, 1);
display: flex;
- // flex-wrap: wrap;
- .btn {
- padding: 0px 21px 0px 21px;
- height: 38px;
- background: #4ea6ff;
- border-radius: 8px;
- //border: 1px solid rgba(64, 158, 255, 1);
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 14px;
- flex-shrink: 0;
- cursor: pointer;
+ align-items: center;
+ justify-content: center;
+ margin-right: 14px;
+ flex-shrink: 0;
+ cursor: pointer;
- .search {
- background-size: 100%;
- }
-
- .btnText {
- font-size: 14px;
- font-weight: 400;
- color: #ffffff;
- line-height: 36px;
- margin-left: 5px;
- }
+ .search {
+ background-size: 100%;
}
- .btn3 {
- margin-right: 0px;
-
- .search {
- width: 17px;
- height: 18px;
- background-image: url("../../assets/images/courseManage/add0.png");
- }
- }
-
- .btn3:hover {
- background: rgba(64, 158, 255, 0.76);
-
- .search {
- background-image: url("../../assets/images/courseManage/add0.png");
- }
-
- .btnText {
- color: #ffffff;
- }
- }
-
- .btn3:active {
- background: #0982ff;
+ .btnText {
+ font-size: 14px;
+ font-weight: 400;
+ color: #ffffff;
+ line-height: 36px;
+ margin-left: 5px;
}
}
+
+ .btn3 {
+ margin-right: 0px;
+
+ .search {
+ width: 17px;
+ height: 18px;
+ background-image: url("../../assets/images/courseManage/add0.png");
+ }
+ }
+
+ .btn3:hover {
+ background: rgba(64, 158, 255, 0.76);
+
+ .search {
+ background-image: url("../../assets/images/courseManage/add0.png");
+ }
+
+ .btnText {
+ color: #ffffff;
+ }
+ }
+
+ .btn3:active {
+ background: #0982ff;
+ }
+ }
}
.btn3 {
@@ -7910,7 +7936,6 @@ export default defineComponent({
}
.ant-table-thead > tr > th {
-
background-color: #eff4fc !important;
}
@@ -7925,20 +7950,20 @@ export default defineComponent({
}
.operation {
+ display: flex;
+ justify-content: right;
+ .fb {
display: flex;
- justify-content: right;
- .fb {
- display: flex;
- margin-right: 20px;
- .jc {
- color: #4ea6ff;
- font-size: 14px;
- margin-left: 20px;
- white-space: nowrap;
- cursor: pointer;
- }
+ margin-right: 20px;
+ .jc {
+ color: #4ea6ff;
+ font-size: 14px;
+ margin-left: 20px;
+ white-space: nowrap;
+ cursor: pointer;
}
}
+ }
.tableBox {
.pa {
@@ -7954,7 +7979,6 @@ export default defineComponent({
}
}
}
-
}
}
}
@@ -8009,180 +8033,180 @@ export default defineComponent({
.i5_left {
display: flex;
- .select {
- margin-right: 20px;
- margin-bottom: 20px;
- }
+ .select {
+ margin-right: 20px;
+ margin-bottom: 20px;
+ }
- .addTimeBox {
- position: relative;
- display: flex;
- align-items: center;
-
- .addTime {
- position: absolute;
- z-index: 10;
- margin-left: 10px;
- color: rgba(0, 0, 0, 0.4);
- }
-
- .ant-picker {
- padding-left: 85px;
- }
-
- .ant-picker-range .ant-picker-active-bar {
- margin-left: 85px;
- }
- }
-
- .btn {
- padding: 0px 26px 0px 26px;
- height: 38px;
- background: #4ea6ff;
- border-radius: 8px;
- //border: 1px solid rgba(64, 158, 255, 1);
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 14px;
- flex-shrink: 0;
- cursor: pointer;
-
- .search {
- background-size: 100%;
- }
-
- .btnText {
- font-size: 14px;
- font-weight: 400;
- color: #ffffff;
- line-height: 36px;
- margin-left: 5px;
- }
- }
-
- .btnn {
- padding: 0px 26px 0px 26px;
- height: 38px;
- background: #ffffff;
- border-radius: 8px;
- border: 1px solid rgba(64, 158, 255, 1);
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 14px;
- flex-shrink: 0;
- cursor: pointer;
-
- .search {
- background-size: 100%;
- }
-
- .btnText {
- font-size: 14px;
- font-weight: 400;
- color: #4ea6ff;
- line-height: 36px;
- margin-left: 5px;
- }
- }
-
- .btn1 {
- .search {
- width: 15px;
- height: 17px;
- background-image: url("../../assets/images/courseManage/search0.png");
- }
- }
-
- .btn2 {
- .search {
- width: 16px;
- height: 18px;
- background-image: url("../../assets/images/courseManage/reset1.png");
- }
- }
-
- .btn1:hover {
- background: rgba(64, 158, 255, 0.76);
-
- .search {
- background-image: url("../../assets/images/courseManage/search0.png");
- }
-
- .btnText {
- color: #ffffff;
- }
- }
-
- .btn1:active {
- background: #0982ff;
- }
-
- .btn2:hover {
- background: rgba(64, 158, 255, 0.1);
- }
-
- .btn2:active {
- background: rgba(64, 158, 255, 0.2);
- }
- }
-
- .btns {
+ .addTimeBox {
+ position: relative;
display: flex;
- // flex-wrap: wrap;
- .btn {
- padding: 0px 26px 0px 26px;
- height: 38px;
- background: #4ea6ff;
- border-radius: 8px;
- //border: 1px solid rgba(64, 158, 255, 1);
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 14px;
- flex-shrink: 0;
- cursor: pointer;
+ align-items: center;
- .search {
- background-size: 100%;
- }
-
- .btnText {
- font-size: 14px;
- font-weight: 400;
- color: #ffffff;
- line-height: 36px;
- margin-left: 5px;
- }
+ .addTime {
+ position: absolute;
+ z-index: 10;
+ margin-left: 10px;
+ color: rgba(0, 0, 0, 0.4);
}
- .btn3 {
- margin-right: 0px;
+ .ant-picker {
+ padding-left: 85px;
+ }
- .search {
- width: 17px;
- height: 18px;
- background-image: url("../../assets/images/courseManage/add0.png");
+ .ant-picker-range .ant-picker-active-bar {
+ margin-left: 85px;
+ }
+ }
+
+ .btn {
+ padding: 0px 26px 0px 26px;
+ height: 38px;
+ background: #4ea6ff;
+ border-radius: 8px;
+ //border: 1px solid rgba(64, 158, 255, 1);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 14px;
+ flex-shrink: 0;
+ cursor: pointer;
+
+ .search {
+ background-size: 100%;
+ }
+
+ .btnText {
+ font-size: 14px;
+ font-weight: 400;
+ color: #ffffff;
+ line-height: 36px;
+ margin-left: 5px;
+ }
+ }
+
+ .btnn {
+ padding: 0px 26px 0px 26px;
+ height: 38px;
+ background: #ffffff;
+ border-radius: 8px;
+ border: 1px solid rgba(64, 158, 255, 1);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 14px;
+ flex-shrink: 0;
+ cursor: pointer;
+
+ .search {
+ background-size: 100%;
+ }
+
+ .btnText {
+ font-size: 14px;
+ font-weight: 400;
+ color: #4ea6ff;
+ line-height: 36px;
+ margin-left: 5px;
+ }
+ }
+
+ .btn1 {
+ .search {
+ width: 15px;
+ height: 17px;
+ background-image: url("../../assets/images/courseManage/search0.png");
+ }
+ }
+
+ .btn2 {
+ .search {
+ width: 16px;
+ height: 18px;
+ background-image: url("../../assets/images/courseManage/reset1.png");
+ }
+ }
+
+ .btn1:hover {
+ background: rgba(64, 158, 255, 0.76);
+
+ .search {
+ background-image: url("../../assets/images/courseManage/search0.png");
+ }
+
+ .btnText {
+ color: #ffffff;
+ }
+ }
+
+ .btn1:active {
+ background: #0982ff;
+ }
+
+ .btn2:hover {
+ background: rgba(64, 158, 255, 0.1);
+ }
+
+ .btn2:active {
+ background: rgba(64, 158, 255, 0.2);
}
}
- .btn3:hover {
- background: rgba(64, 158, 255, 0.76);
+ .btns {
+ display: flex;
+ // flex-wrap: wrap;
+ .btn {
+ padding: 0px 26px 0px 26px;
+ height: 38px;
+ background: #4ea6ff;
+ border-radius: 8px;
+ //border: 1px solid rgba(64, 158, 255, 1);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 14px;
+ flex-shrink: 0;
+ cursor: pointer;
- .search {
- background-image: url("../../assets/images/courseManage/add0.png");
+ .search {
+ background-size: 100%;
+ }
+
+ .btnText {
+ font-size: 14px;
+ font-weight: 400;
+ color: #ffffff;
+ line-height: 36px;
+ margin-left: 5px;
+ }
}
- .btnText {
- color: #ffffff;
+ .btn3 {
+ margin-right: 0px;
+
+ .search {
+ width: 17px;
+ height: 18px;
+ background-image: url("../../assets/images/courseManage/add0.png");
+ }
+ }
+
+ .btn3:hover {
+ background: rgba(64, 158, 255, 0.76);
+
+ .search {
+ background-image: url("../../assets/images/courseManage/add0.png");
+ }
+
+ .btnText {
+ color: #ffffff;
+ }
+ }
+
+ .btn3:active {
+ background: #0982ff;
}
}
-
- .btn3:active {
- background: #0982ff;
- }
- }
}
.stmm_i6 {
diff --git a/src/views/courselibrary/components/seeModal.vue b/src/views/courselibrary/components/seeModal.vue
index 3fd5d40c..1d9971d6 100644
--- a/src/views/courselibrary/components/seeModal.vue
+++ b/src/views/courselibrary/components/seeModal.vue
@@ -156,7 +156,7 @@
@@ -207,21 +207,43 @@
-
- {{ item.indexOf('-')!==-1?item.slice(item.lastIndexOf('/')+1,item.indexOf('-')) + item.slice(item.lastIndexOf('.')) :item }}
+
+ {{
+ item.indexOf("-") !== -1
+ ? item.slice(
+ item.lastIndexOf("/") + 1,
+ item.lastIndexOf("-")
+ ) + item.slice(item.lastIndexOf("."))
+ : item
+ }}
+
下载
@@ -262,134 +284,140 @@ export default defineComponent({
},
},
setup(props, { emit }) {
- console.log(props);
+ console.log("props", props);
const state = reactive({
imgList: [],
options2222: [
{
- title: '领导力',
- value: '100',
- selectable:false,
+ title: "领导力",
+ value: "100",
+ selectable: false,
children: [
{
- title: '领导业务',
- value: '1001',
+ title: "领导业务",
+ value: "1001",
},
{
- title: '领导团队',
- value: '1002',
+ title: "领导团队",
+ value: "1002",
},
{
- title: '领导自我',
- value: '1003',
+ title: "领导自我",
+ value: "1003",
},
],
},
{
- title: '专业力',
- value: '200',
- selectable:false,
+ title: "专业力",
+ value: "200",
+ selectable: false,
children: [
{
- title: '研发',
- value: '2001',
+ title: "研发",
+ value: "2001",
},
{
- title: '产品和解决方案',
- value: '2002',
+ title: "产品和解决方案",
+ value: "2002",
},
{
- title: '生产技术与制造',
- value: '2003',
+ title: "生产技术与制造",
+ value: "2003",
},
{
- title: '供应链',
- value: '2004',
+ title: "供应链",
+ value: "2004",
},
{
- title: '营销',
- value: '2005',
+ title: "营销",
+ value: "2005",
},
{
- title: '品质',
- value: '2006',
+ title: "品质",
+ value: "2006",
},
{
- title: '战略与企划',
- value: '2007',
+ title: "战略与企划",
+ value: "2007",
},
{
- title: '流程管理',
- value: '2008',
+ title: "流程管理",
+ value: "2008",
},
{
- title: '业绩管理',
- value: '2009',
+ title: "业绩管理",
+ value: "2009",
},
{
- title: '项目管理',
- value: '20010',
+ title: "项目管理",
+ value: "20010",
},
{
- title: '信息技术',
- value: '20011',
+ title: "信息技术",
+ value: "20011",
},
{
- title: '环境与安全',
- value: '20012',
+ title: "环境与安全",
+ value: "20012",
},
{
- title: '人力资源',
- value: '20013',
+ title: "人力资源",
+ value: "20013",
},
{
- title: '企业文化',
- value: '20014',
+ title: "企业文化",
+ value: "20014",
},
{
- title: '品牌',
- value: '20015',
+ title: "品牌",
+ value: "20015",
},
{
- title: '财务',
- value: '20016',
+ title: "财务",
+ value: "20016",
},
{
- title: '法务',
- value: '20017',
+ title: "法务",
+ value: "20017",
},
{
- title: '行政',
- value: '20018',
+ title: "行政",
+ value: "20018",
},
{
- title: '医工',
- value: '20019',
- }
+ title: "医工",
+ value: "20019",
+ },
],
},
{
- title: '通用力',
- value: '300',
- selectable:false,
+ title: "通用力",
+ value: "300",
+ selectable: false,
children: [
{
- title: '职业操守与道德',
- value: '3001',
+ title: "职业操守与道德",
+ value: "3001",
},
{
- title: '职业素养与技能',
- value: '3002',
+ title: "职业素养与技能",
+ value: "3002",
},
{
- title: '规章制度',
- value: '3003',
+ title: "规章制度",
+ value: "3003",
},
- ],
- }
- ]
+ ],
+ },
+ ],
+ ceshi: "https://u-pre.boe.com/upload/测试下载ppt2-1671002026755.pptx",
+ ceshi2: "http://111.231.196.214:12016/测试下载ppt3-1671001683026.pptx",
});
+ // item.slice(
+ // item.lastIndexOf("/") + 1,
+ // item.indexOf("-")
+ // ) + item.slice(item.lastIndexOf("."))
const filterTxt = (txt) => {
if (txt) {
return txt;
@@ -400,8 +428,8 @@ export default defineComponent({
const filterClassTxt = (txt) => {
let str = "-";
if (txt) {
- for(let i =0; i
-
审核意见:
diff --git a/src/views/projectcenter/templateAdd.vue b/src/views/projectcenter/templateAdd.vue
index 6551c1f2..6b956f3e 100644
--- a/src/views/projectcenter/templateAdd.vue
+++ b/src/views/projectcenter/templateAdd.vue
@@ -31,18 +31,6 @@
/>
-