链街Dcat后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
662 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <?php
  2. namespace App\Admin\Extensions;
  3. use App\Admin\Forms\CouponTieForm;
  4. use App\Models\ImsCjdcOrderMain;
  5. use App\Models\StoreAccount;
  6. use Dcat\Admin\Grid\RowAction;
  7. use Dcat\Admin\Widgets\Modal;
  8. use Illuminate\Http\Request;
  9. class CheckRow extends RowAction
  10. {
  11. protected $title;
  12. public function __construct($title=null)
  13. {
  14. parent::__construct($title);
  15. }
  16. public function render()
  17. {
  18. // 实例化表单类并传递自定义参数
  19. $form = CouponTieForm::make();
  20. return Modal::make()
  21. ->lg()
  22. ->title($this->title)
  23. ->body($form)
  24. ->button($this->title);
  25. }
  26. }