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 644964e5
authored
Aug 17, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
b53108c7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
html/merchant/detail.html
html/merchant/edit.html
js/gtree.js
html/merchant/detail.html
View file @
644964e
...
...
@@ -141,12 +141,12 @@
<div
class=
"layui-form-mid layui-word-aux"
id=
"accountLevelName"
></div>
</div>
</div>
<
!-- <
div class="layui-form-item">
<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
class=
"layui-form-mid layui-word-aux"
id=
"effectiveTimeName"
></div>
</div>
</div>
-->
</div>
<h3
class=
"content-title"
>
企业信息
</h3>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
商户名称:
</label>
...
...
@@ -167,7 +167,7 @@
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
组织机构代码
:
</label>
<label
class=
"layui-form-label"
id=
"orgTxt"
>
身份证
:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantOrgcode"
></div>
</div>
...
...
@@ -331,6 +331,7 @@
'merchantLoginAccount'
,
'accountTypeNames'
,
'accountLevelName'
,
'effectiveTimeName'
,
'merchantName'
,
'merchantAbbreviation'
,
'merchantTypeName'
,
...
...
@@ -371,6 +372,9 @@
}
$
(
'#'
+
[
basicArr
[
i
]]).
text
(
roleData
[
basicArr
[
i
]]
?
roleData
[
basicArr
[
i
]]
:
'无'
)
}
if
(
roleData
.
merchantType
==
2
)
{
$
(
'#orgTxt'
).
text
(
'组织机构代码:'
)
}
callback
(
roleData
.
accountTypes
)
}
})
...
...
html/merchant/edit.html
View file @
644964e
...
...
@@ -306,7 +306,7 @@
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
type=
"password"
id=
"password"
name=
"merchantLoginPassword"
maxlength=
"15"
placeholder=
"请输入登录密码"
required
lay-verify=
"required|merchantLoginPassword"
>
<button
type=
"button"
class=
"layui-btn form-right"
id=
"resetpsw"
>
重置密码
</button>
<button
type=
"button"
class=
"layui-btn form-right
hide
"
id=
"resetpsw"
>
重置密码
</button>
</div>
</div>
<div
class=
"layui-form-item"
>
...
...
@@ -449,10 +449,6 @@
var
pwd
=
$
(
'#password'
)
// 密码输入框
var
resetpsw
=
$
(
'#resetpsw'
)
// pwd.attr('readonly', false)
// if (id) {
// resetpsw.removeClass('hide')
// resetpsw.addClass('show')
// }
// 重置密码
resetpsw
.
on
(
'click'
,
function
()
{
pwd
.
attr
(
'readonly'
,
false
)
...
...
@@ -855,6 +851,10 @@
}
}
}
if
(
merchantId
)
{
resetpsw
.
removeClass
(
'hide'
)
resetpsw
.
addClass
(
'show'
)
}
if
(
isFactory
)
{
$
(
'#subMerchantEl'
).
hide
()
}
...
...
js/gtree.js
View file @
644964e
...
...
@@ -28,15 +28,19 @@ layui.define(['ztree'], function (exports) {
treeNode
.
checked
=
true
// var i= setInterval(function(){
// if (inst) {
// clearInterval(i)
// inst.updateNode(treeNode)
// clearInterval(i)
// }
// },20)
// var time = setTimeout(function () {
// if (inst) {
// inst.updateNode(treeNode)
// clearTimeout(time)
// }
// }, 20)
if
(
inst
)
{
inst
.
updateNode
(
treeNode
)
}
// }, 1000)
}
}
if
(
gtree
.
opt
&&
gtree
.
opt
.
chkDisabled
)
{
...
...
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