审核日志只有一条

This commit is contained in:
zhangyc
2022-12-13 09:11:52 +08:00
parent 89e889506b
commit a8c7308cc2
10 changed files with 72 additions and 26 deletions

View File

@@ -7,7 +7,7 @@ export const list = (obj) => http.post('/admin/offcourse/listToBeReviewed', obj)
//获取待审核项目列表 //获取待审核项目列表
export const projlist = (obj) => http.post('/admin/project/list', obj) export const projlist = (obj) => http.post('/admin/project/list', obj)
//获取待审核项目列表 //获取项目审核日志
export const auditlist = (obj) => http.post('/admin/project/auditlist', obj) export const auditlist = (obj) => http.post('/admin/project/auditlist', obj)
//获取已审核项目列表 //获取已审核项目列表

View File

@@ -253,8 +253,8 @@ export default {
state.description = res.data.data.evaluationExplain; state.description = res.data.data.evaluationExplain;
}) })
.catch((err) => { .catch((err) => {
message.destroy() //message.destroy()
message.error("获取测量平信息失败"); // message.error("获取测量平信息失败");
console.log(err, "erererrerererererer"); console.log(err, "erererrerererererer");
}); });
} }

View File

@@ -101,7 +101,7 @@
<span style="margin-right: 3px">面授时间</span> <span style="margin-right: 3px">面授时间</span>
</div> </div>
<div class="select" > <div class="select" >
<a-range-picker <a-range-picker style="width: 400px;"
show-time show-time
format="YYYY/MM/DD HH:mm" format="YYYY/MM/DD HH:mm"
v-model:value="chooseTime" v-model:value="chooseTime"

View File

