useConditionPickType.js 467 B

123456789101112131415
  1. import {conditionSharedConfig} from "@/components/mx-condition/modules/conditionSharedConfig";
  2. import MxConst from "@/common/mxConst";
  3. export const useConditionPickType = function (options = {}) {
  4. return {
  5. ...conditionSharedConfig,
  6. key: 'pickType',
  7. title: '概率筛选',
  8. handler: () => MxConst.enum.simulatePickTypes,
  9. immediate: true,
  10. keyName: 'text',
  11. keyValue: 'value',
  12. allLabel: '所有'
  13. }
  14. }