正在显示
2 个修改的文件
包含
4 行增加
和
6 行删除
@@ -52,11 +52,9 @@ class SalesmanorderController extends AdminBaseController{ | @@ -52,11 +52,9 @@ class SalesmanorderController extends AdminBaseController{ | ||
52 | $money += $data_arr['data'][$key]['money']; | 52 | $money += $data_arr['data'][$key]['money']; |
53 | } | 53 | } |
54 | } | 54 | } |
55 | - $data_school = Db::name('indent') -> group('school') -> where('indent_type',2) -> select() -> toArray(); | 55 | + $data_school = Db::name('school') -> group('school') -> select() -> toArray(); |
56 | foreach($data_school as $key => $val){ | 56 | foreach($data_school as $key => $val){ |
57 | - if(!empty($val['school'])){ | ||
58 | - $school[$key] = $val['school']; | ||
59 | - } | 57 | + $school[$key] = $val['school']; |
60 | } | 58 | } |
61 | $uid = Db::name('my_user') -> alias('a') -> join('user b','a.uid = b.id','LEFT') -> where('a.status = 2') -> select(); | 59 | $uid = Db::name('my_user') -> alias('a') -> join('user b','a.uid = b.id','LEFT') -> where('a.status = 2') -> select(); |
62 | /* foreach($uid as $key => $val){ | 60 | /* foreach($uid as $key => $val){ |
@@ -184,7 +184,7 @@ | @@ -184,7 +184,7 @@ | ||
184 | id="thumbnails-preview" | 184 | id="thumbnails-preview" |
185 | width="135" style="cursor: pointer"/> | 185 | width="135" style="cursor: pointer"/> |
186 | <else/> | 186 | <else/> |
187 | - <img src="/upload/{$data.show_img}" | 187 | + <img src="{$data.show_img}" |
188 | id="thumbnails-preview" | 188 | id="thumbnails-preview" |
189 | width="135" style="cursor: pointer"/> | 189 | width="135" style="cursor: pointer"/> |
190 | </if> | 190 | </if> |
@@ -206,7 +206,7 @@ | @@ -206,7 +206,7 @@ | ||
206 | id="thumbnail-preview" | 206 | id="thumbnail-preview" |
207 | width="135" style="cursor: pointer"/> | 207 | width="135" style="cursor: pointer"/> |
208 | <else/> | 208 | <else/> |
209 | - <img src="/upload/{$data.thumbnail}" | 209 | + <img src="{$data.thumbnail}" |
210 | id="thumbnail-preview" | 210 | id="thumbnail-preview" |
211 | width="135" style="cursor: pointer"/> | 211 | width="135" style="cursor: pointer"/> |
212 | </if> | 212 | </if> |
-
请 注册 或 登录 后发表评论