You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
495 B
PHTML
29 lines
495 B
PHTML
2 years ago
|
<?php
|
||
|
namespace Open\Widget;
|
||
|
use Think\Controller;
|
||
|
|
||
|
/**
|
||
|
* 局部小组件
|
||
|
*/
|
||
|
|
||
|
class DepartmentWidget extends Controller{
|
||
|
|
||
|
/* 删除 */
|
||
|
public function del($model){
|
||
|
|
||
|
$this->assign('model',$model);
|
||
|
|
||
|
$this->display('Department/del');
|
||
|
|
||
|
}
|
||
|
|
||
|
/* 弹窗 */
|
||
|
public function detail($title) {
|
||
|
|
||
|
$this->assign('title',$title);
|
||
|
|
||
|
$this->display('Department/detail');
|
||
|
}
|
||
|
|
||
|
}
|