作者 王智

daima

@@ -82,12 +82,12 @@ class Renwu extends Backend @@ -82,12 +82,12 @@ class Renwu extends Backend
82 $id = input('id'); 82 $id = input('id');
83 $Arr = Db::name('renwu')->where('id', $id)->find(); 83 $Arr = Db::name('renwu')->where('id', $id)->find();
84 if (empty($Arr['xi_id'])) { 84 if (empty($Arr['xi_id'])) {
85 - $data['xi'] = ''; 85 + $data['xi'] = '未分配洗车工';
86 } else { 86 } else {
87 $data['xi'] = Db::name('user')->where('id', $Arr['xi_id'])->value('nickname'); 87 $data['xi'] = Db::name('user')->where('id', $Arr['xi_id'])->value('nickname');
88 } 88 }
89 if (empty($Arr['zhao_id'])) { 89 if (empty($Arr['zhao_id'])) {
90 - $data['zhao'] = ''; 90 + $data['zhao'] = '未分配找车工';
91 } else { 91 } else {
92 $data['zhao'] = Db::name('user')->where('id', $Arr['zhao_id'])->value('nickname'); 92 $data['zhao'] = Db::name('user')->where('id', $Arr['zhao_id'])->value('nickname');
93 } 93 }
@@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
5 - <title>Title</title>  
6 - <div>{$data.xi}</div> 5 + <div>洗车工:{$data.xi}</div>
  6 + <div>找车工:{$data.zhao}</div>
7 </head> 7 </head>
8 <body> 8 <body>
9 9