mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
fix:修改模版库不同阶段不可添加同一在线和评估任务问题
This commit is contained in:
@@ -1,472 +1,479 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-drawer
|
<a-drawer :visible="addinvistVisible" class="drawerStyle addinvistDrawer" width="70%" title="添加评估" placement="right"
|
||||||
:visible="addinvistVisible"
|
@after-visible-change="afterVisibleChange">
|
||||||
class="drawerStyle addinvistDrawer"
|
<div class="drawerMain">
|
||||||
width="70%"
|
<div class="header">
|
||||||
title="添加评估"
|
<div v-if="edit" class="headerTitle">编辑评估</div>
|
||||||
placement="right"
|
<div v-else class="headerTitle">添加评估</div>
|
||||||
@after-visible-change="afterVisibleChange"
|
<img style="width: 29px; height: 29px; cursor: pointer" src="../../assets/images/basicinfo/close.png"
|
||||||
>
|
@click="closeDrawer" />
|
||||||
<div class="drawerMain">
|
</div>
|
||||||
<div class="header">
|
<div class="contentMain">
|
||||||
<div v-if="edit" class="headerTitle">编辑评估</div>
|
<div class="main">
|
||||||
<div v-else class="headerTitle">添加评估</div>
|
<div class="main_left">
|
||||||
<img
|
<AssessmentAll v-model:assessmentVisible="assessmentVisible" v-model:assessmentId="assessmentId"
|
||||||
style="width: 29px; height: 29px; cursor: pointer"
|
v-model:assessmentName="assessmentName" />
|
||||||
src="../../assets/images/basicinfo/close.png"
|
</div>
|
||||||
@click="closeDrawer"
|
</div>
|
||||||
/>
|
</div>
|
||||||
</div>
|
<div class="main_btns">
|
||||||
<div class="contentMain">
|
<button class="btn1" @click="closeDrawer">取消</button>
|
||||||
<div class="main">
|
<button class="btn2" @click="updateTask">确定</button>
|
||||||
<div class="main_left">
|
</div>
|
||||||
<AssessmentAll
|
</div>
|
||||||
v-model:assessmentVisible="assessmentVisible"
|
</a-drawer>
|
||||||
v-model:assessmentId="assessmentId"
|
|
||||||
v-model:assessmentName="assessmentName"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="main_btns">
|
|
||||||
<button class="btn1" @click="closeDrawer">取消</button>
|
|
||||||
<button class="btn2" @click="updateTask">确定</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a-drawer>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs } from "vue";
|
import { reactive, toRefs } from "vue";
|
||||||
import * as apiTask from "../../api/indexTaskadd";
|
import * as apiTask from "../../api/indexTaskadd";
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
import {
|
import {
|
||||||
RouterEditTask,
|
RouterEditTask,
|
||||||
IsExistence,
|
IsExistence,
|
||||||
IsExistenceProject,
|
IsExistenceProject,
|
||||||
IsExistenceProjectTemplate,
|
IsExistenceProjectTemplate,
|
||||||
} from "@/api/indexTask";
|
} from "@/api/indexTask";
|
||||||
|
|
||||||
import { addTempTask } from "../../api/indexTaskadd";
|
import { addTempTask } from "../../api/indexTaskadd";
|
||||||
import AssessmentAll from "@/components/drawers/AssessmentAll.vue";
|
import AssessmentAll from "@/components/drawers/AssessmentAll.vue";
|
||||||
export default {
|
export default {
|
||||||
name: "AddInvist",
|
name: "AddInvist",
|
||||||
components: {
|
components: {
|
||||||
AssessmentAll,
|
AssessmentAll,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
addinvistVisible: {
|
addinvistVisible: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
EditInvistId: {
|
EditInvistId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
edit: {
|
edit: {
|
||||||
// 是否为编辑
|
// 是否为编辑
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
projectId: {
|
projectId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
chooseStageId: {
|
chooseStageId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
routerTaskId: {
|
routerTaskId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 0,
|
default: 0,
|
||||||
},
|
},
|
||||||
isLevel: {
|
isLevel: {
|
||||||
// 是否是关卡页面触发
|
// 是否是关卡页面触发
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
projectTaskId: {
|
projectTaskId: {
|
||||||
// 要编辑的projectId
|
// 要编辑的projectId
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
routerId: {
|
routerId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
isactive: {
|
isactive: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
projectTemplateId: {
|
projectTemplateId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
inputV1: "",
|
inputV1: "",
|
||||||
time: undefined,
|
time: undefined,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
tableDataTotal: 0,
|
tableDataTotal: 0,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
assessmentId: null,
|
assessmentId: null,
|
||||||
assessmentName: "",
|
assessmentName: "",
|
||||||
assessment: null,
|
assessment: null,
|
||||||
assessment1: null,
|
assessment1: null,
|
||||||
assessmentVisible: false,
|
assessmentVisible: false,
|
||||||
titleTag: false,
|
titleTag: false,
|
||||||
});
|
});
|
||||||
// const getCheckedAss = (ass) => {
|
// const getCheckedAss = (ass) => {
|
||||||
// state.assessmentId = ass.assessmentId;
|
// state.assessmentId = ass.assessmentId;
|
||||||
// state.assessment = ass;
|
// state.assessment = ass;
|
||||||
// console.log("state.assessment1",state.assessment);
|
// console.log("state.assessment1",state.assessment);
|
||||||
//
|
//
|
||||||
// };
|
// };
|
||||||
|
|
||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
ctx.emit("update:addinvistVisible", false);
|
ctx.emit("update:addinvistVisible", false);
|
||||||
ctx.emit("update:edit", false);
|
ctx.emit("update:edit", false);
|
||||||
state.assessmentId = null;
|
state.assessmentId = null;
|
||||||
state.assessmentName = null;
|
state.assessmentName = null;
|
||||||
state.inputV1 = "";
|
state.inputV1 = "";
|
||||||
// ctx.emit("changeData", false);
|
// ctx.emit("changeData", false);
|
||||||
localStorage.setItem("stageId", props.chooseStageId);
|
localStorage.setItem("stageId", props.chooseStageId);
|
||||||
localStorage.setItem("chapterId", props.isactive);
|
localStorage.setItem("chapterId", props.isactive);
|
||||||
};
|
};
|
||||||
const checkAssDrawer = () => {
|
const checkAssDrawer = () => {
|
||||||
state.assessmentVisible = true;
|
state.assessmentVisible = true;
|
||||||
};
|
};
|
||||||
const afterVisibleChange = (bool) => {
|
const afterVisibleChange = (bool) => {
|
||||||
if (bool && props.EditInvistId > 0) {
|
if (bool && props.EditInvistId > 0) {
|
||||||
state.assessmentVisible = true;
|
state.assessmentVisible = true;
|
||||||
state.assessmentId = props.EditInvistId;
|
state.assessmentId = props.EditInvistId;
|
||||||
} else {
|
} else {
|
||||||
state.assessmentId = null;
|
state.assessmentId = null;
|
||||||
state.assessmentName = null;
|
state.assessmentName = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const updateTask = () => {
|
const updateTask = () => {
|
||||||
console.log(
|
console.log(
|
||||||
"state.assessmentId ",
|
"state.assessmentId ",
|
||||||
state.assessmentId,
|
state.assessmentId,
|
||||||
state.assessmentName
|
state.assessmentName
|
||||||
);
|
);
|
||||||
if (!state.assessmentId) {
|
if (!state.assessmentId) {
|
||||||
return message.warning("请选择评估");
|
return message.warning("请选择评估");
|
||||||
}
|
}
|
||||||
let l_data_id = [];
|
let l_data_id = [];
|
||||||
l_data_id.push(Number(state.assessmentId));
|
l_data_id.push(Number(state.assessmentId));
|
||||||
console.log("state.assessment", state.assessment, state.assessmentId);
|
console.log("state.assessment", state.assessment, state.assessmentId);
|
||||||
if (props.isLevel == 1) {
|
if (props.isLevel == 1) {
|
||||||
if (!props.isactive) {
|
if (!props.isactive) {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
return message.warning("请先选中关卡");
|
return message.warning("请先选中关卡");
|
||||||
}
|
}
|
||||||
IsExistence({
|
IsExistence({
|
||||||
chapterId: Number(props.isactive),
|
chapterId: Number(props.isactive),
|
||||||
courseTaskId: l_data_id,
|
courseTaskId: l_data_id,
|
||||||
routerId: props.routerId,
|
routerId: props.routerId,
|
||||||
type: 11,
|
type: 11,
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("shifouchongfu", res);
|
console.log("shifouchongfu", res);
|
||||||
console.log("路径图中是否包含此评估了", res);
|
console.log("路径图中是否包含此评估了", res);
|
||||||
if (res.data.data.length) {
|
if (res.data.data.length) {
|
||||||
let strdata = res.data.data;
|
let strdata = res.data.data;
|
||||||
let tipStr = "";
|
let tipStr = "";
|
||||||
for (let i = 0; i < strdata.length; i++) {
|
for (let i = 0; i < strdata.length; i++) {
|
||||||
if (i == strdata.length - 1) {
|
if (i == strdata.length - 1) {
|
||||||
tipStr += strdata[i].courseName;
|
tipStr += strdata[i].courseName;
|
||||||
} else {
|
} else {
|
||||||
tipStr += strdata[i].courseName + "/";
|
tipStr += strdata[i].courseName + "/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.warning("评估(" + tipStr + ")重复添加");
|
message.warning("评估(" + tipStr + ")重复添加");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
RouterEditTask({
|
RouterEditTask({
|
||||||
chapterId: props.isactive,
|
chapterId: props.isactive,
|
||||||
courseId: state.assessmentId,
|
courseId: state.assessmentId,
|
||||||
name: state.assessmentName,
|
name: state.assessmentName,
|
||||||
routerId: props.routerId,
|
routerId: props.routerId,
|
||||||
routerTaskId: props.routerTaskId || 0,
|
routerTaskId: props.routerTaskId || 0,
|
||||||
type: 11,
|
type: 11,
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.success(
|
message.success(
|
||||||
`${props.edit ? "编辑" : "新增"}关卡任务成功`
|
`${props.edit ? "编辑" : "新增"}关卡任务成功`
|
||||||
);
|
);
|
||||||
ctx.emit("changeData", false);
|
ctx.emit("changeData", false);
|
||||||
closeDrawer();
|
closeDrawer();
|
||||||
state.addLoading = false;
|
state.addLoading = false;
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.error(`${props.edit ? "编辑" : "新增"}关卡任务失败`);
|
message.error(`${props.edit ? "编辑" : "新增"}关卡任务失败`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
} else if (props.isLevel == 2) {
|
} else if (props.isLevel == 2) {
|
||||||
IsExistenceProject({
|
IsExistenceProject({
|
||||||
courseTaskId: l_data_id,
|
courseTaskId: l_data_id,
|
||||||
projectId: props.projectId,
|
projectId: props.projectId,
|
||||||
stageId: props.chooseStageId || 0,
|
stageId: props.chooseStageId || 0,
|
||||||
type: 11,
|
type: 11,
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
console.log("项目中是否包含此评估了", res);
|
console.log("项目中是否包含此评估了", res);
|
||||||
if (res.data.data.length) {
|
if (res.data.data.length) {
|
||||||
let strdata = res.data.data;
|
let strdata = res.data.data;
|
||||||
let tipStr = "";
|
let tipStr = "";
|
||||||
for (let i = 0; i < strdata.length; i++) {
|
for (let i = 0; i < strdata.length; i++) {
|
||||||
if (i == strdata.length - 1) {
|
if (i == strdata.length - 1) {
|
||||||
tipStr += strdata[i].courseName;
|
tipStr += strdata[i].courseName;
|
||||||
} else {
|
} else {
|
||||||
tipStr += strdata[i].courseName + "/";
|
tipStr += strdata[i].courseName + "/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.warning("评估(" + tipStr + ")重复添加");
|
message.warning("评估(" + tipStr + ")重复添加");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
apiTask
|
apiTask
|
||||||
.addTask({
|
.addTask({
|
||||||
courseId: state.assessmentId,
|
courseId: state.assessmentId,
|
||||||
name: state.assessmentName,
|
name: state.assessmentName,
|
||||||
projectId: props.projectId,
|
projectId: props.projectId,
|
||||||
projectTaskId: props.projectTaskId || 0,
|
projectTaskId: props.projectTaskId || 0,
|
||||||
stageId: props.chooseStageId || 0,
|
stageId: props.chooseStageId || 0,
|
||||||
type: 11,
|
type: 11,
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
message.success(`${props.edit ? "编辑" : "新增"}任务成功`);
|
message.success(`${props.edit ? "编辑" : "新增"}任务成功`);
|
||||||
ctx.emit("changeData", false);
|
ctx.emit("changeData", false);
|
||||||
closeDrawer();
|
closeDrawer();
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
message.error(`${props.edit ? "编辑" : "新增"}任务失败`);
|
message.error(`${props.edit ? "编辑" : "新增"}任务失败`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
} else if (props.isLevel == 3) {
|
} else if (props.isLevel == 3) {
|
||||||
IsExistenceProjectTemplate({
|
IsExistenceProjectTemplate({
|
||||||
courseTaskId: l_data_id,
|
courseTaskId: l_data_id,
|
||||||
projectTemplateId: props.projectTemplateId,
|
projectTemplateId: props.projectTemplateId,
|
||||||
stageId: props.chooseStageId || 0,
|
templateStageId: props.chooseStageId || 0,
|
||||||
type: 11,
|
type: 11,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
console.log("项目中是否包含此评估了", res);
|
console.log("项目中是否包含此评估了", res);
|
||||||
if (res.data.data.length) {
|
if (res.data.data.length) {
|
||||||
let strdata = res.data.data;
|
let strdata = res.data.data;
|
||||||
let tipStr = "";
|
let tipStr = "";
|
||||||
for (let i = 0; i < strdata.length; i++) {
|
for (let i = 0; i < strdata.length; i++) {
|
||||||
if (i == strdata.length - 1) {
|
if (i == strdata.length - 1) {
|
||||||
tipStr += strdata[i].courseName;
|
tipStr += strdata[i].courseName;
|
||||||
} else {
|
} else {
|
||||||
tipStr += strdata[i].courseName + "/";
|
tipStr += strdata[i].courseName + "/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.warning("评估(" + tipStr + ")重复添加");
|
message.warning("评估(" + tipStr + ")重复添加");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
addTempTask({
|
addTempTask({
|
||||||
courseId: state.assessmentId,
|
courseId: state.assessmentId,
|
||||||
name: state.assessmentName,
|
name: state.assessmentName,
|
||||||
projectTemplateId: props.projectTemplateId,
|
projectTemplateId: props.projectTemplateId,
|
||||||
projectTaskId: props.projectTaskId || 0,
|
projectTaskId: props.projectTaskId || 0,
|
||||||
stageId: props.chooseStageId || 0,
|
stageId: props.chooseStageId || 0,
|
||||||
type: 11,
|
type: 11,
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.success(`${props.edit ? "编辑" : "新增"}任务成功`);
|
message.success(`${props.edit ? "编辑" : "新增"}任务成功`);
|
||||||
ctx.emit("changeData", false);
|
ctx.emit("changeData", false);
|
||||||
closeDrawer();
|
closeDrawer();
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.error(`${props.edit ? "编辑" : "新增"}任务失败`);
|
message.error(`${props.edit ? "编辑" : "新增"}任务失败`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
afterVisibleChange,
|
afterVisibleChange,
|
||||||
closeDrawer,
|
closeDrawer,
|
||||||
updateTask,
|
updateTask,
|
||||||
checkAssDrawer,
|
checkAssDrawer,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.ant-table-striped :deep(.table-striped) td {
|
.ant-table-striped :deep(.table-striped) td {
|
||||||
background-color: #fafafa !important;
|
background-color: #fafafa !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.addinvistDrawer {
|
.addinvistDrawer {
|
||||||
.drawerMain {
|
.drawerMain {
|
||||||
.header {
|
.header {
|
||||||
height: 73px;
|
height: 73px;
|
||||||
border-bottom: 1px solid #e8e8e8;
|
border-bottom: 1px solid #e8e8e8;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.headerTitle {
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #333333;
|
|
||||||
line-height: 25px;
|
|
||||||
margin-left: 24px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.contentMain {
|
|
||||||
.main {
|
|
||||||
width: 100%;
|
|
||||||
.main_left {
|
|
||||||
padding-right: 30px;
|
|
||||||
margin-top: 32px;
|
|
||||||
.main_item {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
.fi_input {
|
.headerTitle {
|
||||||
margin-right: 20px;
|
font-size: 18px;
|
||||||
}
|
font-weight: 600;
|
||||||
.btns {
|
color: #333333;
|
||||||
margin-right: 20px;
|
line-height: 25px;
|
||||||
padding: 0px 26px 0px 26px;
|
margin-left: 24px;
|
||||||
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 {
|
|
||||||
width: 15px;
|
|
||||||
height: 17px;
|
|
||||||
background-image: url("../../assets/images/courseManage/search0.png");
|
|
||||||
background-size: 100% 100%;
|
|
||||||
}
|
|
||||||
.btnText {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 400;
|
|
||||||
color: #ffffff;
|
|
||||||
line-height: 36px;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.btnsn {
|
|
||||||
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 {
|
|
||||||
width: 16px;
|
|
||||||
height: 18px;
|
|
||||||
background-image: url("../../assets/images/courseManage/reset1.png");
|
|
||||||
background-size: 100% 100%;
|
|
||||||
}
|
|
||||||
.btnText {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 400;
|
|
||||||
color: #4ea6ff;
|
|
||||||
line-height: 36px;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.main_notice {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 3px;
|
|
||||||
height: 40px;
|
|
||||||
background-color: #e9f6fe;
|
|
||||||
.mntc_left {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
.title {
|
|
||||||
color: rgba(0, 0, 0, 0.65);
|
|
||||||
margin-right: 17px;
|
|
||||||
}
|
|
||||||
.data {
|
|
||||||
color: #4ea6ff;
|
|
||||||
}
|
|
||||||
.notice_icon {
|
|
||||||
width: 14px;
|
|
||||||
height: 14px;
|
|
||||||
margin-right: 9px;
|
|
||||||
margin-left: 9px;
|
|
||||||
background-image: url(@/assets/images/coursewareManage/gan.png);
|
|
||||||
background-size: 100% 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.mntc_right {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.main_btns {
|
.contentMain {
|
||||||
height: 72px;
|
.main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
bottom: 0;
|
.main_left {
|
||||||
left: 0;
|
padding-right: 30px;
|
||||||
display: flex;
|
margin-top: 32px;
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
.main_item {
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
display: flex;
|
||||||
.btn1 {
|
align-items: center;
|
||||||
width: 100px;
|
|
||||||
height: 40px;
|
.fi_input {
|
||||||
border: 1px solid #4ea6ff;
|
margin-right: 20px;
|
||||||
border-radius: 8px;
|
}
|
||||||
color: #4ea6ff;
|
|
||||||
background-color: #fff;
|
.btns {
|
||||||
cursor: pointer;
|
margin-right: 20px;
|
||||||
}
|
padding: 0px 26px 0px 26px;
|
||||||
.btn2 {
|
height: 38px;
|
||||||
cursor: pointer;
|
background: #4ea6ff;
|
||||||
width: 100px;
|
border-radius: 8px;
|
||||||
height: 40px;
|
//border: 1px solid rgba(64, 158, 255, 1);
|
||||||
background: #4ea6ff;
|
display: flex;
|
||||||
border-radius: 8px;
|
align-items: center;
|
||||||
border: 0;
|
justify-content: center;
|
||||||
margin-left: 15px;
|
margin-right: 14px;
|
||||||
color: #fff;
|
flex-shrink: 0;
|
||||||
}
|
cursor: pointer;
|
||||||
}
|
|
||||||
}
|
.search {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url("../../assets/images/courseManage/search0.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #ffffff;
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnsn {
|
||||||
|
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 {
|
||||||
|
width: 16px;
|
||||||
|
height: 18px;
|
||||||
|
background-image: url("../../assets/images/courseManage/reset1.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #4ea6ff;
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.main_notice {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 3px;
|
||||||
|
height: 40px;
|
||||||
|
background-color: #e9f6fe;
|
||||||
|
|
||||||
|
.mntc_left {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
color: rgba(0, 0, 0, 0.65);
|
||||||
|
margin-right: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.data {
|
||||||
|
color: #4ea6ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notice_icon {
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
margin-right: 9px;
|
||||||
|
margin-left: 9px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/gan.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mntc_right {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.main_btns {
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user