jiangyy 4 years ago
parent
commit
2ce88f1f12
  1. 5
      epmet-oper-web/src/components/wx-index/voice.vue
  2. 19
      epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue
  3. 1
      epmet-oper-web/src/views/modules/customer/customize/RoleAuth.vue

5
epmet-oper-web/src/components/wx-index/voice.vue

@ -194,6 +194,11 @@ export default {
}, },
mounted () { mounted () {
},
beforeRouteEnter (to, from, next) {
// todo
console("路由来源", to)
until.data(to)
}, },
methods: { methods: {

19
epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue

@ -59,9 +59,7 @@
<el-button type="text" <el-button type="text"
size="small" size="small"
@click="showRoleAuth(scope.row.customerId,scope.row.customerName)">角色权限</el-button> @click="showRoleAuth(scope.row.customerId,scope.row.customerName)">角色权限</el-button>
<!-- <el-button type="text"
size="small"
@click="showLimitConfig(scope.row.customerId,scope.row.customerName)">角色权限2</el-button> -->
<el-button type="text" <el-button type="text"
size="small" size="small"
@click="showMost(scope.row.customerId,scope.row.customerName)">高级配置</el-button> @click="showMost(scope.row.customerId,scope.row.customerName)">高级配置</el-button>
@ -109,7 +107,7 @@
@cancleBack="cancleBack"></category-list> @cancleBack="cancleBack"></category-list>
</div> </div>
<el-dialog :visible.sync="funcVisible" <!-- <el-dialog :visible.sync="funcVisible"
title="功能列表" title="功能列表"
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
@ -118,7 +116,7 @@
<role-list v-if="funcVisible" <role-list v-if="funcVisible"
:customer-id="customerId" :customer-id="customerId"
:customer-name="customerName" /> :customer-name="customerName" />
</el-dialog> </el-dialog> -->
<div v-show="showType==='startPage'"> <div v-show="showType==='startPage'">
<start-page ref="ref_startPage" <start-page ref="ref_startPage"
:customer-id="customerId" :customer-id="customerId"
@ -135,7 +133,7 @@ import ConfigItem from './ConfigItem'
import FootbarList from '../../productConfig/footbar/FootbarList' import FootbarList from '../../productConfig/footbar/FootbarList'
import MiniHome from './MiniHome' import MiniHome from './MiniHome'
import MostList from './MostList' import MostList from './MostList'
import RoleList from './roleList' // import RoleList from './roleList'
import categoryList from './CategoryList' import categoryList from './CategoryList'
import StartPage from './StartPage' import StartPage from './StartPage'
import RoleAuth from './RoleAuth' import RoleAuth from './RoleAuth'
@ -163,7 +161,7 @@ export default {
components: { components: {
ConfigItem, ConfigItem,
MiniHome, MiniHome,
RoleList, // RoleList,
FootbarList, FootbarList,
MostList, MostList,
categoryList, categoryList,
@ -256,13 +254,6 @@ export default {
this.$refs['ref_category'].initData(customerId, customerName) this.$refs['ref_category'].initData(customerId, customerName)
}) })
}, },
//
showLimitConfig (customerId, customerName) {
this.customerId = customerId
this.customerName = customerName
this.funcVisible = !this.funcVisible
// this.$message.warning("");
},
// //
showRoleAuth (customerId, customerName) { showRoleAuth (customerId, customerName) {

1
epmet-oper-web/src/views/modules/customer/customize/RoleAuth.vue

@ -198,6 +198,7 @@ export default {
data () { data () {
return { return {
activeName: "work", activeName: "work",
customerName: "",
loading1: false, loading1: false,
loading2: false, loading2: false,
loading3: false, loading3: false,

Loading…
Cancel
Save