|
@@ -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)) : []
|
|
|
}
|
|
|
})
|
|
|
}
|