|
@@ -31,6 +31,17 @@ Class Appoint
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ public function insertAppoint($id,$name,$data)
|
|
|
+ {
|
|
|
+ $info_id = Dever::param('info_id',$data);
|
|
|
+ if ($info_id) {
|
|
|
+ $info = Dever::db('work/info')->find($info_id);
|
|
|
+ if ($info['status']>=3){
|
|
|
+ Dever::alert('工单已关闭');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
public function updateAppoint($id,$name,$data)
|
|
|
{
|
|
@@ -395,6 +406,7 @@ Class Appoint
|
|
|
if ($user['passport_uid'] && $user['passport_uid']>0) {
|
|
|
$user['type'] = $user['type'].'<br/>小程序';
|
|
|
}
|
|
|
+ $user['type'] = $user['type'].'<br/>客服系统用户';
|
|
|
|
|
|
} else {
|
|
|
if ($user['option_uid'] && $user['option_uid']>0) {
|
|
@@ -402,18 +414,20 @@ Class Appoint
|
|
|
if ($user['passport_uid'] && $user['passport_uid']>0) {
|
|
|
$user['type'] = $user['type'].'<br/>小程序';
|
|
|
}
|
|
|
+ $user['type'] = $user['type'].'<br/>客服系统用户';
|
|
|
} else {
|
|
|
if ($user['passport_uid'] && $user['passport_uid']>0) {
|
|
|
$user['type'] = '小程序';
|
|
|
+ $user['type'] = $user['type'].'<br/>客服系统用户';
|
|
|
} else {
|
|
|
- $user['type'] = '无系统关联关系';
|
|
|
+ $user['type'] = '客服系统用户';
|
|
|
+ // $user['type'] = '无系统关联关系';
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
if ($user['agent_uid']) {
|
|
|
$user['order'] = Dever::url('project/database/list?project=agent&table=order&p=1&search_option_mid='.$user['agent_uid'], 'manage');
|
|
|
$user['agent'] = Dever::url('project/database/list?project=agent&table=member_area&mid='.$user['agent_uid'].'&page_type=1&search_auth=1&page_type=1&jump=19','manage');
|
|
|
- // ('project/database/list?project=agent&table=member&search_option_id='.$user['agent_uid'], 'manage');
|
|
|
$user['soft'] = Dever::url('project/database/list?project=agent&table=soft_cash&search_option_mid='.$user['agent_uid'], 'manage');
|
|
|
}
|
|
|
if ($user['option_uid']) {
|
|
@@ -445,7 +459,6 @@ Class Appoint
|
|
|
}
|
|
|
$data['page'] = Dever::page("current");
|
|
|
}
|
|
|
- // print_R($data);die;
|
|
|
return Dever::render('back', $data);
|
|
|
}
|
|
|
}
|