feat:所有弹窗样式以及显示隐藏

This commit is contained in:
dongwug
2022-10-14 14:36:51 +08:00
parent 3ab436519c
commit f0377fccfc

View File

@@ -76,7 +76,7 @@
</div>
<!-- 搜索框及按钮 -->
</div>
<!-- 新建选择线上还是面授课弹窗 -->
<!-- 选择线上还是面授课弹窗 -->
<a-modal v-model:visible="of_hs" style="margin-top: 400px">
<div
class="selectonlineface"
@@ -183,7 +183,7 @@
</div>
<div class="b_footer">
<div class="btn btn5">
<div class="btnText">取消</div>
<div class="btnText" @click="of_exit">取消</div>
</div>
<div class="btn btn6">
<div class="btnText" @click="createft">确定</div>
@@ -193,7 +193,7 @@
</div>
</div>
</a-modal>
<!-- 新建选择线上还是面授课弹窗 -->
<!-- 选择线上还是面授课弹窗 -->
<!-- 确定新建面授课弹窗 -->
<div class="faceteach" :style="{ display: ft_hs ? 'block' : 'none' }">
<div class="ft_main">
@@ -203,7 +203,7 @@
height: 40px;
background: #388be1;
border-radius: 8px;
font-size: 14px;
font-size: 14px;faceteach
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
@@ -540,7 +540,7 @@
/>
</div>
<!-- 表格 -->
<!-- 操作管理在线课程管理页面 -->
<!-- 操作在线课程管理页面 -->
<a-modal
v-model:visible="om_1"
title="Title"
@@ -630,8 +630,8 @@
</div>
</div>
</a-modal>
<!-- 操作管理在线课程管理页面 -->
<!-- 操作管理面授课程管理页面 -->
<!-- 操作在线课程管理页面 -->
<!-- 操作面授课程管理页面 -->
<a-modal
v-model:visible="ftm_1"
title="Title"
@@ -726,8 +726,8 @@
</div>
</div>
</a-modal>
<!-- 操作管理面授课程管理页面 -->
<!-- 操作管理面授课程管理查看详情页面 -->
<!-- 操作面授课程管理页面 -->
<!-- 面授课程管理查看详情页面 -->
<a-modal
v-model:visible="om_ckxq"
title="Title"
@@ -772,7 +772,7 @@
</div>
</div>
</a-modal>
<!-- 操作管理面授课程管理查看详情页面 -->
<!-- 面授课程管理查看详情页面 -->
<!-- 操作授权页面 -->
<a-modal
v-model:visible="gpm_hs"
@@ -1112,7 +1112,7 @@
</div>
<div class="items_btn">
<div class="cstm_btn btn5">
<div class="btnText">取消</div>
<div class="btnText" @click="cstm_exit">取消</div>
</div>
<div class="cstm_btn btn6">
<div class="btnText" @click="cstm_exit">确定</div>
@@ -1122,7 +1122,7 @@
</div>
</a-modal>
<!--新建开课页面 -->
<!--开课学员管理页面页面 -->
<!--开课学员管理页面 -->
<a-modal
v-model:visible="sm_hs"
title="Title"
@@ -1264,7 +1264,7 @@
</div>
</div>
</a-modal>
<!--开课学员管理页面页面 -->
<!--开课学员管理页面 -->
<!--二维码页面 -->
<a-modal v-model:visible="QR_hs" :footer="null" :closable="closableQR" style="margin-top: 400px">
<div
@@ -1281,7 +1281,7 @@
<div class="qrm_body"><div class="QR_img"></div></div>
<div class="qrm_btnbox">
<div class="qrm_btn btn1">
<div class="btnText">取消</div>
<div class="btnText" @click="qr_exit">取消</div>
</div>
<div class="qrm_btn btn2">
<div class="btnText" @click="qr_exit">确定</div>
@@ -1322,7 +1322,7 @@
</div>
<div class="qrm_btnbox">
<div class="qrm_btn btn1">
<div class="btnText">取消</div>
<div class="btnText" @click="rg_exit">取消</div>
</div>
<div class="qrm_btn btn2">
<div class="btnText" @click="rg_exit">确定</div>
@@ -1367,7 +1367,7 @@
</div>
<div class="qrm_btnbox">
<div class="qrm_btn btn1">
<div class="btnText">取消</div>
<div class="btnText" @click="graduate_exit">取消</div>
</div>
<div class="qrm_btn btn2">
<div class="btnText" @click="graduate_exit">确定</div>
@@ -1392,12 +1392,13 @@
</div>
<div class="agreem_body">
<div class="body_box">
<span>请确定是否同意此学员学习此课程</span>
<div>请确定是否同意此学员学习此课程</div>
</div>
</div>
<div class="qrm_btnbox">
<div class="qrm_btn btn1">
<div class="btnText">取消</div>
<div class="btnText" @click="agreestudy_exit">取消</div>
</div>
<div class="qrm_btn btn2">
<div class="btnText" @click="agreestudy_exit">确定</div>
@@ -1407,6 +1408,37 @@
</div>
</a-modal>
<!--请确定是否同意此学员学习此课程弹窗 -->
<!--请确定是否拒绝此学员学习此课程弹窗 -->
<a-modal v-model:visible="rejectstudy_hs" :footer="null" :closable="closableQR" style="margin-top: 400px">
<div
class="agreestudy"
:style="{ display: rejectstudy_hs ? 'block' : 'none' }"
>
<div class="agree_header"></div>
<div class="agree_main">
<div class="agreem_header">
<div class="agreem_icon"></div>
<span>提示</span>
<div class="close_exit" @click="rejectstudy_exit"></div>
</div>
<div class="agreem_body">
<div class="body_box">
<div>请确定是否拒绝此学员学习此课程</div>
</div>
</div>
<div class="qrm_btnbox">
<div class="qrm_btn btn1">
<div class="btnText" @click="rejectstudy_exit">取消</div>
</div>
<div class="qrm_btn btn2">
<div class="btnText" @click="rejectstudy_exit">确定</div>
</div>
</div>
</div>
</div>
</a-modal>
<!--请确定是否拒绝此学员学习此课程弹窗 -->
</div>
</template>
<script>
@@ -2077,9 +2109,10 @@ export default defineComponent({
sm_hs: false,
QR_hs:false,
closableQR: false,
rg_hs:true,
graduate_hs:true,
agreestudy_hs:true,
rg_hs:false,
graduate_hs:false,
agreestudy_hs:false,
rejectstudy_hs:false,
value:"",
valueE:"",
});
@@ -2402,6 +2435,7 @@ export default defineComponent({
state.tableData = datas;
};
getTableDate();
const getTableDate2 = () => {
let data2 = state.tableData7;
data2.map((value) => {
@@ -2413,10 +2447,17 @@ export default defineComponent({
{value.status === "待审核" ? (
<div class="nselect">
<div class="ops1">
<div class="jc">通过</div>
<div class="jc"
onClick={() => {
state.agreestudy_hs = true;
}}
>通过</div>
</div>
<div class="ops1">
<div class="jc">拒绝</div>
<div class="jc"
onClick={() => {
state.rejectstudy_hs = true;
}}>拒绝</div>
</div>
<div class="ops2">
<div class="jc">删除</div>
@@ -2451,6 +2492,7 @@ export default defineComponent({
state.tableData = data2;
};
getTableDate2();
const getTableDate3 = () => {
let datas = state.tableData6;
datas.map((value) => {
@@ -2508,6 +2550,61 @@ export default defineComponent({
state.tableData = datas;
};
getTableDate3();
const getTableDate4 = () => {
let data2 = state.tableData7;
data2.map((value) => {
{
//单层项目
value.overstatus = (
<div class="operation">
<div class="nSelect">
{value.status === "待审核" ? (
<div class="nselect">
<div class="ops2">
<div class="jc">-</div>
</div>
</div>
) : (
<div></div>
)}
{value.status === "已通过" ? (
<div class="nselect">
<div class="ops1">
<div class="jc"
onClick={() => {
state.rg_hs = true;
}}
>成功录入</div>
</div>
<div class="ops1">
<div class="jc"
onClick={() => {
state.graduate_hs = true;
}}>结业</div>
</div>
</div>
) : (
<div></div>
)}
{value.status === "已拒绝" ? (
<div class="nselect">
<div class="ops2">
<div class="jc">删除</div>
</div>
</div>
) : (
<div></div>
)}
</div>
</div>
);
}
});
state.tableData = data2;
};
getTableDate4();
const onftvalue = ref();
const options1 = ref([
{
@@ -2619,6 +2716,9 @@ export default defineComponent({
const agreestudy_exit = () => {
state.agreestudy_hs = false;
}
const rejectstudy_exit = () => {
state.rejectstudy_hs = false;
}
return {
onftvalue,
current,
@@ -2659,6 +2759,7 @@ export default defineComponent({
rg_exit,
graduate_exit,
agreestudy_exit,
rejectstudy_exit,
};
},
});
@@ -2825,6 +2926,7 @@ export default defineComponent({
}
}
}
//faceteach
.modalStyle {
.ant-modal{
.modalHeader {
@@ -3007,6 +3109,7 @@ export default defineComponent({
}
}
}
.selectonlineface {
z-index: 999;
width: 679px;
@@ -3019,7 +3122,7 @@ export default defineComponent({
transform: translate(-50%, -50%);
.of_header {
position: absolute;
width: calc(100%);
width: 100%;
height: 40px;
background: linear-gradient(
rgba(78, 166, 255, 0.2) 0%,
@@ -3027,7 +3130,7 @@ export default defineComponent({
);
}
.of_main {
width: calc(100%);
width: 100%;
position: relative;
.ofm_header {
display: flex;
@@ -3141,13 +3244,10 @@ export default defineComponent({
}
}
}
.ant-modal{
.ant-modal-content{
width:679px !important;
.ant-modal-body{
.createschooltime {
//createschooltime
.createschooltime {
z-index: 999;
width: 100%;
width: 679px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
position: absolute;
@@ -3156,7 +3256,7 @@ export default defineComponent({
transform: translate(-50%, -50%);
.cst_header {
position: absolute;
width: calc(100%);
width: 100%;
height: 40px;
background: linear-gradient(
rgba(78, 166, 255, 0.2) 0%,
@@ -3164,7 +3264,7 @@ export default defineComponent({
);
}
.cst_main {
width: calc(100%);
width: 100%;
position: relative;
.cstm_header {
display: flex;
@@ -3257,17 +3357,16 @@ export default defineComponent({
}
}
}
}
}
}
}
//QR
.ant-modal{
.ant-modal-content{
width:479px !important;
// width:479px !important;
.ant-modal-body{
.QR{
z-index: 999;
width: 100%;
width:520px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
position: absolute;
@@ -3353,13 +3452,15 @@ export default defineComponent({
}
}
}
//recordgrade
.ant-modal{
.ant-modal-content{
width:679px !important;
// width:679px !important;
.ant-modal-body{
.recordgrade{
z-index: 999;
width: 100%;
width:679px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
position: absolute;
@@ -3453,13 +3554,14 @@ export default defineComponent({
}
}
}
//graduate
.ant-modal{
.ant-modal-content{
width:679px !important;
// width:679px !important;
.ant-modal-body{
.graduate{
z-index: 999;
width: 100%;
width:679px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
position: absolute;
@@ -3558,13 +3660,14 @@ export default defineComponent({
}
}
}
//agreestudy
.ant-modal{
.ant-modal-content{
width:679px !important;
// width:679px !important;
.ant-modal-body{
.agreestudy{
z-index: 999;
width: 100%;
width:679px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
position: absolute;
@@ -3606,12 +3709,13 @@ export default defineComponent({
background-size: 100% 100%;
}
}
.agree_body{
width: 100%;
.brderbox{
.agreem_body{
.body_box{
display:flex;
align-items:center;
justify-content: center;
align-items:center;
width:100%;
margin:20px auto;
}
}
.qrm_btnbox{
@@ -3649,10 +3753,12 @@ export default defineComponent({
}
}
}
//onlinemanage faceteachmanage ftsturecord givepower schooltime studentsmanage
.modalStyle {
.ant-modal{
.ant-modal-content{
width:1358px !important;
// width:1358px !important;
.ant-modal-body{
.modalHeader {
display: flex;
@@ -4170,6 +4276,8 @@ export default defineComponent({
.ops1,
.ops2 {
margin-right: 10px;
cursor: pointer;
}
}
}
}
@@ -4177,8 +4285,6 @@ export default defineComponent({
}
}
}
}
}
}
}