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

/***/ "2532":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var uncurryThis = __webpack_require__("e330");
var notARegExp = __webpack_require__("5a34");
var requireObjectCoercible = __webpack_require__("1d80");
var toString = __webpack_require__("577e");
var correctIsRegExpLogic = __webpack_require__("ab13");

var stringIndexOf = uncurryThis(''.indexOf);

// `String.prototype.includes` method
// https://tc39.es/ecma262/#sec-string.prototype.includes
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
  includes: function includes(searchString /* , position = 0 */) {
    return !!~stringIndexOf(
      toString(requireObjectCoercible(this)),
      toString(notARegExp(searchString)),
      arguments.length > 1 ? arguments[1] : undefined
    );
  }
});


/***/ }),

/***/ "44e7":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var isObject = __webpack_require__("861d");
var classof = __webpack_require__("c6b6");
var wellKnownSymbol = __webpack_require__("b622");

var MATCH = wellKnownSymbol('match');

// `IsRegExp` abstract operation
// https://tc39.es/ecma262/#sec-isregexp
module.exports = function (it) {
  var isRegExp;
  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
};


/***/ }),

/***/ "5a34":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var isRegExp = __webpack_require__("44e7");

var $TypeError = TypeError;

module.exports = function (it) {
  if (isRegExp(it)) {
    throw new $TypeError("The method doesn't accept regular expressions");
  } return it;
};


/***/ }),

/***/ "7db0":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var $find = __webpack_require__("b727").find;
var addToUnscopables = __webpack_require__("44d2");

var FIND = 'find';
var SKIPS_HOLES = true;

// Shouldn't skip holes
// eslint-disable-next-line es/no-array-prototype-find -- testing
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });

// `Array.prototype.find` method
// https://tc39.es/ecma262/#sec-array.prototype.find
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
  find: function find(callbackfn /* , that = undefined */) {
    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND);


/***/ }),

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

