export const fieldList = [
  {
    key: "name",
    label: "名称",
    lanId: 33439,
    type: "TEXT",
    viewAttr: 1
  },
  {
    key: "taxCode",
    label: "税号",
    lanId: 111,
    type: "TEXT",
    viewAttr: 3
  },
  {
    key: "city",
    label: "报税所属区域",
    lanId: 111,
    type: "SELECT",
    viewAttr: 3
  },
  {
    key: "areaCode",
    label: "行政区划代码",
    lanId: 111,
    type: "TEXT",
    viewAttr: 3
  },
  {
    key: "passwordType",
    label: "密码校验类型",
    lanId: 111,
    type: "RADIO",
    viewAttr: 3,
    options: [
      {
        key: "TAX_NET_PASSWORD",
        showname: "个税网报密码",
        lanId: 111
      },
      {
        key: "REAL_NAME_PASSWORD",
        showname: "实名账号密码",
        lanId: 111
      }
    ]
  },
  {
    key: "account",
    label: "实名账号",
    lanId: 111,
    type: "TEXT",
    viewAttr: 3
  },
  {
    key: "realNamePassword",
    label: "实名账号密码",
    lanId: 111,
    type: "PASSWORD",
    viewAttr: 3
  },
  {
    key: "netPassword",
    label: "个税网报密码",
    lanId: 111,
    type: "PASSWORD",
    viewAttr: 3
  },
  {
    key: "taxRegistrationNumber",
    label: "登记序号",
    type: "TEXT",
    lanId: 111,
    viewAttr: 1
  },
  {
    key: "departmentCode",
    label: "部门编码",
    lanId: 111,
    type: "TEXT",
    viewAttr: 1
  },
  {
    key: "checkStatus",
    label: "报税信息验证状态",
    lanId: 111,
    type: "TEXT",
    viewAttr: 1
  }
];

