Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c48092a5
authored
Aug 13, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
f1bca57a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
13 deletions
html/employee/add.html
html/employee/index.html
html/merchant/detail.html
html/merchant/edit.html
html/merchant/index.html
html/role/index.html
html/employee/add.html
View file @
c48092a
...
@@ -167,7 +167,8 @@
...
@@ -167,7 +167,8 @@
findRoleList
()
findRoleList
()
// 查询角色权限列表
// 查询角色权限列表
function
findRoleList
()
{
function
findRoleList
()
{
var
params
=
{
method
:
'org.ore.api.role.list'
,
id
:
merchantId
}
// var params = { method: 'org.ore.api.role.list', id: merchantId }
var
params
=
{
method
:
'org.ore.api.role.list'
,
id
:
merchantId
,
delFlag
:
0
}
request
(
params
,
function
(
res
)
{
request
(
params
,
function
(
res
)
{
if
(
res
.
code
==
'0'
)
{
if
(
res
.
code
==
'0'
)
{
var
list
=
res
.
data
var
list
=
res
.
data
...
...
html/employee/index.html
View file @
c48092a
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'
cre
atedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
120
},
{
field
:
'
upd
atedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
120
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
220
,
align
:
'left'
,
toolbar
:
'#employeeBar'
}
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
220
,
align
:
'left'
,
toolbar
:
'#employeeBar'
}
]
]
]
]
...
...
html/merchant/detail.html
View file @
c48092a
...
@@ -76,6 +76,10 @@
...
@@ -76,6 +76,10 @@
right
:
80px
;
right
:
80px
;
}
}
.fixed-btn
{
position
:
fixed
;
bottom
:
30px
;
}
</style>
</style>
</head>
</head>
...
@@ -110,6 +114,12 @@
...
@@ -110,6 +114,12 @@
<div
class=
"layui-form-mid layui-word-aux"
id=
"accountLevelName"
></div>
<div
class=
"layui-form-mid layui-word-aux"
id=
"accountLevelName"
></div>
</div>
</div>
</div>
</div>
<!-- <div class="layui-form-item">
<label class="layui-form-label">账户有效期:</label>
<div class="layui-input-block">
<div class="layui-form-mid layui-word-aux"></div>
</div>
</div> -->
<h3
class=
"content-title"
>
企业信息
</h3>
<h3
class=
"content-title"
>
企业信息
</h3>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
商户名称:
</label>
<label
class=
"layui-form-label"
>
商户名称:
</label>
...
@@ -266,7 +276,7 @@
...
@@ -266,7 +276,7 @@
</div>
</div>
</div>
</div>
<div
class=
"footer-close"
>
<div
class=
"footer-close"
>
<button
class=
"layui-btn"
id=
"closeEl"
>
关闭
</button>
<button
class=
"layui-btn
fixed-btn
"
id=
"closeEl"
>
关闭
</button>
</div>
</div>
</div>
</div>
</main>
</main>
...
@@ -330,7 +340,7 @@
...
@@ -330,7 +340,7 @@
if
(
basicArr
[
i
]
==
'businessScopName'
&&
roleData
.
businessScopeCustomize
)
{
if
(
basicArr
[
i
]
==
'businessScopName'
&&
roleData
.
businessScopeCustomize
)
{
roleData
.
businessScopName
=
roleData
.
businessScopName
?
(
roleData
.
businessScopName
+
','
+
roleData
.
businessScopeCustomize
)
:
roleData
.
businessScopeCustomize
roleData
.
businessScopName
=
roleData
.
businessScopName
?
(
roleData
.
businessScopName
+
','
+
roleData
.
businessScopeCustomize
)
:
roleData
.
businessScopeCustomize
}
}
$
(
'#'
+
[
basicArr
[
i
]]).
text
(
roleData
[
basicArr
[
i
]]
?
roleData
[
basicArr
[
i
]]
:
''
)
$
(
'#'
+
[
basicArr
[
i
]]).
text
(
roleData
[
basicArr
[
i
]]
?
roleData
[
basicArr
[
i
]]
:
'
无
'
)
}
}
callback
(
roleData
.
accountTypes
)
callback
(
roleData
.
accountTypes
)
}
}
...
@@ -459,11 +469,6 @@
...
@@ -459,11 +469,6 @@
width
:
120
width
:
120
},
},
{
{
field
:
'statusName'
,
title
:
'登录密码'
,
width
:
120
},
{
field
:
'createdAccount '
,
field
:
'createdAccount '
,
title
:
'创建者'
,
title
:
'创建者'
,
width
:
100
width
:
100
...
...
html/merchant/edit.html
View file @
c48092a
...
@@ -122,8 +122,8 @@
...
@@ -122,8 +122,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
商户类型:
</label>
<label
class=
"layui-form-label"
>
商户类型:
</label>
<div
class=
"layui-input-inline"
style=
"width: 100px; margin: 0;"
>
<div
class=
"layui-input-inline"
style=
"width: 100px; margin: 0;"
>
<select
name=
"merchantType"
>
<select
name=
"merchantType"
id=
"merchantTypeEl"
>
<option
value=
"1"
>
个
体户
</option>
<option
value=
"1"
>
个
人
</option>
<option
value=
"2"
>
企业
</option>
<option
value=
"2"
>
企业
</option>
</select>
</select>
</div>
</div>
...
@@ -645,6 +645,11 @@
...
@@ -645,6 +645,11 @@
}
}
})
})
// console.log($('#merchantTypeEl'))
// $('#merchantTypeEl').on('change', function() {
// console.log('?????????????')
// })
$
(
'.upload'
).
on
(
'change'
,
function
(
e
)
{
$
(
'.upload'
).
on
(
'change'
,
function
(
e
)
{
// console.log(e)
// console.log(e)
var
idx
=
$
(
this
).
data
(
'idx'
)
var
idx
=
$
(
this
).
data
(
'idx'
)
...
...
html/merchant/index.html
View file @
c48092a
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
align
:
'center'
,
align
:
'center'
,
width
:
160
width
:
160
},
{
},
{
field
:
'
cre
atedTime'
,
field
:
'
upd
atedTime'
,
title
:
'更新时间'
,
title
:
'更新时间'
,
align
:
'center'
,
align
:
'center'
,
width
:
120
width
:
120
...
...
html/role/index.html
View file @
c48092a
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'所属商户名'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'所属商户名'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'
cre
atedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
120
},
{
field
:
'
upd
atedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
120
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
]
]
]
]
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment