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

Loading…
Cancel
Save