Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
2db06a38
Commit
2db06a38
authored
Sep 15, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改标签和注释
parent
c17ed2e4
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
117 additions
and
96 deletions
+117
-96
edit-visiable.vue
src/components/app/my-customer/edit-visiable.vue
+1
-1
limit-input-blur.vue
src/components/limit-input-blur.vue
+2
-3
limit-input.vue
src/components/limit-input.vue
+7
-4
limit-textarea.vue
src/components/limit-textarea.vue
+8
-5
review-result-detail.vue
src/components/review/review-result-detail.vue
+9
-5
store-change.vue
src/components/review/store-change.vue
+5
-4
select-admin-store.vue
src/components/set/select-admin-store.vue
+2
-3
select-admin.vue
src/components/set/select-admin.vue
+2
-3
store-auth-group.vue
src/components/set/store-auth-group.vue
+2
-3
store-auth-store.vue
src/components/set/store-auth-store.vue
+2
-3
vue-office-header.vue
src/components/vue-office-header.vue
+24
-20
index.js
src/filters/index.js
+1
-3
emitter.js
src/mixins/emitter.js
+5
-5
_import.js
src/router/_import.js
+2
-2
routes.js
src/router/routes.js
+2
-2
index.vue
src/views/apps/customer-app/index.vue
+8
-8
index.vue
src/views/enterprise/index.vue
+20
-14
index.vue
src/views/review-center/index.vue
+15
-8
No files found.
src/components/app/my-customer/edit-visiable.vue
View file @
2db06a38
...
@@ -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>
...
...
src/components/limit-input-blur.vue
View file @
2db06a38
<!--
<!--
* @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'"
...
...
src/components/limit-input.vue
View file @
2db06a38
<!--
<!--
* @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
);
...
...
src/components/limit-textarea.vue
View file @
2db06a38
<!--
<!--
* @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
);
...
...
src/components/review/review-result-detail.vue
View file @
2db06a38
...
@@ -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-0
8-28 16:18:33
* @LastEditTime: 2020-0
9-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
=
{
...
...
src/components/review/store-change.vue
View file @
2db06a38
...
@@ -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-0
8-18 18:21:52
* @LastEditTime: 2020-0
9-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
;
...
...
src/components/set/select-admin-store.vue
View file @
2db06a38
<!--
<!--
* @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';
-->
-->
...
...
src/components/set/select-admin.vue
View file @
2db06a38
<!--
<!--
* @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';
-->
-->
...
...
src/components/set/store-auth-group.vue
View file @
2db06a38
<!--
<!--
* @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:3
5
* @LastEditTime: 2020-09-
15 09:58:4
5
-->
-->
<!--
<!--
门店绑定-选择分组(仅展示)
<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';
-->
-->
...
...
src/components/set/store-auth-store.vue
View file @
2db06a38
<!--
<!--
* @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';
-->
-->
...
...
src/components/vue-office-header.vue
View file @
2db06a38
...
@@ -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-0
8-18 18:20:11
* @LastEditTime: 2020-0
9-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
.
set
l
eftData
(
menuItem
);
that
.
set
L
eftData
(
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
);
}
}
},
},
set
l
eftData
(
menuItem
)
{
set
L
eftData
(
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
.
set
l
eftData
(
menuItem
);
that
.
set
L
eftData
(
menuItem
);
}
}
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
...
...
src/filters/index.js
View file @
2db06a38
...
@@ -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
;
...
...
src/mixins/emitter.js
View file @
2db06a38
/*
/*
* @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-0
8-21 10:37:07
* @LastEditTime: 2020-0
9-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
...
...
src/router/_import.js
View file @
2db06a38
...
@@ -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-0
8-21 10:38:52
* @LastEditTime: 2020-0
9-15 10:27:24
*/
*/
/**
/**
* @description:
当前函数信息
* @description:
加载组件
* @param {String} parantfile
* @param {String} parantfile
* @param {String} file
* @param {String} file
* @returns {Function}
* @returns {Function}
...
...
src/router/routes.js
View file @
2db06a38
/*
/*
* @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'
;
...
...
src/views/apps/customer-app/index.vue
View file @
2db06a38
...
@@ -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-1
1 14:45:01
* @LastEditTime: 2020-09-1
4 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
:
'icon
jichushezhi
'
,
iconUrl
:
'icon
weidu
'
,
menuUrl
:
'/data-dimension'
,
menuUrl
:
'/data-dimension'
,
children
:
[]
children
:
[]
},
},
{
{
tabId
:
'2'
,
tabId
:
'2'
,
menuName
:
'场景人群'
,
menuName
:
'场景人群'
,
iconUrl
:
'icon
gukeguanliico
n'
,
iconUrl
:
'icon
renqu
n'
,
menuUrl
:
'/crowd-scene'
,
menuUrl
:
'/crowd-scene'
,
children
:
[]
children
:
[]
},
},
{
{
tabId
:
'3'
,
tabId
:
'3'
,
menuName
:
'顾客
数据
'
,
menuName
:
'顾客
资料
'
,
iconUrl
:
'icon
gukeguanliicon
'
,
iconUrl
:
'icon
ziliaocopy
'
,
menuUrl
:
'/customer-data-set'
,
menuUrl
:
'/customer-data-set'
,
children
:
[]
children
:
[]
},
},
{
{
tabId
:
'4'
,
tabId
:
'4'
,
menuName
:
'导购标签'
,
menuName
:
'导购标签'
,
iconUrl
:
'icon
gukeguanliico
n'
,
iconUrl
:
'icon
biaoqia
n'
,
menuUrl
:
'/clerk-tag'
,
menuUrl
:
'/clerk-tag'
,
children
:
[]
children
:
[]
},
},
{
{
tabId
:
'5'
,
tabId
:
'5'
,
menuName
:
'顾客分配'
,
menuName
:
'顾客分配'
,
iconUrl
:
'icon
gukeguanliicon
'
,
iconUrl
:
'icon
fenpei
'
,
menuUrl
:
'/customer-assign'
,
menuUrl
:
'/customer-assign'
,
children
:
[]
children
:
[]
}
}
...
...
src/views/enterprise/index.vue
View file @
2db06a38
...
@@ -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-0
8-18 18:17:13
* @LastEditTime: 2020-0
9-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
)
{
le
t
that
=
this
;
cons
t
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
)
{
le
t
that
=
this
;
cons
t
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
)
{
le
t
that
=
this
;
cons
t
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
;
...
...
src/views/review-center/index.vue
View file @
2db06a38
...
@@ -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-0
8-18 18:10:09
* @LastEditTime: 2020-0
9-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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment