|
|
|
|
@ -60,16 +60,17 @@
|
|
|
|
|
<div class="tablecontent" :style="{'width':showSelectMonth?'89%':'100%'}">
|
|
|
|
|
<div class="topwrap">
|
|
|
|
|
<div>
|
|
|
|
|
共有<span style="font-size: 24px;color:red;margin:0 5px">{{total}}</span>项任务,共<span
|
|
|
|
|
style="font-size: 24px;color:red;margin:0 5px">{{auditStatus1}}</span>项未完成
|
|
|
|
|
共有<span style="font-size: 24px;color:red;margin:0 5px">{{total}}</span>项任务,共
|
|
|
|
|
<span v-if="path_type==5" style="font-size: 24px;color:red;margin:0 5px">{{list.length}}</span>
|
|
|
|
|
<span v-else style="font-size: 24px;color:red;margin:0 5px">{{auditStatus1}}</span>项未完成
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="path_type==5" class="myListFinish">
|
|
|
|
|
<!-- <div v-if="path_type==5" class="myListFinish">
|
|
|
|
|
<div @click='myListFinishStatus = true' :class="{'tabcur':myListFinishStatus}">待办事项</div>
|
|
|
|
|
<div @click='myListFinishStatus = false' :class="{'tabcur':!myListFinishStatus}">完成事项</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<xy-table :showIndex="false" :list="myListFinishStatus?list:myListFinish" :defaultExpandAll="false"
|
|
|
|
|
<!-- :list="myListFinishStatus?list:myListFinish" -->
|
|
|
|
|
<xy-table :showIndex="false" :list="list" :defaultExpandAll="false"
|
|
|
|
|
:isPage="false"
|
|
|
|
|
:treeProps="treeProps" :total="total" stripe @cell-dblclick='cellClicks'
|
|
|
|
|
@pageSizeChange="e => {select.page_size = e,getList()}" @pageIndexChange="e => {select.page = e,getList()}"
|
|
|
|
|
@ -158,24 +159,24 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- doadmins 转办的人员 任务分解,任务执行 -->
|
|
|
|
|
<div v-else-if="scope.row.do_admin_ids && scope.row.do_admin_ids.length>0">
|
|
|
|
|
<el-tooltip placement="left" effect="light" v-if="scope.row.do_admin_ids.includes(stateObj.login_id) && !(scope.row.audit_status==3||scope.row.audit_status==5)">
|
|
|
|
|
<div slot="content">
|
|
|
|
|
<div style="margin-bottom:5px;">
|
|
|
|
|
<Button type="primary" size="small"
|
|
|
|
|
@click="editorUnit(scope.row.id,'pid')">任务分解</Button>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-for="item in unitTypeList">
|
|
|
|
|
<Button v-if="scope.row.unit_type==item.id&&scope.row.audit_status==1" type="primary" size="small"
|
|
|
|
|
@click="openMyMission(item.value,scope.row)">任务执行</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<Button style="margin-right:5px;margin-bottom:5px;" type="primary" size="small">
|
|
|
|
|
执行任务
|
|
|
|
|
</Button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- doadmins 转办的人员 任务分解,任务执行 -->
|
|
|
|
|
<div v-else-if="scope.row.do_admin_ids && scope.row.do_admin_ids.length>0">
|
|
|
|
|
<el-tooltip placement="left" effect="light" v-if="scope.row.do_admin_ids.includes(stateObj.login_id) && !(scope.row.audit_status==3||scope.row.audit_status==5)">
|
|
|
|
|
<div slot="content">
|
|
|
|
|
<div style="margin-bottom:5px;">
|
|
|
|
|
<Button type="primary" size="small"
|
|
|
|
|
@click="editorUnit(scope.row.id,'pid')">任务分解</Button>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-for="item in unitTypeList">
|
|
|
|
|
<Button v-if="scope.row.unit_type==item.id&&scope.row.audit_status==1" type="primary" size="small"
|
|
|
|
|
@click="openMyMission(item.value,scope.row)">任务执行</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<Button style="margin-right:5px;margin-bottom:5px;" type="primary" size="small">
|
|
|
|
|
执行任务
|
|
|
|
|
</Button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 直接 执行任务 -->
|
|
|
|
|
<div v-else>
|
|
|
|
|
<div v-for="item in unitTypeList">
|
|
|
|
|
|