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

/***/ "1633":
/***/ (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/modules/contractor-management-sm/views/ShortTermContractorPerson.vue?vue&type=template&id=f1adbd9a&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:"h-full",attrs:{"body-style":{ height: '100%' }}},[_c('div',{staticClass:"h-full flex flex-col"},[_c('div',{staticClass:"overflow-y-auto overflow-x-hidden flex-auto"},[(['create', 'update', 'approve'].includes(_vm.mode))?_c('div',{staticClass:"flex items-center h-32px"},[_c('p',{staticClass:"pl-10px border-l-3px text-18px border-color-primary"},[_vm._v("\n          "+_vm._s(_vm.titleType)+_vm._s(_vm.$t('基础信息'))+"\n        ")])]):_c('el-page-header',{attrs:{"content":("" + _vm.titleType + (_vm.$t('基础信息')))},on:{"back":_vm.goBack}}),_c('el-form',{ref:"form",staticClass:"my-20px contractor-person-form",attrs:{"model":_vm.form,"rules":_vm.rules,"label-width":"150px","disabled":!_vm.canEdit}},[_c('el-row',{attrs:{"gutter":10}},[_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"prop":"avatar"}},[_c('div',{staticClass:"leading-1",attrs:{"slot":"label"},slot:"label"},[_c('span',{staticClass:"leading-23px"},[_vm._v(_vm._s(_vm.$t('人脸头像')))]),_c('div',{staticClass:"text-red-500 cursor-pointer leading-23px",on:{"click":function($event){$event.stopPropagation();return _vm.damendExample($event)}}},[_vm._v("\n                  ("+_vm._s(_vm.$t('查看上传要求'))+")\n                ")])]),_c('img-upload',{ref:"avatarUpload",attrs:{"authLevel":2,"isDisabledUploadComponent":!_vm.canEdit,"isShowDeleteButton":_vm.canEdit,"maxSize":0.2,"accept":['jpg']},on:{"delete":function($event){_vm.form.avatar = ''},"change":function($event){return _vm.$refs.form.clearValidate('avatar')}},model:{value:(_vm.form.avatar),callback:function ($$v) {_vm.$set(_vm.form, "avatar", $$v)},expression:"form.avatar"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('身份证正面'))),"prop":"idCardFrontFileId"}},[_c('img-upload',{ref:"idCardFrontUpload",attrs:{"isDisabledUploadComponent":!_vm.canEdit,"isShowDeleteButton":_vm.canEdit},on:{"delete":function($event){_vm.form.idCardFrontFileId = null},"upload-success":_vm.getImageContent,"change":function($event){return _vm.$refs.form.clearValidate('idCardFrontFileId')}},model:{value:(_vm.form.idCardFrontFileId),callback:function ($$v) {_vm.$set(_vm.form, "idCardFrontFileId", $$v)},expression:"form.idCardFrontFileId"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('身份证反面'))),"prop":"idCardReverseFileId"}},[_c('img-upload',{ref:"idCardReverseUpload",attrs:{"isDisabledUploadComponent":!_vm.canEdit,"isShowDeleteButton":_vm.canEdit},on:{"delete":function($event){_vm.form.idCardReverseFileId = null},"change":function($event){return _vm.$refs.form.clearValidate('idCardReverseFileId')}},model:{value:(_vm.form.idCardReverseFileId),callback:function ($$v) {_vm.$set(_vm.form, "idCardReverseFileId", $$v)},expression:"form.idCardReverseFileId"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('姓名'))),"prop":"name"}},[_c('el-input',{attrs:{"size":"small","maxlength":"50","show-word-limit":"","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, "name", $$v)},expression:"form.name"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('账户'))),"prop":"userName"}},[_c('el-input',{attrs:{"size":"small","maxlength":"50","show-word-limit":"","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, "userName", $$v)},expression:"form.userName"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('性别'))),"prop":"gender"}},[_c('el-radio-group',{model:{value:(_vm.form.gender),callback:function ($$v) {_vm.$set(_vm.form, "gender", $$v)},expression:"form.gender"}},[_c('el-radio',{attrs:{"label":"1"}},[_vm._v(_vm._s(_vm.$t('男')))]),_c('el-radio',{attrs:{"label":"0"}},[_vm._v(_vm._s(_vm.$t('女')))])],1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":((_vm.$t('部门')) + "/" + (_vm.$t('单位')))}},[_c('el-input',{attrs:{"disabled":""},model:{value:(_vm.contractorDetail.orgName),callback:function ($$v) {_vm.$set(_vm.contractorDetail, "orgName", $$v)},expression:"contractorDetail.orgName"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('排序'))),"prop":"sortNum"}},[_c('el-input-number',{attrs:{"step":1,"max":999,"step-strictly":"","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.form.sortNum),callback:function ($$v) {_vm.$set(_vm.form, "sortNum", $$v)},expression:"form.sortNum"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('联系电话'))),"prop":"phoneNumber"}},[_c('el-input',{attrs:{"size":"small","maxlength":"50","show-word-limit":"","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.form.phoneNumber),callback:function ($$v) {_vm.$set(_vm.form, "phoneNumber", $$v)},expression:"form.phoneNumber"}})],1)],1)],1),_c('div',{staticClass:"flex items-center h-32px mb-10px"},[_c('p',{staticClass:"pl-10px border-l-3px text-18px border-color-primary"},[_vm._v("\n            "+_vm._s(_vm.titleType)+_vm._s(_vm.$t('补充信息'))+"\n          ")])]),_c('el-row',{attrs:{"gutter":10}},[_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('关联项目'))),"prop":"projectId"}},[_c('el-select',{staticClass:"w-full",attrs:{"size":"small","filterable":"","placeholder":("" + (_vm.$t('请选择'))),"clearable":""},model:{value:(_vm.form.projectId),callback:function ($$v) {_vm.$set(_vm.form, "projectId", $$v)},expression:"form.projectId"}},_vm._l((_vm.projectList),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.projectName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('身份证号码'))),"prop":"idCard"}},[_c('el-input',{attrs:{"placeholder":("" + (_vm.$t('请输入')))},on:{"blur":_vm.idCardChange},model:{value:(_vm.form.idCard),callback:function ($$v) {_vm.$set(_vm.form, "idCard", $$v)},expression:"form.idCard"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('入厂时间'))),"prop":"factoryInDate"}},[_c('el-date-picker',{staticClass:"!w-full",attrs:{"size":"small","type":"date","placeholder":("" + (_vm.$t('请选择'))),"value-format":"yyyy-MM-dd"},model:{value:(_vm.form.factoryInDate),callback:function ($$v) {_vm.$set(_vm.form, "factoryInDate", $$v)},expression:"form.factoryInDate"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('出生日期'))),"prop":"birthday"}},[_c('el-date-picker',{staticClass:"!w-full",attrs:{"size":"small","type":"date","placeholder":("" + (_vm.$t('请选择'))),"value-format":"yyyy-MM-dd"},on:{"change":_vm.birthdayChange},model:{value:(_vm.form.birthday),callback:function ($$v) {_vm.$set(_vm.form, "birthday", $$v)},expression:"form.birthday"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('年龄'))),"prop":"age"}},[(_vm.canEdit)?_c('el-input-number',{staticClass:"w-full form-input-number",attrs:{"min":1,"step":1,"controls":false,"step-strictly":"","max":999,"placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.form.age),callback:function ($$v) {_vm.$set(_vm.form, "age", $$v)},expression:"form.age"}}):_c('el-input',{attrs:{"placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.form.age),callback:function ($$v) {_vm.$set(_vm.form, "age", $$v)},expression:"form.age"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('婚姻状况'))),"prop":"maritalStatusId"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","placeholder":("" + (_vm.$t('请选择')))},model:{value:(_vm.form.maritalStatusId),callback:function ($$v) {_vm.$set(_vm.form, "maritalStatusId", $$v)},expression:"form.maritalStatusId"}},_vm._l((_vm.maritalStatusList),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('邮箱'))),"prop":"email"}},[_c('el-input',{attrs:{"placeholder":("" + (_vm.$t('请输入'))),"maxlength":"50"},model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, "email", $$v)},expression:"form.email"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('文化程度'))),"prop":"education"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","placeholder":("" + (_vm.$t('请选择')))},model:{value:(_vm.form.education),callback:function ($$v) {_vm.$set(_vm.form, "education", $$v)},expression:"form.education"}},_vm._l((_vm.educationList),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('民族'))),"prop":"ethnic"}},[_c('el-input',{attrs:{"size":"small","maxlength":"50","placeholder":("" + (_vm.$t('请输入')))},model:{value:(_vm.form.ethnic),callback:function ($$v) {_vm.$set(_vm.form, "ethnic", $$v)},expression:"form.ethnic"}})],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('工种'))),"prop":"jobCategory"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","placeholder":("" + (_vm.$t('请选择')))},model:{value:(_vm.form.jobCategory),callback:function ($$v) {_vm.$set(_vm.form, "jobCategory", $$v)},expression:"form.jobCategory"}},_vm._l((_vm.workTypeList),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('人员分类'))),"prop":"employeeType"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","placeholder":("" + (_vm.$t('请选择')))},model:{value:(_vm.form.employeeType),callback:function ($$v) {_vm.$set(_vm.form, "employeeType", $$v)},expression:"form.employeeType"}},_vm._l((_vm.personnelCategoryList),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('班组'))),"prop":"teamId"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","placeholder":("" + (_vm.$t('请选择')))},model:{value:(_vm.form.teamId),callback:function ($$v) {_vm.$set(_vm.form, "teamId", $$v)},expression:"form.teamId"}},_vm._l((_vm.teamList),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.name,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('是否厂内人员'))),"prop":"isFactoryIn"}},[_c('el-radio-group',{model:{value:(_vm.form.isFactoryIn),callback:function ($$v) {_vm.$set(_vm.form, "isFactoryIn", $$v)},expression:"form.isFactoryIn"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("是")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("否")])],1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":((_vm.$t('职务')) + "/" + (_vm.$t('工种'))),"prop":"postJobCategory"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","placeholder":("" + (_vm.$t('请选择')))},model:{value:(_vm.form.postJobCategory),callback:function ($$v) {_vm.$set(_vm.form, "postJobCategory", $$v)},expression:"form.postJobCategory"}},_vm._l((_vm.dutieJobList),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.displayName,"value":item.id}})}),1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('是否特种作业'))),"prop":"isSpecialJob"}},[_c('el-radio-group',{model:{value:(_vm.form.isSpecialJob),callback:function ($$v) {_vm.$set(_vm.form, "isSpecialJob", $$v)},expression:"form.isSpecialJob"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("是")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("否")])],1)],1)],1),_c('el-col',{attrs:{"xs":24,"sm":24,"md":24,"lg":12,"xl":8}},[_c('el-form-item',{attrs:{"label":("" + (_vm.$t('是否临时用工'))),"prop":"isTempWork"}},[_c('el-radio-group',{model:{value:(_vm.form.isTempWork),callback:function ($$v) {_vm.$set(_vm.form, "isTempWork", $$v)},expression:"form.isTempWork"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("是")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("否")])],1)],1)],1)],1),(['read'].includes(_vm.mode) && _vm.form.approvalStatus === 9)?[_c('div',{staticClass:"flex items-center h-32px mb-10px"},[_c('p',{staticClass:"pl-10px border-l-3px text-18px border-color-primary"},[_vm._v("\n              "+_vm._s(_vm.$t('在厂信息'))+"\n            ")])]),_c('el-tabs',{staticClass:"tab-bar",on:{"tab-click":_vm.handleClick},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:"activeName"}},[_c('el-tab-pane',{attrs:{"label":("" + (_vm.$t('考试记录'))),"name":"examRecord"}},[_c('ExamRecord',{ref:"examRecord",staticClass:"h-400px",attrs:{"userId":_vm.form.userId}})],1),_c('el-tab-pane',{attrs:{"label":("" + (_vm.$t('培训记录'))),"name":"trainingRecord"}},[_c('TrainingRecord',{ref:"trainingRecord",staticClass:"h-400px",attrs:{"userId":_vm.form.userId}})],1),_c('el-tab-pane',{attrs:{"label":("" + (_vm.$t('违章记录'))),"name":"violationRecord"}},[_c('ViolationRecord',{ref:"violationRecord",staticClass:"h-400px",attrs:{"userId":_vm.form.userId,"unitId":_vm.form.departmentId}})],1)],1)]:_vm._e()],2)],1),(['create', 'update', 'approve'].includes(_vm.mode))?_c('div',{staticClass:"text-center pt-20px border-t-1px border-color-default"},[(_vm.canEdit && !_vm.form.isBlackList)?_c('el-button',{attrs:{"type":"primary","size":"small","loading":_vm.loading},on:{"click":function($event){return _vm.save('save')}}},[_vm._v(_vm._s(_vm.$t('保存')))]):_vm._e(),(
          (_vm.canEdit || _vm.mode === 'approve') &&
            !_vm.form.isBlackList &&
            ([0, 3].includes(_vm.form.approvalStatus) ||
              ([2].includes(_vm.form.approvalStatus) && _vm.form.taskId))
        )?_c('el-button',{attrs:{"type":"primary","size":"small","loading":_vm.loading},on:{"click":function($event){return _vm.save('submit')}}},[_vm._v(_vm._s(_vm.$t('提交')))]):_vm._e(),(_vm.mode === 'approve' && !_vm.form.isBlackList && [1].includes(_vm.form.approvalStatus))?_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){_vm.approvalDialog = true}}},[_vm._v(_vm._s(_vm.$t('审批')))]):_vm._e(),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.goBack}},[_vm._v(_vm._s(_vm.$t('取消')))])],1):_vm._e()]),_c('FaceAvatarStandard',{attrs:{"visible":_vm.dialogExampleShow},on:{"update:visible":function($event){_vm.dialogExampleShow=$event}}}),_c('ApprovalDialog',{attrs:{"visible":_vm.approvalDialog,"loading":_vm.approvalLoading},on:{"update:visible":function($event){_vm.approvalDialog=$event},"submit":_vm.submitApproval}})],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/contractor-management-sm/views/ShortTermContractorPerson.vue?vue&type=template&id=f1adbd9a&scoped=true

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regenerator.js + 1 modules
var regenerator = __webpack_require__("c14f");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 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.error.cause.js
var es_error_cause = __webpack_require__("d9e2");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");

