diff --git a/src/components/drawers/FaceManage.vue b/src/components/drawers/FaceManage.vue
index 028d1c6c..317856a2 100644
--- a/src/components/drawers/FaceManage.vue
+++ b/src/components/drawers/FaceManage.vue
@@ -8,7 +8,7 @@
>
@@ -166,6 +165,10 @@ export default {
type: Boolean,
default: false,
},
+ title: {
+ type: String,
+ default: "",
+ },
projectTaskId: {
type: Number,
default: null,
@@ -203,16 +206,7 @@ export default {
label: "已完成",
},
],
- tabledata: [
- // {
- // key: 1,
- // name: "哈哈",
- // bum: "产品部",
- // gangw: "产品经理",
- // score: "-",
- // state: "未完成",
- // },
- ],
+ tabledata: [],
tablecolumns: [
{
title: "姓名",
@@ -254,8 +248,53 @@ export default {
align: "center",
className: "h",
},
+ {
+ title: "操作",
+ dataIndex: "operation",
+ key: "operation",
+ width: 100,
+ align: "center",
+ className: "h",
+ },
],
});
+ //面授直播管理列表操作
+ const ListOpera = () => {
+ let arr = state.tabledata;
+ console.log(arr,'-=-=-=-=-=-=-=-=--=-==----=-=-=-');
+ arr.map((value) => {
+ value.operation = (
+
+
{
+ console.log('---------')
+ }}
+ >
+ 查看作业
+
+
+
{
+ console.log( "--------");
+ }}
+ >
+ 查看答卷
+
+
+ );
+ });
+ state.tabledata = arr;
+ console.log(state.tabledata,'++++++++++++-------------+++++++++-----------+++++++++++++++');
+ };
+ ListOpera();
const selectProjectName = (value, index) => {
console.log("value", value, index);
state.projectName = value;
@@ -383,6 +422,7 @@ export default {
onSelectChange,
showModal,
closeModal,
+ ListOpera, //渲染列表操作
showEntryScore,
showdoneModal,
closedoneModal,
diff --git a/src/components/drawers/WorkManage.vue b/src/components/drawers/WorkManage.vue
index bfb1bea4..a448ac2a 100644
--- a/src/components/drawers/WorkManage.vue
+++ b/src/components/drawers/WorkManage.vue
@@ -8,7 +8,7 @@
>
-
-->
@@ -206,7 +205,7 @@