|
@@ -1,57 +1,48 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
- <el-form ref="form" :model="form" label-width="120px">
|
|
|
- <el-form-item label="项目名称" prop="atvName">
|
|
|
- <el-input
|
|
|
- v-model="form.atvName"
|
|
|
- placeholder="请输入项目名称"
|
|
|
- style="width: 50%"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="建设规模">
|
|
|
- <el-select
|
|
|
- v-model="form.scale"
|
|
|
- placeholder="请选择建设规模"
|
|
|
- style="width: 50%"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in scaleList"
|
|
|
- :key="item.value + 'typeList'"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="建设内容">
|
|
|
- <el-input
|
|
|
- type="textarea"
|
|
|
- :rows="5"
|
|
|
- v-model="form.content"
|
|
|
- placeholder="请输入建设内容"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="年度投资计划">
|
|
|
- <el-input
|
|
|
- type="number"
|
|
|
- v-model="form.plan"
|
|
|
- placeholder="请输入年度投资计划"
|
|
|
- style="width: 50%"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="形象进度">
|
|
|
- <el-input
|
|
|
- v-model="form.schedule"
|
|
|
- placeholder="请输入形象进度"
|
|
|
- style="width: 50%"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
+ <div class="cmain">
|
|
|
+ <el-descriptions border :labelStyle="{'width':'150px'}" column="2">
|
|
|
+ <el-descriptions-item label="项目名称">{{
|
|
|
+ form.article.atvName
|
|
|
+ }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="建设规模">
|
|
|
+ <el-tag v-if="form.article.scale == 1" type="success"
|
|
|
+ >小型</el-tag
|
|
|
+ >
|
|
|
+ <el-tag v-else-if="form.article.scale == 2" type="success"
|
|
|
+ >中型</el-tag
|
|
|
+ >
|
|
|
+ <el-tag v-else-if="form.article.scale == 3" type="success"
|
|
|
+ >大型</el-tag
|
|
|
+ >
|
|
|
+ </el-descriptions-item>
|
|
|
|
|
|
- <el-table :data="tableData" style="width: 100%">
|
|
|
- <el-table-column prop="date" label="日期" width="180">
|
|
|
+ <el-descriptions-item label="年度投资计划(万)">{{
|
|
|
+ form.article.plan
|
|
|
+ }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="实际投资金额(万)">{{
|
|
|
+ form.article.reality
|
|
|
+ }}</el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+
|
|
|
+ <el-descriptions border :labelStyle="{'width':'150px'}" style="">
|
|
|
+ <el-descriptions-item label="建设内容" :contentStyle="{'padding': '20px'}">{{
|
|
|
+ form.article.content
|
|
|
+ }}</el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+
|
|
|
+ <div style="width: 100%;text-align: center;margin-top: 30px;">
|
|
|
+ <span style="font-size: 22px;font-weight: bold;">实际投资金额详情</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <el-table :data="form.dataFillingList" style="width: 100%;margin-top: 20px;">
|
|
|
+ <el-table-column prop="month" label="日期">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="price" label="金额">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="schedule" label="形象进度">
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
- </el-form>
|
|
|
+
|
|
|
<div slot="footer" class="mfooter">
|
|
|
<el-button @click="$layer.close(layerid)">返 回</el-button>
|
|
|
</div>
|
|
@@ -82,6 +73,7 @@ export default {
|
|
|
if (this.param.id) {
|
|
|
getARTICLE(this.param.id).then((response) => {
|
|
|
this.form = response.data;
|
|
|
+ console.log(this.form);
|
|
|
});
|
|
|
}
|
|
|
},
|
|
@@ -97,7 +89,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
|
|
|
- methods() {},
|
|
|
};
|
|
|
</script>
|
|
|
|