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 19c8da02
authored
Oct 21, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
a18eced3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
14 deletions
html/merchant/edit.html
html/merchant/edit.html
View file @
19c8da0
...
...
@@ -181,12 +181,12 @@
<main>
<div
class=
"layui-tab layui-top-tab layui-tab-brief"
lay-filter=
"editTab"
>
<ul
class=
"layui-tab-title"
>
<li
lay-id=
"2"
id=
"functional"
style=
"padding: 0; width: 90px; margin-right: 20px"
>
修改功能权限
</li>
<li
lay-id=
"1"
id=
"basic"
style=
"padding: 0; width: 90px"
class=
"layui-this"
>
修改基本信息
</li>
<li
lay-id=
"2"
id=
"functional"
class=
"layui-this"
style=
"padding: 0; width: 90px; margin-right: 20px"
>
修改功能权限
</li>
<li
lay-id=
"1"
id=
"basic"
style=
"padding: 0; width: 90px"
>
修改基本信息
</li>
</ul>
<div
class=
"layui-tab-content m-t-md"
>
<!-- 权限树 -->
<div
class=
"layui-tab-item edit-box"
>
<div
class=
"layui-tab-item
layui-show
edit-box"
>
<div
id=
"authorityTree"
>
<!-- 树 -->
<!-- <div class="layui-form-item"> -->
...
...
@@ -208,7 +208,7 @@
</div>
</div>
</div>
<div
class=
"layui-tab-item
layui-show
"
>
<div
class=
"layui-tab-item"
>
<!-- 基本信息 -->
<div
id=
"basicForm"
>
<form
class=
"layui-form"
lay-filter=
"merchantForm"
>
...
...
@@ -486,7 +486,7 @@
// 1-创建新商户;2-创建子商户;3-修改
var
editLevel
=
1
// 1-基本信息;2-权限树
var
step
=
1
var
step
=
2
var
merchantId
=
null
var
parentMerchantId
=
null
var
accountTypeVisible
=
false
...
...
@@ -565,7 +565,6 @@
editLevel
=
qs
(
'editLevel'
)
isFactory
=
qs
(
'isFactory'
)
==
'true'
step
=
1
var
pwd
=
$
(
'#password'
)
// 密码输入框
var
resetpsw
=
$
(
'#resetpsw'
)
// pwd.attr('readonly', false)
...
...
@@ -873,15 +872,16 @@
functionClick
=
true
$
(
'#basicSumit'
).
click
()
step
=
2
init
()
// init()
location
.
reload
()
layer
.
close
(
index
)
},
function
()
{}
function
()
{
location
.
reload
()
}
)
}
else
{
element
.
tabChange
(
'editTab'
,
2
)
step
=
2
init
()
location
.
reload
()
}
}
return
false
...
...
@@ -903,15 +903,20 @@
basicClick
=
true
step
=
1
submitAuth
()
location
.
reload
()
//
location.reload()
layer
.
close
(
index
)
},
function
()
{}
function
()
{
console
.
log
(
'11111'
)
element
.
tabChange
(
'editTab'
,
1
)
step
=
1
}
)
}
else
{
console
.
log
(
'fou'
)
element
.
tabChange
(
'editTab'
,
1
)
step
=
1
location
.
reload
()
//
location.reload()
}
}
return
false
...
...
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