Commit 2db06a38 by 无尘

fix: 修改标签和注释

parent c17ed2e4
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 11:07:46 * @Date: 2020-08-28 11:07:46
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-14 09:26:32 * @LastEditTime: 2020-09-14 16:09:23
--> -->
<!-- <!--
<edit-visiable :brand-id="brandId" :set-item-id="setItemId" :set-type="setType" :select-mode="selectMode" :range-data="rangeData" @refreshData="refreshData"></edit-visiable> <edit-visiable :brand-id="brandId" :set-item-id="setItemId" :set-type="setType" :select-mode="selectMode" :range-data="rangeData" @refreshData="refreshData"></edit-visiable>
......
<!-- <!--
* @Descripttion: 当前组件信息 * @Descripttion: 限制输入框组件
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-07-29 20:00:00 * @Date: 2019-07-29 20:00:00
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-03 18:02:40 * @LastEditTime: 2020-09-15 09:59:34
--> -->
<!-- <!--
限制输入框组件
<limit-input-blur <limit-input-blur
:input-width="500" :input-width="500"
:limit-class="'limit-color'" :limit-class="'limit-color'"
......
<!-- <!--
* @Descripttion: 当前组件信息 * @Descripttion: 限制输入框组件
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-12-06 13:44:22 * @Date: 2018-12-06 13:44:22
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-07 17:17:18 * @LastEditTime: 2020-09-15 10:00:20
--> -->
<!-- <!--
限制输入框组件
<limit-input <limit-input
:input-width="500" :input-width="500"
:limit-class="'limit-color'" :limit-class="'limit-color'"
...@@ -94,7 +93,7 @@ export default { ...@@ -94,7 +93,7 @@ export default {
}, },
methods: { methods: {
/** /**
* @description: 当前函数信息 * @description: 输入
* @param {String} value * @param {String} value
* @returns {Boolean} * @returns {Boolean}
* @author: 无尘 * @author: 无尘
...@@ -119,6 +118,10 @@ export default { ...@@ -119,6 +118,10 @@ export default {
} }
that.$emit('update:inputValue', that.itemValue); that.$emit('update:inputValue', that.itemValue);
}, },
/**
* @description: blur
* @author: 无尘
*/
inputBlur() { inputBlur() {
const that = this; const that = this;
that.$emit('update:inputValue', that.itemValue); that.$emit('update:inputValue', that.itemValue);
......
<!-- <!--
* @Descripttion: 当前组件信息 * @Descripttion: 限制文本框组件
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-12-06 17:25:22 * @Date: 2018-12-06 17:25:22
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-01 14:00:39 * @LastEditTime: 2020-09-15 10:00:53
--> -->
<!-- <!--=
限制文本框组件
<limit-textarea <limit-textarea
:input-width="500" :input-width="500"
:input-value.sync="ruleForm.addressDetail" :input-value.sync="ruleForm.addressDetail"
...@@ -83,7 +82,7 @@ export default { ...@@ -83,7 +82,7 @@ export default {
}, },
methods: { methods: {
/** /**
* @description: 当前函数信息 * @description: 输入
* @param {String} value * @param {String} value
* @author: 无尘 * @author: 无尘
*/ */
...@@ -101,6 +100,10 @@ export default { ...@@ -101,6 +100,10 @@ export default {
} }
that.$emit('update:inputValue', that.itemValue); that.$emit('update:inputValue', that.itemValue);
}, },
/**
* @description: blur
* @author: 无尘
*/
inputBlur() { inputBlur() {
const that = this; const that = this;
that.$emit('update:inputValue', that.itemValue); that.$emit('update:inputValue', that.itemValue);
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-10-21 14:27:29 * @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-28 16:18:33 * @LastEditTime: 2020-09-15 09:55:42
--> -->
<!-- <!--
...@@ -109,9 +109,9 @@ export default { ...@@ -109,9 +109,9 @@ export default {
}, },
methods: { methods: {
/** /**
* 关闭 * @description: 关闭
* @param {Function} done * @param {Function} done
* * @author: 无尘
*/ */
handleClose(done) { handleClose(done) {
const that = this; const that = this;
...@@ -120,18 +120,22 @@ export default { ...@@ -120,18 +120,22 @@ export default {
}, },
/** /**
* 取消 * @description: 取消关闭弹窗
* @author: 无尘
*/ */
customCancel() { customCancel() {
const that = this; const that = this;
that.hideDialog(); that.hideDialog();
}, },
hideDialog() { hideDialog() {
const that = this; const that = this;
that.customDialog = false; that.customDialog = false;
that.$emit('hideDetailDialog'); that.$emit('hideDetailDialog');
}, },
/**
* @description: 获取审核详情
* @author: 无尘
*/
getTableData() { getTableData() {
const that = this; const that = this;
let para = { let para = {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-02-19 12:20:38 * @Date: 2019-02-19 12:20:38
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-18 18:21:52 * @LastEditTime: 2020-09-15 09:56:28
--> -->
<template> <template>
<div class="custom-dialog-wrap"> <div class="custom-dialog-wrap">
...@@ -67,13 +67,14 @@ export default { ...@@ -67,13 +67,14 @@ export default {
that.rightData = that.storeChangeData.afterContent; that.rightData = that.storeChangeData.afterContent;
}, },
methods: { methods: {
// 关闭 /**
* @description: 关闭弹窗
* @author: 无尘
*/
handleCardClose() { handleCardClose() {
const that = this; const that = this;
that.customCancel(); that.customCancel();
}, },
// 取消
customCancel() { customCancel() {
const that = this; const that = this;
that.customDialog = false; that.customDialog = false;
......
<!-- <!--
* @Descripttion: 当前组件信息 * @Descripttion: 管理员授权选择门店绑定弹窗
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-21 10:10:57 * @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-09 16:01:23 * @LastEditTime: 2020-09-15 09:57:36
--> -->
<!-- <!--
授权选择门店绑定弹窗
<select-admin-store v-if="setVisible" :enterprise-id="enterpriseId" :select-mode="selectMode" :bind-range="authForm.bindRange" :share-range="authForm.shareRange" :bind-type="bindType" @closeSet="closeSet"></select-admin-store> <select-admin-store v-if="setVisible" :enterprise-id="enterpriseId" :select-mode="selectMode" :bind-range="authForm.bindRange" :share-range="authForm.shareRange" :bind-type="bindType" @closeSet="closeSet"></select-admin-store>
import selectAdminStore from '@/components/company/select-admin-store.vue'; import selectAdminStore from '@/components/company/select-admin-store.vue';
--> -->
......
<!-- <!--
* @Descripttion: gic选择分组 * @Descripttion: 添加管理员-选择管理员
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-21 10:10:57 * @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-09 16:00:22 * @LastEditTime: 2020-09-15 09:58:19
--> -->
<!-- <!--
选择管理员
<select-admin :select-admin="selectAdmin" @checkAdmins="checkAdmins"></select-admin> <select-admin :select-admin="selectAdmin" @checkAdmins="checkAdmins"></select-admin>
import selectAdmin from '@/components/set/select-admin.vue'; import selectAdmin from '@/components/set/select-admin.vue';
--> -->
......
<!-- <!--
* @Descripttion: gic选择分组 * @Descripttion: 管理员授权-门店绑定-选择分组(仅展示)
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-21 10:10:57 * @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-09 15:57:35 * @LastEditTime: 2020-09-15 09:58:45
--> -->
<!-- <!--
门店绑定-选择分组(仅展示)
<store-auth-group :company-id="companyId" :store-type="storeType" :select-group="selectGroup"></store-auth-group> <store-auth-group :company-id="companyId" :store-type="storeType" :select-group="selectGroup"></store-auth-group>
import storeAuthGroup from '@/components/set/store-auth-group.vue'; import storeAuthGroup from '@/components/set/store-auth-group.vue';
--> -->
......
<!-- <!--
* @Descripttion: gic选择门店 * @Descripttion: 管理员授权-门店绑定-选择门店(仅展示)
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-21 10:10:57 * @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-09 15:58:27 * @LastEditTime: 2020-09-15 09:59:11
--> -->
<!-- <!--
门店绑定-选择门店(仅展示)
<store-auth-store :company-id="companyId" :store-type="storeType" ></store-auth-store> <store-auth-store :company-id="companyId" :store-type="storeType" ></store-auth-store>
import storeAuthStore from '@/components/set/store-auth-store.vue'; import storeAuthStore from '@/components/set/store-auth-store.vue';
--> -->
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-10-10 17:21:32 * @Date: 2019-10-10 17:21:32
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-18 18:20:11 * @LastEditTime: 2020-09-15 10:08:05
--> -->
<template> <template>
<div class="nav-header"> <div class="nav-header">
...@@ -119,15 +119,17 @@ export default { ...@@ -119,15 +119,17 @@ export default {
}, },
methods: { methods: {
/** /**
* 首页跳转 * @description: 首页跳转
* @author: 无尘
*/ */
toIndex() { toIndex() {
const that = this; const that = this;
that.$router.push('/contactsList'); that.$router.push('/contactsList');
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {Object} menuItem * @param {Object} menuItem
* @author: 无尘
*/ */
changeRouter(menuItem) { changeRouter(menuItem) {
const that = this; const that = this;
...@@ -138,7 +140,7 @@ export default { ...@@ -138,7 +140,7 @@ export default {
window.open(`/haoban-4/#${menuItem.menuUrl}`); window.open(`/haoban-4/#${menuItem.menuUrl}`);
} }
}else { }else {
that.setleftData(menuItem); that.setLeftData(menuItem);
let childRoute = {}; let childRoute = {};
that.roleMenuData.forEach(ele => { that.roleMenuData.forEach(ele => {
// 如果第一层级下没有菜单,直接跳转 // 如果第一层级下没有菜单,直接跳转
...@@ -153,7 +155,7 @@ export default { ...@@ -153,7 +155,7 @@ export default {
that.$router.push(childRoute.menuUrl); that.$router.push(childRoute.menuUrl);
} }
}, },
setleftData(menuItem) { setLeftData(menuItem) {
const that = this; const that = this;
let arr = []; let arr = [];
that.roleMenuData.forEach(ele => { that.roleMenuData.forEach(ele => {
...@@ -163,8 +165,10 @@ export default { ...@@ -163,8 +165,10 @@ export default {
}); });
that.$emit('leftData', arr); that.$emit('leftData', arr);
}, },
/**
// 退出登录 * @description: 退出登录
* @author: 无尘
*/
toLoginOut() { toLoginOut() {
const that = this; const that = this;
that that
...@@ -190,19 +194,9 @@ export default { ...@@ -190,19 +194,9 @@ export default {
}) })
.catch(() => {}); .catch(() => {});
}, },
// 触发父组件路由
toRouter(path, name, code) {
const that = this;
let obj = {
path: '/' + path,
name: name
};
that.$emit('toRouterView', obj);
},
/** /**
* 获取用户信息 --- api * @description: 获取用户信息 --- api
* @author: 无尘
*/ */
toLogin() { toLogin() {
const that = this; const that = this;
...@@ -230,6 +224,12 @@ export default { ...@@ -230,6 +224,12 @@ export default {
}); });
}, },
/**
* @description: 处理简单数组-->父子级
* @param {Array} data
* @return {Array}
* @author: 无尘
*/
treeData(data) { treeData(data) {
let tree = data.filter(father => { let tree = data.filter(father => {
// 循环所有项 // 循环所有项
...@@ -247,6 +247,10 @@ export default { ...@@ -247,6 +247,10 @@ export default {
}); });
return tree; return tree;
}, },
/**
* @description: 获取菜单
* @author: 无尘
*/
getData() { getData() {
const that = this; const that = this;
const para = {}; const para = {};
...@@ -293,7 +297,7 @@ export default { ...@@ -293,7 +297,7 @@ export default {
} }
}); });
} }
that.setleftData(menuItem); that.setLeftData(menuItem);
} }
}) })
.catch(function(error) { .catch(function(error) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-09-11 18:18:32 * @Date: 2019-09-11 18:18:32
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-09 15:40:48 * @LastEditTime: 2020-09-15 10:26:41
*/ */
/** /**
* @description: 格式化时间 * @description: 格式化时间
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
* @return {String} * @return {String}
* @author: 无尘 * @author: 无尘
*/ */
/* 全局过滤器 */
const dateFormat = function(timeSpan, format) { const dateFormat = function(timeSpan, format) {
if (!timeSpan) return ''; if (!timeSpan) return '';
timeSpan = timeSpan.toString().length === 10 ? timeSpan * 1000 : timeSpan; timeSpan = timeSpan.toString().length === 10 ? timeSpan * 1000 : timeSpan;
......
/* /*
* @Descripttion: 当前组件信息 * @Descripttion: emit
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-16 16:37:05 * @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-21 10:37:07 * @LastEditTime: 2020-09-15 10:12:49
*/ */
'use strict'; 'use strict';
/** /**
* @description: 当前函数信息 * @description: 事件广播
* @param {String} componentName * @param {String} componentName
* @param {String} eventName * @param {String} eventName
* @param {Array} params * @param {Array} params
...@@ -29,7 +29,7 @@ function _broadcast(componentName, eventName, params) { ...@@ -29,7 +29,7 @@ function _broadcast(componentName, eventName, params) {
export default { export default {
methods: { methods: {
/** /**
* @description: 当前函数信息 * @description: 查找所有父级, 直到找到要找到的父组件, 并在身上触发指定的事件
* @param {String} componentName * @param {String} componentName
* @param {String} eventName * @param {String} eventName
* @param {Array} params * @param {Array} params
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
} }
}, },
/** /**
* @description: 当前函数信息 * @description: 事件广播
* @param {String} componentName * @param {String} componentName
* @param {String} eventName * @param {String} eventName
* @param {Array} params * @param {Array} params
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-17 10:38:29 * @Date: 2020-07-17 10:38:29
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-21 10:38:52 * @LastEditTime: 2020-09-15 10:27:24
*/ */
/** /**
* @description: 当前函数信息 * @description: 加载组件
* @param {String} parantfile * @param {String} parantfile
* @param {String} file * @param {String} file
* @returns {Function} * @returns {Function}
......
/* /*
* @Descripttion: 当前组件信息 * @Descripttion: 路由
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-16 16:37:05 * @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-02 11:26:40 * @LastEditTime: 2020-09-15 10:28:49
*/ */
import _import from './_import.js'; import _import from './_import.js';
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-11 14:45:01 * @LastEditTime: 2020-09-14 15:08:59
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: '/index' path: '/app-list'
}, },
{ {
name: '我的顾客', name: '我的顾客',
...@@ -56,35 +56,35 @@ export default { ...@@ -56,35 +56,35 @@ export default {
{ {
tabId: '1', tabId: '1',
menuName: '顾客数据维度', menuName: '顾客数据维度',
iconUrl: 'iconjichushezhi', iconUrl: 'iconweidu',
menuUrl: '/data-dimension', menuUrl: '/data-dimension',
children: [] children: []
}, },
{ {
tabId: '2', tabId: '2',
menuName: '场景人群', menuName: '场景人群',
iconUrl: 'icongukeguanliicon', iconUrl: 'iconrenqun',
menuUrl: '/crowd-scene', menuUrl: '/crowd-scene',
children: [] children: []
}, },
{ {
tabId: '3', tabId: '3',
menuName: '顾客数据', menuName: '顾客资料',
iconUrl: 'icongukeguanliicon', iconUrl: 'iconziliaocopy',
menuUrl: '/customer-data-set', menuUrl: '/customer-data-set',
children: [] children: []
}, },
{ {
tabId: '4', tabId: '4',
menuName: '导购标签', menuName: '导购标签',
iconUrl: 'icongukeguanliicon', iconUrl: 'iconbiaoqian',
menuUrl: '/clerk-tag', menuUrl: '/clerk-tag',
children: [] children: []
}, },
{ {
tabId: '5', tabId: '5',
menuName: '顾客分配', menuName: '顾客分配',
iconUrl: 'icongukeguanliicon', iconUrl: 'iconfenpei',
menuUrl: '/customer-assign', menuUrl: '/customer-assign',
children: [] children: []
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-18 18:17:13 * @LastEditTime: 2020-09-15 10:35:07
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -95,10 +95,13 @@ export default { ...@@ -95,10 +95,13 @@ export default {
document.documentElement.style.backgroundColor = '#fff'; document.documentElement.style.backgroundColor = '#fff';
}, },
methods: { methods: {
// 处理路由跳转 /**
* @description: 路由跳转
* @param {Object} val
* @author: 无尘
*/
toRouterView(val) { toRouterView(val) {
let that = this; const that = this;
// 模拟检查数据
// //有两个参数 // //有两个参数
// { // {
// name:, // name:,
...@@ -109,30 +112,31 @@ export default { ...@@ -109,30 +112,31 @@ export default {
}); });
}, },
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
* @author: 无尘
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
}, },
/** /**
* 返回 的 brandId * @description: 返回 的 brandId
* @param {String} id * @param {String} id
* @param {String} groupId * @param {String} groupId
* @author: 无尘
*/ */
selectBrandId(id, groupId) { selectBrandId(id, groupId) {
let that = this; const that = this;
that.activeBrand = id; that.activeBrand = id;
that.activeGroup = groupId; that.activeGroup = groupId;
}, },
/** /**
* 选择后返回tabId,做各路由判断 * @description: 选择后返回tabId,做各路由判断
* @param {Object} item * @param {Object} item
* @author: 无尘
*/ */
setSelectTab(item) { setSelectTab(item) {
let that = this; const that = this;
that.activeTab = item.menuUrl; that.activeTab = item.menuUrl;
if (item.target == 1) { if (item.target == 1) {
if (item.menuUrl.indexOf('http') != -1) { if (item.menuUrl.indexOf('http') != -1) {
...@@ -146,11 +150,12 @@ export default { ...@@ -146,11 +150,12 @@ export default {
}, },
/** /**
* 各路由返回 menuUrl * @description: 各路由返回 menuUrl
* @param {String} menuUrl * @param {String} menuUrl
* @author: 无尘
*/ */
showTab(menuUrl) { showTab(menuUrl) {
let that = this; const that = this;
that.activeTab = menuUrl; that.activeTab = menuUrl;
that.activeSelTab = menuUrl; that.activeSelTab = menuUrl;
that.tabListData.forEach(ele => { that.tabListData.forEach(ele => {
...@@ -174,8 +179,9 @@ export default { ...@@ -174,8 +179,9 @@ export default {
}); });
}, },
/** /**
* 获取左侧数据 * @description: 获取左侧数据
* @param {Array} arr * @param {Array} arr
* @author: 无尘
**/ **/
leftData(arr) { leftData(arr) {
const that = this; const that = this;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-08-18 18:10:09 * @LastEditTime: 2020-09-15 10:32:15
--> -->
<template> <template>
<div class="review-wrap"> <div class="review-wrap">
...@@ -64,14 +64,14 @@ export default { ...@@ -64,14 +64,14 @@ export default {
}, },
methods: { methods: {
/** /**
* 路由跳转 * @description: 路由跳转
* @param {String} path * @param {String} path
*/ */
changeRoute(path) { changeRoute(path) {
this.$router.push(path); this.$router.push(path);
}, },
/** /**
* 选择后返回menuUrl,做各路由判断 * @description: 选择后返回menuUrl,做各路由判断
* @param {Object} item * @param {Object} item
*/ */
setSelectTab(item) { setSelectTab(item) {
...@@ -87,9 +87,8 @@ export default { ...@@ -87,9 +87,8 @@ export default {
that.$router.push(item.menuUrl); that.$router.push(item.menuUrl);
} }
}, },
/** /**
* 各路由返回 menuUrl * @description: 各路由返回 menuUrl
* @param {String} menuUrl * @param {String} menuUrl
*/ */
showTab(menuUrl) { showTab(menuUrl) {
...@@ -116,7 +115,11 @@ export default { ...@@ -116,7 +115,11 @@ export default {
} }
}); });
}, },
// 处理路由跳转 /**
* @description: 处理路由跳转
* @param {Object} val
* @author: 无尘
*/
toRouterView(val) { toRouterView(val) {
const that = this; const that = this;
// 模拟检查数据,有两个参数 // 模拟检查数据,有两个参数
...@@ -129,13 +132,17 @@ export default { ...@@ -129,13 +132,17 @@ export default {
}); });
}, },
// 折叠事件 /**
* @description:折叠事件
* @param {Boolean} val
* @author: 无尘
*/
collapseTag(val) { collapseTag(val) {
const that = this; const that = this;
that.collapseFlag = val; that.collapseFlag = val;
}, },
/** /**
* 获取左侧数据 * @description: 获取左侧数据
* @param {Array} arr * @param {Array} arr
**/ **/
leftData(arr) { leftData(arr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment