ctms/ctms-admin/views/error/report.php
2025-04-10 23:19:13 +08:00

91 lines
5.4 KiB
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
# @Author: 嗨噜客科技(www.hiluker.cn) <fm453>
# @Date: 1970-01-01T08:00:00+08:00
# @Email: fm453@hiluker.com
# @Last modified by: fm453
# @Last modified time: 2021-09-15T17:48:03+08:00
use yii\helpers\Html;
use yii\helpers\Url;
$this->title = isset($title) ? $title : '提示';
?>
<div class="site-error">
<div style="text-align: center;">
<h1>温馨提示</h1><br>
</div>
<h4 style="margin: 10px auto;text-align: center;background-color: #1ab394; color: #ffffff;width: 90%;line-height: 50px;border-radius: 5px;"><i class="fa fa-spinner fa-spin"></i> 系统已记录您的操作请求,敬请稍候。为了便于工程师进行检查,烦请您对您发现的情况尽可能准确地说明告知,感谢您的反馈……</h4>
<form role="form" class="form-horizontal m-t" action="" method="post">
<input name="_csrf" type="hidden" id="_csrf" value="<?= Yii::$app->request->csrfToken ?>">
<input name="code" type="hidden" id="code" value="<?= isset($code) ? $code : 0 ?>">
<div class="form-group draggable">
<label class="col-sm-2 control-label"><i class="fa fa-spin" style="color:#f00;">*</i>出错页面:</label>
<div class="col-sm-9">
<input class="form-control" type="text" name="url" placeholder="当前报错页面的网址" autocomplete="off" value="<?= Html::encode($url) ?>">
<span class="help-block m-b-none">页面网址由系统自动获取,您也可以直接填入修改</span>
</div>
</div>
<div class="form-group draggable">
<label class="col-sm-2 control-label">错误描述:</label>
<div class="col-sm-9">
<textarea class="form-control" type="text" name="desc" placeholder="请描述一下您遇到的问题,比如在什么情况下出现的,出错时您正在操作页面的什么东西,等" autocomplete="off"><?php if(isset($data['desc'])){?><?= Html::encode($data['desc']) ?><?php }?></textarea>
<span class="help-block m-b-none">您描述的越详细、清楚,越有利于工程师排查问题</span>
</div>
</div>
<div class="form-group draggable">
<label class="col-sm-2 control-label">您的称谓:</label>
<div class="col-sm-9">
<input class="form-control" type="text" name="name" placeholder="怎么称呼您呢?" value="<?php if(isset($data['name'])){?><?= Html::encode($data['name']) ?><?php }?>">
</div>
</div>
<div class="form-group draggable">
<label class="col-sm-2 control-label">联系方式:</label>
<div class="col-sm-9">
<input class="form-control" type="text" name="mobile" placeholder="请输入您的手机号,以便工程师与您联系咨询" value="<?php if(isset($data['mobile'])){?><?= Html::encode($data['mobile']) ?><?php }?>">
</div>
</div>
<div class="form-group draggable">
<label class="col-sm-2 control-label">QQ</label>
<div class="col-sm-9">
<input class="form-control" type="text" name="QQ" placeholder="请输入您的QQ号,以便工程师与您联系咨询" value="<?php if(isset($data['QQ'])){?><?= Html::encode($data['QQ']) ?><?php }?>">
</div>
</div>
<div class="form-group draggable">
<label class="col-sm-2 control-label">微信:</label>
<div class="col-sm-9">
<input class="form-control" type="text" name="wechat" placeholder="请输入您的微信号,以便工程师与您联系咨询" value="<?php if(isset($data['wechat'])){?><?= Html::encode($data['wechat']) ?><?php }?>">
</div>
</div>
<div class="form-group draggable">
<label class="col-sm-2 control-label">反馈时间:</label>
<div class="col-sm-9">
<p class="form-control-static"><?php if(isset($data['time'])){?><?= Html::encode($data['time']) ?><?php }else{echo date('Y-m-d h:i');}?></p>
</div>
</div>
<div class="form-group draggable">
<label class="col-sm-2 control-label">接收通知:</label>
<div class="col-sm-9">
<label class="radio-inline">
<input type="radio" value="1" <?php if(isset($data['is_notice']) && $data['is_notice']==1){?> checked="true" <?php }?> id="optionsRadios1" name="is_notice">问题解决后,请联系我</label>
<label class="radio-inline">
<input type="radio" <?php if(isset($data['is_notice']) && $data['is_notice']==0){?> checked="true" <?php }?> value="0" id="optionsRadios2" name="is_notice">我不需要接收该报错的解决结果通知</label>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group draggable">
<div class="col-sm-12 col-sm-offset-3">
<button class="btn btn-primary" type="submit">反馈</button>
<button class="btn btn-white" type="button">取消</button>
</div>
</div>
</form>
<div class="alert alert-info alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert">×</button>
<h4>您还可以扫描工程师客服微信直接反馈(遇忙时,工程师可能无法快速响应,请耐心等待);申请添加好友时请备注“运车系统反馈”
</h4>
<div style="text-align: center;"><img class="img-round" src="<?=Yii::getAlias('@web')?>/img/fm-qrcode.jpg" width="230px" height="230px"></div>
</div>
</div>
</div>