| | |
| | | <div class="technical-table"> |
| | | <div class="table-box"> |
| | | <el-table |
| | | height="500" |
| | | border style="width: 100%" |
| | | border |
| | | height="calc(90vh - 250px)" |
| | | :data="technicalTable" |
| | | > |
| | | <el-table-column |
| | |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="showDetails(scope.row)">查看详情</el-button> |
| | | <el-button type="text" size="small">编辑附件</el-button> --> |
| | | <el-button type="text" size="small" @click="authorizedstrength(scope.row)">编制</el-button> |
| | | <el-button v-if="scope.row.type===0" type="text" size="small" @click="authorizedstrength(scope.row)">编制</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | id:this.compiledata.id |
| | | }).then( res =>{ |
| | | this.$message.success('编制完成') |
| | | }) |
| | | this.getTechnicalTableData() |
| | | }) |
| | | }, |
| | | |
| | | async showDetails(row){ |
| | |
| | | /* 技术文件表格样式 */ |
| | | .technical-table{ |
| | | margin-top: 11px; |
| | | height: calc(100% - 140px); |
| | | /* height: calc(100% - 140px); */ |
| | | background: #fff; |
| | | padding: 23px 21px ; |
| | | font-size: 14px; |
| | |
| | | } */ |
| | | .technical-table .table-box { |
| | | flex: 1; |
| | | /* overflow-y: scroll; */ |
| | | overflow-y: scroll; |
| | | } |
| | | .technical-table .el-pagination{ |
| | | margin-top: 23px; |