export const roleConditions = [
  {
    items: [
      {
        conditionType: "INPUT",
        domkey: ["name"],
        fieldcol: 16,
        label: "名称",
        lanId: 111,
        labelcol: 6,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        browserConditionParam: {
          completeURL: "/api/bs/hrmsalary/taxAgent/listAuth",
          dataParams: { filterType: "QUERY_DATA" },
          filterByName: true,
          tableProps: {},
          isSingle: false,
          searchParamsKey: "name"
        },
        conditionType: "CUSTOMBROWSER",
        domkey: ["taxAgentIds"],
        fieldcol: 16,
        label: "个税扣缴义务人",
        lanId: 111,
        labelcol: 6,
        rules: "required|string",
        viewAttr: 3
      },
      {
        browserConditionParam: {
          completeURL: "/api/bs/hrmsalary/salarysob/listAuth",
          dataParams: { filterType: "QUERY_DATA" },
          filterByName: true,
          tableProps: {},
          isSingle: false,
          searchParamsKey: "name"
        },
        conditionType: "CUSTOMBROWSER",
        domkey: ["sobIds"],
        fieldcol: 16,
        label: "薪资账套",
        lanId: 111,
        labelcol: 6,
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "TEXTAREA",
        domkey: ["description"],
        fieldcol: 16,
        label: "描述",
        lanId: 111,
        labelcol: 6,
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true,
    title: ""
  }
];
export const roleOperatorConditions = [
  {
    items: [
      {
        conditionType: "INPUT",
        domkey: ["targetTypeName"],
        fieldcol: 18,
        label: "对象类型",
        lanId: 111,
        labelcol: 6,
        value: "",
        viewAttr: 1
      },
      {
        conditionType: "BROWSER",
        domkey: ["targetName"],
        fieldcol: 18,
        label: "对象",
        lanId: 111,
        labelcol: 6,
        value: "",
        rules: "required",
        viewAttr: 3
      },
      {
        conditionType: "SELECT",
        domkey: ["link"],
        fieldcol: 18,
        label: "连接符",
        lanId: 111,
        labelcol: 6,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["sortedIndex"],
        fieldcol: 18,
        label: "批次",
        lanId: 111,
        labelcol: 6,
        value: "",
        rules: "required",
        viewAttr: 3
      }
    ],
    defaultshow: true,
    title: ""
  }
];
export const roleSearchConditions = [
  {
    items: [
      {
        conditionType: "INPUT",
        domkey: ["name"],
        fieldcol: 16,
        label: "名称",
        lanId: 111,
        labelcol: 8,
        value: "",
        viewAttr: 2
      },
      {
        browserConditionParam: {
          completeURL: "/api/bs/hrmsalary/taxAgent/listAuth",
          dataParams: { filterType: "QUERY_DATA" },
          filterByName: true,
          tableProps: {},
          isSingle: false,
          searchParamsKey: "name"
        },
        conditionType: "CUSTOMBROWSER",
        domkey: ["taxAgentIds"],
        fieldcol: 16,
        label: "个税扣缴义务人",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        browserConditionParam: {
          completeParams: {},
          conditionDataParams: {},
          dataParams: {},
          destDataParams: {},
          hasAddBtn: false,
          hasAdvanceSerach: true,
          idSeparator: ",",
          isAutoComplete: 1,
          isDetail: 0,
          isMultCheckbox: false,
          isSingle: false,
          linkUrl: "",
          pageSize: 10,
          quickSearchName: "",
          replaceDatas: [],
          type: "17"
        },
        conditionType: "BROWSER",
        domkey: ["roleEmpIds"],
        fieldcol: 16,
        isQuickSearch: false,
        label: "成员",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        browserConditionParam: {
          completeURL: "/api/bs/hrmsalary/salarysob/listAuth",
          dataParams: { filterType: "QUERY_DATA" },
          filterByName: true,
          tableProps: {},
          isSingle: false,
          searchParamsKey: "name"
        },
        conditionType: "CUSTOMBROWSER",
        domkey: ["sobIds"],
        fieldcol: 16,
        label: "薪资账套",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        browserConditionParam: {
          completeParams: {},
          conditionDataParams: {},
          dataParams: {},
          destDataParams: {},
          hasAddBtn: false,
          hasAdvanceSerach: true,
          idSeparator: ",",
          isAutoComplete: 1,
          isDetail: 0,
          isMultCheckbox: false,
          isSingle: false,
          linkUrl: "",
          pageSize: 10,
          quickSearchName: "",
          replaceDatas: [],
          type: "17"
        },
        conditionType: "BROWSER",
        domkey: ["employeeIds"],
        fieldcol: 16,
        isQuickSearch: false,
        label: "数据",
        lanId: 111,
        labelcol: 8,
        viewAttr: 2
      },
      {
        conditionType: "SELECT",
        domkey: ["opts"],
        fieldcol: 16,
        label: "权限项",
        lanId: 111,
        labelcol: 8,
        multiple: true,
        options: [
          { key: "query", showname: "查询", lanId: 111 },
          { key: "admin", showname: "管理", lanId: 111 }
        ],
        value: "",
        viewAttr: 2
      },
      {
        browserConditionParam: {
          completeURL: "",
          dataParams: { filterType: "" },
          filterByName: true,
          tableProps: {},
          isSingle: false,
          treeSelect: true,
          searchParamsKey: "name"
        },
        conditionType: "CUSTOMBROWSER",
        domkey: ["pages"],
        fieldcol: 16,
        label: "页面",
        lanId: 111,
        labelcol: 8,
        treeData: [],
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true,
    title: "基本信息",
    lanId: 111,
    col: 2
  }
];
