更新发票到账
This commit is contained in:
parent
d04fc8c39e
commit
ed518edfc2
|
@ -46,7 +46,7 @@ class OaApprove extends ApiController
|
||||||
$departmentId = Db::name('Department')->where(['title' => '人事部'])->value('id');
|
$departmentId = Db::name('Department')->where(['title' => '人事部'])->value('id');
|
||||||
if ($did == $departmentId) {
|
if ($did == $departmentId) {
|
||||||
$list[] = [
|
$list[] = [
|
||||||
"id" => 9999,
|
"id" => 9998,
|
||||||
"type" => 4,
|
"type" => 4,
|
||||||
"title" => "人力资源",
|
"title" => "人力资源",
|
||||||
"name" => "renliziyuan",
|
"name" => "renliziyuan",
|
||||||
|
@ -58,6 +58,22 @@ class OaApprove extends ApiController
|
||||||
"update_time" => "2022-01-10 16:21:32"
|
"update_time" => "2022-01-10 16:21:32"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
$auth = isAuthIncome($uid);
|
||||||
|
if ($auth) {
|
||||||
|
$list[] = [
|
||||||
|
"id" => 9999,
|
||||||
|
"type" => 3,
|
||||||
|
"title" => "发票到账",
|
||||||
|
"name" => "daozhang",
|
||||||
|
"icon" => "icon-daozhang",
|
||||||
|
"img" => "https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/oa/renliziyuan.png",
|
||||||
|
"department_ids" => "",
|
||||||
|
"status" => 1,
|
||||||
|
"create_time" => "2022-01-10 16:21:32",
|
||||||
|
"update_time" => "2022-01-10 16:21:32"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
$this->apiSuccess('获取成功', $list);
|
$this->apiSuccess('获取成功', $list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue