|
@@ -64,6 +64,22 @@
|
|
|
<el-table-column label="建设单位" align="center" prop="constructUnit" />
|
|
|
<el-table-column label="开工时间" align="center" prop="startTime" />
|
|
|
<el-table-column label="施工内容" align="center" prop="enginContent" show-overflow-tooltip/>
|
|
|
+ <el-table-column label="审核状态" align="center" prop="nodeReViewStateList" width="250">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="text-align:center">
|
|
|
+ <el-popover
|
|
|
+ v-for="item in scope.row.nodeReViewStateList"
|
|
|
+ placement="top-start"
|
|
|
+ trigger="hover"
|
|
|
+ :content="item.Type">
|
|
|
+ <span slot="reference" v-if="(item.state == '1'||item.state == '2')"
|
|
|
+ style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #30B08F;"></span>
|
|
|
+ <span slot="reference" v-if="item.state == '0' "
|
|
|
+ style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #C03639;"></span>
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="400">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
@@ -120,6 +136,12 @@
|
|
|
@click="addMaterial(scope.row)"
|
|
|
>添加用料
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="download(scope.row.enginName)"
|
|
|
+ >下载图片</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -238,7 +260,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { listComprehensive, getComprehensive, delComprehensive, addComprehensive, updateComprehensive} from "@/api/zdsz/comprehensive";
|
|
|
-import { viewEngineeringInfrastructureSource } from "@/api/zdsz/enginee"
|
|
|
+import {downloadZip, insertReview, viewEngineeringInfrastructureSource} from "@/api/zdsz/enginee"
|
|
|
import {getBuildings} from "@/api/zdsz/building";
|
|
|
import {getUnits} from "@/api/zdsz/unit";
|
|
|
import {getAreas} from "@/api/zdsz/area";
|
|
@@ -708,6 +730,10 @@ export default {
|
|
|
this.checkList = this.dict.type.engineering_infrastructure
|
|
|
},
|
|
|
methods: {
|
|
|
+ download(name){
|
|
|
+ // downloadZip('基建工程',name)
|
|
|
+ this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/基建工程/${name}`, name);
|
|
|
+ },
|
|
|
enginNodeStatusExecuted(item){
|
|
|
try {
|
|
|
let flag
|
|
@@ -721,7 +747,7 @@ export default {
|
|
|
console.log('checkingInfo===',checkingInfo)
|
|
|
let params = checkingInfo
|
|
|
params.createTime = this.createTime
|
|
|
- engineeringCivilReview(params).then(res => {
|
|
|
+ insertReview(params).then(res => {
|
|
|
if(res.code == 200){
|
|
|
this.$message({
|
|
|
message: '审核成功',
|
|
@@ -729,6 +755,7 @@ export default {
|
|
|
});
|
|
|
setTimeout(() => {
|
|
|
this.viewNodeSource()
|
|
|
+ this.getList()
|
|
|
},1000)
|
|
|
}
|
|
|
})
|
|
@@ -786,11 +813,9 @@ export default {
|
|
|
// 审核
|
|
|
let checkingParams = []
|
|
|
getDictList({enginType:['engineering_infrastructure']}).then(res => {
|
|
|
- checkingParams = res.data.filter(e => {
|
|
|
- return e.label == '水电施工' || e.label == '防水'
|
|
|
- })
|
|
|
+ checkingParams = res.data
|
|
|
setTimeout(() => {
|
|
|
- console.log('___',checkingParams)
|
|
|
+ console.log('___checkingParams',checkingParams)
|
|
|
this.zEngineeringNodeBo = e
|
|
|
this.currentId = e.id
|
|
|
this.status = 'read-only'
|