export const taxFillCondition = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["taxAgentName"],
        fieldcol: 14,
        label: "个税扣缴义务人",
        lanId: 537996,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["taxRegistrationNumber"],
        fieldcol: 14,
        label: "登记序号",
        lanId: 545138,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["taxpayerStatus"],
        fieldcol: 14,
        label: "纳税人状态",
        lanId: 545139,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["legalPersonName"],
        fieldcol: 14,
        label: "法人姓名",
        lanId: 545140,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["mobile"],
        fieldcol: 14,
        label: "联系电话",
        lanId: 545141,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["businessAddress"],
        fieldcol: 14,
        label: "生产经营地址",
        lanId: 545142,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["industryName"],
        fieldcol: 14,
        label: "行业名称",
        lanId: 545143,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["taxAuthorities"],
        fieldcol: 14,
        label: "主管税务机关",
        lanId: 545144,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["taxBranch"],
        fieldcol: 14,
        label: "主管税务科所",
        lanId: 545145,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["divideFiling"],
        fieldcol: 14,
        label: "是否分部门备案",
        lanId: 111,
        labelcol: 6,
        value: "",
        viewAttr: 1
      }
    ],
    defaultshow: true
  }
];
export const deptFillCondition = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["departmentName"],
        fieldcol: 14,
        label: "部门名称",
        lanId: 536641,
        labelcol: 6,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["departmentCode"],
        fieldcol: 14,
        label: "部门编码",
        lanId: 111,
        labelcol: 6,
        value: "",
        rules: "required|string",
        viewAttr: 3
      }
    ],
    defaultshow: true
  }
];
export const taxFillColumns = [
  {
    dataIndex: "taxCode",
    title: "税号",
    titleId: "",
    fixed: "left"
  },
  {
    dataIndex: "taxAgentName",
    title: "个税扣缴义务人",
    titleId: "537996"
  },
  {
    dataIndex: "taxRegistrationNumber",
    title: "登记序号",
    titleId: "545138"
  },
  {
    dataIndex: "taxpayerStatus",
    title: "纳税人状态",
    titleId: "545139"
  },
  {
    dataIndex: "taxAuthorities",
    title: "主管税务机关",
    titleId: "545144"
  },
  {
    dataIndex: "taxBranch",
    title: "主管税务科所",
    titleId: "545145"
  },
  {
    dataIndex: "businessAddress",
    title: "生产经营地址",
    titleId: "545142"
  },
  {
    dataIndex: "industryName",
    title: "行业名称",
    titleId: "545143"
  },
  {
    dataIndex: "legalPersonName",
    title: "法人姓名",
    titleId: "545140"
  },
  {
    dataIndex: "mobile",
    title: "联系电话",
    titleId: "545141"
  }
];
export const personScopeConditions = [
  {
    items: [
      {
        conditionType: "SELECT_LINKAGE",
        domkey: ["targetType"],
        fieldcol: 16,
        label: "对象类型",
        lanId: 111,
        labelcol: 6,
        options: [],
        viewAttr: 3,
        rules: "selectLinkageRequired",
        selectLinkageDatas: {}
      },
      {
        conditionType: "SELECT",
        domkey: ["employeeStatus"],
        fieldcol: 18,
        label: "选择员工状态",
        lanId: 111,
        labelcol: 6,
        value: "",
        detailtype: "2",
        rules: "required",
        viewAttr: 3
      },
    ],
    defaultshow: true
  }
];
export const scopeSelectLinkageDatas = {
  EMPLOYEE:{
    browserConditionParam: {
      completeParams: {},
      dataParams: {},
      hasAddBtn: false,
      hasAdvanceSerach: true,
      isAutoComplete: 1,
      isDetail: 0,
      isMultCheckbox: false,
      isSingle: false,
      pageSize: 10,
      linkUrl: "",
      type: "17",
      viewAttr: 3,
      rules:'required',
      title: ""
    },
    conditionType: "BROWSER",
    domkey: ["target"],
    fieldcol: 24,
    label: "",
    labelcol: 0,
    value: "",
    rules: "required",
    viewAttr: 3
  },
  DEPT:{
    browserConditionParam: {
      completeParams: {},
      dataParams: {},
      hasAddBtn: false,
      hasAdvanceSerach: true,
      isAutoComplete: 1,
      isDetail: 0,
      isMultCheckbox: false,
      isSingle: false,
      pageSize: 10,
      linkUrl: "",
      type: "57",
      viewAttr: 3,
      rules:'required',
      title: ""
    },
    conditionType: "BROWSER",
    domkey: ["target"],
    fieldcol: 24,
    label: "",
    labelcol: 0,
    value: "",
    rules: "required",
    viewAttr: 3
  },
  SUBCOMPANY:{
    browserConditionParam: {
      completeParams: {},
      dataParams: {},
      hasAddBtn: false,
      hasAdvanceSerach: true,
      isAutoComplete: 1,
      isDetail: 0,
      isMultCheckbox: false,
      isSingle: false,
      pageSize: 10,
      linkUrl: "",
      type: "164",
      viewAttr: 3,
      rules:'required',
      title: ""
    },
    conditionType: "BROWSER",
    domkey: ["target"],
    fieldcol: 24,
    label: "",
    labelcol: 0,
    value: "",
    rules: "required",
    viewAttr: 3
  },
  POSITION:{
    browserConditionParam: {
      completeParams: {},
      dataParams: {},
      hasAddBtn: false,
      hasAdvanceSerach: true,
      isAutoComplete: 1,
      isDetail: 0,
      isMultCheckbox: false,
      isSingle: false,
      pageSize: 10,
      linkUrl: "",
      type: "278",
      viewAttr: 3,
      rules:'required',
      title: ""
    },
    conditionType: "BROWSER",
    domkey: ["target"],
    fieldcol: 24,
    label: "",
    labelcol: 0,
    value: "",
    rules: "required",
    viewAttr: 3
  },
  SQL: {
    conditionType: "TEXTAREA",
    domkey: ["target"],
    fieldcol: 24,
    label: "",
    labelcol: 0,
    value: "",
    rules: "required",
    viewAttr: 3
  }
};
