mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
项目学员管理增加修改备注
This commit is contained in:
@@ -540,7 +540,7 @@ const tablecolumns = ref([
|
|||||||
title: "操作",
|
title: "操作",
|
||||||
dataIndex: "operation",
|
dataIndex: "operation",
|
||||||
key: "operation",
|
key: "operation",
|
||||||
width: 210,
|
width: 260,
|
||||||
align: "center",
|
align: "center",
|
||||||
slots: { customRender: "action" },
|
slots: { customRender: "action" },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -845,6 +845,11 @@
|
|||||||
@click="showChangeGroupModal(record)"
|
@click="showChangeGroupModal(record)"
|
||||||
>换组
|
>换组
|
||||||
</a-button>
|
</a-button>
|
||||||
|
<a-button
|
||||||
|
type="link"
|
||||||
|
@click="modifyRemarks(record)"
|
||||||
|
>修改备注
|
||||||
|
</a-button>
|
||||||
</template>
|
</template>
|
||||||
</TableStudent>
|
</TableStudent>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
@@ -2347,6 +2352,43 @@
|
|||||||
<!-- 换组弹窗 -->
|
<!-- 换组弹窗 -->
|
||||||
<!-- 面授课开课弹框 -->
|
<!-- 面授课开课弹框 -->
|
||||||
<AddOpenCourse @call-parent-method="getTaskListAll" ref="coursePlanRef" :type="1"/>
|
<AddOpenCourse @call-parent-method="getTaskListAll" ref="coursePlanRef" :type="1"/>
|
||||||
|
<!-- 修改备注弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="showRemarks"
|
||||||
|
:footer="null"
|
||||||
|
closable="false"
|
||||||
|
style="margin-top: 400px"
|
||||||
|
@cancel="of_remarks"
|
||||||
|
>
|
||||||
|
<div class="selectonlineface" :style="{ display: showRemarks ? 'block' : 'none' }">
|
||||||
|
<div class="bg_headers"></div>
|
||||||
|
<div class="bg_main">
|
||||||
|
<div class="bg_main_header">
|
||||||
|
<div>修改备注</div>
|
||||||
|
<div class="bg_main_header_close" @click="of_remarks"></div>
|
||||||
|
</div>
|
||||||
|
<div class="bg_body">
|
||||||
|
<div class="bg_body_bt" style="align-items: flex-start;">
|
||||||
|
<!-- <div class="bg_body_bttext" style="margin-top: 5px;">修改备注</div> -->
|
||||||
|
<div class="bg_body_input">
|
||||||
|
<a-input v-model:value="remarks" placeholder="请输入" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bg_footer">
|
||||||
|
<div class="btn btn6" @click="of_remarks">
|
||||||
|
<div class="btnText">取消</div>
|
||||||
|
</div>
|
||||||
|
<a-button
|
||||||
|
class="btn btn6"
|
||||||
|
@click="RemarksUpdata"
|
||||||
|
>
|
||||||
|
确定
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
@@ -2620,6 +2662,15 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "备注",
|
||||||
|
dataIndex: "lastLearnTime",
|
||||||
|
key: "lastLearnTime",
|
||||||
|
width: 120,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
ellipsis: true,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
loading: false,
|
loading: false,
|
||||||
projectId: route.query.projectId,
|
projectId: route.query.projectId,
|
||||||
@@ -3038,6 +3089,8 @@ export default {
|
|||||||
facestudent: {},
|
facestudent: {},
|
||||||
modal1Visible: false, // 证书预览
|
modal1Visible: false, // 证书预览
|
||||||
changegroupV: false, //换组弹窗
|
changegroupV: false, //换组弹窗
|
||||||
|
remarks: '',
|
||||||
|
showRemarks: false, //修改备注
|
||||||
checkgroupStuId: null, //换组id
|
checkgroupStuId: null, //换组id
|
||||||
ImpoterGroupLeaderV: false, //导入小组长抽屉
|
ImpoterGroupLeaderV: false, //导入小组长抽屉
|
||||||
certificatelist: [],
|
certificatelist: [],
|
||||||
@@ -3394,6 +3447,16 @@ export default {
|
|||||||
state.checkgroupStuId = [];
|
state.checkgroupStuId = [];
|
||||||
state.checkgroupStuId.push(record.id);
|
state.checkgroupStuId.push(record.id);
|
||||||
};
|
};
|
||||||
|
//修改备注
|
||||||
|
const modifyRemarks = (record) => {
|
||||||
|
state.showRemarks = true;
|
||||||
|
}
|
||||||
|
const of_remarks = () => {
|
||||||
|
state.showRemarks = false;
|
||||||
|
}
|
||||||
|
const RemarksUpdata = () => {
|
||||||
|
of_remarks()
|
||||||
|
}
|
||||||
const showModal2 = (item, isEdit) => {
|
const showModal2 = (item, isEdit) => {
|
||||||
state.isEdit = isEdit;
|
state.isEdit = isEdit;
|
||||||
state.stugroup = true;
|
state.stugroup = true;
|
||||||
@@ -5183,6 +5246,9 @@ export default {
|
|||||||
cancelyou,
|
cancelyou,
|
||||||
cancelcanyou,
|
cancelcanyou,
|
||||||
showChangeGroupModal,
|
showChangeGroupModal,
|
||||||
|
modifyRemarks,
|
||||||
|
of_remarks,
|
||||||
|
RemarksUpdata,
|
||||||
changePaginationStu,
|
changePaginationStu,
|
||||||
handleChange,
|
handleChange,
|
||||||
toEdit,
|
toEdit,
|
||||||
@@ -6083,7 +6149,113 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.selectonlineface{
|
||||||
|
z-index: 999;
|
||||||
|
width: 679px;
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: -100%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
.bg_headers {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
background: linear-gradient(
|
||||||
|
rgba(78, 166, 255, 0.2) 0%,
|
||||||
|
rgba(78, 166, 255, 0) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
.bg_main {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
.bg_main_header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-left: 26px;
|
||||||
|
font-size: 16px;
|
||||||
|
.bg_main_header_close {
|
||||||
|
position: absolute;
|
||||||
|
right: 42px;
|
||||||
|
cursor: pointer;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/close.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bg_body {
|
||||||
|
width: 80%;
|
||||||
|
margin: 3px auto;
|
||||||
|
|
||||||
|
.bg_body_bt {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: end;
|
||||||
|
margin: 14px auto;
|
||||||
|
|
||||||
|
.bg_body_bttext {
|
||||||
|
width: 110px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: end;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bg_body_input {
|
||||||
|
flex: 1;
|
||||||
|
position: relative;
|
||||||
|
.ant-upload-picture-card-wrapper{
|
||||||
|
width: 200px;
|
||||||
|
margin-right: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bg_footer {
|
||||||
|
width: 100%;
|
||||||
|
margin-left: 174px;
|
||||||
|
margin-top: 25px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: rgba(64, 158, 255, 0);
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 14px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn6 {
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.headers{
|
||||||
|
margin-left: 38px;
|
||||||
|
margin-right: 38px;
|
||||||
|
margin-top: 30px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
.btn{
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.taskpage {
|
.taskpage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user