权限打包调整

This commit is contained in:
fan 2019-09-11 17:09:51 +08:00
parent 6b80ac2452
commit 1afb81bba5

View File

@ -28,7 +28,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="mapProductCode" :label="$t('permission.mapProductName')" width="100"> <el-table-column prop="mapProductCode" :label="$t('permission.mapProductName')" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ computedName(mapProductList, scope.row.mapProductCode) }} {{ computedName(mapProductList, scope.row.prdCode) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="lessonId" :label="$t('permission.lessonName')"> <el-table-column prop="lessonId" :label="$t('permission.lessonName')">
@ -203,7 +203,7 @@ export default {
const index = this.ruleList.findIndex(elem => { const index = this.ruleList.findIndex(elem => {
return item.mapId == elem.mapId && return item.mapId == elem.mapId &&
item.lessonId == elem.lessonId && item.lessonId == elem.lessonId &&
item.mapProductCode == elem.mapProductCode && item.prdCode == elem.prdCode &&
item.permissionType == elem.permissionType; item.permissionType == elem.permissionType;
}); });
getPublishMapInfo(item.mapId).then(resp => { getPublishMapInfo(item.mapId).then(resp => {