切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
8 years ago
提交
1b62e2c4e3c89672b2ee3117b9677a4050fdce08
1 个父辈
103e3902
修复微信自动管理编辑时空白的BUG
移除代码中的console.log 修复部分视图中的调用错误
隐藏空白字符变更
内嵌
并排对比
正在显示
7 个修改的文件
包含
4 行增加
和
7 行删除
application/admin/controller/wechat/Autoreply.php
application/admin/view/user/user/add.phtml
application/admin/view/user/user/edit.phtml
application/admin/view/wechat/autoreply/edit.html
public/assets/js/backend/general/attachment.js
public/assets/js/backend/general/profile.js
public/assets/js/bootstrap-table-commonsearch.js
application/admin/controller/wechat/Autoreply.php
查看文件 @
1b62e2c
...
...
@@ -43,6 +43,7 @@ class Autoreply extends Backend
$response
=
WechatResponse
::
get
([
'eventkey'
=>
$row
[
'eventkey'
]]);
$this
->
view
->
assign
(
"response"
,
$response
);
$this
->
view
->
assign
(
"row"
,
$row
);
return
$this
->
view
->
fetch
();
}
}
...
...
application/admin/view/user/user/add.phtml
查看文件 @
1b62e2c
...
...
@@ -179,7 +179,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_
status();
}
{:build_
radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')])
}
</div>
</div>
<div class="form-group hide layer-footer">
...
...
application/admin/view/user/user/edit.phtml
查看文件 @
1b62e2c
...
...
@@ -174,7 +174,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_
status(NULL, $row['status']);
}
{:build_
radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')], $row['status'])
}
</div>
</div>
<div class="form-group hide layer-footer">
...
...
application/admin/view/wechat/autoreply/edit.html
查看文件 @
1b62e2c
...
...
@@ -44,7 +44,7 @@
<div
class=
"form-group"
>
<label
class=
"control-label col-xs-12 col-sm-2"
>
<?= __('Status') ?>
:
</label>
<div
class=
"col-xs-12 col-sm-8"
>
<?= build_status(NULL, $row['status']); ?>
{:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')], $row['status'])}
</div>
</div>
<div
class=
"form-group hide layer-footer"
>
...
...
public/assets/js/backend/general/attachment.js
查看文件 @
1b62e2c
...
...
@@ -54,7 +54,6 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
},
formatter
:
{
thumb
:
function
(
value
,
row
,
index
)
{
//console.log(row);
if
(
row
.
mimetype
.
indexOf
(
"image"
)
>
-
1
)
{
var
reg
=
/ajax
\/
upload$/
;
if
(
reg
.
test
(
Config
.
upload
.
uploadurl
))
{
...
...
public/assets/js/backend/general/profile.js
查看文件 @
1b62e2c
...
...
@@ -47,7 +47,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'upload'], function (
var
url
=
Config
.
upload
.
cdnurl
+
response
.
url
;
$
(
".profile-user-img"
).
prop
(
"src"
,
url
);
};
console
.
log
(
Upload
);
}
};
return
Controller
;
...
...
public/assets/js/bootstrap-table-commonsearch.js
查看文件 @
1b62e2c
...
...
@@ -138,7 +138,6 @@
};
var
isSearchAvailble
=
function
(
that
)
{
console
.
log
(
'isSearchAvailble'
);
//只支持服务端搜索
if
(
!
that
.
options
.
commonSearch
||
that
.
options
.
sidePagination
!=
'server'
||
!
that
.
options
.
url
)
{
return
false
;
...
...
@@ -293,7 +292,6 @@
return
;
}
if
(
!
firstLoad
)
{
console
.
log
(
122
);
var
height
=
parseInt
(
$
(
".bootstrap-table"
).
height
());
height
+=
10
;
$
(
"#"
+
this
.
options
.
idTable
).
bootstrapTable
(
"resetView"
,
{
height
:
height
});
...
...
请
注册
或
登录
后发表评论