diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index b9552ddc..bbb833c0 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -1,1255 +1,1408 @@ + +import { reactive, toRefs } from "vue"; +import TimeManage from "../../components/drawers/TimeManage"; +import FaceManage from "../../components/drawers/FaceManage"; +export default { + name: "taskPage", + components: { TimeManage, FaceManage }, + setup() { + const state = reactive({ + visible: false, //时间管理 + FaceVisivle: true, //面授管理 + pubproject: false, + checked: false, + checked1: true, + checked2: false, + activeKey: "3", + activeKey1: "9", + }); + const showModal = () => { + state.pubproject = true; + }; + const closeModal = () => { + state.pubproject = false; + }; + //新增 + const showTime = () => { + console.log("点击管理"); + state.visible = true; + }; + //新增 + const showFace = () => { + //面授管理的抽屉 + // console.log("点击管理"); + state.FaceVisivle = true; + }; + return { + ...toRefs(state), + showModal, + closeModal, + showTime, + showFace, + }; + }, +}; + - \ No newline at end of file + .tableBox { + margin: 20px 38px 30px; + .ant-table-thead > tr > th { + font-size: 14px; + font-weight: 400; + color: #999ba3; + line-height: 36px; + padding: 5px 16px; + background-color: #eff4fc; + } + } + .split { + width: 100%; + height: 20px; + background-color: #edf0f5; + } + .content { + //display: flex; + //margin: 0 37px; + .ant-tabs-nav-wrap { + margin-left: 30px; + } + .onerow { + //width: 100%; + display: flex; + height: 40px; + position: relative; + margin-top: 15px; + margin-left: 38px; + //margin-right: 38px; + .taskmain { + font-size: 18px; + padding-top: 7px; + color: #000000; + } + .btn { + position: absolute; + top: 0; + right: 168px; + background-color: #409eff; + width: 130px; + height: 40px; + border-radius: 8px; + border: 1px solid #409eff; + color: #ffffff; + cursor: pointer; + } + .edit { + position: absolute; + right: 48px; + top: 0; + color: #409eff; + width: 100px; + height: 40px; + border: 1px solid #409eff; + border-radius: 8px; + .editimg { + width: 15px; + height: 15px; + margin-top: -2px; + margin-left: 25px; + margin-right: 5px; + } + .editext { + line-height: 40px; + } + } + .edit:hover { + color: #ffffff; + background-color: #409eff; + cursor: pointer; + .editimg { + background-image: url("../../assets/images/projectadd/edit1.png"); + } + } + } + .second { + display: flex; + justify-content: left; + flex-wrap: wrap; + margin-top: 40px; + margin-left: 20px; + .nubbox { + width: 253px; + height: 116px; + margin-top: 20px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background: #fafbfc; + border-radius: 10px; + margin-left: 15px; + .nub1 { + color: #ffb54a; + font-size: 30px; + font-weight: 700; + } + .nub2 { + color: #6d7584; + font-size: 14px; + } + } + .taskbox { + width: 412px; + height: 160px; + border-radius: 10px; + position: relative; + margin-left: 68px; + margin-bottom: 40px; + cursor: pointer; + .leftt { + position: absolute; + top: 18px; + left: 0; + } + .photo { + position: absolute; + top: 42px; + left: 37px; + } + .rightt { + position: absolute; + top: 69px; + right: 26px; + } + .centerbox { + position: absolute; + top: 52px; + left: 145px; + font-size: 20px; + font-weight: 700; + //line-height: 36px; + } + .centermain { + color: rgba(135, 139, 146, 1); + font-size: 14px; + position: absolute; + left: 144px; + bottom: 49px; + } + } + } + .stagemess { + display: flex; + margin-left: 38px; + .stage1 { + width: 100px; + height: 33px; + text-align: center; + line-height: 34px; + border-radius: 6px; + color: #ffffff; + font-size: 16px; + background: #4ea6ff; + margin-right: 10px; + margin-top: 19px; + cursor: pointer; + } + .stage2 { + width: 100px; + height: 33px; + text-align: center; + line-height: 34px; + border-radius: 6px; + border: 1px solid #ebeef3; + color: #000000; + font-size: 16px; + background: #ffffff; + margin-right: 10px; + margin-top: 19px; + cursor: pointer; + } + } + .stagesecond { + display: flex; + margin-left: 39px; + margin-top: 29px; + .staname { + color: #999ba3; + font-size: 14px; + } + .stamess { + color: #4f5156; + font-size: 14px; + } + } + .stagelast { + display: flex; + flex-wrap: wrap; + justify-content: center; + margin-bottom: 55px; + .stagepro { + display: flex; + flex-direction: column; + align-items: center; + margin-top: 55px; + margin-right: 120px; + .ant-progress-circle-path { + stroke: #4ea6ff; + } + .ant-progress-text { + color: #4ea6ff; + font-weight: 700; + } + .protext { + color: #6d7584; + font-size: 14px; + margin-top: 25px; + } + } + .proright { + width: 500px; + margin-top: 55px; + margin-left: 50px; + .ant-progress-bg { + height: 24px !important; + background: #4ea6ff; + } + .ant-progress-inner { + height: 24px; + } + .pronub { + color: #4ea6ff; + font-size: 14px; + margin: 5px 0; + } + .proright1 { + display: flex; + justify-content: right; + .textpro { + color: #6d7584; + font-size: 14px; + margin-right: 20px; + } + .ant-progress-text { + color: #4ea6ff; + font-size: 14px; + font-weight: 700; + } + } + } + } + .stage { + display: flex; + height: 49px; + background-color: #eff4fc; + align-items: center; + margin-top: 20px; + margin-left: 38px; + margin-right: 38px; + .stageimg { + margin-left: 31px; + } + .stagename { + color: #409eff; + font-size: 16px; + padding-left: 9px; + line-height: 36px; + } + } + .course { + //width: 100%; + display: flex; + flex-wrap: wrap; + align-items: center; + padding: 10px; + margin-left: 38px; + margin-right: 38px; + //margin: 0 12px; + border: 1px solid #f2f6fc; + .first { + //position: relative; + display: flex; + flex-grow: 1; + align-items: center; + //height: 71px; + margin-left: 12px; + margin-right: 50px; + .icon { + //position: absolute; + } + .iconame { + //position: absolute; + color: #4f5156; + font-size: 16px; + } + .icontext { + //positipn: absolute; + color: #999ba3; + font-size: 14px; + margin-left: 8px; + width: 83px; + } + } + .type { + //height: 71px; + display: flex; + flex-grow: 1; + align-items: center; + margin-right: 50px; + .typename { + width: 63px; + height: 23px; + color: #5dc988; + font-size: 14px; + background-color: #f2f6fc; + border-radius: 4px; + text-align: center; + } + .typename1 { + width: 63px; + height: 23px; + color: #f0f4fe; + font-size: 14px; + background-color: #5dc988; + border-radius: 4px; + text-align: center; + } + } + .time { + //height: 71px; + flex-grow: 1; + margin-right: 50px; + .timetext { + font-size: 14px; + color: #999ba3; + } + } + .progress { + width: 168px; + margin-left: 10px; + margin-right: 50px; + flex-grow: 1; + .progresstext { + color: #ffc067; + font-size: 14px; + } + } + .operations { + display: flex; + width: 200px; + //flex-grow: 1; + .operation { + color: #4ea6ff; + font-size: 14px; + padding: 10px; + margin-left: auto; + } + } + } + } + .content3 { + margin-top: 20px; + .ant-tabs-tab-btn { + font-size: 18px; + font-weight: 700; + } + .group { + display: flex; + justify-content: space-between; + .groupleft { + display: flex; + align-items: center; + margin-left: 32px; + .groupname { + color: #000000; + font-size: 14px; + } + .ant-input { + height: 40px; + } + } + .groupright { + display: flex; + .btn1 { + width: 100px; + height: 40px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 16px; + border: 1px solid #409eff; + border-radius: 8px; + background: #409eff; + cursor: pointer; + .btn1text { + color: #ffffff; + margin-left: 5px; + font-size: 14px; + } + } + .btn2 { + width: 100px; + height: 40px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 32px; + border: 1px solid #409eff; + border-radius: 8px; + cursor: pointer; + background: #ffffff; + .btn2text { + color: #409eff; + margin-left: 5px; + font-size: 14px; + } + } + } + } + .second2 { + display: flex; + margin: 30px 0 0 32px; + .btn1 { + width: 130px; + height: 40px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 16px; + border: 1px solid #409eff; + border-radius: 8px; + background: #409eff; + cursor: pointer; + .btn1text { + color: #ffffff; + margin-left: 5px; + font-size: 14px; + } + } + .btn2 { + width: 130px; + height: 40px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 32px; + border: 1px solid #409eff; + border-radius: 8px; + cursor: pointer; + background: #ffffff; + .btn2text { + color: #409eff; + margin-left: 5px; + font-size: 14px; + } + } + } + .groupmain { + display: flex; + margin-left: 32px; + .groupbox { + width: 264px; + height: 181px; + display: flex; + justify-content: center; + border: 1px solid #e9e9e9; + box-shadow: 1px 1px 18px 1px rgba(0, 0, 0, 0.05); + margin-top: 16px; + margin-right: 20px; + .grouptitle { + display: flex; + justify-content: space-betwwen; + border-bottom: 1px solid rgba(232, 232, 232, 1); + .goodgruop { + } + } + } + } + } +} + +