Blame view

public/assets/js/backend/antis/synchronizate/ku.js 618 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefined, Backend, Form, Table) {

  

      var Controller = {

          index : function () {

              $("input:radio[name='row[status]']").change(function (){

                  var auto=$("input:radio[name='row[status]']:checked").val();

                  if(auto == 1){

                      $('.auto').show();

                  }else{

                      $('.auto').hide();

                  }

  

              }).trigger('change');

  

  

  

              Form.api.bindevent($("form[role=form]"));

          },

  

  

      };

      return Controller;

  });