mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
认证讲师细节
This commit is contained in:
@@ -105,7 +105,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="successNum || errfile "
|
v-if="successNum || errfile "
|
||||||
:class="downloadErrUrl == '' ? 'succebox' : 'defeatbox'"
|
:class="errfile >0 ? 'defeatbox' : 'succebox'"
|
||||||
>
|
>
|
||||||
<div class="lefimg"></div>
|
<div class="lefimg"></div>
|
||||||
<div class="tacl">
|
<div class="tacl">
|
||||||
|
|||||||
@@ -281,6 +281,10 @@ const deleteExamine = async(id)=>{
|
|||||||
await delExamine({
|
await delExamine({
|
||||||
id
|
id
|
||||||
})
|
})
|
||||||
|
if (data.value.length == 1) {
|
||||||
|
current1.value = current1.value - 1
|
||||||
|
|
||||||
|
}
|
||||||
message.success('删除成功')
|
message.success('删除成功')
|
||||||
getlist()
|
getlist()
|
||||||
|
|
||||||
@@ -331,7 +335,7 @@ const getlist = async() =>{
|
|||||||
const res = await getexamineList({
|
const res = await getexamineList({
|
||||||
pageNo: current1.value,
|
pageNo: current1.value,
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
name: "",
|
name: !searchValue.value?'':searchValue.value,
|
||||||
isSuper:Administrator.value
|
isSuper:Administrator.value
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -403,7 +407,7 @@ function handleOper(record, type, status = "") {
|
|||||||
|
|
||||||
:row-selection="rowSelection"
|
:row-selection="rowSelection"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
|
:scroll="{ x: 'max-content' }"
|
||||||
:columns="ViewReviewcolumns"
|
:columns="ViewReviewcolumns"
|
||||||
:data-source="ViewReviewdata"
|
:data-source="ViewReviewdata"
|
||||||
|
|
||||||
@@ -706,5 +710,7 @@ margin-left: 44.5px;
|
|||||||
// margin-left: 24px;
|
// margin-left: 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
:deep(.ant-table-tbody > tr > td:nth-last-child(4)) {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ const startReviewSave = async () => {
|
|||||||
message.info('添加成功');
|
message.info('添加成功');
|
||||||
|
|
||||||
rwname.value = null
|
rwname.value = null
|
||||||
getReviewList()
|
searchReview()
|
||||||
InitiateReviewShow.value = false
|
InitiateReviewShow.value = false
|
||||||
|
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ const startReviewSave = async () => {
|
|||||||
"teacherIds": teacherid.value
|
"teacherIds": teacherid.value
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
getReviewList()
|
searchReview()
|
||||||
message.info('编辑成功');
|
message.info('编辑成功');
|
||||||
InitiateReviewShow.value = false
|
InitiateReviewShow.value = false
|
||||||
|
|
||||||
@@ -347,6 +347,10 @@ const remould = () => {
|
|||||||
for (let i = 0; i < ViewReList.value[arrayLists.value[0]].length; i++) {
|
for (let i = 0; i < ViewReList.value[arrayLists.value[0]].length; i++) {
|
||||||
const obj = {};
|
const obj = {};
|
||||||
for (const key of arrayLists.value) {
|
for (const key of arrayLists.value) {
|
||||||
|
if (ViewReList.value[key][i]===-1) {
|
||||||
|
obj[key] = null
|
||||||
|
continue;
|
||||||
|
}
|
||||||
obj[key] = ViewReList.value[key][i];
|
obj[key] = ViewReList.value[key][i];
|
||||||
}
|
}
|
||||||
ViewReviewdata.value.push(obj);
|
ViewReviewdata.value.push(obj);
|
||||||
@@ -382,6 +386,7 @@ if (reviewdata.value.length == 1) {
|
|||||||
ReviewPageNo.value = ReviewPageNo.value - 1
|
ReviewPageNo.value = ReviewPageNo.value - 1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
message.success('删除成功')
|
||||||
getReviewList()
|
getReviewList()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -426,6 +431,10 @@ const delteacherIds = async (id) => {
|
|||||||
).then(res=>{
|
).then(res=>{
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
message.success("删除成功")
|
message.success("删除成功")
|
||||||
|
if (data.value.length == 1) {
|
||||||
|
current1.value = current1.value - 1
|
||||||
|
|
||||||
|
}
|
||||||
getTeacher()
|
getTeacher()
|
||||||
getTeacher2()
|
getTeacher2()
|
||||||
}
|
}
|
||||||
@@ -436,7 +445,10 @@ const delteacherIdList = async () => {
|
|||||||
{ "teacherIds": selectedRowKeysList.value }
|
{ "teacherIds": selectedRowKeysList.value }
|
||||||
)
|
)
|
||||||
message.info('删除成功');
|
message.info('删除成功');
|
||||||
console.log('sha c sss');
|
if (data.value.length == 1) {
|
||||||
|
current1.value = current1.value - 1
|
||||||
|
}
|
||||||
|
console.log(data.value.length,'sha c sss');
|
||||||
getTeacher()
|
getTeacher()
|
||||||
getTeacher2()
|
getTeacher2()
|
||||||
}
|
}
|
||||||
@@ -501,7 +513,7 @@ const translateTeacher = (flag) => {
|
|||||||
handleRest()
|
handleRest()
|
||||||
}
|
}
|
||||||
const translate = (flag) => {
|
const translate = (flag) => {
|
||||||
handleRest()
|
SearchTeachers()
|
||||||
}
|
}
|
||||||
//2次认证
|
//2次认证
|
||||||
const total2 = ref(null)
|
const total2 = ref(null)
|
||||||
@@ -1146,11 +1158,11 @@ const vwtext = ref(null)
|
|||||||
<a style="margin-right: 7px;"
|
<a style="margin-right: 7px;"
|
||||||
@click='getreviewdetail({ reviewId: record.id, examineId: route.query.id},record.examineResult), vwtext = record.id'>查看</a>
|
@click='getreviewdetail({ reviewId: record.id, examineId: route.query.id},record.examineResult), vwtext = record.id'>查看</a>
|
||||||
|
|
||||||
<a @click="editReviewSave(record.reviewName, record.reviewTime, record.id)"
|
<a v-if="record.examineResult === 0&&uploadAdmin('examine-admin')" @click="editReviewSave(record.reviewName, record.reviewTime, record.id)"
|
||||||
style="margin-right: 7px;">
|
style="margin-right: 7px;">
|
||||||
编辑
|
编辑
|
||||||
</a>
|
</a>
|
||||||
<a @click="handleOperReview(record.id)" style="color: #de2139">删除</a>
|
<a v-if="record.examineResult === 0&&uploadAdmin('examine-admin')" @click="handleOperReview(record.id)" style="color: #de2139">删除</a>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1176,7 +1188,7 @@ const vwtext = ref(null)
|
|||||||
<div style="font-size: 16px;margin: 20px 0;"> 评审时间:<span>2024.05.30 14:00</span></div>
|
<div style="font-size: 16px;margin: 20px 0;"> 评审时间:<span>2024.05.30 14:00</span></div>
|
||||||
<div style="font-size: 16px;margin-bottom: 20px;">评审结果:</div>
|
<div style="font-size: 16px;margin-bottom: 20px;">评审结果:</div>
|
||||||
<div>
|
<div>
|
||||||
<a-table :pagination="false" :columns="ViewReviewcolumns" :data-source="ViewReviewdata"
|
<a-table :pagination="false" :columns="ViewReviewcolumns" :scroll="{ x: 'max-content' }" :data-source="ViewReviewdata"
|
||||||
class="ant-table-striped" size="middle">
|
class="ant-table-striped" size="middle">
|
||||||
<template #bodyCell="{ column, record, index, text }">
|
<template #bodyCell="{ column, record, index, text }">
|
||||||
<template v-if="column.key === 'name'">
|
<template v-if="column.key === 'name'">
|
||||||
@@ -1189,7 +1201,7 @@ const vwtext = ref(null)
|
|||||||
{{ text === 0 ? '通过' : (text === 1 ? '未通过' : (text === 2 ? '进行中' : '已报名')) }}
|
{{ text === 0 ? '通过' : (text === 1 ? '未通过' : (text === 2 ? '进行中' : '已报名')) }}
|
||||||
</span> -->
|
</span> -->
|
||||||
<span>
|
<span>
|
||||||
{{ text === 0 ? '通过' : (text === 1 ? '未通过' : (null)) }}
|
{{ record.平均分 >= 80 ? '通过' : (record.平均分 < 80 ? '未通过' : (null)) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="column.key === '平均分'">
|
<template v-else-if="column.key === '平均分'">
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
<div class="qr_header"></div>
|
<div class="qr_header"></div>
|
||||||
<div class="qr_main">
|
<div class="qr_main">
|
||||||
<div class="qrm_header">
|
<div class="qrm_header">
|
||||||
|
|
||||||
<span>{{ title }}</span>
|
<span>{{ title }}</span>
|
||||||
<div class="close_exit" @click="close"></div>
|
<div class="close_exit" @click="close"></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -28,7 +29,8 @@
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
">
|
">
|
||||||
|
|
||||||
<div class="codename">{{ name }}</div>
|
<div class="codename" :title="name">{{ name }}</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<QrcodeVue :value="url" :size="size" style="width: 200px; height: 200px"></QrcodeVue>
|
<QrcodeVue :value="url" :size="size" style="width: 200px; height: 200px"></QrcodeVue>
|
||||||
@@ -197,9 +199,9 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
}
|
}
|
||||||
.codename:hover{
|
// .codename:hover{
|
||||||
overflow: visible;
|
// overflow: visible;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
.codeUrl {
|
.codeUrl {
|
||||||
@@ -289,4 +291,5 @@
|
|||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -118,10 +118,10 @@
|
|||||||
<!-- <span style="margin-top: 20px">数据删除后不可恢复!</span> -->
|
<!-- <span style="margin-top: 20px">数据删除后不可恢复!</span> -->
|
||||||
</div>
|
</div>
|
||||||
<div style="width:100%;display:flex;justify-content:center;align-items:center">
|
<div style="width:100%;display:flex;justify-content:center;align-items:center">
|
||||||
<div style="width:100px" @click="closeSameModal">
|
<div style=" cursor: pointer;border: none;height: 38px; width: 100px;background: #4ea6ff; line-height: 38px;text-align: center;border-radius: 8px;color: #ffffff;" @click="closeSameModal">
|
||||||
<div >取消</div>
|
<div >取消</div>
|
||||||
</div>
|
</div>
|
||||||
<div @click="sureSameModal">
|
<div style="margin-left: 10px; cursor: pointer;border: none;height: 38px; width: 100px;background: #4ea6ff; line-height: 38px;text-align: center;border-radius: 8px;color: #ffffff;" @click="sureSameModal">
|
||||||
<div>确定</div>
|
<div>确定</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user