mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
feat:项目任务大纲管理获取列表
This commit is contained in:
@@ -149,6 +149,7 @@
|
||||
<script>
|
||||
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
|
||||
import EntryScores from "./EntryScores.vue";
|
||||
import * as api from "../../api/index";
|
||||
export default {
|
||||
name: "FaceManage",
|
||||
components: { EntryScores },
|
||||
@@ -157,6 +158,10 @@ export default {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
ProjectTaskId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
|
||||
setup(props, ctx) {
|
||||
@@ -359,8 +364,33 @@ export default {
|
||||
const showopen = () => {
|
||||
state.open = true;
|
||||
};
|
||||
|
||||
//获取任务管理列表
|
||||
const getManageList = () => {
|
||||
let obj = {
|
||||
name: "",
|
||||
pageNo: 0,
|
||||
pageSize: 0,
|
||||
projectTaskId: props.ProjectTaskId,
|
||||
status: 0,
|
||||
};
|
||||
console.log('9999999999999',obj.projectTaskId);
|
||||
api
|
||||
.taskStudentList(obj)
|
||||
.then((res) => {
|
||||
console.log('获取任务管理列表成功', res);
|
||||
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("获取任务列表失败",err)
|
||||
})
|
||||
};
|
||||
|
||||
let timer;
|
||||
onMounted(() => {
|
||||
setTimeout(() => {
|
||||
getManageList()
|
||||
},1000)
|
||||
timer = setInterval(() => {
|
||||
state.open = false;
|
||||
}, 3000);
|
||||
@@ -380,6 +410,7 @@ export default {
|
||||
showdoneModal,
|
||||
closedoneModal,
|
||||
showopen,
|
||||
getManageList,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user