|
|
@@ -1177,17 +1177,32 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
<td>
|
|
|
+ <div style="position: relative">
|
|
|
<input
|
|
|
style="border: none !important; width: 40px"
|
|
|
v-model="patient.surgeryList[n - 1].operatorName"
|
|
|
+ readonly
|
|
|
@click="showSearchSurgerior('operator', n)"
|
|
|
/>
|
|
|
+ <div
|
|
|
+ v-if="patient.surgeryList[n - 1].operatorName"
|
|
|
+ style="position: absolute; top: -20px; right: 0"
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ circle
|
|
|
+ icon="Delete"
|
|
|
+ @click="deleteOperatorName(n - 1)"
|
|
|
+ ></el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
<td style="width: 50px">
|
|
|
<div style="position: relative">
|
|
|
<input
|
|
|
style="border: none !important; width: 40px"
|
|
|
v-model="patient.surgeryList[n - 1].assistantOneName"
|
|
|
+ readonly
|
|
|
@click="showSearchSurgerior('assistantone', n)"
|
|
|
/>
|
|
|
<div
|
|
|
@@ -3145,6 +3160,11 @@ const deleteSurgery = index => {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+const deleteOperatorName = index => {
|
|
|
+ patient.value.surgeryList[index].operator = "";
|
|
|
+ patient.value.surgeryList[index].operatorName = "";
|
|
|
+};
|
|
|
+
|
|
|
const deleteAssistantOne = index => {
|
|
|
patient.value.surgeryList[index].assistantOne = "";
|
|
|
patient.value.surgeryList[index].assistantOneName = "";
|