Commit 857b2a15 by 李长胜

Merge branch 'master' of http://192.168.3.233:8090/h5/account

2 parents ff6edd56 4c7271fc
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
<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"> <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> </div>
<div class="layui-form-item"> <div class="layui-form-item">
...@@ -801,7 +801,7 @@ ...@@ -801,7 +801,7 @@
getMerchantApi(merchantId, function (res) { getMerchantApi(merchantId, function (res) {
form.val('merchantForm', res.data) form.val('merchantForm', res.data)
merchantForm = res.data merchantForm = res.data
if(merchantForm.status != 1) { if (merchantForm.status != 1) {
$('#draft').remove() $('#draft').remove()
} }
console.log(merchantForm) console.log(merchantForm)
...@@ -1322,6 +1322,7 @@ ...@@ -1322,6 +1322,7 @@
layer.msg('操作成功', { layer.msg('操作成功', {
icon: 1 icon: 1
}) })
go('merchant', 'index')
} }
}) })
return false return false
...@@ -1350,6 +1351,7 @@ ...@@ -1350,6 +1351,7 @@
layer.msg('操作成功', { layer.msg('操作成功', {
icon: 1 icon: 1
}) })
go('merchant', 'index')
} }
}) })
return false return false
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2021-07-15 15:46:53 * @Date: 2021-07-15 15:46:53
* @LastEditors: limin * @LastEditors: limin
* @LastEditTime: 2021-08-09 19:15:04 * @LastEditTime: 2021-08-09 22:15:08
* @FilePath: \account\js\load.js * @FilePath: \account\js\load.js
*/ */
;(function load() { ;(function load() {
...@@ -34,16 +34,14 @@ function loadHeaderFooter() { ...@@ -34,16 +34,14 @@ function loadHeaderFooter() {
var store = layui.store var store = layui.store
if(isExternal){ //运营平台外部系统 if(isExternal){ //运营平台外部系统
append() append()
}else{//嵌入运营平台 }else{//嵌入运营平台 或者是登录页面
var token = store.get('token') if(isLoginPage()){ //如果是登陆页面 直接返回 登录成功会设置token
if(token || isLoginPage()){
return return
} }
var t = qs('t') var t = qs('t') //运营平台子系统从 父系统的iframe src获取 TGT.
if(!t){ if(t){
throw new Error('未获取到TGT,请检测') store.set('token', t)
} }
store.set('token', t)
} }
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!