| | |
| | | <el-table-column label="委托单位" prop="client" align="center" :show-overflow-tooltip="true" width="180"/> |
| | | <el-table-column label="所属地市" prop="updateTime" align="center" width="250"> |
| | | <template #default="scope"> |
| | | {{scope.row.province}}/{{scope.row.city}} |
| | | {{scope.row.area}} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="评价类型" prop="estimateTypeName" align="center" width="150"/> |
| | |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="项目实施天数" prop="" align="center" width="150"/> |
| | | <el-table-column label="项目变更" prop="" align="center" width="120"/> |
| | | <el-table-column label="预估金额(万元)" prop="" align="center" width="130"/> |
| | | <el-table-column label="归档金额(万元)" prop="" align="center" width="130"/> |
| | | <el-table-column label="缺失要件" prop="" align="center" width="150"> |
| | | <el-table-column label="项目实施天数" prop="filingDate" align="center" width="150"/> |
| | | <el-table-column label="项目变更" prop="" align="center" width="120"> |
| | | <template #default="scope"> |
| | | <div style="cursor:pointer;color: #3b82f6;" > |
| | | <span>{{scope.row.materialCnt}}</span> |
| | | <span v-if="scope.row.process !== 1" @click="goMenu('toFive',scope.row)">{{}}</span> |
| | | <span v-else></span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="归档确认" prop="" align="center" width="150"/> |
| | | <el-table-column label="预估金额(万元)" prop="contractMoney" align="center" width="130"/> |
| | | <el-table-column label="归档金额(万元)" prop="actualContractMoney" align="center" width="130"/> |
| | | <el-table-column label="缺失要件" prop="" align="center" width="150"> |
| | | <template #default="scope"> |
| | | <div style="cursor:pointer;color: #3b82f6;" > |
| | | <span v-if="scope.row.process === 5" @click="goMenu('toTwelve',scope.row)">{{scope.row.materialCnt}}</span> |
| | | <span v-else></span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="归档确认" prop="" align="center" width="150"> |
| | | <template #default="scope"> |
| | | <div style="cursor:pointer;color: #3b82f6;" > |
| | | <span v-if="scope.row.process === 5" @click="goMenu('toThirteen',scope.row)">{{}}</span> |
| | | <span v-else></span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="180"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" @click="toProcess('view',scope.row)">查看</el-button> |
| | |
| | | return { |
| | | ...item, |
| | | process: item.reportProgress <=4 ? 1 : item.reportProgress >4 && item.reportProgress <=6 ? 2 : item.reportProgress >6 && item.reportProgress <=9 ? 3 :item.reportProgress >9 && item.reportProgress <=11 ? 4:5, |
| | | leaderName: item.leader ? item.leader.name : '' |
| | | leaderName: item.leader ? item.leader.name : '', |
| | | area: item.district ? item.province + '/' + item.city + '/' + item.district : item.city?item.province + '/' + item.city:item.province , |
| | | filingDate: item.filingDate ? item.filingDate : conversionDays(item.createTime), |
| | | contractMoney: item.contract ? item.contract.contractMoney : '', |
| | | actualContractMoney: item.contract ? item.contract.actualContractMoney : '' |
| | | } |
| | | }) |
| | | console.log(dataList.value,'dataList.value') |
| | |
| | | getList() |
| | | } |
| | | |
| | | const toProcess = (type,value) => { |
| | | const toProcess = (type,value,toPath) => { |
| | | dialogVisible.value = false; |
| | | value.type = type; |
| | | router.push({ path: '/process', query: {id: value.id, type: type}}); |
| | | router.push({ path: '/process', query: {id: value.id, type: type, toPath: toPath}}); |
| | | } |
| | | |
| | | const goMenu = (toPath,val) => { |
| | | console.log("val",val) |
| | | toProcess('edit',val,toPath); |
| | | } |
| | | const conversionDays = (createTime) => { |
| | | let day = Date.now() - new Date(createTime).getTime();//日期转时间戳 |
| | | return Math.floor(day / 86400000) ;//时间戳获取天数 |
| | | } |
| | | |
| | | defineExpose({ |
| | | openDialog |