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 857b2a15
authored
Aug 10, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/h5/account
2 parents
ff6edd56
4c7271fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
html/merchant/edit.html
js/load.js
html/merchant/edit.html
View file @
857b2a1
...
...
@@ -171,7 +171,7 @@
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
驻店电话:
</label>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
name=
"residentPhone"
placeholder=
"请输入驻点电话"
lay-verify=
"phone"
>
<input
class=
"layui-input"
name=
"residentPhone"
placeholder=
"请输入驻点电话"
>
</div>
</div>
<div
class=
"layui-form-item"
>
...
...
@@ -801,7 +801,7 @@
getMerchantApi
(
merchantId
,
function
(
res
)
{
form
.
val
(
'merchantForm'
,
res
.
data
)
merchantForm
=
res
.
data
if
(
merchantForm
.
status
!=
1
)
{
if
(
merchantForm
.
status
!=
1
)
{
$
(
'#draft'
).
remove
()
}
console
.
log
(
merchantForm
)
...
...
@@ -1322,6 +1322,7 @@
layer
.
msg
(
'操作成功'
,
{
icon
:
1
})
go
(
'merchant'
,
'index'
)
}
})
return
false
...
...
@@ -1350,6 +1351,7 @@
layer
.
msg
(
'操作成功'
,
{
icon
:
1
})
go
(
'merchant'
,
'index'
)
}
})
return
false
...
...
js/load.js
View file @
857b2a1
...
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-07-15 15:46:53
* @LastEditors: limin
* @LastEditTime: 2021-08-09
19:15:04
* @LastEditTime: 2021-08-09
22:15:08
* @FilePath: \account\js\load.js
*/
;(
function
load
()
{
...
...
@@ -34,16 +34,14 @@ function loadHeaderFooter() {
var
store
=
layui
.
store
if
(
isExternal
){
//运营平台外部系统
append
()
}
else
{
//嵌入运营平台
var
token
=
store
.
get
(
'token'
)
if
(
token
||
isLoginPage
()){
}
else
{
//嵌入运营平台 或者是登录页面
if
(
isLoginPage
()){
//如果是登陆页面 直接返回 登录成功会设置token
return
}
var
t
=
qs
(
't'
)
if
(
!
t
){
throw
new
Error
(
'未获取到TGT,请检测'
)
var
t
=
qs
(
't'
)
//运营平台子系统从 父系统的iframe src获取 TGT.
if
(
t
){
store
.
set
(
'token'
,
t
)
}
store
.
set
(
'token'
,
t
)
}
})
}
...
...
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