Browse Source

HIS 系统提交

XMLWAN 4 years ago
parent
commit
3c224f39b3

+ 4 - 2
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

@@ -114,7 +114,7 @@
114 114
       </el-table-column>
115 115
       <el-table-column align="center" width="40" prop="name" label="操作">
116 116
         <template slot-scope="scope">
117
-          <i class="el-icon-delete" @click="deleteProject(scope.row)"></i>
117
+          <i class="el-icon-delete" @click="deleteProject(scope.row,scope.$index)"></i>
118 118
         </template>
119 119
       </el-table-column>
120 120
     </el-table>
@@ -265,7 +265,9 @@
265 265
           }
266 266
          return name
267 267
       },
268
-      deleteProject(row){
268
+      deleteProject(row,i){
269
+       
270
+        console.log("row",row)
269 271
         this.$confirm("项目删除后不可恢复,是否确认删除", "删除", {
270 272
           confirmButtonText: "确 定",
271 273
           cancelButtonText: "取 消",