文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 7d848b7c by Wang Yuhang

修改获取分片接口文档

parent 8fa8e105
......@@ -8,7 +8,7 @@
:row-class-name="tableRowClassName"
@selection-change="selectionChange"
>
<el-table-column v-if="showSelection" type="selection" width="55"></el-table-column>
<el-table-column v-if="showSelection" type="selection" :selectable="selectable" width="55"></el-table-column>
<el-table-column prop="id" label="分片id" width="120"></el-table-column>
<el-table-column prop="type" label="文件类别" width="120"></el-table-column>
<el-table-column prop="fileNum" label="文件数量" width="120"></el-table-column>
......@@ -68,6 +68,10 @@ export default {
computed: {
userId () { return this.$store.state.userInfo.userId }
},
/*
没有userId返回所有,有userId返回user所选的,我的任务和已完成任务需要有userId
isCheck表明是审核页发出的请求,多返回totalNum属性
*/
async beforeMount () {
// 拉取分片信息
var params = { taskId: this.taskId }, self = this
......@@ -82,6 +86,9 @@ export default {
selectionChange (val) {
this.multipleSelection = val
},
selectable (row, index) {
return true
},
complete () {
// todo 未登录选择分片
if (this.loading) return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment