|
|
|
@ -3,21 +3,26 @@ |
|
|
|
<div style="width:50%;"> |
|
|
|
<el-table id="tableSummary" row-key="id" :data="sumDoctorCheck.summaryList" width="100%" |
|
|
|
:height="window.pageHeight < 600 ? 210 : window.pageHeight - 390" border size="small"> |
|
|
|
<el-table-column type="index" width="20" align="center"/> |
|
|
|
<el-table-column prop="summaryTitle" label="综述"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div> |
|
|
|
<el-input v-model="scope.row.summaryTitle" placeholder="请输入综述" disabled></el-input> |
|
|
|
<el-table :id="scope.row.id" :row-key="scope.$index + scope.row.id" style="margin-left: 30px;" |
|
|
|
:data="scope.row.details" border @row-click="rowClick" :show-header="false" |
|
|
|
:row-style="{ height: '30px' }"> |
|
|
|
<el-table :id="scope.row.id" :row-key="scope.$index + scope.row.id" style="margin-left: 10px;" |
|
|
|
:data="scope.row.details" border @row-click="rowClick" :show-header="false"> |
|
|
|
<el-table-column width="30"> |
|
|
|
<template slot-scope="scope2"> |
|
|
|
<div>{{ scope2.$index + 1 }}).</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="summaryContent" label="综述" min-width="200"> |
|
|
|
<template slot-scope="scope2"> |
|
|
|
<el-input type="textarea" v-model="scope2.row.summaryContent" placeholder="请输入综述" style="width: 95%" |
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag == '3' || sumDoctorCheck.sumPREdit.isAudit == 'Y'" |
|
|
|
:autosize="{ minRows: 1, maxRows: 100 }"> |
|
|
|
<el-input type="textarea" v-model="scope2.row.summaryContent" placeholder="请输入综述" |
|
|
|
disabled :autosize="{ minRows: 1, maxRows: 100 }"> |
|
|
|
</el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column width="8" /> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
@ -27,7 +32,7 @@ |
|
|
|
<div style="width:50%;"> |
|
|
|
<el-table id="tableSuggestion" row-key="id" :data="sumDoctorCheck.suggestionList" width="100%" |
|
|
|
:height="window.pageHeight < 600 ? 210 : window.pageHeight - 390" border size="small"> |
|
|
|
<el-table-column type="index" width="30" style="vertical-align: top;"> |
|
|
|
<el-table-column type="index" width="20" align="center"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="suggestionTitle" label="建议"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -37,18 +42,18 @@ |
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag == '3' || sumDoctorCheck.sumPREdit.isAudit == 'Y'"> |
|
|
|
</el-input> |
|
|
|
|
|
|
|
<el-button type="success" icon="el-icon-plus" style="min-width: 30px;" @click="addSug(scope.$index)" |
|
|
|
<el-button type="success" icon="el-icon-plus" style="min-width:23px;height:23px;padding:2px;" @click="addSug(scope.$index)" |
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag == '3' || sumDoctorCheck.sumPREdit.isAudit == 'Y'"></el-button> |
|
|
|
<el-button type="danger" icon="el-icon-delete" style="margin-left: 2px;min-width: 30px;" @click="delSugHead(scope.$index)" |
|
|
|
<el-button type="danger" icon="el-icon-delete" style="margin-left: 2px;min-width:23px;height:23px;padding:2px;" @click="delSugHead(scope.$index)" |
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag == '3' || sumDoctorCheck.sumPREdit.isAudit == 'Y'"></el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table :id="'sug' + scope.row.id" row-key="displayOrder" style="margin-left: 30px;" |
|
|
|
<el-table :id="'sug' + scope.row.id" row-key="displayOrder" style="margin-left: 10px;" |
|
|
|
:data="scope.row.details" border @row-click="rowClickSug" :show-header="false" |
|
|
|
:row-style="{ height: '30px' }"> |
|
|
|
> |
|
|
|
<el-table-column width="30"> |
|
|
|
<template slot-scope="scope2"> |
|
|
|
<div>{{ scope2.$index + 1 }}</div> |
|
|
|
<div>{{ scope2.$index + 1 }}).</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="suggestionContent" label="建议" min-width="200"> |
|
|
|
@ -59,9 +64,9 @@ |
|
|
|
</el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="suggestionContent" label="操作" width="62"> |
|
|
|
<el-table-column prop="suggestionContent" label="操作" width="35"> |
|
|
|
<template slot-scope="scope2"> |
|
|
|
<el-button type="danger" style="min-width:30px;" icon="el-icon-delete" @click="delSug(scope.row.details, scope2.$index)" |
|
|
|
<el-button type="danger" style="min-width:23px;height:23px;padding:2px;" icon="el-icon-delete" @click="delSug(scope.row.details, scope2.$index)" |
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag == '3' || sumDoctorCheck.sumPREdit.isAudit == 'Y'" |
|
|
|
size="small"></el-button> |
|
|
|
</template> |
|
|
|
@ -321,5 +326,22 @@ export default { |
|
|
|
<style scoped> |
|
|
|
@import '../../assets/css/global_table.css'; |
|
|
|
|
|
|
|
/* 设置单元格内内容顶对齐 */ |
|
|
|
::v-deep .el-table__cell { |
|
|
|
display: table-cell; /* 使单元格表现为表格单元 */ |
|
|
|
vertical-align: top; /* 顶对齐 el-table_2_column_2 el-table__cell */ |
|
|
|
} |
|
|
|
::v-deep .el-textarea__inner { |
|
|
|
min-height: 23px; |
|
|
|
height: 23px; |
|
|
|
line-height: 1.25; |
|
|
|
padding: 1px 15px 1px 2px; |
|
|
|
} |
|
|
|
::v-deep .el-input__inner { |
|
|
|
min-height: 23px; |
|
|
|
height: 23px; |
|
|
|
padding: 1px 15px 1px 2px; |
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|
|