作者 何书鹏
1 个管道 的构建 通过 耗费 3 秒

后台bug修改

... ... @@ -17,6 +17,7 @@ class FeedbackWrong extends Backend
* @var \app\admin\model\mobile\feedback\FeedbackWrong
*/
protected $model = null;
protected $noNeedRight = ['selectpage'];
public function _initialize()
{
... ... @@ -73,4 +74,9 @@ class FeedbackWrong extends Backend
}
return $this->view->fetch();
}
public function selectpage()
{
return parent::selectpage(); // TODO: Change the autogenerated stub
}
}
... ...
... ... @@ -7,6 +7,6 @@ return [
'Content' => '内容',
'Createtime' => '创建时间',
'Updatetime' => '更新时间',
'Mobilefeedbackwrong.name' => '公司地址',
'User.nickname' => '昵称'
'Mobilefeedbackwrong.name' => '错误类型',
'User.nickname' => '姓名'
];
... ...
... ... @@ -2,7 +2,7 @@
return [
'Id' => 'ID',
'Name' => '公司地址',
'Name' => '错误类型',
'Createtime' => '创建时间',
'Updatetime' => '更新时间'
];
... ...
... ... @@ -7,7 +7,6 @@
<div class="widget-body no-padding">
<div id="toolbar" class="toolbar">
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('mobile/course/course_order/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('mobile/course/course_order/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('mobile/course/course_order/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
... ...
... ... @@ -9,7 +9,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Feedback_wrong_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-feedback_wrong_id" data-rule="required" data-source="feedback/wrong/index" class="form-control selectpage" name="row[feedback_wrong_id]" type="text" value="">
<input id="c-feedback_wrong_id" data-rule="required" data-source="mobile/feedback/feedback_wrong/selectpage" class="form-control selectpage" name="row[feedback_wrong_id]" type="text" value="">
</div>
</div>
<div class="form-group">
... ...
... ... @@ -9,7 +9,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Feedback_wrong_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-feedback_wrong_id" data-rule="required" data-source="feedback/wrong/index" class="form-control selectpage" name="row[feedback_wrong_id]" type="text" value="{$row.feedback_wrong_id|htmlentities}">
<input id="c-feedback_wrong_id" data-rule="required" data-source="mobile/feedback/feedback_wrong/selectpage" class="form-control selectpage" name="row[feedback_wrong_id]" type="text" value="{$row.feedback_wrong_id|htmlentities}">
</div>
</div>
<div class="form-group">
... ...
... ... @@ -7,7 +7,6 @@
<div class="widget-body no-padding">
<div id="toolbar" class="toolbar">
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('mobile/feedback/feedback/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('mobile/feedback/feedback/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('mobile/feedback/feedback/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
... ...
... ... @@ -7,7 +7,6 @@
<div class="widget-body no-padding">
<div id="toolbar" class="toolbar">
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('mobile/package/package_order/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('mobile/package/package_order/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('mobile/package/package_order/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
... ...
... ... @@ -7,7 +7,6 @@
<div class="widget-body no-padding">
<div id="toolbar" class="toolbar">
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('mobile/secret/secret_order/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('mobile/secret/secret_order/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('mobile/secret/secret_order/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
... ...
... ... @@ -25,9 +25,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
[
{checkbox: true},
{field: 'id', title: __('Id')},
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'mobilefeedbackwrong.name', title: __('Mobilefeedbackwrong.name')},
{field: 'user.nickname', title: __('User.nickname')},
{field: 'mobilefeedbackwrong.name', title: __('Mobilefeedbackwrong.name')},
{field: 'content', title: __('Content')},
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
]
]
... ...