mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
--fix bug
This commit is contained in:
@@ -429,16 +429,15 @@ export default {
|
||||
const ListOpera = () => {
|
||||
let arr = state.tabledata;
|
||||
arr.map((value) => {
|
||||
if (value.finishStatus == 1) {
|
||||
value.operation = (
|
||||
<div
|
||||
(value.examStatus || value.workStatus) && (<div
|
||||
style={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
}}
|
||||
>
|
||||
<a-button
|
||||
{value.workStatus===1 && <a-button
|
||||
type="link"
|
||||
class="operation"
|
||||
style="cursor:pointer;margin-right:10px;color: rgba(56, 125, 247, 1)"
|
||||
@@ -447,8 +446,8 @@ export default {
|
||||
}}
|
||||
>
|
||||
查看作业
|
||||
</a-button>
|
||||
<a-button
|
||||
</a-button>}
|
||||
{value.workStatus===1 && <a-button
|
||||
type="link"
|
||||
class="operation"
|
||||
style="cursor:pointer;margin-right:10px;color: rgba(56, 125, 247, 1)"
|
||||
@@ -457,38 +456,10 @@ export default {
|
||||
}}
|
||||
>
|
||||
查看答卷
|
||||
</a-button>
|
||||
</div>
|
||||
</a-button>}
|
||||
</div>)
|
||||
);
|
||||
} else {
|
||||
value.operation = (
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
}}
|
||||
>
|
||||
<a-button
|
||||
type="link"
|
||||
class="operation"
|
||||
style="margin-right:10px;color:rgba(56, 125, 247, 0.5)"
|
||||
disabled
|
||||
>
|
||||
查看作业
|
||||
</a-button>
|
||||
<a-button
|
||||
type="link"
|
||||
class="operation"
|
||||
style="margin-right:10px;color:rgba(56, 125, 247, 0.5)"
|
||||
disabled
|
||||
>
|
||||
查看答卷
|
||||
</a-button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
const closeDrawer = () => {
|
||||
ctx.emit("update:FaceTeachModelVisible", false);
|
||||
|
||||
Reference in New Issue
Block a user