set.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. # 定义名称
  9. ->fetch('.form1@action', 'store/admin/info.getConfig#update')
  10. ->fetch('#update_where_id@value', '<{Dever::input("id")}>')
  11. ->render('store/admin/info.getData', array
  12. (
  13. '#update_name_value@value' => '$v.name',
  14. '#update_truename_value@value' => '$v.truename',
  15. '#update_mobile_value@value' => '$v.mobile',
  16. '#update_address_value@value' => '$v.address',
  17. '#update_license_number_value@value' => '$v.license_number',
  18. '#dever-linkage-update_area' => '$v.area',
  19. '#show_update_license_license@style' => array('<{$v.license}>', 'display:none'),
  20. '#show_update_license_license@src' => '$v.license',
  21. '#update_license_license@value' => '$v.license',
  22. '#show_update_idcard_back_idcard_back@style' => array('<{$v.idcard_back}>', 'display:none'),
  23. '#show_update_idcard_back_idcard_back@src' => '$v.idcard_back',
  24. '#update_idcard_back_idcard_back@value' => '$v.idcard_back',
  25. '#show_update_idcard_front_idcard_front@style' => array('<{$v.idcard_front}>', 'display:none'),
  26. '#show_update_idcard_front_idcard_front@src' => '$v.idcard_front',
  27. '#update_idcard_front_idcard_front@value' => '$v.idcard_front',
  28. '#show_update_kh_license_kh_license@style' => array('<{$v.kh_license}>', 'display:none'),
  29. '#show_update_kh_license_kh_license@src' => '$v.kh_license',
  30. '#update_kh_license_kh_license@value' => '$v.kh_license',
  31. '#restart' => '$v.status',
  32. ))
  33. # display
  34. ->display();