"use strict";

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"27800716-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/modules/vehicle-management-sm/components/BasicInfo.vue?vue&type=template&id=9e199616&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mr-80px basic-info"},[_c('el-form',{ref:"formRef",attrs:{"model":_vm.formData,"label-width":"150px","disabled":_vm.isAllDisAbled,"rules":_vm.formRules}},[_c('div',{staticClass:"flex items-center ml-10px mb-5px"},[_c('span',{staticClass:"border-l-3 border-color-primary pl-10px text-18px"},[_vm._v("车辆信息")])]),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('车牌号码'))),"prop":"carNo"}},[_c('el-input',{attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","maxlength":50},model:{value:(_vm.formData.carNo),callback:function ($$v) {_vm.$set(_vm.formData, "carNo", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"formData.carNo"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('车主姓名'))),"prop":"carOwnerId"}},[_c('person-select',{attrs:{"disabled":_vm.isAllDisAbled},on:{"sentData":function($event){return _vm.changePersonSelect($event, 'carOwner')}},model:{value:(_vm.formData.carOwnerId),callback:function ($$v) {_vm.$set(_vm.formData, "carOwnerId", $$v)},expression:"formData.carOwnerId"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('车主手机号'))),"prop":"carOwnerPhone"}},[_c('el-input',{attrs:{"size":"small","placeholder":("" + (_vm.$t('自动带入'))),"disabled":""},model:{value:(_vm.formData.carOwnerPhone),callback:function ($$v) {_vm.$set(_vm.formData, "carOwnerPhone", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"formData.carOwnerPhone"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('车辆颜色'))),"prop":"carColor"}},[_c('el-input',{attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","maxlength":50},model:{value:(_vm.formData.carColor),callback:function ($$v) {_vm.$set(_vm.formData, "carColor", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"formData.carColor"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('车辆类型'))),"prop":"carType"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","filterable":""},model:{value:(_vm.formData.carType),callback:function ($$v) {_vm.$set(_vm.formData, "carType", $$v)},expression:"formData.carType"}},_vm._l((_vm.carTypeList),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('车辆状态'))),"prop":"carStatus"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","filterable":""},on:{"change":_vm.statusHandle},model:{value:(_vm.formData.carStatus),callback:function ($$v) {_vm.$set(_vm.formData, "carStatus", $$v)},expression:"formData.carStatus"}},_vm._l((_vm.carStatusList),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('所属部门'))),"prop":"affiliatedUnitId"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"small","placeholder":"请选择","clearable":"","filterable":""},model:{value:(_vm.formData.affiliatedUnitId),callback:function ($$v) {_vm.$set(_vm.formData, "affiliatedUnitId", $$v)},expression:"formData.affiliatedUnitId"}},_vm._l((_vm.departmentList),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('年检有效期'))),"prop":"inspectDate"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"type":"daterange","size":"small","range-separator":"-","start-placeholder":("" + (_vm.$t('开始日期'))),"end-placeholder":("" + (_vm.$t('结束日期'))),"value-format":"yyyy-MM-dd"},model:{value:(_vm.formData.inspectDate),callback:function ($$v) {_vm.$set(_vm.formData, "inspectDate", $$v)},expression:"formData.inspectDate"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('业务管理部门'))),"prop":"managementDepartmentId"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"small","placeholder":"请选择","clearable":"","filterable":""},model:{value:(_vm.formData.managementDepartmentId),callback:function ($$v) {_vm.$set(_vm.formData, "managementDepartmentId", $$v)},expression:"formData.managementDepartmentId"}},_vm._l((_vm.departmentList),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('管理负责人'))),"prop":"managementLeaderId"}},[_c('person-select',{attrs:{"disabled":_vm.isAllDisAbled},on:{"sentData":function($event){return _vm.changePersonSelect($event, 'managementLeader')}},model:{value:(_vm.formData.managementLeaderId),callback:function ($$v) {_vm.$set(_vm.formData, "managementLeaderId", $$v)},expression:"formData.managementLeaderId"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('负责人手机'))),"prop":"leaderPhone"}},[_c('el-input',{staticStyle:{"width":"100%"},attrs:{"size":"small","disabled":"","placeholder":("" + (_vm.$t('自动带入')))},model:{value:(_vm.formData.leaderPhone),callback:function ($$v) {_vm.$set(_vm.formData, "leaderPhone", $$v)},expression:"formData.leaderPhone"}})],1)],1)],1),_c('div',{staticClass:"flex items-center ml-10px mb-5px mt-10px"},[_c('span',{staticClass:"border-l-3 border-color-primary pl-10px text-18px"},[_vm._v("行驶证")])]),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('行驶证号'))),"prop":"drivingLicenseNo"}},[_c('el-input',{attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","maxlength":50},model:{value:(_vm.formData.drivingLicenseNo),callback:function ($$v) {_vm.$set(_vm.formData, "drivingLicenseNo", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"formData.drivingLicenseNo"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('使用性质'))),"prop":"useNature"}},[_c('el-input',{attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","maxlength":50},model:{value:(_vm.formData.useNature),callback:function ($$v) {_vm.$set(_vm.formData, "useNature", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"formData.useNature"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('行驶证注册日期'))),"prop":"drivingLicenseRegisterDate"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"type":"date","size":"small","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.formData.drivingLicenseRegisterDate),callback:function ($$v) {_vm.$set(_vm.formData, "drivingLicenseRegisterDate", $$v)},expression:"formData.drivingLicenseRegisterDate"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('行驶证有效期'))),"prop":"drivingLicenseEndDate"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"type":"date","size":"small","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.formData.drivingLicenseEndDate),callback:function ($$v) {_vm.$set(_vm.formData, "drivingLicenseEndDate", $$v)},expression:"formData.drivingLicenseEndDate"}})],1)],1)],1),_c('div',{staticClass:"flex items-center ml-10px mb-5px mt-10px"},[_c('span',{staticClass:"border-l-3 border-color-primary pl-10px text-18px"},[_vm._v("购买保险")])]),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('保险公司'))),"prop":"insuranceCompany"}},[_c('el-input',{attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","maxlength":50},model:{value:(_vm.formData.insuranceCompany),callback:function ($$v) {_vm.$set(_vm.formData, "insuranceCompany", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"formData.insuranceCompany"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('保险金额'))),"prop":"insuranceAmount"}},[_c('el-input',{attrs:{"size":"small","placeholder":("" + (_vm.$t('请输入'))),"clearable":"","maxlength":50},model:{value:(_vm.formData.insuranceAmount),callback:function ($$v) {_vm.$set(_vm.formData, "insuranceAmount", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"formData.insuranceAmount"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('保险起始日期'))),"prop":"insuranceDateStart"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"type":"date","size":"small","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.formData.insuranceDateStart),callback:function ($$v) {_vm.$set(_vm.formData, "insuranceDateStart", $$v)},expression:"formData.insuranceDateStart"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('保险结束日期'))),"prop":"insuranceDateEnd"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"type":"date","size":"small","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.formData.insuranceDateEnd),callback:function ($$v) {_vm.$set(_vm.formData, "insuranceDateEnd", $$v)},expression:"formData.insuranceDateEnd"}})],1)],1)],1)],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/vehicle-management-sm/components/BasicInfo.vue?vue&type=template&id=9e199616&scoped=true

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js + 3 modules
var objectSpread2 = __webpack_require__("5530");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__("c7eb");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 5 modules
var slicedToArray = __webpack_require__("3835");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__("1da1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
var es_array_filter = __webpack_require__("4de4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
var es_array_find = __webpack_require__("7db0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
var es_array_includes = __webpack_require__("caad");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
var es_array_iterator = __webpack_require__("e260");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
var es_array_map = __webpack_require__("d81d");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
var es_function_name = __webpack_require__("b0c0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
var es_object_keys = __webpack_require__("b64b");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
var es_promise = __webpack_require__("e6cf");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
var es_string_includes = __webpack_require__("2532");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
var es_string_iterator = __webpack_require__("3ca3");

// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
var esnext_iterator_constructor = __webpack_require__("0643");

// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js
var esnext_iterator_filter = __webpack_require__("2382");

// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.find.js
var esnext_iterator_find = __webpack_require__("fffc");

// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
var esnext_iterator_for_each = __webpack_require__("4e3e");

// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js
var esnext_iterator_map = __webpack_require__("a573");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
var web_dom_collections_for_each = __webpack_require__("159b");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
var web_dom_collections_iterator = __webpack_require__("ddb0");

// EXTERNAL MODULE: ./node_modules/@wiz-api/data-category-management/lib/data-category-management.umd.js
var data_category_management_umd = __webpack_require__("2adf");

// EXTERNAL MODULE: ./node_modules/@wiz-api/account/lib/account.umd.js
var account_umd = __webpack_require__("32d0");

// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
var dayjs_min = __webpack_require__("5a0c");
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);

// EXTERNAL MODULE: external "_"
var external_ = __webpack_require__("60bb");

// CONCATENATED MODULE: ./src/assets/js/safety/ClearPlaceholder.js




/**
 * @description 去除表单的placeholder
 * @param {string} selector 选择器
 */
function clearPlaceholder(selector) {
  var dom = document.querySelector(selector);
  if (dom) {
    var inputs = dom.querySelectorAll('input');
    var textareas = dom.querySelectorAll('textarea');
    inputs.forEach(function (input) {
      input.setAttribute('placeholder', '');
    });
    textareas.forEach(function (input) {
      input.setAttribute('placeholder', '');
    });
  }
}
/* harmony default export */ var ClearPlaceholder = (clearPlaceholder);
// 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/modules/vehicle-management-sm/components/BasicInfo.vue?vue&type=script&lang=js






















//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//






var organizationApi = new account_umd["OrganizationApi"]();
var dataCategoryApi = new data_category_management_umd["DataCategoryApi"]();
var PersonSelect = function PersonSelect() {
  return __webpack_require__.e(/* import() */ 5).then(__webpack_require__.bind(null, "4707"));
};
/* harmony default export */ var BasicInfovue_type_script_lang_js = ({
  name: 'violation-info-command',
  components: {
    PersonSelect: PersonSelect
  },
  props: {
    propsKey: {
      type: String,
      default: ''
    },
    operateType: {
      default: '',
      type: String
    },
    isAllDisAbled: {
      type: Boolean,
      default: false
    },
    operateData: {
      type: Object,
      default: function _default() {
        return {};
      }
    },
    deviceList: {
      type: Array,
      default: function _default() {
        return [];
      }
    }
  },
  computed: {},
  data: function data() {
    return {
      formData: {
        carNo: '',
        carOwnerId: '',
        carOwnerName: '',
        carOwnerPhone: '',
        barrierGateDateStart: '',
        barrierGateDateEnd: '',
        barrierGateDate: '',
        barrierGateIsLong: false,
        barrierGate: [],
        carColor: '',
        carType: '',
        carStatus: '',
        affiliatedUnitId: '',
        affiliatedUnitName: '',
        inspectDateStart: '',
        inspectDateEnd: '',
        inspectDate: '',
        managementDepartmentId: '',
        managementDepartmentName: '',
        managementLeaderId: '',
        managementLeaderName: '',
        leaderPhone: '',
        drivingLicenseNo: '',
        useNature: '',
        drivingLicenseRegisterDate: '',
        drivingLicenseEndDate: '',
        insuranceCompany: '',
        insuranceAmount: '',
        insuranceDateStart: '',
        insuranceDateEnd: ''
      },
      formRules: {
        carNo: [{
          required: true,
          message: this.$t('请输入'),
          trigger: ['blur', 'change']
        }],
        carOwnerId: [{
          required: true,
          message: this.$t('请输入'),
          trigger: ['blur', 'change']
        }],
        affiliatedUnitId: [{
          required: true,
          message: this.$t('请输入'),
          trigger: ['blur', 'change']
        }]
      },
      carTypeList: [],
      departmentList: [],
      carStatusList: [{
        label: '临时车',
        value: 0
      }, {
        label: '白名单',
        value: 1
      }, {
        label: '黑名单',
        value: 2
      }]
    };
  },
  mounted: function mounted() {
    if (this.isAllDisAbled) {
      ClearPlaceholder('.basic-info');
    }
  },
  created: function created() {
    this.getRegulationType();
    this.getDepartmentList();
  },
  methods: {
    statusHandle: function statusHandle() {
      if (this.formData.carStatus === 2) {
        this.formData.barrierGateIsLong = false;
        this.formData.barrierGateDate = '';
        this.formData.barrierGate = [];
      }
    },
    timeHandle: function timeHandle() {
      if (this.formData.barrierGateDate) {
        this.formData.barrierGateIsLong = false;
      }
    },
    // 返回选择人员的id
    changePersonSelect: function changePersonSelect(data, type) {
      this.formData["".concat(type, "Id")] = data.id;
      this.formData["".concat(type, "Name")] = data.name;
      this.formData[type === 'carOwner' ? 'carOwnerPhone' : 'leaderPhone'] = data.phoneNumber;
    },
    radioChange: function radioChange(val) {
      this.formData.barrierGateIsLong = this.formData.barrierGateIsLong === val ? !val : val;
      if (this.formData.barrierGateIsLong) {
        this.formData.barrierGateDate = null;
      }
    },
    // 详情回显
    detailShow: function detailShow(data) {
      var _this = this;
      Object.keys(this.formData).forEach(function (key) {
        _this.formData[key] = data[key];
      });
      if (data.barrierGateDateStart) {
        this.formData.barrierGateDate = [data.barrierGateDateStart, data.barrierGateDateEnd];
      }
      if (data.inspectDateStart) {
        this.formData.inspectDate = [data.inspectDateStart, data.inspectDateEnd];
      }
      if (!Object(external_["isEmpty"])(data.barrierGate)) {
        var ids = data.barrierGate && JSON.parse(data.barrierGate).map(function (item) {
          return item.externalId;
        });
        this.formData.barrierGate = ids;
      }
    },
    // 从数据字典
    getRegulationType: function getRegulationType() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var _yield$dataCategoryAp, _yield$dataCategoryAp2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _context.next = 2;
              return dataCategoryApi.getListByCodes({
                codes: ['CarType'],
                includeDetails: true
              });
            case 2:
              _yield$dataCategoryAp = _context.sent;
              _yield$dataCategoryAp2 = Object(slicedToArray["a" /* default */])(_yield$dataCategoryAp, 2);
              err = _yield$dataCategoryAp2[0];
              res = _yield$dataCategoryAp2[1];
              if (!err) {
                _context.next = 8;
                break;
              }
              return _context.abrupt("return");
            case 8:
              _this2.carTypeList = res[0].dataItems;
            case 9:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    /**
     * @description 部门列表查询
     */
    getDepartmentList: function getDepartmentList() {
      var _this3 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var _yield$organizationAp, _yield$organizationAp2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _context2.next = 2;
              return organizationApi.getList({
                sorting: '',
                // 排序
                skipCount: 0,
                maxResultCount: 999
              });
            case 2:
              _yield$organizationAp = _context2.sent;
              _yield$organizationAp2 = Object(slicedToArray["a" /* default */])(_yield$organizationAp, 2);
              err = _yield$organizationAp2[0];
              res = _yield$organizationAp2[1];
              if (!err) {
                _this3.departmentList = res.items;
              }
            case 7:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    submitData: function submitData() {
      var _this4 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        var params, timeRange, orgObj, _orgObj, devlist, timeParams, nullParams;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee3$(_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              _context3.next = 2;
              return _this4.$refs.formRef.validate();
            case 2:
              params = Object(objectSpread2["a" /* default */])({}, _this4.formData);
              timeRange = ['barrierGateDate', 'inspectDate'];
              timeRange.forEach(function (key) {
                if (params[key]) {
                  params["".concat(key, "Start")] = params[key][0];
                  params["".concat(key, "End")] = params[key][1];
                } else {
                  params["".concat(key, "Start")] = null;
                  params["".concat(key, "End")] = null;
                }
              });
              if (params.managementDepartmentId) {
                orgObj = _this4.departmentList.find(function (item) {
                  return item.id === params.managementDepartmentId;
                });
                params.managementDepartmentName = orgObj === null || orgObj === void 0 ? void 0 : orgObj.displayName;
              } else {
                params.managementDepartmentId = null;
              }
              if (params.affiliatedUnitId) {
                _orgObj = _this4.departmentList.find(function (item) {
                  return item.id === params.affiliatedUnitId;
                });
                params.affiliatedUnitName = _orgObj === null || _orgObj === void 0 ? void 0 : _orgObj.displayName;
              } else {
                params.managementDepartmentId = null;
              }
              devlist = _this4.deviceList.filter(function (item) {
                return _this4.formData.barrierGate && _this4.formData.barrierGate.includes(item.externalId);
              });
              devlist = devlist.map(function (item) {
                return {
                  name: item.name,
                  externalId: item.externalId,
                  pIid: item.pIid
                };
              });
              params.barrierGates = devlist;
              params.barrierGate = null;
              timeParams = ['barrierGateDateStart', 'barrierGateDateEnd', 'drivingLicenseEndDate', 'drivingLicenseRegisterDate', 'insuranceDateStart', 'insuranceDateEnd', 'inspectDateEnd', 'inspectDateStart'];
              timeParams.forEach(function (key) {
                if (params[key]) {
                  params[key] = dayjs_min_default()(params[key]).format('YYYY-MM-DD HH:mm:ss');
                } else {
                  params[key] = null;
                }
              });
              if (!(params.drivingLicenseRegisterDate && params.drivingLicenseEndDate)) {
                _context3.next = 17;
                break;
              }
              if (!(dayjs_min_default()(params.drivingLicenseRegisterDate).unix() > dayjs_min_default()(params.drivingLicenseEndDate).unix())) {
                _context3.next = 17;
                break;
              }
              _this4.$message.warning('行驶证有效期不能早于注册日期');
              return _context3.abrupt("return");
            case 17:
              if (!(params.insuranceDateStart && params.insuranceDateEnd)) {
                _context3.next = 21;
                break;
              }
              if (!(dayjs_min_default()(params.insuranceDateStart).unix() > dayjs_min_default()(params.insuranceDateEnd).unix())) {
                _context3.next = 21;
                break;
              }
              _this4.$message.warning('保险结束日期不能早于起始日期');
              return _context3.abrupt("return");
            case 21:
              nullParams = ['managementLeaderId', 'carType'];
              if (!Object(external_["isNumber"])(params.carStatus)) {
                params.carStatus = undefined;
              }
              nullParams.forEach(function (key) {
                if (!params[key]) {
                  params[key] = undefined;
                }
              });
              _this4.$emit('finallySub', params);
            case 25:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }))();
    },
    openMenDia: function openMenDia() {
      this.showSelectDialog = true;
    }
  }
});
// CONCATENATED MODULE: ./src/modules/vehicle-management-sm/components/BasicInfo.vue?vue&type=script&lang=js
 /* harmony default export */ var components_BasicInfovue_type_script_lang_js = (BasicInfovue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/vehicle-management-sm/components/BasicInfo.vue?vue&type=style&index=0&id=9e199616&prod&lang=scss&scoped=true
var BasicInfovue_type_style_index_0_id_9e199616_prod_lang_scss_scoped_true = __webpack_require__("a778");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/modules/vehicle-management-sm/components/BasicInfo.vue






/* normalize component */

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

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

/***/ }),

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

"use strict";
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BasicInfo_vue_vue_type_style_index_0_id_9e199616_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e103");
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BasicInfo_vue_vue_type_style_index_0_id_9e199616_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BasicInfo_vue_vue_type_style_index_0_id_9e199616_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "ab13":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var wellKnownSymbol = __webpack_require__("b622");

var MATCH = wellKnownSymbol('match');

module.exports = function (METHOD_NAME) {
  var regexp = /./;
  try {
    '/./'[METHOD_NAME](regexp);
  } catch (error1) {
    try {
      regexp[MATCH] = false;
      return '/./'[METHOD_NAME](regexp);
    } catch (error2) { /* empty */ }
  } return false;
};


/***/ }),

