|
|
@ -112,20 +112,47 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: -15px;"> |
|
|
<div style="margin-top: -15px;"> |
|
|
<span style="color: #232748;">检查结论:</span> |
|
|
<span style="color: #232748;">检查结论:</span> |
|
|
<el-input style="width: 98%;border: 1px solid #232748;" type="textarea" v-model="pacsParams.summary" |
|
|
|
|
|
placeholder="请输入结论" size="small" :autosize="{ minRows: 6, maxRows: 6 }" /> |
|
|
|
|
|
|
|
|
<el-table row-key="id" :data="doctorCheck.checkSummaryList" size="samll" height="186" |
|
|
|
|
|
width="100%" border> |
|
|
|
|
|
<el-table-column width="30" align="center"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<el-tag class="moveSummary" style="height:25px;padding:0 2px;cursor: move;background-color: #EEEEEE;"> |
|
|
|
|
|
<div style="width: 16px;">{{ scope.$index + 1 }}</div> |
|
|
|
|
|
</el-tag> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="summary" label="小结"> |
|
|
|
|
|
<template slot="header"> |
|
|
|
|
|
<div style="display: flex;justify-content:space-between;"> |
|
|
|
|
|
<div>小结</div> |
|
|
|
|
|
<div></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<div style="display: flex;"> |
|
|
|
|
|
<el-input type="textarea" v-model="scope.row.summary" :autosize="{ minRows: 1, maxRows: 100 }" |
|
|
|
|
|
placeholder="请输入小结"> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
<el-button type="danger" style="min-width:23px;padding:2px;" icon="el-icon-delete" |
|
|
|
|
|
@click="delSum(scope.$index)" size="small"></el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
</el-table> |
|
|
</div> |
|
|
</div> |
|
|
<div style="display: flex;justify-content: space-between;margin-top: 10px;"> |
|
|
<div style="display: flex;justify-content: space-between;margin-top: 10px;"> |
|
|
<div></div> |
|
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
<el-checkbox v-model="autoNext" true-label="Y" false-label="N" size="small">自动下一条</el-checkbox> |
|
|
|
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<!-- |
|
|
<!-- |
|
|
<el-button type="primary" @click="btnTest" class="commonbutton">测试</el-button> |
|
|
<el-button type="primary" @click="btnTest" class="commonbutton">测试</el-button> |
|
|
--> |
|
|
--> |
|
|
<el-button type="primary" @click="btnChooseBigtext" size="small" class="commonbutton" |
|
|
|
|
|
|
|
|
<el-button type="primary" @click="btnChooseBigtext" style="width: 90px;" size="small" class="commonbutton" |
|
|
:disabled="dataTransOpts.tableS.patient_register.completeFlag == '3'">选择描述</el-button> |
|
|
:disabled="dataTransOpts.tableS.patient_register.completeFlag == '3'">选择描述</el-button> |
|
|
<el-button type="primary" @click="btnOkBigtext" size="small" class="commonbutton" |
|
|
|
|
|
|
|
|
<el-button type="primary" @click="btnOkBigtext" style="width: 90px;" size="small" class="commonbutton" |
|
|
:disabled="dataTransOpts.tableS.patient_register.completeFlag == '3'">保存结果</el-button> |
|
|
:disabled="dataTransOpts.tableS.patient_register.completeFlag == '3'">保存结果</el-button> |
|
|
<el-checkbox v-model="autoNext" true-label="Y" false-label="N" size="small">自动下一条</el-checkbox> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -230,7 +257,7 @@ export default { |
|
|
return moment(new Date(date)).format(forMat); |
|
|
return moment(new Date(date)).format(forMat); |
|
|
}, |
|
|
}, |
|
|
tableHeight() { |
|
|
tableHeight() { |
|
|
return this.window.pageHeight - 105 - 400 - 76 |
|
|
|
|
|
|
|
|
return this.window.pageHeight - 105 - 450 - 76 |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
@ -407,6 +434,22 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//删除小结 |
|
|
|
|
|
delSum(index) { |
|
|
|
|
|
this.$confirm("此操作将删除该记录, 是否继续?", "提示", { |
|
|
|
|
|
confirmButtonText: "是", |
|
|
|
|
|
cancelButtonText: "否", |
|
|
|
|
|
type: "warning", |
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
this.doctorCheck.checkSummaryList.splice(index, 1); |
|
|
|
|
|
}).catch(err => { |
|
|
|
|
|
if (err == "cancel") { |
|
|
|
|
|
// this.$message.info("已取消删除"); |
|
|
|
|
|
console.log('已取消删除') |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 浏览Dcm文件 |
|
|
// 浏览Dcm文件 |
|
|
btnBrowseDcm() { |
|
|
btnBrowseDcm() { |
|
|
|
|
|
|
|
|
@ -441,17 +484,23 @@ export default { |
|
|
// 确定描述与结论 |
|
|
// 确定描述与结论 |
|
|
btnOkBigtext() { |
|
|
btnOkBigtext() { |
|
|
// console.log('this.pacsParams', this.pacsParams) |
|
|
// console.log('this.pacsParams', this.pacsParams) |
|
|
|
|
|
/* |
|
|
if (!this.pacsParams.summary) { |
|
|
if (!this.pacsParams.summary) { |
|
|
this.$message.warning({ showClose: true, message: '请填写检查结论' }) |
|
|
this.$message.warning({ showClose: true, message: '请填写检查结论' }) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
//this.doctorCheck.checkItemList[0].result = this.pacsParams.result |
|
|
|
|
|
|
|
|
|
|
|
this.doctorCheck.checkSummaryList = [{ |
|
|
this.doctorCheck.checkSummaryList = [{ |
|
|
id: Math.random(), |
|
|
id: Math.random(), |
|
|
registerCheckId: this.doctorCheck.RegisterCheckEdit.id, |
|
|
registerCheckId: this.doctorCheck.RegisterCheckEdit.id, |
|
|
summary: this.pacsParams.summary, |
|
|
summary: this.pacsParams.summary, |
|
|
summaryFlag: 'N', |
|
|
summaryFlag: 'N', |
|
|
}] |
|
|
}] |
|
|
|
|
|
*/ |
|
|
|
|
|
if (this.doctorCheck.checkSummaryList.length < 1) { |
|
|
|
|
|
this.$message.warning({ showClose: true, message: '请填写检查结论' }) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.save() |
|
|
this.save() |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
|