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
8cbf6817
Commit
8cbf6817
authored
Aug 17, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改组件选项顺序
parent
770f4774
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
513 additions
and
528 deletions
+513
-528
app-detail-left.vue
src/components/app/app-detail-left.vue
+12
-11
common-detail-top.vue
src/components/app/common-detail-top.vue
+7
-7
country-mobile.vue
src/components/common/country-mobile.vue
+12
-11
gic-select-group-mult.vue
src/components/common/gic-select-group-mult.vue
+24
-24
gic-select-group.vue
src/components/common/gic-select-group.vue
+24
-24
gic-select-store.vue
src/components/common/gic-select-store.vue
+22
-23
add-member.vue
src/components/company/add-member.vue
+13
-13
auth-commit.vue
src/components/company/auth-commit.vue
+8
-7
auth-step.vue
src/components/company/auth-step.vue
+5
-5
contact-tree.vue
src/components/company/contact-tree.vue
+1
-2
fail-log.vue
src/components/company/fail-log.vue
+9
-8
new-depart-member.vue
src/components/company/new-depart-member.vue
+10
-10
related-table.vue
src/components/company/related-table.vue
+8
-8
store-auth-detail.vue
src/components/company/store-auth-detail.vue
+8
-8
store-auth-dialog.vue
src/components/company/store-auth-dialog.vue
+16
-16
store-auth-group.vue
src/components/company/store-auth-group.vue
+24
-24
store-auth-store.vue
src/components/company/store-auth-store.vue
+18
-18
limit-input-blur.vue
src/components/limit-input-blur.vue
+17
-16
limit-input.vue
src/components/limit-input.vue
+17
-17
limit-textarea.vue
src/components/limit-textarea.vue
+18
-18
nav-app.vue
src/components/nav/nav-app.vue
+7
-7
nav.vue
src/components/nav/nav.vue
+1
-3
review-result-detail.vue
src/components/review/review-result-detail.vue
+14
-15
store-change.vue
src/components/review/store-change.vue
+12
-13
add-self-app.vue
src/components/set/add-self-app.vue
+10
-9
select-admin-store.vue
src/components/set/select-admin-store.vue
+26
-26
select-admin.vue
src/components/set/select-admin.vue
+7
-6
store-auth-group.vue
src/components/set/store-auth-group.vue
+17
-18
store-auth-store.vue
src/components/set/store-auth-store.vue
+18
-19
vue-office-header.vue
src/components/vue-office-header.vue
+1
-11
auth-merchant.vue
src/views/business/auth-merchant.vue
+1
-4
contacts.vue
src/views/business/contacts.vue
+13
-12
new-auth-merchant.vue
src/views/business/new-auth-merchant.vue
+1
-2
index.vue
src/views/enterprise/index.vue
+15
-15
super-admin.vue
src/views/enterprise/super-admin.vue
+9
-9
index.vue
src/views/login/index.vue
+1
-2
reviewed.vue
src/views/review-center/reviewed.vue
+87
-87
No files found.
src/components/app/app-detail-left.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
3 09:58:35
* @LastEditTime: 2020-08-1
7 09:34:31
-->
<!--
应用公共左侧菜单:
...
...
@@ -73,16 +73,7 @@ export default {
collapsFlag
:
true
};
},
watch
:
{
tabListData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
tabData
=
newData
;
},
activeSelTab
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
activeTab
=
newData
;
}
},
mounted
()
{
this
.
activeTab
=
this
.
activeSelTab
;
},
...
...
@@ -127,6 +118,16 @@ export default {
console
.
log
(
that
.
activeTab
)
that
.
$emit
(
'setSelectTab'
,
item
);
}
},
watch
:
{
tabListData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
tabData
=
newData
;
},
activeSelTab
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
activeTab
=
newData
;
}
}
};
</
script
>
...
...
src/components/app/common-detail-top.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 20
19-10-28 11:31:25
* @LastEditTime: 20
20-08-17 09:34:44
-->
<!--
应用公共头部:
...
...
@@ -52,12 +52,6 @@ export default {
topData
:
[]
};
},
watch
:
{
topMenuData
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
topData
=
newData
;
}
},
mounted
()
{
const
that
=
this
;
that
.
topData
=
this
.
topMenuData
;
...
...
@@ -79,6 +73,12 @@ export default {
let
that
=
this
;
that
.
$router
.
push
(
'appcenter'
);
}
},
watch
:
{
topMenuData
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
topData
=
newData
;
}
}
};
</
script
>
...
...
src/components/common/country-mobile.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-07-03 18:50:33
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 13:31:37
* @LastEditTime: 2020-0
8-17 09:35:02
-->
<!--
限制输入框组件
...
...
@@ -68,16 +68,7 @@ export default {
nationCodeList
:
[]
};
},
watch
:
{
value
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
itemValue
=
newData
||
''
;
},
nationCode
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
selCode
=
newData
||
'86'
;
}
},
/* 接收数据 */
mounted
()
{
const
that
=
this
;
...
...
@@ -122,6 +113,16 @@ export default {
});
}
},
watch
:
{
value
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
itemValue
=
newData
||
''
;
},
nationCode
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
selCode
=
newData
||
'86'
;
}
}
};
</
script
>
...
...
src/components/common/gic-select-group-mult.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-02-08 10:27:21
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 13:37:16
* @LastEditTime: 2020-0
8-17 09:35:19
-->
<!--
选择门店分组组件:
...
...
@@ -94,29 +94,6 @@ export default {
checkedKeys
:
this
.
selectData
.
length
?
this
.
selectData
.
map
(
ele
=>
ele
.
departmentId
)
:
[]
};
},
watch
:
{
selectData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
groupIds
=
newData
;
}
else
{
that
.
groupIds
=
[];
}
},
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
brandId
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
searchSelect
=
''
;
that
.
groupIds
=
[];
that
.
groupData
=
[];
that
.
groupDataCopy
=
[];
that
.
getGroup
();
}
}
},
mounted
()
{
const
that
=
this
;
// 对否有默认选中数据
...
...
@@ -267,6 +244,29 @@ export default {
});
}
},
watch
:
{
selectData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
groupIds
=
newData
;
}
else
{
that
.
groupIds
=
[];
}
},
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
brandId
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
searchSelect
=
''
;
that
.
groupIds
=
[];
that
.
groupData
=
[];
that
.
groupDataCopy
=
[];
that
.
getGroup
();
}
}
}
};
</
script
>
...
...
src/components/common/gic-select-group.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-02-08 10:27:21
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 13:36:16
* @LastEditTime: 2020-0
8-17 09:35:40
-->
<!--
选择门店分组组件:
...
...
@@ -94,29 +94,6 @@ export default {
checkedKeys
:
this
.
selectData
.
length
?
this
.
selectData
.
map
(
ele
=>
ele
.
departmentId
)
:
[]
};
},
watch
:
{
selectData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
groupIds
=
newData
;
}
else
{
that
.
groupIds
=
[];
}
},
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
brandId
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
searchSelect
=
''
;
that
.
groupIds
=
[];
that
.
groupData
=
[];
that
.
groupDataCopy
=
[];
that
.
getGroup
();
}
}
},
mounted
()
{
const
that
=
this
;
// 对否有默认选中数据
...
...
@@ -267,6 +244,29 @@ export default {
});
}
},
watch
:
{
selectData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
groupIds
=
newData
;
}
else
{
that
.
groupIds
=
[];
}
},
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
brandId
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
searchSelect
=
''
;
that
.
groupIds
=
[];
that
.
groupData
=
[];
that
.
groupDataCopy
=
[];
that
.
getGroup
();
}
}
}
};
</
script
>
...
...
src/components/common/gic-select-store.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-02-08 10:27:21
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 13:38:16
* @LastEditTime: 2020-0
8-17 09:35:59
-->
<!--
选择门店分组组件:
...
...
@@ -95,27 +95,6 @@ export default {
pageSize
:
200
};
},
watch
:
{
brandId
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
checkAll
=
false
;
that
.
isIndeterminate
=
false
;
that
.
stores
=
[];
that
.
storesCopy
=
[];
that
.
searchSelect
=
''
;
that
.
getStoreData
();
}
},
selectData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
}
else
{
that
.
dailyRuleForm
.
stores
=
[];
}
},
},
mounted
()
{
const
that
=
this
;
// 对否有默认选中数据
...
...
@@ -255,7 +234,27 @@ export default {
});
}
},
watch
:
{
brandId
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
checkAll
=
false
;
that
.
isIndeterminate
=
false
;
that
.
stores
=
[];
that
.
storesCopy
=
[];
that
.
searchSelect
=
''
;
that
.
getStoreData
();
}
},
selectData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
}
else
{
that
.
dailyRuleForm
.
stores
=
[];
}
},
}
};
</
script
>
<
style
lang=
"less"
scoped
>
...
...
src/components/company/add-member.vue
View file @
8cbf6817
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditTime: 2020-08-
03 14:21:24
* @LastEditTime: 2020-08-
17 09:36:21
* @FilePath :\haoban-4\src\components\company\add-member.vue
-->
<!--
...
...
@@ -148,18 +148,6 @@ export default {
}
};
},
watch
:
{
memberObj
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
).
length
)
{
that
.
partForm
=
newData
;
that
.
partForm
.
departmentInfo
=
[];
that
.
getData
();
}
else
{
that
.
partForm
.
departmentInfo
=
that
.
defaultDepart
||
[];
}
}
},
mounted
()
{
const
that
=
this
;
if
(
Object
.
keys
(
that
.
memberObj
).
length
)
{
...
...
@@ -250,6 +238,18 @@ export default {
});
}
},
watch
:
{
memberObj
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
).
length
)
{
that
.
partForm
=
newData
;
that
.
partForm
.
departmentInfo
=
[];
that
.
getData
();
}
else
{
that
.
partForm
.
departmentInfo
=
that
.
defaultDepart
||
[];
}
}
}
};
</
script
>
...
...
src/components/company/auth-commit.vue
View file @
8cbf6817
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-08-
05 10:05:55
* @LastEditTime: 2020-08-
17 09:36:49
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
-->
<!--
...
...
@@ -80,12 +80,7 @@ export default {
loadBtn
:
false
};
},
watch
:
{
adminList
(
val
)
{
const
that
=
this
;
that
.
commitForm
.
auditAdmin
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
}
},
mounted
()
{
const
that
=
this
;
that
.
commitForm
.
auditAdmin
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
adminList
))
...
...
@@ -126,6 +121,12 @@ export default {
changeRoute
(
path
)
{
this
.
$router
.
push
(
path
);
},
},
watch
:
{
adminList
(
val
)
{
const
that
=
this
;
that
.
commitForm
.
auditAdmin
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
}
}
};
</
script
>
...
...
src/components/company/auth-step.vue
View file @
8cbf6817
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-24 11:36
:03
* @LastEditTime: 2020-0
8-17 09:37
:03
* @FilePath : j:\公司\haoban-4\src\components\company\auth-step.vue
-->
<!--
...
...
@@ -39,14 +39,14 @@ export default {
active
:
'0'
};
},
mounted
()
{
const
that
=
this
;
that
.
active
=
that
.
activeStep
;
},
watch
:
{
activeStep
(
newData
)
{
this
.
active
=
newData
;
}
},
mounted
()
{
const
that
=
this
;
that
.
active
=
that
.
activeStep
;
}
};
</
script
>
...
...
src/components/company/contact-tree.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-08-14 16:51:07
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 11:36:58
* @LastEditTime: 2020-0
8-17 09:37:21
-->
<!--
通讯录部门
...
...
@@ -74,7 +74,6 @@ export default {
}
};
},
computed
:
{},
methods
:
{
/**
* 改变数组数据
...
...
src/components/company/fail-log.vue
View file @
8cbf6817
...
...
@@ -77,14 +77,7 @@ export default {
tableData
:
[]
};
},
watch
:
{
taskId
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
newData
)
{
that
.
getTableList
();
}
}
},
mounted
()
{
const
that
=
this
;
if
(
that
.
taskId
)
{
...
...
@@ -147,6 +140,14 @@ export default {
});
}
},
watch
:
{
taskId
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
newData
)
{
that
.
getTableList
();
}
}
}
};
</
script
>
...
...
src/components/company/new-depart-member.vue
View file @
8cbf6817
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
1 16:24:47
* @LastEditTime: 2020-08-1
7 09:38:05
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\new-depart-member.vue
-->
<!--
...
...
@@ -155,15 +155,6 @@ export default {
tipShow
:
false
};
},
watch
:
{
departObj
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
))
{
that
.
currentPage
=
1
;
that
.
getTableList
();
}
}
},
mounted
()
{
const
that
=
this
;
if
(
Object
.
keys
(
that
.
departObj
))
{
...
...
@@ -323,6 +314,15 @@ export default {
that
.
loading
=
false
;
});
}
},
watch
:
{
departObj
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
))
{
that
.
currentPage
=
1
;
that
.
getTableList
();
}
}
}
};
</
script
>
...
...
src/components/company/related-table.vue
View file @
8cbf6817
...
...
@@ -82,14 +82,6 @@ export default {
addShow
:
false
};
},
watch
:
{
relateRow
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
).
length
)
{
that
.
getTableList
();
}
}
},
mounted
()
{
const
that
=
this
;
if
(
Object
.
keys
(
that
.
relateRow
).
length
)
{
...
...
@@ -206,6 +198,14 @@ export default {
});
}
},
watch
:
{
relateRow
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
).
length
)
{
that
.
getTableList
();
}
}
}
};
</
script
>
...
...
src/components/company/store-auth-detail.vue
View file @
8cbf6817
...
...
@@ -66,14 +66,6 @@ export default {
}
};
},
watch
:
{
storeRangeAuditId
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
newData
)
{
that
.
getTableList
();
}
}
},
mounted
()
{
const
that
=
this
;
if
(
that
.
storeRangeAuditId
)
{
...
...
@@ -150,6 +142,14 @@ export default {
});
}
},
watch
:
{
storeRangeAuditId
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
newData
)
{
that
.
getTableList
();
}
}
}
};
</
script
>
...
...
src/components/company/store-auth-dialog.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
2 17:57:01
* @LastEditTime: 2020-08-1
7 09:38:53
-->
<!--
授权选择门店绑定弹窗
...
...
@@ -81,21 +81,6 @@ export default {
selectStoreData
:
[]
// 选择的门店数据
};
},
watch
:
{
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
selectMode
(
val
)
{
const
that
=
this
;
that
.
formData
.
sendRange
=
String
(
val
);
},
rangeData
(
val
)
{
const
that
=
this
;
that
.
selectGroupData
=
that
.
selectMode
==
1
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
selectStoreData
=
that
.
selectMode
==
2
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
formData
.
selectList
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
||
[];
}
},
mounted
()
{
const
that
=
this
;
that
.
formData
.
sendRange
=
String
(
that
.
selectMode
);
...
...
@@ -181,6 +166,21 @@ export default {
}
that
.
$emit
(
'closeSet'
,
String
(
that
.
formData
.
sendRange
),
that
.
formData
.
selectList
);
}
},
watch
:
{
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
selectMode
(
val
)
{
const
that
=
this
;
that
.
formData
.
sendRange
=
String
(
val
);
},
rangeData
(
val
)
{
const
that
=
this
;
that
.
selectGroupData
=
that
.
selectMode
==
1
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
selectStoreData
=
that
.
selectMode
==
2
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
formData
.
selectList
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
||
[];
}
}
};
</
script
>
...
...
src/components/company/store-auth-group.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
2 15:42:12
* @LastEditTime: 2020-08-1
7 09:39:10
-->
<!--
门店绑定-选择分组
...
...
@@ -59,29 +59,6 @@ export default {
}
};
},
watch
:
{
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
selectGroup
(
val
)
{
const
that
=
this
;
if
(
val
.
length
)
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
(
val
.
map
(
ele
=>
ele
.
storeGroupId
));
})
}
else
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
([]);
})
}
},
companyId
(
val
)
{
const
that
=
this
;
if
(
!!
val
)
{
that
.
getGroup
();
}
}
},
mounted
()
{
const
that
=
this
;
if
(
that
.
companyId
)
{
...
...
@@ -307,6 +284,29 @@ export default {
});
},
},
watch
:
{
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
selectGroup
(
val
)
{
const
that
=
this
;
if
(
val
.
length
)
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
(
val
.
map
(
ele
=>
ele
.
storeGroupId
));
})
}
else
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
([]);
})
}
},
companyId
(
val
)
{
const
that
=
this
;
if
(
!!
val
)
{
that
.
getGroup
();
}
}
}
};
...
...
src/components/company/store-auth-store.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
2 15:45:15
* @LastEditTime: 2020-08-1
7 09:39:30
-->
<!--
门店绑定-选择门店(限制50个)
...
...
@@ -73,23 +73,6 @@ export default {
pageSize
:
300
};
},
watch
:
{
selectStore
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
dailyRuleForm
.
stores
=
newData
.
map
(
el
=>
el
.
storeInfoId
)
||
[];
}
else
{
that
.
dailyRuleForm
.
stores
=
[];
}
},
companyId
(
val
)
{
const
that
=
this
;
if
(
!!
val
)
{
that
.
pageNum
=
1
;
that
.
getStoreData
();
}
}
},
mounted
()
{
const
that
=
this
;
that
.
stores
=
[];
...
...
@@ -188,6 +171,23 @@ export default {
});
}
},
watch
:
{
selectStore
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
dailyRuleForm
.
stores
=
newData
.
map
(
el
=>
el
.
storeInfoId
)
||
[];
}
else
{
that
.
dailyRuleForm
.
stores
=
[];
}
},
companyId
(
val
)
{
const
that
=
this
;
if
(
!!
val
)
{
that
.
pageNum
=
1
;
that
.
getStoreData
();
}
}
}
};
</
script
>
...
...
src/components/limit-input-blur.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-07-29 20:00:00
* @LastEditors: 无尘
* @LastEditTime: 20
19-07-29 20:00:00
* @LastEditTime: 20
20-08-17 09:30:47
-->
<!--
限制输入框组件
...
...
@@ -77,21 +77,7 @@ export default {
itemValue
:
''
};
},
watch
:
{
maxLength
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
limitLength
=
newData
;
},
inputValue
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
itemValue
=
newData
||
''
;
if
(
that
.
getByType
==
'word'
)
{
that
.
inputNum
=
strLength
.
getZhLen
(
that
.
itemValue
);
}
else
{
that
.
inputNum
=
strLength
.
getByteLen
(
that
.
itemValue
);
}
}
},
/* 接收数据 */
mounted
()
{
let
that
=
this
;
...
...
@@ -121,6 +107,21 @@ export default {
}
that
.
$emit
(
'update:inputValue'
,
that
.
itemValue
);
},
},
watch
:
{
maxLength
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
limitLength
=
newData
;
},
inputValue
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
itemValue
=
newData
||
''
;
if
(
that
.
getByType
==
'word'
)
{
that
.
inputNum
=
strLength
.
getZhLen
(
that
.
itemValue
);
}
else
{
that
.
inputNum
=
strLength
.
getByteLen
(
that
.
itemValue
);
}
}
}
};
</
script
>
...
...
src/components/limit-input.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-12-06 13:44:22
* @LastEditors: 无尘
* @LastEditTime: 20
19-09-25 17:11:18
* @LastEditTime: 20
20-08-17 09:30:26
-->
<!--
限制输入框组件
...
...
@@ -77,21 +77,7 @@ export default {
itemValue
:
''
};
},
watch
:
{
maxLength
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
limitLength
=
newData
;
},
inputValue
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
itemValue
=
newData
||
''
;
if
(
that
.
getByType
==
'word'
)
{
that
.
inputNum
=
strLength
.
getZhLen
(
that
.
itemValue
);
}
else
{
that
.
inputNum
=
strLength
.
getByteLen
(
that
.
itemValue
);
}
}
},
/* 接收数据 */
mounted
()
{
let
that
=
this
;
...
...
@@ -126,7 +112,21 @@ export default {
that
.
$emit
(
'update:inputValue'
,
that
.
itemValue
);
}
},
watch
:
{
maxLength
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
limitLength
=
newData
;
},
inputValue
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
that
.
itemValue
=
newData
||
''
;
if
(
that
.
getByType
==
'word'
)
{
that
.
inputNum
=
strLength
.
getZhLen
(
that
.
itemValue
);
}
else
{
that
.
inputNum
=
strLength
.
getByteLen
(
that
.
itemValue
);
}
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
...
...
src/components/limit-textarea.vue
View file @
8cbf6817
...
...
@@ -3,8 +3,8 @@
* @version: 1.0.0
* @Author: 无尘
* @Date: 2018-12-06 17:25:22
* @LastEditors
: 无尘
* @LastEditTime
: 2019-12-24 10:42:11
* @LastEditors: 无尘
* @LastEditTime
: 2020-08-17 09:30:08
-->
<!--
限制文本框组件
...
...
@@ -72,21 +72,7 @@ export default {
itemValue
:
''
};
},
watch
:
{
maxLength
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
limitLength
=
newData
;
},
inputValue
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
itemValue
=
newData
;
if
(
that
.
getByType
==
'word'
)
{
that
.
inputNum
=
strLength
.
getZhLen
(
that
.
itemValue
);
}
else
{
that
.
inputNum
=
strLength
.
getByteLen
(
that
.
itemValue
);
}
}
},
/* 接收数据 */
mounted
()
{
const
that
=
this
;
...
...
@@ -121,7 +107,21 @@ export default {
that
.
$emit
(
'update:inputValue'
,
that
.
itemValue
);
}
},
watch
:
{
maxLength
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
limitLength
=
newData
;
},
inputValue
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
itemValue
=
newData
;
if
(
that
.
getByType
==
'word'
)
{
that
.
inputNum
=
strLength
.
getZhLen
(
that
.
itemValue
);
}
else
{
that
.
inputNum
=
strLength
.
getByteLen
(
that
.
itemValue
);
}
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
...
...
src/components/nav/nav-app.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-08-17 09:
15:12
* @LastEditTime: 2020-08-17 09:
33:47
-->
<
template
>
<div
class=
"navwrap border-box flex flex-space-between"
>
...
...
@@ -65,12 +65,6 @@ export default {
brandListData
:
[]
};
},
watch
:
{
brandId
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
getBrandData
();
}
},
mounted
()
{
const
that
=
this
;
that
.
getBrandData
();
...
...
@@ -119,6 +113,12 @@ export default {
})
.
catch
(
function
(
error
)
{});
}
},
watch
:
{
brandId
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
getBrandData
();
}
}
};
</
script
>
...
...
src/components/nav/nav.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 11:19:43
* @LastEditTime: 2020-0
8-17 09:34:12
-->
<
template
>
<div
class=
"navwrap border-box"
>
...
...
@@ -26,7 +26,6 @@
</template>
<
script
>
export
default
{
name
:
'nav-path'
,
props
:
{
...
...
@@ -65,7 +64,6 @@ export default {
// ],
};
},
methods
:
{
changeRoute
(
path
,
relocation
)
{
let
that
=
this
;
...
...
src/components/review/review-result-detail.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘
* @LastEditTime: 2020-08-
07 14:45:45
* @LastEditTime: 2020-08-
17 09:33:12
-->
<!--
...
...
@@ -98,20 +98,6 @@ export default {
success
:
''
};
},
watch
:
{
detailShow
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
customDialog
=
newData
;
},
auditIds
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
!!
newData
)
{
that
.
multLength
=
newData
.
split
(
','
).
length
;
that
.
getTableData
();
}
}
},
/* 接收数据 */
mounted
()
{
const
that
=
this
;
...
...
@@ -158,6 +144,19 @@ export default {
})
.
catch
(
function
(
error
)
{});
}
},
watch
:
{
detailShow
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
customDialog
=
newData
;
},
auditIds
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
!!
newData
)
{
that
.
multLength
=
newData
.
split
(
','
).
length
;
that
.
getTableData
();
}
}
}
};
</
script
>
...
...
src/components/review/store-change.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-02-19 12:20:38
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 11:11:45
* @LastEditTime: 2020-0
8-17 09:33:28
-->
<
template
>
<div
class=
"custom-dialog-wrap"
>
...
...
@@ -60,18 +60,6 @@ export default {
rightData
:
[]
};
},
watch
:
{
value
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
customDialog
=
newData
;
},
storeChangeData
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
leftData
=
newData
.
beforeContent
;
that
.
rightData
=
newData
.
afterContent
;
}
},
/* 接收数据 */
mounted
()
{
const
that
=
this
;
...
...
@@ -91,6 +79,17 @@ export default {
that
.
customDialog
=
false
;
that
.
$emit
(
'input'
,
that
.
customDialog
);
}
},
watch
:
{
value
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
customDialog
=
newData
;
},
storeChangeData
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
leftData
=
newData
.
beforeContent
;
that
.
rightData
=
newData
.
afterContent
;
}
}
};
</
script
>
...
...
src/components/set/add-self-app.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
4 15:50:05
* @LastEditTime: 2020-08-1
7 09:32:52
-->
<!--
<add-self-app :editRow="editRow" @closeText="closeText" @submitText="submitText"></add-self-app>
...
...
@@ -73,14 +73,7 @@ export default {
brandOptions
:
[]
//品牌
};
},
watch
:
{
editRow
(
newData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
).
length
)
{
that
.
ruleForm
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
}
}
},
mounted
()
{
const
that
=
this
;
if
(
Object
.
keys
(
that
.
editRow
).
length
)
{
...
...
@@ -136,6 +129,14 @@ export default {
that
.
loadBtn
=
false
;
});
}
},
watch
:
{
editRow
(
newData
)
{
const
that
=
this
;
if
(
Object
.
keys
(
newData
).
length
)
{
that
.
ruleForm
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
}
}
}
};
</
script
>
...
...
src/components/set/select-admin-store.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-
07 12:30:5
7
* @LastEditTime: 2020-08-
17 09:32:3
7
-->
<!--
授权选择门店绑定弹窗
...
...
@@ -123,31 +123,6 @@ export default {
selectStoreData
:
[]
// 选择的门店数据
};
},
watch
:
{
showAuthFlag
(
val
)
{
this
.
visibleFlag
=
val
;
},
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
selectMode
(
val
)
{
const
that
=
this
;
that
.
formData
.
sendRange
=
String
(
val
)
==
'null'
?
''
:
String
(
val
);
},
rangeData
(
val
)
{
const
that
=
this
;
that
.
selectGroupData
=
that
.
selectMode
==
1
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
selectStoreData
=
that
.
selectMode
==
2
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
formData
.
selectList
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
||
[];
},
enterpriseId
(
val
)
{
const
that
=
this
;
that
.
selectEnterpriseId
=
val
;
if
(
!!
val
)
{
that
.
getData
();
}
}
},
mounted
()
{
const
that
=
this
;
that
.
selectEnterpriseId
=
that
.
enterpriseId
;
...
...
@@ -246,6 +221,31 @@ export default {
}
that
.
$emit
(
'closeSet'
,
String
(
that
.
formData
.
sendRange
),
that
.
formData
.
selectList
);
}
},
watch
:
{
showAuthFlag
(
val
)
{
this
.
visibleFlag
=
val
;
},
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
},
selectMode
(
val
)
{
const
that
=
this
;
that
.
formData
.
sendRange
=
String
(
val
)
==
'null'
?
''
:
String
(
val
);
},
rangeData
(
val
)
{
const
that
=
this
;
that
.
selectGroupData
=
that
.
selectMode
==
1
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
selectStoreData
=
that
.
selectMode
==
2
?
JSON
.
parse
(
JSON
.
stringify
(
val
))
:
[];
that
.
formData
.
selectList
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
||
[];
},
enterpriseId
(
val
)
{
const
that
=
this
;
that
.
selectEnterpriseId
=
val
;
if
(
!!
val
)
{
that
.
getData
();
}
}
}
};
</
script
>
...
...
src/components/set/select-admin.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
1 16:35:06
* @LastEditTime: 2020-08-1
7 09:32:05
-->
<!--
选择管理员
...
...
@@ -80,11 +80,7 @@ export default {
checkedPeople
:
[]
// 选择的所有管理员
};
},
watch
:
{
showAdminFlag
(
val
)
{
this
.
setVisible
=
val
;
}
},
mounted
()
{
const
that
=
this
;
that
.
totalNum
=
that
.
selectAdmin
.
length
;
...
...
@@ -295,6 +291,11 @@ export default {
});
}
},
watch
:
{
showAdminFlag
(
val
)
{
this
.
setVisible
=
val
;
}
}
};
</
script
>
...
...
src/components/set/store-auth-group.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
2 10:06:00
* @LastEditTime: 2020-08-1
7 09:31:42
-->
<!--
门店绑定-选择分组(仅展示)
...
...
@@ -58,7 +58,21 @@ export default {
}
};
},
computed
:
{},
mounted
()
{
const
that
=
this
;
if
(
that
.
companyId
)
{
that
.
getGroup
();
}
if
(
that
.
selectGroup
.
length
)
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
(
that
.
selectGroup
.
map
(
ele
=>
ele
.
storeGroupId
));
})
}
else
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
([]);
})
}
},
methods
:
{
/**
* 过滤搜索
...
...
@@ -190,7 +204,6 @@ export default {
});
},
},
components
:
{},
watch
:
{
searchSelect
(
val
)
{
this
.
$refs
.
groupTree
.
filter
(
val
);
...
...
@@ -214,21 +227,7 @@ export default {
}
}
},
mounted
()
{
const
that
=
this
;
if
(
that
.
companyId
)
{
that
.
getGroup
();
}
if
(
that
.
selectGroup
.
length
)
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
(
that
.
selectGroup
.
map
(
ele
=>
ele
.
storeGroupId
));
})
}
else
{
that
.
$nextTick
(()
=>
{
that
.
$refs
.
groupTree
.
setCheckedKeys
([]);
})
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
...
...
src/components/set/store-auth-store.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
0 13:56:43
* @LastEditTime: 2020-08-1
7 09:31:05
-->
<!--
门店绑定-选择门店(仅展示)
...
...
@@ -72,24 +72,6 @@ export default {
pageSize
:
300
};
},
watch
:
{
selectStore
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
dailyRuleForm
.
stores
=
newData
.
map
(
el
=>
el
.
storeInfoId
)
||
[];
}
else
{
that
.
dailyRuleForm
.
stores
=
[];
}
},
companyId
(
val
)
{
const
that
=
this
;
if
(
!!
val
)
{
that
.
pageNum
=
1
;
that
.
getStoreData
();
}
}
},
mounted
()
{
const
that
=
this
;
that
.
stores
=
[];
...
...
@@ -184,6 +166,23 @@ export default {
});
}
},
watch
:
{
selectStore
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
dailyRuleForm
.
stores
=
newData
.
map
(
el
=>
el
.
storeInfoId
)
||
[];
}
else
{
that
.
dailyRuleForm
.
stores
=
[];
}
},
companyId
(
val
)
{
const
that
=
this
;
if
(
!!
val
)
{
that
.
pageNum
=
1
;
that
.
getStoreData
();
}
}
}
};
</
script
>
...
...
src/components/vue-office-header.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-10-10 17:21:32
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
1 12:26:58
* @LastEditTime: 2020-08-1
7 09:29:53
-->
<
template
>
<div
class=
"nav-header"
>
...
...
@@ -102,16 +102,6 @@ export default {
}
};
},
watch
:
{
$route
:
{
handler
:
function
(
val
,
oldVal
)
{
// const that = this;
// that.getMenuDetail();
},
// 深度观察监听
deep
:
true
}
},
mounted
()
{
const
that
=
this
;
that
.
pathName
=
that
.
$route
.
path
;
...
...
src/views/business/auth-merchant.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-
07 09:35:10
* @LastEditTime: 2020-08-
17 09:29:08
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -136,9 +136,6 @@ export default {
tableData
:
[],
};
},
watch
:
{
},
mounted
()
{
const
that
=
this
;
that
.
getTableList
();
...
...
src/views/business/contacts.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-
07 11:14:06
* @LastEditTime: 2020-08-
17 09:28:48
-->
<
template
>
<div
class=
"contacts-wrap common-set-wrap"
>
...
...
@@ -97,17 +97,7 @@ export default {
syncTime
:
null
};
},
watch
:
{
$route
:
{
handler
:
function
(
to
,
from
)
{
const
that
=
this
;
window
.
clearInterval
(
that
.
syncTime
);
that
.
syncTime
=
null
;
},
// 深度观察监听
deep
:
true
}
},
async
beforeMount
()
{
const
that
=
this
;
await
that
.
getTableList
();
...
...
@@ -342,6 +332,17 @@ export default {
that
.
loading
=
false
;
});
}
},
watch
:
{
$route
:
{
handler
:
function
(
to
,
from
)
{
const
that
=
this
;
window
.
clearInterval
(
that
.
syncTime
);
that
.
syncTime
=
null
;
},
// 深度观察监听
deep
:
true
}
}
};
...
...
src/views/business/new-auth-merchant.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
4 09:56:57
* @LastEditTime: 2020-08-1
7 09:28:24
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -151,7 +151,6 @@ export default {
adminList
:
[]
// 审核管理员
};
},
watch
:
{},
mounted
()
{
const
that
=
this
;
if
(
!!
that
.
$route
.
query
.
enterpriseId
)
{
...
...
src/views/enterprise/index.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
3 09:47:17
* @LastEditTime: 2020-08-1
7 09:27:01
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -87,19 +87,6 @@ export default {
showAsideMenu
:
true
,
};
},
watch
:
{
'$route.path'
()
{
this
.
showAsideMenu
=
true
;
},
activeBrand
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
activeBrand
=
newData
;
},
activeGroup
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
activeGroup
=
newData
;
}
},
mounted
()
{
// const that = this;
document
.
documentElement
.
style
.
backgroundColor
=
'#f0f2f5'
;
...
...
@@ -205,7 +192,20 @@ export default {
}
})
}
}
},
watch
:
{
'$route.path'
()
{
this
.
showAsideMenu
=
true
;
},
activeBrand
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
activeBrand
=
newData
;
},
activeGroup
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
activeGroup
=
newData
;
}
},
};
</
script
>
<
style
type=
"text/less"
lang=
"less"
scoped
>
...
...
src/views/enterprise/super-admin.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-03-16 09:59:39
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
3 09:47:41
* @LastEditTime: 2020-08-1
7 09:27:43
-->
<
template
>
<div
class=
"daily-set-wrap "
>
...
...
@@ -39,6 +39,14 @@ import commonAlertTip from '@/components/common/common-alert-tip.vue';
export
default
{
name
:
'super-admin-page'
,
components
:
{
commonAlertTip
},
data
()
{
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
)).
wxEnterpriseId
:
''
,
tipContent
:
'超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限。'
,
loading
:
false
,
tableData
:
[]
};
},
mounted
()
{
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'/superAdmin'
);
...
...
@@ -48,14 +56,6 @@ export default {
destroyed
()
{
document
.
documentElement
.
style
.
backgroundColor
=
'#fff'
;
},
data
()
{
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
)).
wxEnterpriseId
:
''
,
tipContent
:
'超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限。'
,
loading
:
false
,
tableData
:
[]
};
},
methods
:
{
changeToggle
(
item
)
{
item
.
expand
=
item
.
expand
?
false
:
true
;
...
...
src/views/login/index.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 10:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-27 18:11:17
* @LastEditTime: 2020-0
8-17 09:25:13
-->
<
template
>
<div
class=
"login-wrap"
>
...
...
@@ -46,7 +46,6 @@ export default {
qrcodeNum
:
''
,
// 二维码数据
};
},
computed
:
{},
mounted
()
{
const
that
=
this
;
that
.
getQrcode
();
...
...
src/views/review-center/reviewed.vue
View file @
8cbf6817
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-08-1
3 09:42:43
* @LastEditTime: 2020-08-1
7 09:24:28
-->
<
template
>
<div
class=
"reviewed-wrap common-set-wrap"
>
...
...
@@ -141,6 +141,9 @@ const { getReview, getWxEnterprise } = fetch;
import
{
_debounce
}
from
'@/common/js/public'
;
export
default
{
name
:
'reviewed-page'
,
components
:
{
storeChange
},
data
()
{
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
)).
wxEnterpriseId
:
''
,
...
...
@@ -181,6 +184,12 @@ export default {
}
};
},
mounted
()
{
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'/reviewed'
);
that
.
getTableList
();
that
.
getBrandData
();
},
methods
:
{
changeTableList
()
{
const
that
=
this
;
...
...
@@ -251,96 +260,87 @@ export default {
* 获取头像处显示信息
*/
/* eslint-disable */
showSingleInfo
(
submitStaffId
)
{
const
that
=
this
;
const
para
=
{
staffId
:
submitStaffId
};
getStaffDetail
(
para
)
.
then
(
res
=>
{
that
.
userData
=
res
.
result
||
{
staffName
:
''
,
phoneNumber
:
''
,
nationCode
:
''
,
postion
:
''
,
departmentInfo
:
[],
headImg
:
''
,
wxUserId
:
''
,
sex
:
1
};
})
.
catch
(
function
(
error
)
{});
},
/**
* 显示门店变更
*/
showStoreChange
(
item
)
{
const
that
=
this
;
that
.
storeChangeData
=
{
beforeContent
:
[],
afterContent
:
[]
};
that
.
showStoreDialog
=
true
;
that
.
storeChangeData
=
{
beforeContent
:
item
.
oldValue
!=
''
?
item
.
oldValue
.
split
(
','
)
:
[],
afterContent
:
item
.
newValue
!=
''
?
item
.
newValue
.
split
(
','
)
:
[]
};
},
/**
* 获取品牌
*/
getBrandData
()
{
const
that
=
this
;
getWxEnterprise
({
wxEnterpriseId
:
that
.
wxEnterpriseId
})
.
then
(
res
=>
{
if
(
!!
res
.
result
&&
!!
res
.
result
.
length
)
{
that
.
brandOptions
=
res
.
result
;
}
})
.
catch
(
function
(
error
)
{
});
},
/**
* 获取列表数据
*/
getTableList
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
currentPage
=
1
;
}
that
.
loading
=
true
;
let
para
=
{
wxEnterpriseId
:
that
.
wxEnterpriseId
,
auditType
:
that
.
auditType
,
searchType
:
'1'
,
// 0待审核,1已审核
search
:
that
.
searchValue
||
''
,
// 搜索字段
pageNum
:
that
.
currentPage
,
// 当前页
pageSize
:
that
.
pageSize
,
// 一页显示个数
enterpriseId
:
that
.
filterBrand
// 20190918新增品牌
};
getReview
(
para
)
.
then
(
res
=>
{
that
.
loading
=
false
;
that
.
tableData
=
res
.
result
.
result
||
[];
that
.
total
=
res
.
result
.
totalCount
;
})
.
catch
(
function
(
error
)
{
that
.
loading
=
false
;
});
}
showSingleInfo
(
submitStaffId
)
{
const
that
=
this
;
const
para
=
{
staffId
:
submitStaffId
};
getStaffDetail
(
para
)
.
then
(
res
=>
{
that
.
userData
=
res
.
result
||
{
staffName
:
''
,
phoneNumber
:
''
,
nationCode
:
''
,
postion
:
''
,
departmentInfo
:
[],
headImg
:
''
,
wxUserId
:
''
,
sex
:
1
};
})
.
catch
(
function
(
error
)
{});
},
mounted
()
{
/**
* 显示门店变更
*/
showStoreChange
(
item
)
{
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'/reviewed'
);
that
.
getTableList
();
that
.
getBrandData
();
that
.
storeChangeData
=
{
beforeContent
:
[],
afterContent
:
[]
};
that
.
showStoreDialog
=
true
;
that
.
storeChangeData
=
{
beforeContent
:
item
.
oldValue
!=
''
?
item
.
oldValue
.
split
(
','
)
:
[],
afterContent
:
item
.
newValue
!=
''
?
item
.
newValue
.
split
(
','
)
:
[]
};
},
/**
* 获取品牌
*/
getBrandData
()
{
const
that
=
this
;
getWxEnterprise
({
wxEnterpriseId
:
that
.
wxEnterpriseId
})
.
then
(
res
=>
{
if
(
!!
res
.
result
&&
!!
res
.
result
.
length
)
{
that
.
brandOptions
=
res
.
result
;
}
})
.
catch
(
function
(
error
)
{
});
},
components
:
{
storeChange
/**
* 获取列表数据
*/
getTableList
(
val
)
{
const
that
=
this
;
if
(
val
)
{
that
.
currentPage
=
1
;
}
that
.
loading
=
true
;
let
para
=
{
wxEnterpriseId
:
that
.
wxEnterpriseId
,
auditType
:
that
.
auditType
,
searchType
:
'1'
,
// 0待审核,1已审核
search
:
that
.
searchValue
||
''
,
// 搜索字段
pageNum
:
that
.
currentPage
,
// 当前页
pageSize
:
that
.
pageSize
,
// 一页显示个数
enterpriseId
:
that
.
filterBrand
// 20190918新增品牌
};
getReview
(
para
)
.
then
(
res
=>
{
that
.
loading
=
false
;
that
.
tableData
=
res
.
result
.
result
||
[];
that
.
total
=
res
.
result
.
totalCount
;
})
.
catch
(
function
(
error
)
{
that
.
loading
=
false
;
});
}
};
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.w-m-100
{
...
...
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