Explorar el Código

Merge branch 'iteration_share' into online

lex-xin hace 4 años
padre
commit
8d5d1f5765
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/views/chargeManager/three.vue

+ 4 - 4
src/views/chargeManager/three.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="m-container">
     <div class="m-core">
-      <div @click="chargeOperation('create')" v-permission="'paymentConfig/add'" class="newBand">添加</div>
+      <div @click="chargeOperation('create')" v-permission="'paymentConfig/addTypeRoute'" class="newBand">添加</div>
       <!-- 列表 -->
       <div class="tableWrap">
         <el-table :data="tableList" :header-cell-style="{background:'#EDEEF0',color:'#444'}">
@@ -20,12 +20,12 @@
             <template slot-scope="scope">
               <el-button
                 @click="chargeOperation('update', scope.row)"
-                v-permission="'paymentConfig/update'"
+                v-permission="'paymentConfig/updateTypeRoute'"
                 type="text"
               >修改</el-button>
               <el-button
                 @click="chargeDel(scope.row)"
-                v-permission="'paymentConfig/del'"
+                v-permission="'paymentConfig/delTypeRoute'"
                 type="text"
               >删除</el-button>
             </template>
@@ -265,7 +265,7 @@ export default {
         this.$nextTick(() => {
           this.form = {
             id: data.id,
-            typeRouteScale: data.typeRouteScale ? data.typeRouteScale : []
+            typeRouteScale: data.typeRouteScale ? JSON.parse(JSON.stringify(data.typeRouteScale)) : []
           }
         })
       }