hwh
2024-07-02 466fff2dc251cc78da0a95dc9db5e2f782bcde75
HTML/js/public.js
@@ -13,7 +13,7 @@
{
  sendData(IP + "/Basis/GetFunSettingByNo?funSetNo="+"Fun013", {}, 'get', function (res) {
    console.log(res.data.SetValue)
    if (res.code == 0) { //成功
    if (res.code == 200) { //成功
      if(res.data.IsEnable == 'NO')
      {
          pageCnt = parseInt(res.data.SetValue);
@@ -55,13 +55,12 @@
    success: function (res, status, xhr) {
      // console.log(res);
      // console.log(status);
      callbackFun(res);
    },
    error: function (res, status, error) {  
      // console.log(res);
      // console.log(status);
      callbackFun(res, status, error);
      callbackFun(res.responseJSON, status, error);
      // layer.msg(res.statusText, {
      //   icon: 2,
      //   time: 2000 //2秒关闭(如果不配置,默认是3秒)
@@ -245,7 +244,7 @@
function GetIsSetColW()
{
  sendData(IP + "/Basis/GetFunSettingByNo?funSetNo="+"Fun014", {}, 'get', function (res) {
    if (res.code == 0) { //成功
    if (res.code == 200) { //成功
      if(res.data.IsEnable == 'NO')
      {
        isSetColW=true;
@@ -333,4 +332,13 @@
          }
      }
  });
}
var FnParseData = function (res) {
  return {
    "code": res.code == 200 ? 0 : res.code, // 解析接口状态
    "msg": res.msg, // 解析提示文本
    "count": res.data.Total, // 解析数据长度
    "data": res.data.Items // 解析数据列表
  };
}