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
e57b70dd
Commit
e57b70dd
authored
Sep 08, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改排序
parent
7eaa686c
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
268 additions
and
145 deletions
+268
-145
customer-store-group.vue
src/components/app/my-customer/customer-store-group.vue
+6
-2
customer-store.vue
src/components/app/my-customer/customer-store.vue
+5
-1
edit-tag-dialog.vue
src/components/app/my-customer/edit-tag-dialog.vue
+4
-1
edit-visiable.vue
src/components/app/my-customer/edit-visiable.vue
+6
-1
store-list.vue
src/components/app/my-customer/store-list.vue
+6
-1
sync-crowd-dialog.vue
src/components/app/my-customer/sync-crowd-dialog.vue
+14
-1
add-member.vue
src/components/company/add-member.vue
+13
-7
add-relate.vue
src/components/company/add-relate.vue
+24
-13
auth-commit-success.vue
src/components/company/auth-commit-success.vue
+3
-2
auth-commit.vue
src/components/company/auth-commit.vue
+9
-6
auth-tip.vue
src/components/company/auth-tip.vue
+2
-12
check-name-dialog.vue
src/components/company/check-name-dialog.vue
+7
-4
contact-tree.vue
src/components/company/contact-tree.vue
+9
-6
fail-log.vue
src/components/company/fail-log.vue
+12
-5
help-dialog.vue
src/components/company/help-dialog.vue
+6
-2
help-tip.vue
src/components/company/help-tip.vue
+6
-2
new-depart-member.vue
src/components/company/new-depart-member.vue
+26
-15
clerk-tag.vue
src/views/apps/customer-app/clerk-tag.vue
+1
-3
crowd-scene.vue
src/views/apps/customer-app/crowd-scene.vue
+2
-1
customer-assign.vue
src/views/apps/customer-app/customer-assign.vue
+6
-4
customer-data-set.vue
src/views/apps/customer-app/customer-data-set.vue
+5
-3
customer-show-set.vue
src/views/apps/customer-app/customer-show-set.vue
+5
-3
data-dimension.vue
src/views/apps/customer-app/data-dimension.vue
+3
-1
index.vue
src/views/apps/customer-app/index.vue
+12
-8
index.vue
src/views/apps/index.vue
+5
-3
audit-log.vue
src/views/business/audit-log.vue
+15
-8
auth-merchant.vue
src/views/business/auth-merchant.vue
+15
-8
index.vue
src/views/business/index.vue
+11
-3
new-auth-merchant.vue
src/views/business/new-auth-merchant.vue
+30
-19
No files found.
src/components/app/my-customer/customer-store-group.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 15:24:12
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
4 10:29:25
* @LastEditTime: 2020-09-0
8 15:12:53
-->
<!--
门店绑定-选择分组
...
...
@@ -80,6 +80,7 @@ export default {
* @param {String} value
* @param {Object} data
* @returns {Boolean}
* @author: 无尘
*/
filterNode
(
value
,
data
)
{
if
(
!
value
||
!
data
.
label
)
return
true
;
...
...
@@ -90,6 +91,7 @@ export default {
* @param {Object} e
* @param {String} value
* @returns {Boolean}
* @author: 无尘
*/
toInput
:
_debounce
(
function
(
e
,
value
)
{
const
that
=
this
;
...
...
@@ -100,6 +102,7 @@ export default {
/**
* @description: 清空
* @returns {Boolean}
* @author: 无尘
*/
clearSearch
()
{
return
false
;
...
...
@@ -108,6 +111,7 @@ export default {
* @description: 选择 tree 节点,获取选择节点信息
* @param {Object} e
* @param {Array} checkedKeys
* @author: 无尘
*/
checkGroup
:
function
(
e
,
checkedKeys
)
{
const
that
=
this
;
...
...
@@ -146,6 +150,7 @@ export default {
/**
* @description: 获取门店分组
* @author: 无尘
*/
getGroup
()
{
const
that
=
this
;
...
...
@@ -154,7 +159,6 @@ export default {
enterpriseId
:
that
.
brandId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
};
getGroupList
(
para
)
.
then
(
async
res
=>
{
if
(
!!
res
.
result
&&
res
.
result
.
length
)
{
...
...
src/components/app/my-customer/customer-store.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 15:24:42
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
4 10:32:24
* @LastEditTime: 2020-09-0
8 15:13:10
-->
<!--
<customer-store :brand-id="brandId" :select-store="selectStore" @checkStoreIds="checkStoreIds"></customer-store>
...
...
@@ -88,6 +88,7 @@ export default {
/**
* @description: 选择改变
* @param {Array} value
* @author: 无尘
*/
handleStoresChange
(
value
)
{
const
that
=
this
;
...
...
@@ -103,6 +104,7 @@ export default {
* @description: 输入
* @param {Object} e
* @param {String} value
* @author: 无尘
*/
toInput
:
_debounce
(
function
(
e
,
value
)
{
const
that
=
this
;
...
...
@@ -115,6 +117,7 @@ export default {
/**
* @description: 清空
* @author: 无尘
*/
clearSearch
()
{
const
that
=
this
;
...
...
@@ -125,6 +128,7 @@ export default {
/**
* @description: 获取门店
* @author: 无尘
*/
getStoreData
()
{
const
that
=
this
;
...
...
src/components/app/my-customer/edit-tag-dialog.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-09-01 17:16:25
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 1
2:21:4
5
* @LastEditTime: 2020-09-08 1
5:12:1
5
-->
<!--
...
...
@@ -157,6 +157,7 @@ export default {
},
/**
* @description: 关闭弹窗
* @author: 无尘
*/
cancel
()
{
const
that
=
this
;
...
...
@@ -171,6 +172,7 @@ export default {
* @description: 确定保存
* @param {String} formName
* @returns {Boolean}
* @author: 无尘
*/
submit
:
_debounce
(
function
(
formName
)
{
const
that
=
this
;
...
...
@@ -234,6 +236,7 @@ export default {
},
/**
* @description: 获取分类数据
* @author: 无尘
*/
getClassifyList
()
{
const
that
=
this
;
...
...
src/components/app/my-customer/edit-visiable.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 11:07:46
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 1
2:15:14
* @LastEditTime: 2020-09-08 1
5:10:48
-->
<!--
<edit-visiable :brand-id="brandId" :set-item-id="setItemId" :set-type="setType" :select-mode="selectMode" :range-data="rangeData" @refreshData="refreshData"></edit-visiable>
...
...
@@ -102,6 +102,7 @@ export default {
/**
* @description: 改变选择范围
* @param {String} e
* @author: 无尘
*/
changeRange
(
e
)
{
const
that
=
this
;
...
...
@@ -111,6 +112,7 @@ export default {
/**
* @description: 关闭弹窗
* @param {Function} done
* @author: 无尘
*/
handleClose
(
done
)
{
const
that
=
this
;
...
...
@@ -129,6 +131,7 @@ export default {
/**
* @description: 每次选择分组
* @param {Array} nodes
* @author: 无尘
*/
checkGroupIds
:
function
(
nodes
)
{
const
that
=
this
;
...
...
@@ -137,6 +140,7 @@ export default {
/**
* @description: 每次选择门店
* @param {Array} nodes
* @author: 无尘
*/
checkStoreIds
:
function
(
nodes
)
{
const
that
=
this
;
...
...
@@ -145,6 +149,7 @@ export default {
/**
* @description: 确定
* @returns {Boolean}
* @author: 无尘
*/
submitForm
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
src/components/app/my-customer/store-list.vue
View file @
e57b70dd
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-08-13 14:02:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 1
0:50:39
* @LastEditTime: 2020-09-08 1
5:11:11
* @FilePath : haoban-4\src\components\app\my-customer\store-list.vue
-->
<!--
...
...
@@ -113,6 +113,7 @@ export default {
/**
* @description: 查看会员
* @param {Object} item
* @author: 无尘
*/
showMember
(
item
)
{
const
that
=
this
;
...
...
@@ -120,6 +121,7 @@ export default {
},
/**
* @description: 输入
* @author: 无尘
*/
toInput
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
@@ -139,6 +141,7 @@ export default {
/**
* @description:分页---页码变化
* @param {Number} val
* @author: 无尘
*/
handleSizeChange
(
val
)
{
const
that
=
this
;
...
...
@@ -150,6 +153,7 @@ export default {
/**
* @description: 分页---当前页变化
* @param {Number} val
* @author: 无尘
*/
handleCurrentChange
(
val
)
{
const
that
=
this
;
...
...
@@ -158,6 +162,7 @@ export default {
},
/**
* @description: 获取列表数据
* @author: 无尘
*/
getTableList
()
{
const
that
=
this
;
...
...
src/components/app/my-customer/sync-crowd-dialog.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 10:31:09
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
7 18:15:47
* @LastEditTime: 2020-09-0
8 15:11:54
-->
<!--
<sync-crowd-dialog :brand-id="brandId" :select-ids="selectIds" :total-num="totalNum" @refreshData="refreshData"></sync-crowd-dialog>
...
...
@@ -127,6 +127,7 @@ export default {
* @description: 确定保存
* @param {String} form
* @returns {Boolean}
* @author: 无尘
*/
submitForm
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
@@ -166,6 +167,7 @@ export default {
/**
* @description: 表格---多选
* @param {Array} val
* @author: 无尘
*/
handleSelectionChange
(
val
)
{
const
that
=
this
;
...
...
@@ -173,6 +175,7 @@ export default {
},
/**
* @description: 关闭
* @author: 无尘
*/
cancel
()
{
const
that
=
this
;
...
...
@@ -194,6 +197,7 @@ export default {
},
/**
* @description: 搜索输入
* @author: 无尘
*/
toInput
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
@@ -202,6 +206,7 @@ export default {
},
500
),
/**
* @description: 搜索清除
* @author: 无尘
*/
clearInput
()
{
const
that
=
this
;
...
...
@@ -210,6 +215,7 @@ export default {
},
/**
* @description: 条件
* @author: 无尘
*/
changeCondition
()
{
const
that
=
this
;
...
...
@@ -220,6 +226,7 @@ export default {
/**
* @description: 分页---页码变化
* @param {Number} val
* @author: 无尘
*/
handleSizeChange
(
val
)
{
const
that
=
this
;
...
...
@@ -231,6 +238,7 @@ export default {
/**
* @description: 分页---当前页变化
* @param {Number} val
* @author: 无尘
*/
handleCurrentChange
(
val
)
{
const
that
=
this
;
...
...
@@ -239,6 +247,7 @@ export default {
},
/**
* @description: 获取分类
* @author: 无尘
*/
getGroupClassify
()
{
const
that
=
this
;
...
...
@@ -256,6 +265,7 @@ export default {
},
/**
* @description: 获取列表数据
* @author: 无尘
*/
getTableList
()
{
const
that
=
this
;
...
...
@@ -297,4 +307,7 @@ export default {
.w-165
{
width
:
165px
;
}
.dialog-footer
{
margin-top
:
-20px
;
}
</
style
>
src/components/company/add-member.vue
View file @
e57b70dd
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-28 16:13:29
* @LastEditTime: 2020-0
9-08 15:23:25
* @FilePath :\haoban-4\src\components\company\add-member.vue
-->
<!--
...
...
@@ -159,24 +159,27 @@ export default {
},
methods
:
{
/**
* 选择部门
*
@description:
选择部门
* @param {Object} obj
* @author: 无尘
*/
changeDepart
(
obj
)
{
const
that
=
this
;
that
.
$emit
(
'changeObj'
,
obj
);
},
/**
* 选择部门
*
@description:
选择部门
* @param {Object} nodes
* @author: 无尘
*/
checkGroupIds
:
function
(
nodes
)
{
const
that
=
this
;
that
.
partForm
.
departmentInfo
=
nodes
;
},
/**
* 改变对外职务
*
@description:
改变对外职务
* @param {String} e
* @author: 无尘
*/
changeExtendPostion
(
e
)
{
const
that
=
this
;
...
...
@@ -188,8 +191,9 @@ export default {
}
},
/**
* 关闭弹窗
*
@description:
关闭弹窗
* @param {Function} done
* @author: 无尘
*/
handleClose
(
done
)
{
const
that
=
this
;
...
...
@@ -204,8 +208,9 @@ export default {
},
/**
* 确定保存
*
@description:
确定保存
* @param {String} form
* @author: 无尘
*/
submitForm
(
form
)
{
const
that
=
this
;
...
...
@@ -218,7 +223,8 @@ export default {
},
/**
* 获取数据
* @description: 获取数据
* @author: 无尘
*/
getData
()
{
const
that
=
this
;
...
...
src/components/company/add-relate.vue
View file @
e57b70dd
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-31 15:23:57
* @LastEditTime: 2020-0
9-08 15:09:42
* @FilePath : \haoban-4\src\components\company\add-relate.vue
-->
<!--
...
...
@@ -89,15 +89,17 @@ export default {
},
methods
:
{
/**
* 显示pop
* @description: 显示 pop
* @author: 无尘
*/
showPop
()
{
const
that
=
this
;
that
.
visible
=
true
;
},
/**
* 解绑
* @param {Object} row
* @description: 解绑
* @param {Object} row
* @author: 无尘
*/
toUnbind
(
row
)
{
const
that
=
this
;
...
...
@@ -139,9 +141,10 @@ export default {
});
},
/**
* 选择
* @param {Object} item
* @returns {Boolean}
* @description: 选择
* @param {Object} item
* @returns {Boolean}
* @author: 无尘
*/
checkStore
(
item
)
{
const
that
=
this
;
...
...
@@ -161,7 +164,8 @@ export default {
});
},
/**
* 输入
* @description: 输入
* @author: 无尘
*/
toInput
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
@@ -172,15 +176,17 @@ export default {
that
.
getData
();
},
500
),
/**
* 搜索清除
* @description: 搜索清除
* @author: 无尘
*/
clearSearch
()
{
const
that
=
this
;
that
.
storeData
=
[];
},
/**
* 关闭弹窗
* @param {Function} done
* @description: 关闭弹窗
* @param {Function} done
* @author: 无尘
*/
handleClose
(
done
)
{
const
that
=
this
;
...
...
@@ -194,8 +200,9 @@ export default {
that
.
$emit
(
'refreshData'
,
'close'
);
},
/**
* 确定保存
* @param {String} form
* @description: 确定保存
* @param {String} form
* @author: 无尘
*/
submitForm
:
_debounce
(
function
(
form
)
{
const
that
=
this
;
...
...
@@ -232,6 +239,10 @@ export default {
that
.
loading
=
false
;
});
},
/**
* @description: 获取关联导购
* @author: 无尘
*/
getData
()
{
const
that
=
this
;
let
para
=
{
...
...
src/components/company/auth-commit-success.vue
View file @
e57b70dd
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-28 16:13:47
* @LastEditTime: 2020-0
9-08 15:23:40
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
-->
<!--
...
...
@@ -40,8 +40,9 @@ export default {
},
methods
:
{
/**
* 路由跳转
*
@description:
路由跳转
* @param {String} path
* @author: 无尘
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
...
...
src/components/company/auth-commit.vue
View file @
e57b70dd
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-28 16:13:56
* @LastEditTime: 2020-0
9-08 15:24:08
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
-->
<!--
...
...
@@ -87,15 +87,17 @@ export default {
},
methods
:
{
/**
* 取消
* @description: 取消
* @author: 无尘
*/
cancel
()
{
const
that
=
this
;
that
.
$emit
(
'returnStep'
);
},
/**
* 提交审核
* @param {String} form
* @description: 提交审核
* @param {String} form
* @author: 无尘
*/
submitForm
:
_throttle
(
function
(
form
)
{
const
that
=
this
;
...
...
@@ -117,8 +119,9 @@ export default {
});
},
/**
* 路由跳转
* @param {String} path
* @description: 路由跳转
* @param {String} path
* @author: 无尘
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
...
...
src/components/company/auth-tip.vue
View file @
e57b70dd
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-18 16:34:02
* @LastEditTime: 2020-0
9-08 15:24:35
* @FilePath : j:\公司\haoban-4\src\components\company\auth-tip.vue
-->
<!--
...
...
@@ -38,17 +38,7 @@ export default {
return
{
};
},
methods
:
{
/**
* 路由跳转
* @param {String} path
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
},
},
}
};
</
script
>
<
style
lang=
"less"
scoped
>
...
...
src/components/company/check-name-dialog.vue
View file @
e57b70dd
...
...
@@ -4,14 +4,14 @@
* @Author: 无尘
* @Date: 2020-08-31 16:11:50
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 1
1:13:21
* @LastEditTime: 2020-09-08 1
5:07:46
-->
<!--
<check-name-dialog :sync-data="syncData"></check-name-dialog>
import checkNameDialog from '@/components/company/check-name-dialog.vue';
-->
<
template
>
<el-dialog
class=
"check-name-dialog"
title=
""
:visible
.
sync=
"dialogVisible"
width=
"600px"
:before-close=
"handleClose"
>
<el-dialog
class=
"check-name-dialog"
title=
"
提示
"
:visible
.
sync=
"dialogVisible"
width=
"600px"
:before-close=
"handleClose"
>
<div
class=
"m-b-20"
>
<div
class=
"font-14 color-606266 m-b-10"
>
首次授权商户需要校验GIC商户超级管理员姓名
</div>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
...
...
@@ -59,7 +59,8 @@ export default {
},
methods
:
{
/**
* 关闭弹窗
* @description: 关闭弹窗
* @author: 无尘
*/
handleClose
()
{
const
that
=
this
;
...
...
@@ -70,7 +71,9 @@ export default {
that
.
$emit
(
'closeSet'
,
'close'
);
},
/**
* 确认验证
* @description: 确认验证
* @param {String} form
* @author: 无尘
*/
submitForm
:
_debounce
(
function
(
form
)
{
const
that
=
this
;
...
...
src/components/company/contact-tree.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-08-14 16:51:07
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-28 16:15:03
* @LastEditTime: 2020-0
9-08 15:26:31
-->
<!--
通讯录部门
...
...
@@ -75,15 +75,17 @@ export default {
},
methods
:
{
/**
* 改变数组数据
* @param {Array} value
* @description: 改变数组数据
* @param {Array} value
* @author: 无尘
*/
emitter
(
value
)
{
this
.
$emit
(
'input'
,
value
);
},
/**
* 展开或者关闭下级
* @param {object} item
* @description: 展开或者关闭下级
* @param {Object} item
* @author: 无尘
*/
async
toggleExpand
(
item
)
{
const
that
=
this
;
...
...
@@ -99,8 +101,9 @@ export default {
that
.
$forceUpdate
();
},
/**
* 获取选中部门/门店数据
*
@description:
获取选中部门/门店数据
* @param {Object} obj
* @author: 无尘
*/
getSelectData
(
obj
)
{
const
that
=
this
;
...
...
src/components/company/fail-log.vue
View file @
e57b70dd
...
...
@@ -88,22 +88,28 @@ export default {
document
.
documentElement
.
style
.
backgroundColor
=
'#fff'
;
},
methods
:
{
/**
* @description: 关闭弹窗
* @author: 无尘
*/
handleClose
()
{
const
that
=
this
;
that
.
tableData
=
[];
that
.
$emit
(
'closeLog'
);
},
/**
* 路由跳转
*
@description:
路由跳转
* @param {String} path
* @author: 无尘
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
},
/**
* 分页---页码变化
*
@description:
分页---页码变化
* @param {Number} val
* @author: 无尘
*/
handleSizeChange
(
val
)
{
const
that
=
this
;
...
...
@@ -113,8 +119,9 @@ export default {
},
/**
* 分页---当前页变化
*
@description:
分页---当前页变化
* @param {Number} val
* @author: 无尘
*/
handleCurrentChange
(
val
)
{
const
that
=
this
;
...
...
@@ -122,8 +129,8 @@ export default {
that
.
getTableList
();
},
/**
* 获取列表数据
*
*
@description:
获取列表数据
*
@author: 无尘
*/
getTableList
()
{
const
that
=
this
;
...
...
src/components/company/help-dialog.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-24 09:38:55
* @LastEditTime: 2020-0
9-08 15:27:52
-->
<!--
使用帮助
...
...
@@ -29,7 +29,11 @@ export default {
};
},
methods
:
{
handleClose
(
done
)
{
/**
* @description: 关闭弹窗
* @author: 无尘
*/
handleClose
()
{
const
that
=
this
;
that
.
$emit
(
'closeHelp'
);
}
...
...
src/components/company/help-tip.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-28 16:16:03
* @LastEditTime: 2020-0
9-08 15:28:04
-->
<!--
帮助提示
...
...
@@ -30,7 +30,11 @@ export default {
};
},
methods
:
{
handleClose
(
done
)
{
/**
* @description: 关闭弹窗
* @author: 无尘
*/
handleClose
()
{
const
that
=
this
;
that
.
$emit
(
'toCloseTip'
);
}
...
...
src/components/company/new-depart-member.vue
View file @
e57b70dd
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-31 14:10:23
* @LastEditTime: 2020-0
9-08 15:29:25
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\new-depart-member.vue
-->
<!--
...
...
@@ -165,8 +165,9 @@ export default {
window
.
open
(
'/haoban-4/#/syncLog'
);
},
/**
* 修改选择部门
*
@description:
修改选择部门
* @param {Object} obj
* @author: 无尘
*/
changeObj
(
obj
)
{
const
that
=
this
;
...
...
@@ -174,7 +175,8 @@ export default {
that
.
$emit
(
'changeDepart'
,
obj
);
},
/**
* 显示提示
* @description: 显示提示
* @author: 无尘
*/
toShowTip
()
{
const
that
=
this
;
...
...
@@ -186,8 +188,9 @@ export default {
},
/**
* 关联详情
*
@description:
关联详情
* @param {Object} row
* @author: 无尘
*/
showRelateDetail
(
row
)
{
const
that
=
this
;
...
...
@@ -208,10 +211,11 @@ export default {
},
/**
* 可选设置
*
@description:
可选设置
* @param {Object} row
* @param {Number} index
* @returns {Boolean}
* @returns {Boolean}
* @author: 无尘
**/
selectInit
(
row
,
index
)
{
if
(
row
.
activeFlag
==
1
)
{
...
...
@@ -222,9 +226,10 @@ export default {
},
/**
* 输入
*
@description:
输入
* @param {Object} e
* @param {String} value
* @author: 无尘
*/
toInput
:
_debounce
(
function
(
e
,
value
)
{
const
that
=
this
;
...
...
@@ -245,8 +250,9 @@ export default {
},
/**
* 显示详情弹窗
*
@description:
显示详情弹窗
* @param {Object} item
* @author: 无尘
*/
async
showDetail
(
item
)
{
const
that
=
this
;
...
...
@@ -255,9 +261,10 @@ export default {
},
/**
* 确认新建后刷新
*
@description:
确认新建后刷新
* @param {String} res
* @returns {Boolean}
* @returns {Boolean}
* @author: 无尘
*/
refreshData
(
res
)
{
const
that
=
this
;
...
...
@@ -271,16 +278,18 @@ export default {
},
/**
* 勾选
*
@description:
勾选
* @param {Array} val
* @author: 无尘
*/
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
/**
* 分页---页码变化
*
@description:
分页---页码变化
* @param {Number} val
* @author: 无尘
*/
handleSizeChange
(
val
)
{
const
that
=
this
;
...
...
@@ -290,8 +299,9 @@ export default {
},
/**
* 分页---当前页变化
*
@description:
分页---当前页变化
* @param {Number} val
* @author: 无尘
*/
handleCurrentChange
(
val
)
{
const
that
=
this
;
...
...
@@ -299,8 +309,9 @@ export default {
that
.
getTableList
();
},
/**
* 获取列表数据
* @returns {Boolean}
* @description: 获取列表数据
* @returns {Boolean}
* @author: 无尘
*/
getTableList
()
{
const
that
=
this
;
...
...
src/views/apps/customer-app/clerk-tag.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 14:1
1:57
* @LastEditTime: 2020-09-08 14:1
3:15
-->
<
template
>
...
...
@@ -162,8 +162,6 @@ export default {
handle
:
'.icontuozhuaiopen'
,
onEnd
({
newIndex
,
oldIndex
})
{
if
(
newIndex
==
oldIndex
||
that
.
currentClassify
!=
''
)
{
// that.currentClassify != '' ? that.tagsData = [] : '';
// that.currentClassify != '' ? that.getTableList() : '';
return
false
;
}
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
that
[
data
]));
...
...
src/views/apps/customer-app/crowd-scene.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 1
0:11
:54
* @LastEditTime: 2020-09-08 1
4:13
:54
-->
<
template
>
...
...
@@ -244,6 +244,7 @@ export default {
const
tbody
=
this
.
$refs
[
data
].
$el
.
querySelectorAll
(
'.el-table__body-wrapper > table > tbody'
)[
0
];
const
that
=
this
;
Sortable
.
create
(
tbody
,
{
handle
:
'.icontuozhuaiopen'
,
onEnd
({
newIndex
,
oldIndex
})
{
if
(
newIndex
==
oldIndex
)
{
return
false
;
...
...
src/views/apps/customer-app/customer-assign.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 1
0:56:3
4
* @LastEditTime: 2020-09-08 1
5:17:2
4
-->
<
template
>
<div
class=
"customer-assign-wrap"
>
...
...
@@ -200,7 +200,8 @@ export default {
}
},
/**
* 保存
* @description: 保存
* @author: 无尘
*/
submit
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
@@ -208,7 +209,8 @@ export default {
that
.
setData
();
},
300
),
/**
* 保存-API
* @description: 保存-API
* @author: 无尘
*/
setData
()
{
const
that
=
this
;
...
...
@@ -387,7 +389,7 @@ export default {
that
.
getTableList
();
},
/**
* 每次选中一个树中节点,把当前数据返回,
*
@description:
每次选中一个树中节点,把当前数据返回,
* @description: 获取选中部门
* @param {Object} obj
* @author: 无尘
...
...
src/views/apps/customer-app/customer-data-set.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
7 10:54:47
* @LastEditTime: 2020-09-0
8 15:16:16
-->
<
template
>
<div
class=
"common-app-right"
>
...
...
@@ -68,7 +68,8 @@ export default {
// methods
methods
:
{
/**
* 保存
* @description: 保存
* @author: 无尘
*/
submit
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
@@ -76,7 +77,8 @@ export default {
that
.
setData
();
},
500
),
/**
* 保存-API
* @description: 保存-API
* @author: 无尘
*/
setData
()
{
const
that
=
this
;
...
...
src/views/apps/customer-app/customer-show-set.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
7 10:55:04
* @LastEditTime: 2020-09-0
8 15:17:45
-->
<
template
>
...
...
@@ -63,7 +63,8 @@ export default {
// methods
methods
:
{
/**
* 保存
* @description: 保存
* @author: 无尘
*/
submit
:
_debounce
(
function
()
{
const
that
=
this
;
...
...
@@ -71,7 +72,8 @@ export default {
that
.
setData
();
},
500
),
/**
* 保存-API
* @description: 保存-API
* @author: 无尘
*/
setData
()
{
const
that
=
this
;
...
...
src/views/apps/customer-app/data-dimension.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 11:36:51
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
7 16:16:37
* @LastEditTime: 2020-09-0
8 15:37:26
-->
<
template
>
...
...
@@ -124,6 +124,7 @@ export default {
const
tbody
=
this
.
$refs
[
data
].
$el
.
querySelectorAll
(
'.el-table__body-wrapper > table > tbody'
)[
0
];
const
that
=
this
;
Sortable
.
create
(
tbody
,
{
handle
:
'.icontuozhuaiopen'
,
onEnd
({
newIndex
,
oldIndex
})
{
if
(
newIndex
==
oldIndex
)
{
return
false
;
...
...
@@ -139,6 +140,7 @@ export default {
const
tbody
=
this
.
$refs
[
data
].
$el
.
querySelectorAll
(
'.el-table__body-wrapper > table > tbody'
)[
0
];
const
that
=
this
;
Sortable
.
create
(
tbody
,
{
handle
:
'.icontuozhuaiopen'
,
onEnd
({
newIndex
,
oldIndex
})
{
if
(
newIndex
==
oldIndex
)
{
return
false
;
...
...
src/views/apps/customer-app/index.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
7 16:14:34
* @LastEditTime: 2020-09-0
8 15:18:21
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -78,9 +78,10 @@ export default {
},
methods
:
{
/**
* 返回 的 brandId
*
@description:
返回 的 brandId
* @param {String} id
* @param {String} groupId
* @author: 无尘
*/
selectBrandId
(
id
,
groupId
)
{
let
that
=
this
;
...
...
@@ -88,15 +89,17 @@ export default {
that
.
activeGroup
=
groupId
;
},
/**
* 路由跳转
* @param {String} path
* @description: 路由跳转
* @param {String} path
* @author: 无尘
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
},
/**
* 选择后返回menuUrl,做各路由判断
* @param {Object} item
* @description: 选择后返回menuUrl,做各路由判断
* @param {Object} item
* @author: 无尘
*/
setSelectTab
(
item
)
{
const
that
=
this
;
...
...
@@ -113,8 +116,9 @@ export default {
},
/**
* 各路由返回 menuUrl
* @param {String} menuUrl
* @description: 各路由返回 menuUrl
* @param {String} menuUrl
* @author: 无尘
*/
showTab
(
menuUrl
)
{
const
that
=
this
;
...
...
src/views/apps/index.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-27 09:46:47
* @LastEditTime: 2020-0
9-08 15:18:38
-->
<
template
>
<div
class=
"enterprise-wrap"
>
...
...
@@ -41,8 +41,9 @@ export default {
},
methods
:
{
/**
* 路由跳转
*
@description:
路由跳转
* @param {Object} val
* @author: 无尘
*/
toRouterView
(
val
)
{
let
that
=
this
;
...
...
@@ -58,8 +59,9 @@ export default {
},
/**
* 折叠事件
*
@description:
折叠事件
* @param {Boolean} val
* @author: 无尘
*/
collapseTag
(
val
)
{
let
that
=
this
;
...
...
src/views/business/audit-log.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
3 15:29:56
* @LastEditTime: 2020-09-0
8 15:20:08
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -168,7 +168,8 @@ export default {
},
methods
:
{
/**
* 获取商户信息
* @description: 获取商户信息
* @author: 无尘
*/
getEnterpriseData
()
{
const
that
=
this
;
...
...
@@ -185,9 +186,10 @@ export default {
});
},
/**
* 取消审核
*
@description:
取消审核
* @param {Number} index
* @param {Object} item
* @author: 无尘
*/
toCancleAudit
(
index
,
item
)
{
const
that
=
this
;
...
...
@@ -228,9 +230,10 @@ export default {
});
},
/**
* 查看失败日志
*
@description:
查看失败日志
* @param {Number} index
* @param {Object} item
* @author: 无尘
*/
toShowLog
(
index
,
item
)
{
const
that
=
this
;
...
...
@@ -243,16 +246,18 @@ export default {
that
.
logShow
=
false
;
},
/**
* 路由跳转
*
@description:
路由跳转
* @param {String} path
* @author: 无尘
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
},
/**
* 分页---页码变化
*
@description:
分页---页码变化
* @param {Number} val
* @author: 无尘
*/
handleSizeChange
(
val
)
{
const
that
=
this
;
...
...
@@ -262,8 +267,9 @@ export default {
},
/**
* 分页---当前页变化
*
@description:
分页---当前页变化
* @param {Number} val
* @author: 无尘
*/
handleCurrentChange
(
val
)
{
const
that
=
this
;
...
...
@@ -272,7 +278,8 @@ export default {
},
/**
* 获取列表数据
* @description: 获取列表数据
* @author: 无尘
*/
getTableList
()
{
const
that
=
this
;
...
...
src/views/business/auth-merchant.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
3 15:29:28
* @LastEditTime: 2020-09-0
8 15:20:55
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -148,40 +148,45 @@ export default {
},
methods
:
{
/**
* 编辑授权
*
@description:
编辑授权
* @param {Number} index
* @param {Object} row
* @author: 无尘
*/
toEdit
(
index
,
row
)
{
const
that
=
this
;
that
.
changeRoute
(
`/newAuthMerchant?enterpriseId=
${
row
.
enterpriseId
}
`
);
},
/**
* 审核日志
*
@description:
审核日志
* @param {Number} index
* @param {Object} row
* @author: 无尘
*/
toAuditLog
(
index
,
row
)
{
const
that
=
this
;
that
.
changeRoute
(
`/auditLog?enterpriseId=
${
row
.
enterpriseId
}
`
);
},
/**
* url 跳转
* @description: url 跳转
* @author: 无尘
*/
openUrl
()
{
window
.
open
(
'https://developers.weixin.qq.com/community/develop/doc/00046610a9cbb0fd80f9a7dd354c09'
);
},
/**
* 路由跳转
*
@description:
路由跳转
* @param {String} path
* @author: 无尘
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
},
/**
* 分页---页码变化
*
@description:
分页---页码变化
* @param {Number} val
* @author: 无尘
*/
handleSizeChange
(
val
)
{
const
that
=
this
;
...
...
@@ -191,8 +196,9 @@ export default {
},
/**
* 分页---当前页变化
*
@description:
分页---当前页变化
* @param {Number} val
* @author: 无尘
*/
handleCurrentChange
(
val
)
{
const
that
=
this
;
...
...
@@ -200,7 +206,8 @@ export default {
that
.
getTableList
();
},
/**
* 获取列表数据
* @description:获取列表数据
* @author: 无尘
*/
getTableList
()
{
const
that
=
this
;
...
...
src/views/business/index.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-20 10:03:58
* @LastEditTime: 2020-0
9-08 15:22:11
-->
<
template
>
<div
class=
"enterprise-wrap"
>
...
...
@@ -40,7 +40,11 @@ export default {
that
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
'px'
;
},
methods
:
{
// 处理路由跳转
/**
* @description: 处理路由跳转
* @param {Object} val
* @author: 无尘
*/
toRouterView
(
val
)
{
let
that
=
this
;
// 模拟检查数据
...
...
@@ -54,7 +58,11 @@ export default {
});
},
// 折叠事件
/**
* @description: 折叠事件
* @param {Boolean} val
* @author: 无尘
*/
collapseTag
(
val
)
{
let
that
=
this
;
that
.
collapseFlag
=
val
;
...
...
src/views/business/new-auth-merchant.vue
View file @
e57b70dd
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-0
3 15:30:54
* @LastEditTime: 2020-09-0
8 15:15:50
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -187,10 +187,11 @@ export default {
},
methods
:
{
/**
* closeSet
* @param {String} type
* @param {Array} arr
* @return {Boolean}
* @description: closeSet
* @param {String} type
* @param {Array} arr
* @return {Boolean}
* @author: 无尘
*/
closeSet
(
type
,
arr
)
{
const
that
=
this
;
...
...
@@ -209,9 +210,10 @@ export default {
that
.
changeFlag
=
true
;
},
/**
* 显示门店选择
*
@description:
显示门店选择
* @param {String} type
* @return {Boolean}
* @author: 无尘
*/
showStore
(
type
)
{
const
that
=
this
;
...
...
@@ -225,9 +227,10 @@ export default {
that
.
getEnterpriseData
();
},
/**
* 搜索查询列表
*
@description:
搜索查询列表
* @param {String} queryString
* @return {Array}
* @author: 无尘
*/
getSearchList
(
queryString
)
{
let
params
=
{
...
...
@@ -256,8 +259,8 @@ export default {
});
},
/**
* 搜索查询列表
*
*
@description:
搜索查询列表
*
@author: 无尘
*/
async
querySearchAsync
()
{
const
that
=
this
;
...
...
@@ -275,22 +278,25 @@ export default {
that
.
searchArray
=
res
;
},
/**
* 第二步取消
* @description: 第二步取消
* @author: 无尘
*/
returnStep
()
{
const
that
=
this
;
that
.
activeStep
=
0
;
},
/**
* 取消
* @description: 取消
* @author: 无尘
*/
cancel
()
{
const
that
=
this
;
that
.
$router
.
push
(
'/authMerchant'
);
},
/**
* 下一步
*
@description:
下一步
* @param {string} form
* @author: 无尘
*/
submitForm
(
form
)
{
const
that
=
this
;
...
...
@@ -303,9 +309,10 @@ export default {
});
},
/**
* 删除门店
*
@description:
删除门店
* @param {Number} index
* @param {Array} arr
* @author: 无尘
*/
delStore
(
index
,
arr
)
{
const
that
=
this
;
...
...
@@ -316,8 +323,9 @@ export default {
},
/**
* 选择商户,获取审核管理员
*
@description:
选择商户,获取审核管理员
* @param {Object} item
* @author: 无尘
*/
getAdmin
(
item
)
{
const
that
=
this
;
...
...
@@ -352,8 +360,9 @@ export default {
},
/**
* 改变步骤
*
@description:
改变步骤
* @param {String} auditReason
* @author: 无尘
*/
changeStep
(
auditReason
)
{
const
that
=
this
;
...
...
@@ -384,15 +393,17 @@ export default {
});
},
/**
* 路由跳转
*
@description:
路由跳转
* @param {String} path
* @author: 无尘
*/
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
},
/**
* 获取商户是否选择所有信息
* @description: 获取商户是否选择所有信息
* @author: 无尘
*/
getEnterpriseData
()
{
const
that
=
this
;
...
...
@@ -406,8 +417,8 @@ export default {
},
/**
* 获取编辑数据
*
*
@description:
获取编辑数据
*
@author: 无尘
*/
getData
()
{
const
that
=
this
;
...
...
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