提交 128a8075 authored 作者: chengye's avatar chengye

修复手机页面错误

上级 b2e0434c
......@@ -55,8 +55,6 @@ class Index extends Base
//人员名字转化
$staff = Db::connect('db_config1')->table('staff')->find($data->jz_project_owner);
$data->jz_project_owner = $staff['name'];
//供应商转换
$opr = Db::connect('db_config1')->table('operator')->get(['operator_id'=>$data->jz_yys]);
$yys = Dictionary::field('name as yys_name')
->where('type','LIKE','%JZ_%_YYS%')
......
......@@ -8,11 +8,12 @@
namespace app\jz\controller;
use app\jz\model\Dictionary;
use think\Controller;
use think\Db;
use think\facade\Request;
class guest extends Controller
{
public function detail(){
......@@ -23,8 +24,6 @@ class guest extends Controller
//人员名字转化
$staff = Db::connect('db_config1')->table('staff')->find($data->jz_project_owner);
$data->jz_project_owner = $staff['name'];
//供应商转换
$opr = Db::connect('db_config1')->table('operator')->get(['operator_id'=>$data->jz_yys]);
$yys = Dictionary::field('name as yys_name')
->where('type','LIKE','%JZ_%_YYS%')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论