/***/ "b49e":
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__("2350")(false);
// imports


// module
exports.push([module.i, ".basic-info[data-v-9e199616]  .el-input{width:100%!important}", ""]);

// exports


/***/ }),

/***/ "caad":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var $includes = __webpack_require__("4d64").includes;
var fails = __webpack_require__("d039");
var addToUnscopables = __webpack_require__("44d2");

// FF99+ bug
var BROKEN_ON_SPARSE = fails(function () {
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
  return !Array(1).includes();
});

// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
  includes: function includes(el /* , fromIndex = 0 */) {
    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  }
});

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('includes');


/***/ }),

/***/ "e103":
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__("b49e");
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var add = __webpack_require__("499e").default
var update = add("2cd0102e", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

/***/ "f665":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var iterate = __webpack_require__("2266");
var aCallable = __webpack_require__("59ed");
var anObject = __webpack_require__("825a");
var getIteratorDirect = __webpack_require__("46c4");

// `Iterator.prototype.find` method
// https://tc39.es/ecma262/#sec-iterator.prototype.find
$({ target: 'Iterator', proto: true, real: true }, {
  find: function find(predicate) {
    anObject(this);
    aCallable(predicate);
    var record = getIteratorDirect(this);
    var counter = 0;
    return iterate(record, function (value, stop) {
      if (predicate(value, counter++)) return stop(value);
    }, { IS_RECORD: true, INTERRUPTED: true }).result;
  }
});


/***/ }),

/***/ "fffc":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

// TODO: Remove from `core-js@4`
__webpack_require__("f665");


/***/ })

}]);
//# sourceMappingURL=vehicle-management-sm.umd.1.js.map