master
lion 1 year ago
parent 33fe8dce7a
commit 2c2ed58b01

@ -62,7 +62,7 @@
共有<span style="font-size: 24px;color:red;margin:0 5px">{{total}}</span>项任务<span
style="font-size: 24px;color:red;margin:0 5px">{{auditStatus1}}</span>项未完成</div>
<xy-table :showIndex="false" :list="list" :defaultExpandAll="false"
:isPage="isMyPage"
:isPage="false"
:treeProps="treeProps" :total="total" stripe @cell-dblclick='cellClicks'
@pageSizeChange="e => {select.page_size = e,getList()}" @pageIndexChange="e => {select.page = e,getList()}"
:table-item="table">
@ -207,10 +207,10 @@
dialogVisible: false,
stateObj: {},
deptOptions:[],
treeProps:{children: 'pid_details', hasChildren: 'hasChildren' },
treeProps:{children: 'mychildren', hasChildren: 'hasChildren'},
typeName: [{
type: 1,
name: '年度计划任务'
name: '任务追踪'
}, {
type: 4,
name: '专项专题任务'
@ -223,7 +223,7 @@
select: {
keyword: '',
page: 1,
page_size: 10,
page_size: 999,
myself: 0,
myself_department: 0,
type: '',
@ -236,7 +236,7 @@
sort_type: 'DESC',
year: new Date().getFullYear(),
month: '',
pid:0,
pid:'',
main_department_id:''
},
total: 0,
@ -434,7 +434,7 @@
this.isMyPage = false
this.select.page_size = 999
this.select.pid = ''
this.treeProps = {children: 'mychildren', hasChildren: 'hasChildren' }
// this.treeProps = {children: 'mychildren', hasChildren: 'hasChildren' }
// }
this.type_name = '我的任务'
this.path_type = path[1]
@ -653,7 +653,8 @@
_arr = this.buildTree(newArr)
}else{
_arr = res.data
_arr = _arr = this.buildTree(res.data)
}
_arr.map((r,index)=>{
r.pindex = index+1

Loading…
Cancel
Save