// 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.function.name.js
var es_function_name = __webpack_require__("b0c0");

// 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.regexp.exec.js
var es_regexp_exec = __webpack_require__("ac1f");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
var es_regexp_test = __webpack_require__("00b4");

// 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/web.dom-collections.iterator.js
var web_dom_collections_iterator = __webpack_require__("ddb0");

// EXTERNAL MODULE: ./node_modules/@wiz-api/contractor-management/lib/contractor-management.umd.js
var contractor_management_umd = __webpack_require__("77b0");

// 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/team-management/lib/team-management.umd.js
var team_management_umd = __webpack_require__("88c7");

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

// 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: ./src/assets/js/safety/ClearPlaceholder.js
var ClearPlaceholder = __webpack_require__("5180");

// 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/contractor-management-sm/views/ShortTermContractorPerson.vue?vue&type=script&lang=js














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







var ImgUpload = function ImgUpload() {
  return Promise.all(/* import() */[__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(32)]).then(__webpack_require__.bind(null, "c8b3"));
};
var FaceAvatarStandard = function FaceAvatarStandard() {
  return __webpack_require__.e(/* import() */ 11).then(__webpack_require__.bind(null, "e37f"));
};
var ExamRecord = function ExamRecord() {
  return Promise.all(/* import() */[__webpack_require__.e(51), __webpack_require__.e(53)]).then(__webpack_require__.bind(null, "204f"));
};
var TrainingRecord = function TrainingRecord() {
  return Promise.all(/* import() */[__webpack_require__.e(52), __webpack_require__.e(54)]).then(__webpack_require__.bind(null, "a07b"));
};
var ViolationRecord = function ViolationRecord() {
  return Promise.all(/* import() */[__webpack_require__.e(34), __webpack_require__.e(49)]).then(__webpack_require__.bind(null, "4290"));
};
var ApprovalDialog = function ApprovalDialog() {
  return __webpack_require__.e(/* import() */ 12).then(__webpack_require__.bind(null, "c592"));
};
var contractorPersonnelApi = new contractor_management_umd["ContractorPersonnelApi"]();
var periodContractorPersonnelApi = new contractor_management_umd["PeriodContractorPersonnelApi"]();
var periodContractorApi = new contractor_management_umd["PeriodContractorApi"]();
var dataCategoryApi = new data_category_management_umd["DataCategoryApi"]();
var teamApi = new team_management_umd["TeamApi"]();
var contractorProjectApi = new contractor_management_umd["ContractorProjectApi"]();
// 姓名校验
var validateName = function validateName(rule, value, callback) {
  // 中文
  var reg = /^[a-zA-Z]+$|^[\u4E00-\u9FA5]+$/;
  if (!value) {
    callback(new Error('请输入姓名'));
  } else if (!reg.test(value)) {
    callback(new Error('姓名只能全中文或者全英文'));
  } else {
    callback();
  }
};
var validateAccount = function validateAccount(rule, value, callback) {
  var orderRule = /^[a-zA-Z0-9]+$/;
  if (!value) {
    callback(new Error('请输入账号'));
  } else if (!orderRule.test(value)) {
    callback(new Error('请输入英文或数字'));
  } else {
    callback();
  }
};
var validatePhone = function validatePhone(rule, value, callback) {
  if (!value) {
    callback(new Error('手机号不能为空'));
    return;
  }
  var reg = /^1[3-9]{1}[0-9]{9}$/;
  if (!reg.test(value)) {
    callback(new Error('请填写正确的手机号'));
    return;
  }
  callback();
};
// 身份证验证
var validateCard = function validateCard(rule, value, callback) {
  var reg = /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
  if (!value || reg.test(value)) {
    callback();
  } else {
    callback(new Error('请输入正确的身份证号码'));
  }
};
/* harmony default export */ var ShortTermContractorPersonvue_type_script_lang_js = ({
  components: {
    ImgUpload: ImgUpload,
    FaceAvatarStandard: FaceAvatarStandard,
    ExamRecord: ExamRecord,
    TrainingRecord: TrainingRecord,
    ViolationRecord: ViolationRecord,
    ApprovalDialog: ApprovalDialog
  },
  props: {
    formMode: {
      type: String,
      default: 'read'
    },
    formId: {
      type: String,
      default: ''
    },
    formContractorId: {
      type: String,
      default: ''
    }
  },
  data: function data() {
    return {
      dialogExampleShow: false,
      form: {
        avatar: '',
        idCardFrontFileId: null,
        idCardReverseFileId: null,
        isTempWork: false,
        isSpecialJob: false,
        isFactoryIn: true,
        gender: '1',
        sortNum: 0,
        approvalStatus: 0
      },
      rules: {
        avatar: [{
          required: true,
          message: '请上传人脸头像',
          trigger: ['blur', 'change']
        }],
        phoneNumber: [{
          required: true,
          validator: validatePhone,
          trigger: ['blur', 'change']
        }],
        name: [{
          required: true,
          validator: validateName,
          trigger: ['blur', 'change']
        }],
        userName: [{
          required: true,
          validator: validateAccount,
          trigger: ['blur', 'change']
        }],
        gender: [{
          required: true,
          message: '请选择性别',
          trigger: ['blur', 'change']
        }],
        sortNum: [{
          required: true,
          message: '请输入排序',
          trigger: ['blur', 'change']
        }],
        jobCategory: [{
          required: true,
          message: '请选择工种',
          trigger: ['blur', 'change']
        }],
        employeeType: [{
          required: true,
          message: '请选择人员分类',
          trigger: ['blur', 'change']
        }],
        isFactoryIn: [{
          required: true,
          message: '请选择是否厂内人员',
          trigger: ['blur', 'change']
        }],
        isTempWork: [{
          required: true,
          message: '请选择是否临时用工',
          trigger: ['blur', 'change']
        }],
        idCard: [{
          required: false,
          validator: validateCard,
          trigger: ['blur', 'change']
        }]
      },
      maritalStatusList: [],
      educationList: [],
      workTypeList: [],
      personnelCategoryList: [],
      teamList: [],
      dutieJobList: [],
      activeName: 'examRecord',
      loading: false,
      approvalDialog: false,
      approvalLoading: false,
      contractorDetail: {},
      projectList: []
    };
  },
  computed: {
    mode: function mode() {
      if (this.$route.name === 'shortTermContractorPerson') {
        return this.$route.query.mode;
      }
      return this.formMode;
    },
    id: function id() {
      if (this.$route.name === 'shortTermContractorPerson') {
        return this.$route.query.id;
      }
      return this.formId;
    },
    contractorId: function contractorId() {
      if (this.$route.name === 'shortTermContractorPerson') {
        return this.$route.query.contractorId;
      }
      return this.formContractorId;
    },
    canEdit: function canEdit() {
      return ['create', 'update'].includes(this.mode) || ['approve'].includes(this.mode) && this.form.approvalStatus === 2;
    },
    titleType: function titleType() {
      var modeObj = {
        create: '新增',
        update: '编辑',
        read: '查看',
        approve: '查看'
      };
      return "".concat(this.$t("".concat(modeObj[this.mode])));
    }
  },
  methods: {
    goBack: function goBack() {
      if (this.$route.name === 'shortTermContractorPerson') {
        this.$router.go(-1);
      } else {
        this.$emit('back');
      }
    },
    // 头像要求示范
    damendExample: function damendExample() {
      this.dialogExampleShow = true;
    },
    // 拿到图片内容
    getImageContent: function getImageContent(content) {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee() {
        var _yield$contractorPers, _yield$contractorPers2, err, res, age, idCard, name, national, sex;
        return Object(regenerator["a" /* default */])().w(function (_context) {
          while (1) switch (_context.n) {
            case 0:
              _context.n = 1;
              return contractorPersonnelApi.getContractorPersonnelIDCardFileContent({
                files: [content]
              });
            case 1:
              _yield$contractorPers = _context.v;
              _yield$contractorPers2 = Object(slicedToArray["a" /* default */])(_yield$contractorPers, 2);
              err = _yield$contractorPers2[0];
              res = _yield$contractorPers2[1];
              if (!err) {
                age = res.age, idCard = res.idCard, name = res.name, national = res.national, sex = res.sex;
                if (res.idCard) {
                  _this.form.age = age;
                  _this.form.idCard = idCard;
                  _this.form.name = name;
                  _this.form.ethnic = national;
                  // 性别字典对应
                  if (sex) {
                    _this.form.gender = sex === '男' ? '1' : '0';
                  } else {
                    _this.form.gender = null;
                  }
                }
              }
            case 2:
              return _context.a(2);
          }
        }, _callee);
      }))();
    },
    birthdayChange: function birthdayChange(val) {
      var age = this.getAge(val);
      this.form.age = age;
    },
    idCardChange: function idCardChange() {
      var reg = /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
      var idCard = this.form.idCard;
      if (reg.test(idCard)) {
        var birth = "".concat(idCard.substring(6, 10), "-").concat(idCard.substring(10, 12), "-").concat(idCard.substring(12, 14));
        this.form.birthday = birth;
        this.birthdayChange(birth);
      }
    },
    getAge: function getAge(val) {
      var currentYear = new Date().getFullYear(); // 当前的年份
      var calculationYear = new Date(val).getFullYear(); // 计算的年份
      var wholeTime = currentYear + val.substring(4); // 周岁时间
      var calculationAge = currentYear - calculationYear; // 按照年份计算的年龄
      // 判断是否过了生日
      if (new Date().getTime() > new Date(wholeTime).getTime()) {
        return calculationAge;
      }
      return calculationAge - 1;
    },
    // 获取数据字典数据 -工种类型 -婚姻状况 -文化程度
    getCategoryList: function getCategoryList() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee2() {
        var _yield$dataCategoryAp, _yield$dataCategoryAp2, err, res, _find, _find2, _find3, _find4, _find5;
        return Object(regenerator["a" /* default */])().w(function (_context2) {
          while (1) switch (_context2.n) {
            case 0:
              _context2.n = 1;
              return dataCategoryApi.getListByCodes({
                codes: ['AccountWorkType', 'AccountMaritalStatus', 'AccountEduLevel', 'AccountEmployeeType', 'DutieJob'],
                includeDetails: true
              });
            case 1:
              _yield$dataCategoryAp = _context2.v;
              _yield$dataCategoryAp2 = Object(slicedToArray["a" /* default */])(_yield$dataCategoryAp, 2);
              err = _yield$dataCategoryAp2[0];
              res = _yield$dataCategoryAp2[1];
              if (!err) {
                _this2.workTypeList = (_find = Object(external_["find"])(res, ['code', 'AccountWorkType'])) === null || _find === void 0 ? void 0 : _find.dataItems;
                _this2.maritalStatusList = (_find2 = Object(external_["find"])(res, ['code', 'AccountMaritalStatus'])) === null || _find2 === void 0 ? void 0 : _find2.dataItems;
                _this2.educationList = (_find3 = Object(external_["find"])(res, ['code', 'AccountEduLevel'])) === null || _find3 === void 0 ? void 0 : _find3.dataItems;
                _this2.personnelCategoryList = (_find4 = Object(external_["find"])(res, ['code', 'AccountEmployeeType'])) === null || _find4 === void 0 ? void 0 : _find4.dataItems;
                _this2.dutieJobList = (_find5 = Object(external_["find"])(res, ['code', 'DutieJob'])) === null || _find5 === void 0 ? void 0 : _find5.dataItems;
              }
            case 2:
              return _context2.a(2);
          }
        }, _callee2);
      }))();
    },
    // 获取项目清单列表
    getSafetyProjectList: function getSafetyProjectList() {
      var _this3 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee3() {
        var data, _yield$contractorProj, _yield$contractorProj2, error, result;
        return Object(regenerator["a" /* default */])().w(function (_context3) {
          while (1) switch (_context3.n) {
            case 0:
              data = {
                contractorId: _this3.form.contractorId,
                maxResultCount: 1000,
                // 每页多少条
                skipCount: 0 // 跳过多少条
              };
              _context3.n = 1;
              return contractorProjectApi.relatedProjectPageList(data);
            case 1:
              _yield$contractorProj = _context3.v;
              _yield$contractorProj2 = Object(slicedToArray["a" /* default */])(_yield$contractorProj, 2);
              error = _yield$contractorProj2[0];
              result = _yield$contractorProj2[1];
              if (!error) {
                _this3.projectList = result.items || [];
              }
            case 2:
              return _context3.a(2);
          }
        }, _callee3);
      }))();
    },
    // 获取班组
    getTeamList: function getTeamList() {
      var _this4 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee4() {
        var _yield$teamApi$pagedL, _yield$teamApi$pagedL2, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context4) {
          while (1) switch (_context4.n) {
            case 0:
              _context4.n = 1;
              return teamApi.pagedListQuery({
                skipCount: 0,
                maxResultCount: 999,
                isEnabledPermissions: false
              });
            case 1:
              _yield$teamApi$pagedL = _context4.v;
              _yield$teamApi$pagedL2 = Object(slicedToArray["a" /* default */])(_yield$teamApi$pagedL, 2);
              err = _yield$teamApi$pagedL2[0];
              res = _yield$teamApi$pagedL2[1];
              if (!err) {
                _this4.teamList = res.items;
              }
            case 2:
              return _context4.a(2);
          }
        }, _callee4);
      }))();
    },
    handleClick: function handleClick(tab) {
      this.$refs[tab.name].searchList();
    },
    save: function save(type) {
      var _this5 = this;
      this.$refs.form.validate(/*#__PURE__*/function () {
        var _ref = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee5(valid) {
          var apiRes, msgType;
          return Object(regenerator["a" /* default */])().w(function (_context5) {
            while (1) switch (_context5.n) {
              case 0:
                if (!valid) {
                  _context5.n = 11;
                  break;
                }
                _this5.loading = true;
                apiRes = [];
                msgType = '';
                _this5.form.birthday = _this5.form.birthday ? dayjs_min_default()(_this5.form.birthday).format('YYYY-MM-DD HH:mm:ss') : null;
                _this5.form.factoryInDate = _this5.form.factoryInDate ? dayjs_min_default()(_this5.form.factoryInDate).format('YYYY-MM-DD HH:mm:ss') : null;
                if (!(type === 'submit')) {
                  _context5.n = 6;
                  break;
                }
                msgType = '提交';
                if (!(_this5.form.approvalStatus === 2)) {
                  _context5.n = 3;
                  break;
                }
                _context5.n = 1;
                return periodContractorPersonnelApi.update(_this5.form.id, {
                  body: _this5.form
                });
              case 1:
                _context5.n = 2;
                return periodContractorPersonnelApi.approve({
                  body: {
                    id: _this5.form.id,
                    isPass: true,
                    approve: '',
                    taskId: _this5.form.taskId
                  }
                });
              case 2:
                apiRes = _context5.v;
                _context5.n = 5;
                break;
              case 3:
                _context5.n = 4;
                return periodContractorPersonnelApi.submit({
                  body: _this5.form
                });
              case 4:
                apiRes = _context5.v;
              case 5:
                _context5.n = 10;
                break;
              case 6:
                if (!(_this5.mode === 'create')) {
                  _context5.n = 8;
                  break;
                }
                msgType = '新增';
                _context5.n = 7;
                return periodContractorPersonnelApi.create({
                  body: _this5.form
                });
              case 7:
                apiRes = _context5.v;
                _context5.n = 10;
                break;
              case 8:
                msgType = '编辑';
                _context5.n = 9;
                return periodContractorPersonnelApi.update(_this5.form.id, {
                  body: _this5.form
                });
              case 9:
                apiRes = _context5.v;
              case 10:
                _this5.loading = false;
                if (!apiRes[0]) {
                  _this5.$message.success("".concat(msgType, "\u6210\u529F!"));
                  _this5.goBack();
                }
              case 11:
                return _context5.a(2);
            }
          }, _callee5);
        }));
        return function (_x) {
          return _ref.apply(this, arguments);
        };
      }());
    },
    getContractorDetail: function getContractorDetail() {
      var _this6 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee6() {
        var _yield$periodContract, _yield$periodContract2, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context6) {
          while (1) switch (_context6.n) {
            case 0:
              _context6.n = 1;
              return periodContractorApi.getInfo(_this6.form.contractorId);
            case 1:
              _yield$periodContract = _context6.v;
              _yield$periodContract2 = Object(slicedToArray["a" /* default */])(_yield$periodContract, 2);
              err = _yield$periodContract2[0];
              res = _yield$periodContract2[1];
              if (!err) {
                _this6.contractorDetail = res;
                _this6.form.departmentId = res.orgId;
              }
            case 2:
              return _context6.a(2);
          }
        }, _callee6);
      }))();
    },
    getDetail: function getDetail() {
      var _this7 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee7() {
        var _yield$periodContract3, _yield$periodContract4, err, res, _this7$$refs$avatarUp, _this7$$refs$idCardFr, _this7$$refs$idCardRe;
        return Object(regenerator["a" /* default */])().w(function (_context7) {
          while (1) switch (_context7.n) {
            case 0:
              _context7.n = 1;
              return periodContractorPersonnelApi.getInfo(_this7.id);
            case 1:
              _yield$periodContract3 = _context7.v;
              _yield$periodContract4 = Object(slicedToArray["a" /* default */])(_yield$periodContract3, 2);
              err = _yield$periodContract4[0];
              res = _yield$periodContract4[1];
              if (!err) {
                _this7.form = res;
                if (res.avatar) {
                  (_this7$$refs$avatarUp = _this7.$refs.avatarUpload) === null || _this7$$refs$avatarUp === void 0 ? void 0 : _this7$$refs$avatarUp.getImgContent([res.avatar]);
                }
                if (res.idCardFrontFileId) {
                  (_this7$$refs$idCardFr = _this7.$refs.idCardFrontUpload) === null || _this7$$refs$idCardFr === void 0 ? void 0 : _this7$$refs$idCardFr.getImgContent([res.idCardFrontFileId]);
                }
                if (res.idCardReverseFileId) {
                  (_this7$$refs$idCardRe = _this7.$refs.idCardReverseUpload) === null || _this7$$refs$idCardRe === void 0 ? void 0 : _this7$$refs$idCardRe.getImgContent([res.idCardReverseFileId]);
                }
                _this7.$nextTick(function () {
                  _this7.$refs.form.clearValidate();
                });
              }
            case 2:
              return _context7.a(2);
          }
        }, _callee7);
      }))();
    },
    submitApproval: function submitApproval(data) {
      var _this8 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee8() {
        var _yield$periodContract5, _yield$periodContract6, err;
        return Object(regenerator["a" /* default */])().w(function (_context8) {
          while (1) switch (_context8.n) {
            case 0:
              _this8.approvalLoading = true;
              _context8.n = 1;
              return periodContractorPersonnelApi.approve({
                body: {
                  id: _this8.form.id,
                  isPass: data.isPass,
                  approve: data.opinion,
                  taskId: _this8.form.taskId
                }
              });
            case 1:
              _yield$periodContract5 = _context8.v;
              _yield$periodContract6 = Object(slicedToArray["a" /* default */])(_yield$periodContract5, 1);
              err = _yield$periodContract6[0];
              _this8.approvalLoading = false;
              if (!err) {
                _this8.approvalDialog = false;
                _this8.$message.success('审批成功！');
                _this8.goBack();
              }
            case 2:
              return _context8.a(2);
          }
        }, _callee8);
      }))();
    }
  },
  mounted: function mounted() {
    var _this9 = this;
    return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee9() {
      return Object(regenerator["a" /* default */])().w(function (_context9) {
        while (1) switch (_context9.n) {
          case 0:
            _context9.n = 1;
            return _this9.getCategoryList();
          case 1:
            _context9.n = 2;
            return _this9.getTeamList();
          case 2:
            if (!(_this9.mode === 'create')) {
              _context9.n = 3;
              break;
            }
            _this9.form.contractorId = _this9.contractorId;
            _context9.n = 4;
            break;
          case 3:
            _context9.n = 4;
            return _this9.getDetail();
          case 4:
            if (!_this9.canEdit) {
              Object(ClearPlaceholder["a" /* default */])('.contractor-person-form');
            }
            _context9.n = 5;
            return _this9.getContractorDetail();
          case 5:
            _context9.n = 6;
            return _this9.getSafetyProjectList();
          case 6:
            return _context9.a(2);
        }
      }, _callee9);
    }))();
  }
});
// CONCATENATED MODULE: ./src/modules/contractor-management-sm/views/ShortTermContractorPerson.vue?vue&type=script&lang=js
 /* harmony default export */ var views_ShortTermContractorPersonvue_type_script_lang_js = (ShortTermContractorPersonvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/contractor-management-sm/views/ShortTermContractorPerson.vue?vue&type=style&index=0&id=f1adbd9a&prod&lang=scss&scoped=true
var ShortTermContractorPersonvue_type_style_index_0_id_f1adbd9a_prod_lang_scss_scoped_true = __webpack_require__("3518");

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

// CONCATENATED MODULE: ./src/modules/contractor-management-sm/views/ShortTermContractorPerson.vue






/* normalize component */

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

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

/***/ }),

/***/ "21af":
/***/ (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__("e123");
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("da118d18", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

/***/ "3518":
/***/ (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_ShortTermContractorPerson_vue_vue_type_style_index_0_id_f1adbd9a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("21af");
/* 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_ShortTermContractorPerson_vue_vue_type_style_index_0_id_f1adbd9a_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_ShortTermContractorPerson_vue_vue_type_style_index_0_id_f1adbd9a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

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

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


// module
exports.push([module.i, ".form-input-number[data-v-f1adbd9a]  .el-input__inner{text-align:left}", ""]);

// exports


/***/ })

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