mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 01:06:45 +08:00
fix:添加评估任务,创建人名显示问题修改
This commit is contained in:
@@ -267,6 +267,7 @@ export default {
|
||||
};
|
||||
const getTableDate = (tableData) => {
|
||||
let data = tableData;
|
||||
console.log('我是获取的评估数据', data)
|
||||
let array = [];
|
||||
data.map((value) => {
|
||||
let n1 = value.essayQuestionVoList
|
||||
@@ -289,7 +290,7 @@ export default {
|
||||
assessmentId: value.id,
|
||||
num: num,
|
||||
name: value.assessmentName ? value.assessmentName : "-",
|
||||
creator: value.createUserName ? value.createUserName : "-",
|
||||
creator: value.createName ? value.createName : "-",
|
||||
time: dayjs(value.createTime).format("YYYY-MM-DD HH:mm"),
|
||||
};
|
||||
array.push(obj);
|
||||
|
||||
@@ -124,6 +124,48 @@
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
<!-- 邀请审核弹窗 -->
|
||||
<a-modal v-model:visible="courInvitationAuditModal" :footer="null" :closable="closeBack" wrapClassName="courAuditModal"
|
||||
centered="true">
|
||||
<div class="delete">
|
||||
<div class="del_header"></div>
|
||||
<div class="del_main">
|
||||
<div class="header">
|
||||
<div class="icon"></div>
|
||||
<span>邀请审核</span>
|
||||
<div class="close_exit" @click="closeInvitationCourAuditModal"></div>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="item">
|
||||
<div class="left">审核:</div>
|
||||
<div class="rig">
|
||||
<a-radio-group name="radioGroup" v-model:value="valuepass">
|
||||
<a-radio value="1">通过</a-radio>
|
||||
<a-radio value="2" style="margin-left: 40px">不通过</a-radio>
|
||||
</a-radio-group>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item" style="margin-top: 20px">
|
||||
<div class="sign" style="position: relative; left: 30px; top: -2px">
|
||||
<img src="@/assets/images/coursewareManage/asterisk.png" alt="" />
|
||||
</div>
|
||||
<div class="left">审核意见:</div>
|
||||
<div class="rig">
|
||||
<a-textarea v-model:value="valueSugg" :rows="4" show-count :maxlength="20" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="del_btnbox">
|
||||
<div class="del_btn btn1" @click="closeInvitationCourAuditModal">
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2" @click="sureInvitationCourAuditModal">
|
||||
<div class="btnText">确定</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
<!-- 预览弹窗 -->
|
||||
<SeeModal :visible="lookCourseModal" :detail="faceDetailObj" @cancel="ft_exit" />
|
||||
|
||||
@@ -171,6 +213,7 @@ export default {
|
||||
total: null,
|
||||
pageSize: 10,
|
||||
courAuditModal: false, //审核弹窗
|
||||
courInvitationAuditModal: false, //邀请审核弹窗
|
||||
closeBack: false,
|
||||
valuepass: "1",
|
||||
valueSugg: null,
|
||||
@@ -261,6 +304,19 @@ export default {
|
||||
审核
|
||||
</span>
|
||||
|
||||
<span
|
||||
style="cursor:pointer;color:#387DF7"
|
||||
onClick={() => {
|
||||
showInvitationAudit(
|
||||
value.record.createrId,
|
||||
value.record.creater,
|
||||
value.record.offId
|
||||
)
|
||||
}}
|
||||
>
|
||||
邀请审核
|
||||
</span>
|
||||
|
||||
<span
|
||||
onClick={() => {
|
||||
getFaceDetail(value.record.offId);
|
||||
@@ -587,6 +643,14 @@ export default {
|
||||
state.chooseOffId = offId;
|
||||
getFaceList();
|
||||
};
|
||||
|
||||
// 显示邀请审核弹框
|
||||
const showInvitationAudit = (createId, creater, offId) => {
|
||||
console.log("参数",createId, creater, offId)
|
||||
state.courInvitationAuditModal = true;
|
||||
};
|
||||
|
||||
|
||||
const closeCourAuditModal = () => {
|
||||
state.courAuditModal = false;
|
||||
state.valueSugg = null;
|
||||
@@ -646,6 +710,7 @@ export default {
|
||||
reset,
|
||||
changePagination,
|
||||
showAudit,
|
||||
showInvitationAudit,
|
||||
closeCourAuditModal,
|
||||
sureCourAuditModal,
|
||||
ft_exit,
|
||||
|
||||
Reference in New Issue
Block a user