code: function (value) {
          if (/^\d{15}$/.test(value)) {
              return true;
          }
          if ((/^\d{17}[0-9xX]$/).test(value)) {
              let vs = '1,0,x,9,8,7,6,5,4,3,2'.split(','),
                  ps = '7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2'.split(','),
                  ss = value.toLowerCase().split(''),
                  r = 0;
              for (let i = 0; i < 17; i++) {
                  r += ps[i] * ss[i];
              }
              let isOk = (vs[r % 11] === ss[17]);
              return isOk;
          }
          return false;
      }
docs: 身份证号码
  @return {[type]} [description]