"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
require("../../../../../../node_modules/element-plus/es/index.js");
;/* empty css                                                                */
;/* empty css                                                                        */
;/* empty css                                                                     */
const Vue = require("vue");
const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
const ValueSelector = require("../../../../components/ValueSelector.vue.js");
const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
const _sfc_main = {
  __name: "RiskSch",
  props: {
    formData: Object
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_el_switch = index$1.ElSwitch;
      const _component_el_form_item = index.ElFormItem;
      return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
        Vue.createVNode(_component_el_form_item, { label: "表单校验" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(_component_el_switch, {
              modelValue: __props.formData.formValidate,
              "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.formData.formValidate = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "要件必传校验" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(_component_el_switch, {
              modelValue: __props.formData.docValidate,
              "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.docValidate = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "风险方案" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(RiskSchemeSelector.default, {
              modelValue: __props.formData.schName,
              "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.schName = $event),
              schNo: __props.formData.schNo,
              "onUpdate:schNo": _cache[3] || (_cache[3] = ($event) => __props.formData.schNo = $event)
            }, null, 8, ["modelValue", "schNo"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "业务主键" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(ValueSelector.default, {
              modelValue: __props.formData.busNo,
              "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.formData.busNo = $event),
              multiple: false,
              placeholder: "选择业务主键"
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "业务参数" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(ParamsConfig.default, {
              modelValue: __props.formData.params,
              "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.formData.params = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        })
      ], 64);
    };
  }
};
exports.default = _sfc_main;
