|
|
|
@ -74,7 +74,8 @@ |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="btnClear">清 除</el-button> |
|
|
|
<el-button type="primary" @click="btnOkResult">确 定</el-button> |
|
|
|
<el-button type="primary" @click="btnOkResult('defaultResult')">默认结果</el-button> |
|
|
|
<el-button type="primary" @click="btnOkResult('')">确 定</el-button> |
|
|
|
<el-button @click="dialogWinMoreResult = false">关 闭</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
@ -120,6 +121,7 @@ export default { |
|
|
|
moreResult: { |
|
|
|
data: [], |
|
|
|
result: '', |
|
|
|
defaultResult:'', |
|
|
|
index: 0, // 明细序列 |
|
|
|
}, //结果模版 |
|
|
|
isSplitChooseResult: 'N', // 选结果时,是否自动加上分隔符 |
|
|
|
@ -380,6 +382,7 @@ export default { |
|
|
|
btnMoreResult(row, index) { |
|
|
|
this.moreResult.data = deepCopy(row.itemResultTemplates) |
|
|
|
this.moreResult.result = row.result |
|
|
|
this.moreResult.defaultResult = row.defaultResult |
|
|
|
this.moreResult.index = index |
|
|
|
// "itemId": "3a0c517f-cbdb-9fff-e300-1f76b3e47580", |
|
|
|
// "result": "00000", |
|
|
|
@ -394,11 +397,12 @@ export default { |
|
|
|
this.watchSelection() |
|
|
|
|
|
|
|
}, |
|
|
|
// 单击选择结果模版的结果 |
|
|
|
|
|
|
|
// 双击选择结果模版的结果 |
|
|
|
dblclickResult(item) { |
|
|
|
this.moreResult.result = '' |
|
|
|
this.clickResult(item) |
|
|
|
this.btnOkResult() |
|
|
|
this.btnOkResult('') |
|
|
|
}, |
|
|
|
|
|
|
|
// 单击选择结果模版的结果 |
|
|
|
@ -427,8 +431,8 @@ export default { |
|
|
|
this.moreResult.result = '' |
|
|
|
}, |
|
|
|
|
|
|
|
btnOkResult() { |
|
|
|
this.doctorCheck.checkItemList[this.moreResult.index].result = this.moreResult.result |
|
|
|
btnOkResult(result) { |
|
|
|
this.doctorCheck.checkItemList[this.moreResult.index].result = result ? this.moreResult[result]:this.moreResult.result |
|
|
|
this.madeTooltips(this.moreResult.index); |
|
|
|
this.computeFun(this.moreResult.index) |
|
|
|
this.dialogWinMoreResult = false |
|
|
|
|