|
|
|
|
@ -82,7 +82,8 @@
|
|
|
|
|
</span>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 我的任务中的 转办 -->
|
|
|
|
|
<el-descriptions-item span='4' v-if="url_type==5&&showform.mission_distribute&&showform.mission_distribute.length>0">
|
|
|
|
|
<el-descriptions-item span='4'
|
|
|
|
|
v-if="url_type==5&&showform.mission_distribute&&showform.mission_distribute.length>0">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
任务承办人
|
|
|
|
|
</template>
|
|
|
|
|
@ -94,7 +95,8 @@
|
|
|
|
|
</span>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<!-- 任务追踪中的 转办 -->
|
|
|
|
|
<el-descriptions-item span='4' v-if="url_type!=5&&showform.mission_distribute&&showform.mission_distribute.length>0">
|
|
|
|
|
<el-descriptions-item span='4'
|
|
|
|
|
v-if="url_type!=5&&showform.mission_distribute&&showform.mission_distribute.length>0">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
任务承办人
|
|
|
|
|
</template>
|
|
|
|
|
@ -162,6 +164,7 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<!-- 有组别的 -->
|
|
|
|
|
<div v-if="scope.row.mission_group_id">
|
|
|
|
|
<div v-if="scope.row.from_user">转办来源:{{scope.row.from_user?scope.row.from_user.name:''}}</div>
|
|
|
|
|
{{scope.row.mission_group?(scope.row.mission_group.name?scope.row.mission_group.name:''):''}}
|
|
|
|
|
{{scope.row.mission_group?(scope.row.mission_group.type==1?'组长'+':':':'):''}}
|
|
|
|
|
{{scope.row.accept_admin?scope.row.accept_admin.name:''}}
|
|
|
|
|
@ -192,7 +195,8 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div v-if="scope.row.carry_status===0">待执行</div>
|
|
|
|
|
<div v-else-if="scope.row.carry_status===1">执行中</div>
|
|
|
|
|
<div v-else-if="scope.row.carry_status===2">已完成</div>
|
|
|
|
|
<div v-else-if="scope.row.carry_status===2 && scope.row.carry_type!=2">已完成</div>
|
|
|
|
|
<div v-else-if="scope.row.carry_status===2 && scope.row.carry_type===2">已转办</div>
|
|
|
|
|
<div v-else></div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
@ -213,13 +217,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div v-for="item in scope.row.files">
|
|
|
|
|
<div style="color:#2D8cF0;cursor: pointer;">
|
|
|
|
|
{{item.original_name}}
|
|
|
|
|
<el-link target="_blank" style="margin:0 10px;" @click="toshowFile(item.url)" type="primary">
|
|
|
|
|
预览
|
|
|
|
|
</el-link>
|
|
|
|
|
<el-link target="_blank" @click="base.downLoadFileUrl(item.id)" type="primary">
|
|
|
|
|
下载
|
|
|
|
|
</el-link>
|
|
|
|
|
{{item.original_name}}
|
|
|
|
|
<el-link target="_blank" style="margin:0 10px;" @click="toshowFile(item.url)" type="primary">
|
|
|
|
|
预览
|
|
|
|
|
</el-link>
|
|
|
|
|
<el-link target="_blank" @click="base.downLoadFileUrl(item.id)" type="primary">
|
|
|
|
|
下载
|
|
|
|
|
</el-link>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -246,6 +250,8 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<!-- 有组别的 -->
|
|
|
|
|
<div v-if="scope.row.mission_group_id">
|
|
|
|
|
<div v-if="scope.row.from_user">转办来源:{{scope.row.from_user?scope.row.from_user.name:''}}</div>
|
|
|
|
|
|
|
|
|
|
{{scope.row.mission_group?(scope.row.mission_group.name?scope.row.mission_group.name:''):''}}
|
|
|
|
|
{{scope.row.mission_group?(scope.row.mission_group.type==1?'组长'+':':':'):''}}
|
|
|
|
|
{{scope.row.accept_admin?scope.row.accept_admin.name:''}}
|
|
|
|
|
@ -297,7 +303,7 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div v-for="item in scope.row.files">
|
|
|
|
|
<div style="color:#2D8cF0;cursor: pointer;">
|
|
|
|
|
{{item.original_name}}
|
|
|
|
|
{{item.original_name}}
|
|
|
|
|
<el-link target="_blank" style="margin:0 10px;" @click="toshowFile(item.url)" type="primary">
|
|
|
|
|
预览
|
|
|
|
|
</el-link>
|
|
|
|
|
@ -323,7 +329,7 @@
|
|
|
|
|
<Button style="margin-bottom: 5px;"
|
|
|
|
|
v-if="scope.row.carry_type===1 && !(scope.row.carry_status==2)"
|
|
|
|
|
@click="carryTypeWhat('carry_type1')" type="primary" size="small">任务分解</Button>
|
|
|
|
|
<!-- <Button style="margin-bottom: 5px;" v-if="scope.row.carry_type===2" @click="editorUnit('send')" type="primary" size="small"
|
|
|
|
|
<!-- <Button style="margin-bottom: 5px;" v-if="scope.row.carry_type===2" @click="editorUnit('send')" type="primary" size="small"
|
|
|
|
|
>任务转办</Button> -->
|
|
|
|
|
<Button style="margin-bottom: 5px;" v-if="scope.row.keep_status===-1"
|
|
|
|
|
@click="startLoad(scope.row,'editor')" type="primary" size="small">提交进展</Button>
|
|
|
|
|
@ -380,8 +386,8 @@
|
|
|
|
|
<addUnit ref="addUnit" @refresh="carryFinish"></addUnit>
|
|
|
|
|
<!-- <checkUnit ref="checkUnit"></checkUnit> -->
|
|
|
|
|
<showLogs ref="showLogs"></showLogs>
|
|
|
|
|
<addBackPlan ref="addBackPlan" @reload="getDetail" @reloadList="reloadList"></addBackPlan>
|
|
|
|
|
<viewFile ref='viewFile'></viewFile>
|
|
|
|
|
<addBackPlan ref="addBackPlan" @reload="getDetail" @reloadList="reloadList"></addBackPlan>
|
|
|
|
|
<viewFile ref='viewFile'></viewFile>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
@ -486,7 +492,7 @@
|
|
|
|
|
label: '执行人',
|
|
|
|
|
prop: 'accept_admin_name',
|
|
|
|
|
width: 140,
|
|
|
|
|
align:'left'
|
|
|
|
|
align: 'left'
|
|
|
|
|
}, {
|
|
|
|
|
label: '执行状态',
|
|
|
|
|
prop: 'carry_status',
|
|
|
|
|
@ -508,18 +514,18 @@
|
|
|
|
|
}, {
|
|
|
|
|
label: '当前进展概述',
|
|
|
|
|
prop: 'ing_introduce',
|
|
|
|
|
align:'left'
|
|
|
|
|
align: 'left'
|
|
|
|
|
}, {
|
|
|
|
|
label: '完成概述',
|
|
|
|
|
prop: 'end_introduce',
|
|
|
|
|
align:'left'
|
|
|
|
|
align: 'left'
|
|
|
|
|
}, {
|
|
|
|
|
label: '成果资料',
|
|
|
|
|
prop: 'file_ids',
|
|
|
|
|
}, {
|
|
|
|
|
label: '审核意见',
|
|
|
|
|
prop: 'check_contents',
|
|
|
|
|
align:'left'
|
|
|
|
|
align: 'left'
|
|
|
|
|
}],
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -547,7 +553,7 @@
|
|
|
|
|
reloadList() {
|
|
|
|
|
this.$emit("refresh")
|
|
|
|
|
},
|
|
|
|
|
// 提交完 执行状态之后
|
|
|
|
|
// 提交完 执行状态之后 sendid是转办返回生成的id
|
|
|
|
|
carryTypeWhat(e) {
|
|
|
|
|
console.log("carryTypeWhat", e)
|
|
|
|
|
|
|
|
|
|
@ -556,6 +562,7 @@
|
|
|
|
|
// this.openMyMission()
|
|
|
|
|
} else if (e == 'carry_type1') {
|
|
|
|
|
// 任务分解 初始责任人直接编辑选择参与对象
|
|
|
|
|
|
|
|
|
|
// 参与对象任务分解,新建任务 且责任人为他自己
|
|
|
|
|
if (this.showform.mission_distribute.length > 1) {
|
|
|
|
|
this.editorUnit('pid')
|
|
|
|
|
|