xiaochan 1 سال پیش
والد
کامیت
58c3f020be

+ 4 - 3
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/EmrHeader.vue

@@ -32,7 +32,7 @@ emrMitt.on('setHeaderFunction', (value) => {
            :class="{'activation': item.activation}"
            v-for="item in buttonList">
         <div v-if="item.dropdown" class="mac_dropdown">
-          <div v-for="dropdownItem in item.dropdown" @click="item.click">
+          <div v-for="dropdownItem in item.dropdown" @click="dropdownItem.click">
             {{ dropdownItem.name }}
           </div>
         </div>
@@ -121,8 +121,9 @@ emrMitt.on('setHeaderFunction', (value) => {
       top: 24px;
       left: 0;
       width: max-content;
-      text-align: center;
-      min-width: 50px;
+      text-align: left;
+      min-width: 100px;
+      border-radius: 5px;
       box-shadow: var(--el-box-shadow-lighter);
 
       > div {