|
@@ -2,32 +2,49 @@
|
|
|
<div>
|
|
|
<el-tabs v-model="activeName">
|
|
|
<el-tab-pane label="详细信息" name="详细信息">
|
|
|
- <el-descriptions border>
|
|
|
+ <el-descriptions border :labelStyle="{'width':'120px'}">
|
|
|
<el-descriptions-item label="项目名称">{{
|
|
|
- taskList.atvName
|
|
|
+ taskList.formobj.atvName
|
|
|
}}</el-descriptions-item>
|
|
|
<el-descriptions-item label="建设规模">
|
|
|
- <el-tag v-if="taskList.scale == 1" type="success">小型</el-tag>
|
|
|
- <el-tag v-else-if="taskList.scale == 2" type="success">中型</el-tag>
|
|
|
- <el-tag v-else-if="taskList.scale == 3" type="success">大型</el-tag>
|
|
|
+ <el-tag v-if="taskList.formobj.scale == 1" type="success"
|
|
|
+ >小型</el-tag
|
|
|
+ >
|
|
|
+ <el-tag v-else-if="taskList.formobj.scale == 2" type="success"
|
|
|
+ >中型</el-tag
|
|
|
+ >
|
|
|
+ <el-tag v-else-if="taskList.formobj.scale == 3" type="success"
|
|
|
+ >大型</el-tag
|
|
|
+ >
|
|
|
</el-descriptions-item>
|
|
|
- <el-descriptions-item label="建设内容">{{
|
|
|
- taskList.content
|
|
|
- }}</el-descriptions-item>
|
|
|
+
|
|
|
<el-descriptions-item label="年度投资计划">{{
|
|
|
- taskList.plan
|
|
|
+ taskList.formobj.plan
|
|
|
}}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="审核状态">
|
|
|
- <el-tag v-if="taskList.status == 1" type="success">同意</el-tag>
|
|
|
- <el-tag v-else-if="taskList.status == 2" type="danger">驳回</el-tag>
|
|
|
- <el-tag v-else-if="taskList.status == 3" type="info">退回</el-tag>
|
|
|
- <el-tag v-else-if="taskList.status == 0">待审核</el-tag>
|
|
|
- </el-descriptions-item>
|
|
|
+ <!-- <el-descriptions-item label="审核状态">
|
|
|
+ <el-tag v-if="taskList.formobj.status == 1" type="success"
|
|
|
+ >同意</el-tag
|
|
|
+ >
|
|
|
+ <el-tag v-else-if="taskList.formobj.status == 2" type="danger"
|
|
|
+ >驳回</el-tag
|
|
|
+ >
|
|
|
+ <el-tag v-else-if="taskList.formobj.status == 3" type="info"
|
|
|
+ >退回</el-tag
|
|
|
+ >
|
|
|
+ <el-tag v-else-if="taskList.formobj.status == 0">待审核</el-tag>
|
|
|
+ </el-descriptions-item> -->
|
|
|
<el-descriptions-item label="实际投资金额">{{
|
|
|
- taskList.comments ? taskList.comments : "无"
|
|
|
+ taskList.formobj.comments ? taskList.formobj.comments : "无"
|
|
|
}}</el-descriptions-item>
|
|
|
</el-descriptions>
|
|
|
|
|
|
+ <el-descriptions border :labelStyle="{'width':'120px'}" style="">
|
|
|
+ <el-descriptions-item label="建设内容" :contentStyle="{'padding': '20px'}">{{
|
|
|
+ taskList.formobj.content
|
|
|
+ }}</el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="审批记录" name="审批记录">
|
|
|
<el-timeline>
|
|
@@ -67,12 +84,10 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
props: ["taskList"],
|
|
|
- created(){
|
|
|
+ created() {
|
|
|
console.log(this.taskList);
|
|
|
},
|
|
|
- methods: {
|
|
|
-
|
|
|
- },
|
|
|
+ methods: {},
|
|
|
};
|
|
|
</script>
|
|
|
|