heyang il y a 2 ans
Parent
commit
32c3bf5511
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/views/oneKeyOutfire/outfireDevice/outfireDevice.vue

+ 3 - 1
src/views/oneKeyOutfire/outfireDevice/outfireDevice.vue

@@ -48,7 +48,7 @@
         <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="180">
           <template slot-scope="scope">
             <div class="button-box">
-              <p class="table-min-button"  v-hasPermi="['laboratory:hardware5:edit']" @click="handleClick('',scope.row,'delete')">编辑</p>
+              <p class="table-min-button"  v-hasPermi="['laboratory:hardware5:edit']" @click="handleClick('',scope.row,'edit')">编辑</p>
               <p class="table-min-button" v-hasPermi="['laboratory:hardware5:remove']" @click="handleClick('',scope.row,'delete')">删除</p>
             </div>
           </template>
@@ -213,6 +213,8 @@ export default {
         let _this=this;
         if(doType=='add'){//添加
           _this.dialogVisible=true;
+        }else if(doType=='edit'){//编辑
+          _this.dialogVisible=true;
         }else if(doType=='delete'){//删除
           this.$confirm('是否确认删除当前数据项?', "警告", {
             confirmButtonText: "确定",