mirror of https://gitee.com/karson/fastadmin.git
parent
103e3902e4
commit
1b62e2c4e3
|
|
@ -43,6 +43,7 @@ class Autoreply extends Backend
|
||||||
$response = WechatResponse::get(['eventkey' => $row['eventkey']]);
|
$response = WechatResponse::get(['eventkey' => $row['eventkey']]);
|
||||||
$this->view->assign("response", $response);
|
$this->view->assign("response", $response);
|
||||||
$this->view->assign("row", $row);
|
$this->view->assign("row", $row);
|
||||||
|
return $this->view->fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
||||||
<div class="col-xs-12 col-sm-8">
|
<div class="col-xs-12 col-sm-8">
|
||||||
{:build_status();}
|
{:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')])}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group hide layer-footer">
|
<div class="form-group hide layer-footer">
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
||||||
<div class="col-xs-12 col-sm-8">
|
<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>
|
</div>
|
||||||
<div class="form-group hide layer-footer">
|
<div class="form-group hide layer-footer">
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-xs-12 col-sm-2"><?= __('Status') ?>:</label>
|
<label class="control-label col-xs-12 col-sm-2"><?= __('Status') ?>:</label>
|
||||||
<div class="col-xs-12 col-sm-8">
|
<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>
|
</div>
|
||||||
<div class="form-group hide layer-footer">
|
<div class="form-group hide layer-footer">
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,6 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
|
||||||
},
|
},
|
||||||
formatter: {
|
formatter: {
|
||||||
thumb: function (value, row, index) {
|
thumb: function (value, row, index) {
|
||||||
//console.log(row);
|
|
||||||
if (row.mimetype.indexOf("image") > -1) {
|
if (row.mimetype.indexOf("image") > -1) {
|
||||||
var reg = /ajax\/upload$/;
|
var reg = /ajax\/upload$/;
|
||||||
if (reg.test(Config.upload.uploadurl)) {
|
if (reg.test(Config.upload.uploadurl)) {
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'upload'], function (
|
||||||
var url = Config.upload.cdnurl + response.url;
|
var url = Config.upload.cdnurl + response.url;
|
||||||
$(".profile-user-img").prop("src", url);
|
$(".profile-user-img").prop("src", url);
|
||||||
};
|
};
|
||||||
console.log(Upload);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return Controller;
|
return Controller;
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var isSearchAvailble = function (that) {
|
var isSearchAvailble = function (that) {
|
||||||
console.log('isSearchAvailble');
|
|
||||||
//只支持服务端搜索
|
//只支持服务端搜索
|
||||||
if (!that.options.commonSearch || that.options.sidePagination != 'server' || !that.options.url) {
|
if (!that.options.commonSearch || that.options.sidePagination != 'server' || !that.options.url) {
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -293,7 +292,6 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!firstLoad) {
|
if (!firstLoad) {
|
||||||
console.log(122);
|
|
||||||
var height = parseInt($(".bootstrap-table").height());
|
var height = parseInt($(".bootstrap-table").height());
|
||||||
height += 10;
|
height += 10;
|
||||||
$("#" + this.options.idTable).bootstrapTable("resetView", {height: height});
|
$("#" + this.options.idTable).bootstrapTable("resetView", {height: height});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue