Browse Source

最新修改

e 4 năm trước cách đây
mục cha
commit
c95f352a38

+ 3 - 3
src/views/antiepidemic/immuneProce.vue

@@ -64,7 +64,7 @@
                     <el-table-column label="操作" width="150">
                         <template slot-scope="scope">
                             <el-button @click="edit(scope.row)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>
@@ -253,7 +253,7 @@ export default {
             delete this.formData.id;
         },
         edit(row) {
-            // 数据回填 
+            // 数据回填
             console.log(row.target);
             this.formData = row;
             this.$store.state["sheepType"].forEach(item => {
@@ -298,4 +298,4 @@ export default {
         margin-top: 20px;
     }
 }
-</style>
+</style>

+ 1 - 1
src/views/breed/collectSeedLog.vue

@@ -63,7 +63,7 @@
                     <el-table-column label="操作" width="150">
                         <template v-slot="scope">
                             <el-button @click="edit(scope.row, true)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>

+ 2 - 2
src/views/breed/commoditySheepFile.vue

@@ -76,7 +76,7 @@
                         <template slot-scope="scope">
                             <el-popconfirm
                                 title="是否删除此设备的信息?"
-                                @onConfirm="del(scope.row)"
+                                @confirm="del(scope.row)"
                             >
                                 <el-button
                                     slot="reference"
@@ -280,4 +280,4 @@ export default {
         margin-top: 20px;
     }
 }
-</style>
+</style>

+ 1 - 1
src/views/breed/matingLog.vue

@@ -57,7 +57,7 @@
                     <el-table-column label="操作" width="150">
                         <template slot-scope="scope">
                             <el-button @click="edit(scope.row, true)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>

+ 1 - 1
src/views/breed/matingSuccLog.vue

@@ -59,7 +59,7 @@
                     <el-table-column label="操作" width="150">
                         <template slot-scope="scope">
                             <el-button @click="edit(scope.row, true)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>

+ 1 - 1
src/views/breed/offFieldLog.vue

@@ -49,7 +49,7 @@
                     <el-table-column label="操作" width="150">
                         <template slot-scope="scope">
                             <el-button @click="edit(scope.row, true)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>

+ 1 - 1
src/views/breed/parturitionLog.vue

@@ -89,7 +89,7 @@
                             >
                             <el-popconfirm
                                 title="是否删除此设备的信息?"
-                                @onConfirm="del(scope.row)"
+                                @confirm="del(scope.row)"
                             >
                                 <el-button
                                     slot="reference"

+ 1 - 1
src/views/breed/pregnancyTestLog.vue

@@ -98,7 +98,7 @@
                             >
                             <el-popconfirm
                                 title="是否删除此设备的信息?"
-                                @onConfirm="del(scope.row)"
+                                @confirm="del(scope.row)"
                             >
                                 <el-button
                                     slot="reference"

+ 2 - 2
src/views/breed/seedSheepFile.vue

@@ -131,7 +131,7 @@
                         <template v-slot="scope">
                             <el-popconfirm
                                 title="是否删除此设备的信息?"
-                                @onConfirm="del(scope.row)"
+                                @confirm="del(scope.row)"
                             >
                                 <el-button
                                     slot="reference"
@@ -415,4 +415,4 @@ export default {
         margin-top: 20px;
     }
 }
-</style>
+</style>

+ 1 - 1
src/views/breed/shiftFieldLog.vue

@@ -109,7 +109,7 @@
                             >
                             <el-popconfirm
                                 title="是否删除此设备的信息?"
-                                @onConfirm="del(scope.row)"
+                                @confirm="del(scope.row)"
                             >
                                 <el-button
                                     slot="reference"

+ 1 - 1
src/views/breed/weaningLog.vue

@@ -77,7 +77,7 @@
                             >
                             <el-popconfirm
                                 title="是否删除此设备的信息?"
-                                @onConfirm="del(scope.row)"
+                                @confirm="del(scope.row)"
                             >
                                 <el-button
                                     slot="reference"

+ 1 - 1
src/views/fileInfo/areaInfo.vue

@@ -35,7 +35,7 @@
                     <el-table-column label="操作" width="150">
                         <template slot-scope="scope">
                             <el-button @click="edit(scope.row, true)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>

+ 1 - 1
src/views/fileInfo/workerInfo.vue

@@ -93,7 +93,7 @@
                             >
                             <el-popconfirm
                                 title="是否删除此设备的信息?"
-                                @onConfirm="del(scope.row)"
+                                @confirm="del(scope.row)"
                             >
                                 <el-button
                                     slot="reference"

+ 2 - 2
src/views/harmless/harmlessConfirm.vue

@@ -86,7 +86,7 @@
                         <template v-slot="scope">
                             <el-popconfirm
                                 title="是否确认已处理?"
-                                @onConfirm="check(scope.row)"
+                                @confirm="check(scope.row)"
                             >
                                 <el-button
                                     v-if="
@@ -325,4 +325,4 @@ export default {
         margin-top: 20px;
     }
 }
-</style>
+</style>

+ 3 - 3
src/views/material/basicsInfo.vue

@@ -52,7 +52,7 @@
                     <el-table-column label="操作" width="150">
                         <template v-slot="scope">
                             <el-button @click="edit(scope.row)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>
@@ -190,7 +190,7 @@ export default {
     },
     computed: {},
     methods: {
-        
+
         onMsg(imgUrl) {
             this.formData.img = imgUrl
         },
@@ -296,4 +296,4 @@ export default {
         margin-top: 20px;
     }
 }
-</style>
+</style>

+ 2 - 2
src/views/material/materialInStore.vue

@@ -46,7 +46,7 @@
                     <el-table-column label="操作" width="150">
                         <template v-slot="scope">
                             <el-button @click="edit(scope.row)" type="text" size="small">编辑</el-button>
-                            <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
+                            <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
                                 <el-button slot="reference" type="text" size="small">删除</el-button>
                             </el-popconfirm>
                         </template>
@@ -264,4 +264,4 @@ export default {
         margin-top: 20px;
     }
 }
-</style>
+</style>