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
9de3924f
Commit
9de3924f
authored
Aug 07, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改添加管理员判断
parent
a4b4a9b9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
13 deletions
+26
-13
new-depart-member.vue
src/components/company/new-depart-member.vue
+10
-5
auth-merchant.vue
src/views/business/auth-merchant.vue
+3
-3
edit-admin.vue
src/views/enterprise/edit-admin.vue
+11
-3
enterprise-set.vue
src/views/enterprise/enterprise-set.vue
+2
-2
No files found.
src/components/company/new-depart-member.vue
View file @
9de3924f
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-31 14:08:59
* @LastEditTime: 2020-0
8-07 09:34:16
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\new-depart-member.vue
-->
<!--
...
...
@@ -18,8 +18,8 @@
<span
class=
"font-16 p-r-10 iconfont iconqiye-tianchong color-303133"
></span><span
class=
"font-16 color-303133 font-w-600"
>
{{
departObj
.
departmentName
}}
(
{{
total
}}
人)
</span>
</div>
<div
class=
"flex"
>
<div
class=
"flex flex-align-center flex-pack-center cursor-pointer font-12 color-909399"
@
click=
"toLog"
>
变更日志
</div>
<div
class=
"flex flex-align-center flex-pack-center font-12 color-909399 cursor-pointer use-help-tip"
@
click=
"toShowTip"
>
使用帮助
</div>
<div
class=
"flex flex-align-center flex-pack-center cursor-pointer font-12 color-909399
hover-303133
"
@
click=
"toLog"
>
变更日志
</div>
<div
class=
"flex flex-align-center flex-pack-center font-12 color-909399 cursor-pointer
hover-303133
use-help-tip"
@
click=
"toShowTip"
>
使用帮助
</div>
</div>
</div>
<div
class=
"m-t-20"
>
...
...
@@ -48,7 +48,7 @@
</el-table-column>
<el-table-column
prop=
""
label=
""
>
<
template
slot=
"header"
>
<el-tooltip
class=
"item"
effect=
"
light
"
placement=
"right"
>
<el-tooltip
class=
"item"
effect=
"
dark
"
placement=
"right"
>
<div
slot=
"content"
>
是否使用好办4.0小程序
</div>
...
...
@@ -61,7 +61,7 @@
</el-table-column>
<el-table-column
prop=
""
label=
"绑定"
show-overflow-tooltip
>
<
template
slot=
"header"
>
<el-tooltip
class=
"item"
effect=
"
light
"
placement=
"right"
>
<el-tooltip
class=
"item"
effect=
"
dark
"
placement=
"right"
>
<div
slot=
"content"
>
员工绑定导购详情,因只能识别企业微信用户usrid且门店与部门不相绑定,
<br/>
所以虽然在一个部门下,但是可能出现一个人绑定多个导购代码。
<br/>
即一个用户对应多个导购代码
</div>
<span
style=
"cursor: pointer;padding-bottom: 2px; border-bottom: 1px dashed #2F54EB;"
>
查看详情
</span>
</el-tooltip>
...
...
@@ -364,6 +364,11 @@ export default {
background
:
#dcdfe6
;
}
}
.hover-303133
{
&:hover
{
color
:
#303133
;
}
}
}
.iconhuaban
{
font-size
:
24px
;
...
...
src/views/business/auth-merchant.vue
View file @
9de3924f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-30 10:49:21
* @LastEditTime: 2020-0
8-07 09:35:10
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -44,7 +44,7 @@
</el-table-column>
<el-table-column
prop=
""
label=
"绑定门店"
show-overflow-tooltip
>
<
template
slot=
"header"
>
<el-tooltip
class=
"item"
effect=
"
light
"
placement=
"right"
>
<el-tooltip
class=
"item"
effect=
"
dark
"
placement=
"right"
>
<div
slot=
"content"
>
绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等
</div>
...
...
@@ -57,7 +57,7 @@
</el-table-column>
<el-table-column
prop=
""
label=
"共享门店"
show-overflow-tooltip
>
<
template
slot=
"header"
>
<el-tooltip
class=
"item"
effect=
"
light
"
placement=
"right"
>
<el-tooltip
class=
"item"
effect=
"
dark
"
placement=
"right"
>
<div
slot=
"content"
>
共享门店拥有门店资源查看权限。仅能授权查看数据,
<br/>
如会员数据,任务数据等,但无法操作及进行导购账号绑定
</div>
...
...
src/views/enterprise/edit-admin.vue
View file @
9de3924f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-0
6 18:24:41
* @LastEditTime: 2020-08-0
7 09:47:32
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -60,7 +60,7 @@
</el-table-column>
</el-table>
</el-form-item>
<el-form-item
class=
"m-t-20"
prop=
"
enterpriseList
"
>
<el-form-item
class=
"m-t-20"
prop=
""
>
<el-button
type=
"primary"
:loading=
"loadBtn"
@
click=
"saveAdmin('adminForm')"
>
确认新建
</el-button>
</el-form-item>
</el-form>
...
...
@@ -140,13 +140,21 @@ export default {
saveAdmin
(
formName
)
{
const
that
=
this
;
const
arr
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
tableData
));
let
flag
=
true
;
arr
.
forEach
(
ele
=>
{
if
(
ele
.
radio
==
2
)
{
ele
.
bindStoreMode
=
''
;
ele
.
bindRange
=
''
}
if
(
ele
.
radio
==
1
&&
(
ele
.
bindStoreMode
>
0
&&
!
ele
.
bindRange
.
length
||
ele
.
bindStoreMode
===
''
||
String
(
ele
.
bindStoreMode
)
==
'null'
)
)
{
flag
=
false
;
}
})
that
.
adminForm
.
enterpriseList
=
arr
;
if
(
!
flag
)
{
that
.
adminForm
.
enterpriseList
=
[];
}
else
{
that
.
adminForm
.
enterpriseList
=
arr
;
}
that
.
loadBtn
=
true
;
that
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/enterprise/enterprise-set.vue
View file @
9de3924f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-0
5 10:59:35
* @LastEditTime: 2020-08-0
7 09:27:11
-->
<
template
>
<div
class=
"daily-set-wrap "
>
...
...
@@ -44,7 +44,7 @@
<div>
<div
class=
"self-app-info"
v-for=
"(item, index) in tableData"
:key=
"index+'app'"
>
<div
class=
"self-app-item secret-name flex flex-space-between"
>
<div><span
class=
"font-14 color-303133"
>
{{
item
.
secretName
||
'--'
}}
</span><span
class=
"font-12 color-606266 p-l-15"
>
编辑时间:
{{
item
.
updateTime
|
formatTimeStamp
}}
</span></div>
<div><span
class=
"font-14 color-303133
font-w-600
"
>
{{
item
.
secretName
||
'--'
}}
</span><span
class=
"font-12 color-606266 p-l-15"
>
编辑时间:
{{
item
.
updateTime
|
formatTimeStamp
}}
</span></div>
<div>
<el-button
type=
"text"
:loading=
"loadApp"
@
click =
"refreshApp(item)"
>
同步刷新
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(item)"
>
编辑
</el-button><el-button
type=
"text"
@
click=
"toDel(item)"
>
删除
</el-button>
</div>
...
...
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