((typeof self !== 'undefined' ? self : this)["webpackJsonpcontractor_management_sm"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpcontractor_management_sm"] || []).push([[12],{

/***/ "c592":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28eb61d9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/components/safety/ApprovalFlow/ApprovalDialog.vue?vue&type=template&id=0ffb094e
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"mini-dialog",attrs:{"close-on-click-modal":false,"title":"审批","visible":_vm.dialogVisible,"append-to-body":""},on:{"update:visible":function($event){_vm.dialogVisible=$event},"close":_vm.cancel}},[_c('el-form',{ref:"form",attrs:{"label-width":"150px","model":_vm.form}},[_c('el-form-item',{attrs:{"label":"审批结果","prop":"isPass","rules":[{ required: true, message: '请选择审批结果', trigger: 'blur' }]}},[_c('el-radio-group',{model:{value:(_vm.form.isPass),callback:function ($$v) {_vm.$set(_vm.form, "isPass", $$v)},expression:"form.isPass"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("审批通过")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("不通过")])],1)],1),_c('el-form-item',{attrs:{"label":"审批意见","prop":"opinion","rules":[{ required: true, message: '请输入审批意见', trigger: 'blur' }]}},[_c('el-input',{attrs:{"type":"textarea","rows":4,"maxlength":"500","show-word-limit":""},model:{value:(_vm.form.opinion),callback:function ($$v) {_vm.$set(_vm.form, "opinion", $$v)},expression:"form.opinion"}})],1)],1),_c('div',{staticClass:"flex justify-center",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary","loading":_vm.loading},on:{"click":_vm.save}},[_vm._v("保存")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.cancel}},[_vm._v("取消")])],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/components/safety/ApprovalFlow/ApprovalDialog.vue?vue&type=template&id=0ffb094e

// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/components/safety/ApprovalFlow/ApprovalDialog.vue?vue&type=script&lang=js
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/* harmony default export */ var ApprovalDialogvue_type_script_lang_js = ({
  props: {
    visible: {
      type: Boolean,
      default: false
    },
    loading: {
      type: Boolean,
      default: false
    }
  },
  data: function data() {
    return {
      form: {
        isPass: true,
        opinion: ''
      }
    };
  },
  computed: {
    dialogVisible: {
      get: function get() {
        console.log('get dialogVisible', this.visible);
        return this.visible;
      },
      set: function set(val) {
        console.log('set dialogVisible', val);
        this.$emit('update:visible', val);
      }
    }
  },
  methods: {
    save: function save() {
      var _this = this;
      this.$refs.form.validate(function (valid) {
        if (valid) {
          _this.$emit('submit', _this.form);
        }
      });
    },
    cancel: function cancel() {
      this.form = this.$options.data().form;
      this.dialogVisible = false;
    }
  }
});
// CONCATENATED MODULE: ./src/components/safety/ApprovalFlow/ApprovalDialog.vue?vue&type=script&lang=js
 /* harmony default export */ var ApprovalFlow_ApprovalDialogvue_type_script_lang_js = (ApprovalDialogvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/components/safety/ApprovalFlow/ApprovalDialog.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  ApprovalFlow_ApprovalDialogvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var ApprovalDialog = __webpack_exports__["default"] = (component.exports);

/***/ })

}]);
//# sourceMappingURL=contractor-management-sm.umd.12.js.map