{"version":3,"sources":["webpack:///./src/modules/organizations/components/detail-page/Info.vue?0d6a","webpack:///./src/modules/organizations/components/detail-page/Info.vue?e620","webpack:///./src/modules/organizations/components/detail-page/Info.vue?7469","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/modules/organizations/components/detail-page/Info.vue?de69","webpack:///./src/modules/organizations/components/detail-page/Info.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","main_info_cols","organization","scopedSlots","_u","key","fn","_v","_s","_f","date_registration_company","proxy","ip_scan_file","attorney_file","_e","acts_on_basis_translate","basis_document","contacts_cols","_l","col","i","slot_name","field","ref","item","domProps","text","edo_cols","get_edo_field","staticRenderFns","InfoTab","single_slot_name","ActsOnBasisTranslate","info_cols","is_entrepreneur","splice","organizations_store","state","current_organization","organization_type","OrganizationTypes","IND_ENTREPRENEUR","Vue","Component","components","Tabs","Table","VerticalTable","DownloadBtn","injectStyles","context","locals","component","VCol","VRow"],"mappings":"8FACAA,EAAOC,QAAU,CAAC,gBAAgB,2BAA2B,UAAU,qBAAqB,UAAU,qBAAqB,MAAQ,mBAAmB,SAAW,sBAAsB,KAAO,kBAAkB,UAAY,yB,kCCD5N,oE,yCCAA,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,YAAY,uBAAuB,CAACF,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,KAAK,GAAK,KAAK,GAAK,MAAM,CAACH,EAAG,gBAAgB,CAACG,MAAM,CAAC,KAAOP,EAAIQ,eAAe,WAAaR,EAAIS,cAAcC,YAAYV,EAAIW,GAAG,CAAC,CAACC,IAAI,uCAAuCC,GAAG,WAAW,MAAO,CAACT,EAAG,KAAK,CAACJ,EAAIc,GAAG,IAAId,EAAIe,GAAGf,EAAIgB,GAAG,OAAPhB,CAAeA,EAAIS,aAAaQ,4BAA4B,SA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hC,KAAKuC,YAtHY,wBAyH1B,WACE,OAAOG,OAAoBC,MAAMC,uBA1HT,2BA6H1B,WACE,OAAO5C,KAAKQ,aAAaqC,oBAAsBC,OAAkBC,mBA9HzC,kCAiI1B,SAAqBnB,GACnB,OAAO5B,KAAKQ,aAAeR,KAAKQ,aAAaoB,GAAS,KAlI9B,2BAqI1B,SAAcA,GACZ,OAAO5B,KAAKQ,aAAaoB,IAAU,OAtIX,GAASoB,QAAhBZ,EAAO,gBAR3Ba,eAAU,CACTC,WAAY,CACVC,YACAC,aACAC,qBACAC,uBAGiBlB,WCrJga,I,qECQrb,SAASmB,EAAcC,GAErBxD,KAAK,UAAa,aAAOyD,QAAU,aAMrC,IAAIC,EAAY,eACd,EACA5D,EACAqC,GACA,EACAoB,EACA,KACA,MAIa,aAAAG,EAAiB,QAMhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,OAAA","file":"js/home906.b689610e.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"v-application\":\"Info_v-application_3pbTF\",\"text-h1\":\"Info_text-h1_3Fg3h\",\"text-h2\":\"Info_text-h2_NtrGB\",\"table\":\"Info_table_8jO3m\",\"tableRow\":\"Info_tableRow_2_kJP\",\"cell\":\"Info_cell_1ZS1U\",\"smallText\":\"Info_smallText_3GXd5\"};","export { default } from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Info.vue?vue&type=style&index=0&module=true&lang=scss&\"; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Info.vue?vue&type=style&index=0&module=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticClass:\"mt-1 mb-4 pl-4 pr-4\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"lg\":\"6\"}},[_c('VerticalTable',{attrs:{\"cols\":_vm.main_info_cols,\"items_info\":_vm.organization},scopedSlots:_vm._u([{key:\"field-item-date_registration_company\",fn:function(){return [_c('td',[_vm._v(\" \"+_vm._s(_vm._f(\"date\")(_vm.organization.date_registration_company))+\" \")])]},proxy:true},(_vm.is_entrepreneur)?{key:\"field-item-ip_scan_file\",fn:function(){return [_c('td',[_c('DownloadBtn',{staticClass:\"ml-n4\",attrs:{\"src\":_vm.organization.ip_scan_file},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(\" Скачать скан свидетельства о регистрации ИП \")]},proxy:true}],null,false,845182973)})],1)]},proxy:true}:null,(_vm.is_entrepreneur)?{key:\"text-item-ip_scan_file\",fn:function(){return [_c('td',[_vm._v(\" ИП \")])]},proxy:true}:null,{key:\"field-item-attorney_file\",fn:function(){return [_c('td',[(_vm.organization.attorney_file)?_c('DownloadBtn',{staticClass:\"ml-n4\",attrs:{\"src\":_vm.organization.attorney_file},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(\" Скачать скан доверенности \")]},proxy:true}],null,false,728470617)}):_vm._e()],1)]},proxy:true},{key:\"field-item-basis_document\",fn:function(){return [_c('td',[_vm._v(\" \"+_vm._s(_vm.acts_on_basis_translate[_vm.organization.basis_document] || '')+\" \")])]},proxy:true}],null,true)})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"lg\":\"3\"}},[_c('VerticalTable',{attrs:{\"cols\":_vm.contacts_cols,\"items_info\":_vm.organization,\"single_cell_render\":\"\"},scopedSlots:_vm._u([{key:\"table-title\",fn:function(){return [_vm._v(\" Контакты \")]},proxy:true},_vm._l((_vm.contacts_cols),function(col,i){return {key:_vm.slot_name(col.field),fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{key:i},[_vm._v(\" \"+_vm._s(_vm.organization[item.field])+\" \"),_c('br'),_c('small',{domProps:{\"innerHTML\":_vm._s(item.text)}})])]}}})],null,true)})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"lg\":\"3\"}},[_c('VerticalTable',{attrs:{\"cols\":_vm.edo_cols,\"items_info\":_vm.organization,\"single_cell_render\":\"\"},scopedSlots:_vm._u([{key:\"table-title\",fn:function(){return [_vm._v(\" Данные из ЭДО \")]},proxy:true},{key:\"single-item-edo_operator\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',[_vm._v(\" \"+_vm._s(_vm.get_edo_field(item.field))+\" \"),_c('br'),_c('small',{domProps:{\"innerHTML\":_vm._s(item.text)}})])]}},{key:\"single-item-edo_contact_person\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',[_vm._v(\" \"+_vm._s(_vm.get_edo_field(item.field))+\" \"),_c('br'),_c('small',{domProps:{\"innerHTML\":_vm._s(item.text)}})])]}},{key:\"single-item-edo_telephone\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',[_vm._v(\" \"+_vm._s(_vm.get_edo_field(item.field))+\" \"),_c('br'),_c('small',{domProps:{\"innerHTML\":_vm._s(item.text)}})])]}}],null,true)})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport {\n Tabs,\n Table,\n VerticalTable,\n DownloadBtn,\n} from '@/components';\nimport { VerticalTableCol } from '@/components/vertical-table/types';\nimport { single_slot_name } from '@/utils';\nimport { organizations_store } from '@/store';\nimport { ActsOnBasisTranslate, OrganizationTypes } from '@/enums';\nimport { Organizations } from '../../types';\n\n@Component({\n components: {\n Tabs,\n Table,\n VerticalTable,\n DownloadBtn,\n },\n})\nexport default class InfoTab extends Vue {\n slot_name = single_slot_name;\n\n acts_on_basis_translate = ActsOnBasisTranslate;\n\n info_cols: VerticalTableCol[] = [\n {\n field: 'code',\n text: 'Код организации',\n },\n {\n field: 'name_organization',\n text: 'Наименование организации',\n },\n {\n field: 'inn_organization',\n text: 'ИНН',\n },\n {\n field: 'date_registration_company',\n text: 'Дата регистрации компании',\n },\n {\n field: 'city',\n text: 'Город',\n },\n {\n field: 'region',\n text: 'Регион',\n },\n {\n field: 'federal_district',\n text: 'Федеральный округ',\n },\n {\n field: 'general_manager',\n text: 'Генеральный директор',\n },\n {\n field: 'name_signatory',\n text: 'ФИО подписанта (для договоров)',\n },\n {\n field: 'attorney_file',\n text: 'Доверенность',\n },\n {\n field: 'basis_document',\n text: 'Действует на основании',\n },\n {\n field: 'manager_dpp',\n text: 'Ответственный менеджер ДПП',\n },\n {\n field: 'manager_ks',\n text: 'Ответственный менеджер КС',\n },\n ];\n\n edo_cols: VerticalTableCol[] = [\n {\n field: 'edo_operator',\n text: 'Оператор ЭДО',\n },\n {\n field: 'edo_contact_person',\n text: 'Контактное лицо ответственного ЭДО',\n },\n {\n field: 'edo_telephone',\n text: 'Телефон ответственного ЭДО',\n },\n ];\n\n contacts_cols: VerticalTableCol[] = [\n {\n field: 'website',\n text: 'Сайт',\n },\n {\n field: 'email_1',\n text: 'E-mail *
Для обмена электронными документами',\n },\n {\n field: 'email_2',\n text: 'E-mail *
Для получения лицензий программных продуктов',\n },\n {\n field: 'contact_person',\n text: 'ФИО контактного лица *',\n },\n {\n field: 'position_of_the_contact_person',\n text: 'Дожность контактного лица *',\n },\n {\n field: 'telephone',\n text: 'Телефон *',\n },\n {\n field: 'legal_address',\n text: 'Адрес *
Юридический',\n },\n {\n field: 'actual_address',\n text: 'Адрес *
Фактический',\n },\n ];\n\n get main_info_cols() {\n if (this.is_entrepreneur) {\n // добавляем строку ИП сразу после ИНН\n return this.info_cols.splice(3, 0, {\n field: 'ip_scan_file',\n text: 'ИП',\n });\n }\n return this.info_cols;\n }\n\n get organization() {\n return organizations_store.state.current_organization;\n }\n\n get is_entrepreneur() {\n return this.organization.organization_type === OrganizationTypes.IND_ENTREPRENEUR;\n }\n\n current_organization(field: keyof Organizations.Organization) {\n return this.organization ? this.organization[field] : '';\n }\n\n get_edo_field(field: 'edo_operator' | 'edo_contact_person' | 'edo_telephone') {\n return this.organization[field] || '';\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Info.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Info.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Info.vue?vue&type=template&id=698129ba&\"\nimport script from \"./Info.vue?vue&type=script&lang=ts&\"\nexport * from \"./Info.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Info.vue?vue&type=style&index=0&module=true&lang=scss&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n"],"sourceRoot":""}