@@ -504,6 +504,8 @@ export default {
state.switchC2 = false; state.switchC2 = false;
state.assessmentId = null; state.assessmentId = null;
state.liveNotice =null; state.liveNotice =null;
state.liveTeacherId=null;
state.memberValue={};
ctx.emit("changeData", false); ctx.emit("changeData", false);
localStorage.setItem("stageId", props.chooseStageId); localStorage.setItem("stageId", props.chooseStageId);
localStorage.setItem("chapterId", props.isactive); localStorage.setItem("chapterId", props.isactive);

View File

@@ -58,6 +58,7 @@
</div> </div>
</div> </div>
</div> </div>
<!--
<div class="main_notice"> <div class="main_notice">
<div class="mntc_left"> <div class="mntc_left">
<div class="notice_icon"></div> <div class="notice_icon"></div>
@@ -101,7 +102,8 @@
</div> </div>
</div> </div>
</div> </div>-->
<div class="main_table"> <div class="main_table">
<a-table <a-table

View File

@@ -32,7 +32,7 @@
<div class="btnbox"> <div class="btnbox">
<a-input <a-input
v-model:value="inputV1" v-model:value="inputV1"
style="width: 424px; height: 32px" style="width: 424px; height: 40px; border-radius: 8px;"
placeholder="请输入投票任务名称" placeholder="请输入投票任务名称"
maxlength="20" maxlength="20"
/> />
@@ -102,7 +102,7 @@
</div> </div>
<span style="margin-right: 3px">起止时间</span> <span style="margin-right: 3px">起止时间</span>
</div> </div>
<div class="btnbox"> <div class="select" >
<a-range-picker <a-range-picker
show-time show-time
format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD HH:mm:ss"
@@ -665,7 +665,29 @@ export default {
} }
} }
} }
.in {
element.style {
border-radius: 8px;
}
.ant-input-affix-wrapper {
position: relative;
display: inline-block;
width: 132%;
/* min-width: 19px; */
padding: 4px 11px;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
line-height: 1.5715;
background-color: #fff;
background-image: none;
border: 1px solid #d9d9d9;
border-radius: 2px;
transition: all 0.3s;
display: inline-flex;
}
}
.main_item2 { .main_item2 {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
@@ -674,7 +696,7 @@ export default {
width: 423px; width: 423px;
.ant-input { .ant-input {
width: 100%; width:355px;
} }
.ant-input-textarea-show-count { .ant-input-textarea-show-count {

View File

@@ -106,12 +106,12 @@
</div> </div>
<div class="body"> <div class="body">
<a-table <a-table
style="width: 90%" style="width:100%"
:columns="columnsAudit" :columns="columnsAudit"
:data-source="tableDataAudit" :data-source="tableDataAudit"
:loading="tableDataTotalAudit === -1 ? true : false" :loading="tableDataTotalAudit === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ y: 150 }" :scroll="{ y: 250 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
/> />
@@ -162,7 +162,7 @@ export default {
dataIndex: "status", dataIndex: "status",
key: "status", key: "status",
align: "center", align: "center",
width:"10%", width:"20%",
customRender: ({ record: { status } }) => ( customRender: ({ record: { status } }) => (
<div>{{ 2: "审核通过", "-2": "审核拒绝" }[status + ""]}</div> <div>{{ 2: "审核通过", "-2": "审核拒绝" }[status + ""]}</div>
), ),
@@ -263,7 +263,7 @@ export default {
style="color:#387DF7;cursor:pointer;" style="color:#387DF7;cursor:pointer;"
onClick={() => { onClick={() => {
console.log(value); console.log(value);
showProjAuditModal(value.record.auditLogDtoList.length!==0?value.record.auditLogDtoList.slice(0,1):[]); showProjAuditModal(value.record.auditLogDtoList.length!==0?value.record.auditLogDtoList:[]);
}} }}
> >
审核日志 审核日志
@@ -711,7 +711,7 @@ export default {
.delete { .delete {
z-index: 999; z-index: 999;
width: 816px; width: 816px;
min-height: 420px; min-height: 485px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
border-radius: 4px; border-radius: 4px;

View File

@@ -14,13 +14,33 @@
<div class="tmplh_inp"> <div class="tmplh_inp">
<div class="inpbox"> <div class="inpbox">
<div class="inpbox1"> <div class="inpbox1">
<!--
<a-select <a-select
v-model:value="valueproj" v-model:value="categoryId"
:options="[ :options="[
{ label: '请选择内容分类', value: '' }, { label: '请选择内容分类', value: '' },
...calssifyList, ...calssifyList,
]" ]"
/> />-->
<a-tree-select
:getPopupContainer="
(triggerNode) => {
return triggerNode.parentNode || document.body;
}
"
v-model:value="categoryId"
show-search
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
placeholder="请选择内容分类"
allow-clear
tree-default-expand-all
:tree-data="options2222"
>
<template #title="{ value: val, title }">
<b v-if="val === '11111'" style="color: #08c">sss</b>
<template v-else>{{ title }}</template>
</template>
</a-tree-select>
</div> </div>
<div class="inpbox1"> <div class="inpbox1">
<a-input <a-input
@@ -193,7 +213,7 @@ export default {
}, },
], ],
calssifyList: [], //分类字典 calssifyList: [], //分类字典
valueproj: "", categoryId: "",
valuecreater: "", valuecreater: "",
valuename: "", valuename: "",
// currentFacePage: 1, // currentFacePage: 1,
@@ -468,7 +488,7 @@ export default {
state.loading=true state.loading=true
let objn = { let objn = {
auditStatus: 1, auditStatus: 1,
categoryId: state.valueproj, categoryId: state.categoryId,
createName: state.valuecreater, createName: state.valuecreater,
name: state.valuename, name: state.valuename,
pageNo: state.currentPage, pageNo: state.currentPage,
@@ -537,7 +557,7 @@ export default {
const searchList = () => { const searchList = () => {
let objn = { let objn = {
auditStatus: 1, auditStatus: 1,
categoryId: state.valueproj, categoryId: state.categoryId,
createName: state.valuecreater, createName: state.valuecreater,
name: state.valuename, name: state.valuename,
pageNo: state.currentPage, pageNo: state.currentPage,
@@ -602,7 +622,7 @@ export default {
state.tableData1 = array; state.tableData1 = array;
}; };
const reset = () => { const reset = () => {
state.valueproj = ""; state.categoryId = "";
state.valuecreater = null; state.valuecreater = null;
state.valuename = null; state.valuename = null;
getFaceList(); getFaceList();

View File

@@ -122,12 +122,12 @@
</div> </div>
<div class="body"> <div class="body">
<a-table <a-table
style="width: 90%" style="width: 100%"
:columns="columnsAudit" :columns="columnsAudit"
:data-source="tableDataAudit" :data-source="tableDataAudit"
:loading="tableDataTotalAudit === -1 ? true : false" :loading="tableDataTotalAudit === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ y: 150 }" :scroll="{ y: 250 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
/> />
@@ -277,7 +277,7 @@ export default {
<div> <div>
<span <span
onClick={() => { onClick={() => {
showProjAuditModal(value.record.auditList.length!==0?value.record.auditList.slice(value.record.auditList.length-1):[]); showProjAuditModal(value.record.auditList.length!==0?value.record.auditList:[]);
}} }}
style="cursor:pointer;color:#387DF7" style="cursor:pointer;color:#387DF7"
> >
@@ -429,7 +429,7 @@ export default {
.delete { .delete {
z-index: 999; z-index: 999;
width: 816px; width: 816px;
min-height: 420px; min-height: 510px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
border-radius: 4px; border-radius: 4px;
@@ -479,7 +479,7 @@ export default {
.body { .body {
width: 100%; width: 100%;
margin: 34px auto 56px auto; margin: 34px auto 41px auto;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

View File

@@ -185,7 +185,7 @@ export default {
width:"10%", width:"10%",
}, },
{ {
title: "创建时间", title: "提交时间",
dataIndex: "processTime", dataIndex: "processTime",
key: "processTime", key: "processTime",
align: "center", align: "center",