|
|
@@ -150,6 +150,12 @@
|
|
|
>
|
|
|
恢复
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="handleMessage(scope.row, 'chengben')"
|
|
|
+ >
|
|
|
+ 查看
|
|
|
+ </el-button>
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -176,6 +182,7 @@
|
|
|
@close="handleDetailsClose"
|
|
|
@refresh="handleRefresh"
|
|
|
/>
|
|
|
+ <taskInfo ref="taskInfo" />
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -184,10 +191,12 @@
|
|
|
import taskMixins from './taskMixins.js'
|
|
|
// 成本监审任务列表API
|
|
|
import { getReviewTaskList } from '@/api/audit/auditIndex'
|
|
|
+ import taskInfo from '@/components/task/taskInfo.vue'
|
|
|
export default {
|
|
|
name: 'CostAuditManagement',
|
|
|
components: {
|
|
|
detailsDialog,
|
|
|
+ taskInfo,
|
|
|
},
|
|
|
mixins: [taskMixins],
|
|
|
data() {
|
|
|
@@ -264,6 +273,9 @@
|
|
|
currentNode: child.currentNode,
|
|
|
status: child.status,
|
|
|
isSubTask: true,
|
|
|
+ projectId: child.projectId,
|
|
|
+ auditedUnitId: child.auditedUnitId,
|
|
|
+ taskId: child.id,
|
|
|
}))
|
|
|
: [],
|
|
|
}
|
|
|
@@ -401,6 +413,10 @@
|
|
|
this.currentPage = current
|
|
|
this.loadAuditProjectList()
|
|
|
},
|
|
|
+ // 查看
|
|
|
+ handleMessage(row, type) {
|
|
|
+ this.$refs.taskInfo.open(row, type)
|
|
|
+ },
|
|
|
},
|
|
|
}
|
|
|
</script>
|