作者 sgj
1 个管道 的构建 通过 耗费 0 秒

bug修改

... ... @@ -56,7 +56,7 @@ class JoinModel extends Model
$where['j.user_id']=$userId;
$where['j.status']=['>',1];
$info=$this->alias('j')
->field('a.*,at.type_name,pp.*')
->field('a.*,at.type_name,pp.*,a.id as id')
->join('cmf_activity a','a.id=j.activity_id')
->join('cmf_activity_type at','a.activity_type=at.id')
->join('cmf_position_province pp','a.position_id=pp.id')
... ...
... ... @@ -22,14 +22,14 @@
<div class="col-md-9">
<table class="table table-bordered">
<tr>
<th width="100">标题<span class="form-required">*</span></th>
<th width="100">标题(限20字)<span class="form-required">*</span></th>
<td>
<input class="form-control" type="text" name="activity_name"
id="title" value="" placeholder="请输入标题"/>
</td>
</tr>
<tr>
<th width="100">摘要(255字)<span class="form-required">*</span></th>
<th width="100">摘要(255字)<span class="form-required">*</span></th>
<td>
<textarea class="form-control" name="abstract"
id="abstract" placeholder="请输入摘要"></textarea>
... ...
... ... @@ -25,7 +25,7 @@
<div class="col-md-9">
<table class="table table-bordered">
<tr>
<th width="100">标题<span class="form-required">*</span></th>
<th width="100">标题(限20字)<span class="form-required">*</span></th>
<td>
<input class="form-control" type="text" name="activity_name"
id="title" value="{$data.activity_name}" placeholder="请输入标题"/>
... ... @@ -33,7 +33,7 @@
</td>
</tr>
<tr>
<th width="100">摘要(255字)<span class="form-required">*</span></th>
<th width="100">摘要(255字)<span class="form-required">*</span></th>
<td>
<textarea class="form-control" name="abstract"
id="abstract" placeholder="请输入摘要">{$data.abstract}</textarea>
... ...