|
|
@ -9,11 +9,12 @@ |
|
|
<div> |
|
|
<div> |
|
|
<el-input v-model="scope.row.summaryTitle" placeholder="请输入综述" disabled></el-input> |
|
|
<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;" |
|
|
<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: '60px' }"> |
|
|
|
|
|
|
|
|
:data="scope.row.details" border @row-click="rowClick" :show-header="false" :row-style="{ height: '30px' }"> |
|
|
<el-table-column prop="summaryContent" label="综述"> |
|
|
<el-table-column prop="summaryContent" label="综述"> |
|
|
<template slot-scope="scope2"> |
|
|
<template slot-scope="scope2"> |
|
|
<el-input type="textarea" v-model="scope2.row.summaryContent" placeholder="请输入综述" style="width: 95%" |
|
|
<el-input type="textarea" v-model="scope2.row.summaryContent" placeholder="请输入综述" style="width: 95%" |
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag=='3' || sumDoctorCheck.sumPREdit.isAudit=='Y'"> |
|
|
|
|
|
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag=='3' || sumDoctorCheck.sumPREdit.isAudit=='Y'" |
|
|
|
|
|
:autosize="{ minRows: 1, maxRows: 100 }"> |
|
|
</el-input> |
|
|
</el-input> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -27,6 +28,8 @@ |
|
|
<el-table id="tableSuggestion" row-key="id" :data="sumDoctorCheck.suggestionList" width="100%" |
|
|
<el-table id="tableSuggestion" row-key="id" :data="sumDoctorCheck.suggestionList" width="100%" |
|
|
:height="window.pageHeight < 600 ? 300:window.pageHeight-300" |
|
|
:height="window.pageHeight < 600 ? 300:window.pageHeight-300" |
|
|
border :row-style="{ height: '60px' }"> |
|
|
border :row-style="{ height: '60px' }"> |
|
|
|
|
|
<el-table-column type="index" width="30" style="vertical-align: top;"> |
|
|
|
|
|
</el-table-column> |
|
|
<el-table-column prop="suggestionTitle" label="建议" > |
|
|
<el-table-column prop="suggestionTitle" label="建议" > |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
@ -39,15 +42,28 @@ |
|
|
<el-button slot="append" icon="el-icon-d-caret"></el-button> |
|
|
<el-button slot="append" icon="el-icon-d-caret"></el-button> |
|
|
--> |
|
|
--> |
|
|
</el-input> |
|
|
</el-input> |
|
|
<el-table :id="'sug' + scope.row.id" :row-key="'sug' + scope.$index + scope.row.id" style="margin-left: 30px;" |
|
|
|
|
|
:data="scope.row.details" border @row-click="rowClickSug" :show-header="false" :row-style="{ height: '60px' }"> |
|
|
|
|
|
|
|
|
<el-table :id="'sug' + scope.row.id" row-key="displayOrder" style="margin-left: 30px;" |
|
|
|
|
|
: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> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
<el-table-column prop="suggestionContent" label="建议" > |
|
|
<el-table-column prop="suggestionContent" label="建议" > |
|
|
<template slot-scope="scope2"> |
|
|
<template slot-scope="scope2"> |
|
|
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入建议内容" style="width: 95%" |
|
|
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag=='3' || sumDoctorCheck.sumPREdit.isAudit=='Y'"> |
|
|
|
|
|
|
|
|
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入建议内容" |
|
|
|
|
|
:disabled="sumDoctorCheck.sumPREdit.completeFlag=='3' || sumDoctorCheck.sumPREdit.isAudit=='Y'" |
|
|
|
|
|
:autosize="{ minRows: 1, maxRows: 100 }"> |
|
|
</el-input> |
|
|
</el-input> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column label="" width="87"> |
|
|
|
|
|
<template slot-scope="scope2"> |
|
|
|
|
|
<el-button type="danger" 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> |
|
|
|
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
@ -150,9 +166,14 @@ export default { |
|
|
this.sumDoctorCheck.suggestionList[index].details.push({ |
|
|
this.sumDoctorCheck.suggestionList[index].details.push({ |
|
|
sumSuggestionHeaderId:this.sumDoctorCheck.suggestionList[index].id, |
|
|
sumSuggestionHeaderId:this.sumDoctorCheck.suggestionList[index].id, |
|
|
suggestionContent: '', |
|
|
suggestionContent: '', |
|
|
|
|
|
displayOrder:Math.random(), |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//删除建议明细 |
|
|
|
|
|
delSug(details,indexD){ |
|
|
|
|
|
details.splice(indexD,1); |
|
|
|
|
|
}, |
|
|
//选择组合项目 |
|
|
//选择组合项目 |
|
|
rowClick(row) { |
|
|
rowClick(row) { |
|
|
console.log('rowClick row',row) |
|
|
console.log('rowClick row',row) |
|
|
|