{"version":3,"sources":["webpack:///./src/api/businessChange.ts","webpack:///./src/views/Change/Form/Business.vue?1d2c","webpack:///./src/views/Change/Form/Business.vue","webpack:///./src/views/Change/Form/Business.vue?8f99"],"names":["businessApply","params","post","businessDetailApi","NodeInfoApi","businessWithDrawApi","businessApproveApi","companyFlowApproveApi","getApplyList","addressApplyApi","addressDetailApi","houseRentApplyApi","houseRentDetailApi","houseRentTurnApi","houseRentRecallApi","decproApplyApi","decproDetailApi","decproTurnApi","decproRecallApi","resourceApplyApi","resourceDetailApi","taxAddressApplyApi","taxAddressDetailApi","sealLicenseApplyApi","sealLicenseDetailApi","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","style","_hoisted_2","_createElementVNode","class","_hoisted_3","_hoisted_4","_hoisted_5","_createTextVNode","_hoisted_6","_defineComponent","setup","__props","router","useRouter","route","useRoute","id","query","plainOptions","FormData","reactive","check","CompanyId","BusinessRegisteredAddress","ChangeMatters","forEach","item","index","obj","ChangeCode","ChangeBefore","ChangeAfter","push","data","winHeight","loading","setWinHeight","document","querySelector","getBoundingClientRect","height","FormRef","ref","handleOk","value","validate","then","async","list","includes","toString","Data","Success","Message","path","Id","ChangeCompanyId","traceId","TraceId","message","warning","catch","rep","scrollToField","errorFields","name","goBack","modelShow","result","findIndex","go","Modal","confirm","content","icon","createVNode","CheckCircleFilled","onOk","top","cancelText","onCancel","destroyAll","getDetail","PageData","idx","item1","onMounted","_ctx","_cache","_component_BreadCrumb","_resolveComponent","_component_a_checkbox","_component_a_checkbox_group","_component_a_form_item","_component_a_textarea","_component_a_input","_component_a_button","_component_a_form","_openBlock","_createElementBlock","_Fragment","_createVNode","meteItems","_normalizeStyle","minHeight","_unref","HeadTitle","title","ref_key","model","labelAlign","width","colon","default","_withCtx","label","rules","required","$event","_renderList","key","_toDisplayString","_","placeholder","maxlength","_createCommentVNode","size","onClick","type","__exports__"],"mappings":"kHAAA,8xBAEO,MAAMA,EAAiBC,GAAgBC,eAAK,kCAAmCD,GAEz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ASC,gBAAS,IAAM,CACtBb,eAAaN,EAAoB,CAC/B4B,YAAa,MACb/E,MAAOlB,EAAKK,YACZ,iBAAmBuF,GAAkB5F,EAAKK,YAAeuF,EACzDM,UAAW,MACV,KAAM,EAAG,CAAC,QAAS,qBAExBF,EAAG,GACF,KAAM,CAAC,OAAQ,WACjB,KACHG,eAAoB,IAAI,OAE5B,QAEN3H,eAAoB,MAAOG,EAAY,CACrCgG,eAAaL,EAAqB,CAChC8B,KAAM,QACNC,QAAS7D,GACR,CACD+C,QAASC,gBAAS,IAAM,CACtB5G,IAEFoH,EAAG,IAELrB,eAAaL,EAAqB,CAChC8B,KAAM,QACNE,KAAM,UACND,QAASpF,EACTR,QAASsE,gBAAOxE,GAAME,SACrB,CACD8E,QAASC,gBAAS,IAAM,CACtB1G,IAEFkH,EAAG,GACF,EAAG,CAAC,gBAGXA,EAAG,GACF,EAAG,CAAC,WACN,IACF,Q,iCC3UL,MAAMO,EAA2B,IAAgB,EAAQ,CAAC,CAAC,YAAY,qBAExD","file":"js/chunk-33e8f01a.64ab185e.js","sourcesContent":["import { get, post } from \"@/utils/request\";\n//工商变更申请\nexport const businessApply = (params: any) => post(\"/api/businessChange/submitApply\", params);\n//工商变更详情\nexport const businessDetailApi = (params: any) => post(\"/api/businessChange/detail\", params);\n//获取工商变更节点信息\nexport const NodeInfoApi = (params: any) => post(\"/api/processNodes/getBusinessChangeNodeInfo\", params);\n//撤回工商变更\nexport const businessWithDrawApi = (params: any) => post(\"/api/businessChange/withdraw\", params);\n//工商变更审批\nexport const businessApproveApi = (params: any) => post(\"/api/businessChange/approve\", params);\n//其他模块审批\nexport const companyFlowApproveApi = (params: any) => post(\"/api/companyFlow/approve\", params);\n//工商变更列表\nexport const getApplyList = (params: any) => post(\"/api/businessChange/pageList\", params);\n//地址变更申请\nexport const addressApplyApi = (params: any) => post(\"/api/addressChange/submitApply\", params);\n//地址变更详情\nexport const addressDetailApi = (params: any) => post(\"/api/addressChange/detail\", params);\n//房屋租赁申请\nexport const houseRentApplyApi = (params: any) => post(\"/api/houseRentChange/submitHouseRentChangeApply\", params);\n//房屋租赁详情\nexport const houseRentDetailApi = (params: any) => post(\"/api/houseRentChange/houseRentChangeDetail\", params);\n//房屋租赁回传\nexport const houseRentTurnApi = (params: any) => post(\"/api/houseRentChange/turnaroundHouseRentChangeApply\", params);\n//房屋租赁撤回回传\nexport const houseRentRecallApi = (params: any) => post(\"/api/houseRentChange/recallTurnaroundHouseRentChangeApply\", params);\n//装修、采购协议申请\nexport const decproApplyApi = (params: any) => post(\"/api/decproChange/submitDecproChangeApply\", params);\n//装修、采购协议详情\nexport const decproDetailApi = (params: any) => post(\"/api/decproChange/decproChangeDetail\", params);\n//装修、采购协议回传\nexport const decproTurnApi = (params: any) => post(\"/api/decproChange/turnaroundDecproChangeApply\", params);\n//装修、采购协议撤回回传\nexport const decproRecallApi = (params: any) => post(\"/api/decproChange/recallTurnaroundDecproChangeApply\", params);\n//资料及用印申请\nexport const resourceApplyApi = (params: any) => post(\"/api/resourceChange/submitResourceChange\", params);\n//资料及用印详情\nexport const resourceDetailApi = (params: any) => post(\"/api/resourceChange/resourceChangeDetail\", params);\n//税务迁址申请\nexport const taxAddressApplyApi = (params: any) => post(\"/api/resourceChange/submitTaxAddressChange\", params);\n//税务迁址详情\nexport const taxAddressDetailApi = (params: any) => post(\"/api/resourceChange/taxAddressChangeDetail\", params);\n//印章证照刻制申请\nexport const sealLicenseApplyApi = (params: any) => post(\"/api/resourceChange/submitSealLicenseChange\", params);\n//印章证照刻制详情\nexport const sealLicenseDetailApi = (params: any) => post(\"/api/resourceChange/sealLicenseChangeDetail\", params);\n\n\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Business.vue?vue&type=style&index=0&id=ef4377f8&scoped=true&lang=less\"","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ef4377f8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { style: {\"color\":\"#333\"} }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"tips\" }, \"注:若为续租,则地址变更前后的内容填写一致即可\", -1))\nconst _hoisted_3 = { class: \"form-content\" }\nconst _hoisted_4 = { class: \"footer-container\" }\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"返回\")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"申请审批\")\n\nimport { message ,Modal} from \"ant-design-vue\";\nimport { businessApply ,\n businessDetailApi} from \"@/api/businessChange\";\nimport { reactive,ref ,createVNode,onMounted} from \"vue\";\nimport { CheckCircleFilled } from '@ant-design/icons-vue';\nimport HeadTitle from \"@/components/HeadTitle.vue\";\nimport { useRouter } from \"vue-router\";\nimport { useRoute } from \"vue-router\";\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst router = useRouter();\nconst route = useRoute();\nconst { id } = route.query;\n// 申请事项\nconst plainOptions = [\n \"地址变更\",\n \"股权变更\",\n \"名称变更\",\n \"注册资本变更\",\n \"营业范围变更\",\n \"法人、负责人变更\",\n];\n// 表单字段定义\nconst FormData = reactive({\n check:[],\n CompanyId:0,\n BusinessRegisteredAddress:null,//工商变更地址\n ChangeMatters:[],\n});\n\nplainOptions.forEach((item,index)=>{\n let obj ={\n ChangeCode:0,\n ChangeBefore:'',\n ChangeAfter:'',\n }\n obj.ChangeCode = index + 1\n FormData.ChangeMatters.push(obj)\n})\n//基本字段定义\nconst data = reactive({\n winHeight:0,//页面最小高度\n loading:false,//按钮loading\n})\n\n\n/**设置页面动态高度 */\nconst setWinHeight = () => {\n data.winHeight = document.querySelector('.side-box').getBoundingClientRect().height - 42;\n}\nsetWinHeight()\n//表单提交\nconst FormRef = ref();\nconst handleOk =()=>{\n FormRef.value.validate().then(async()=>{\n data.loading = true\n //提交申请\n var list = []\n FormData.ChangeMatters.forEach(item =>{\n if(FormData.check.includes(item.ChangeCode.toString())){\n list.push(item)\n }\n })\n const { Data, Success, Message } = await businessApply({\n CompanyId: FormData.CompanyId,\n BusinessRegisteredAddress: FormData.BusinessRegisteredAddress,\n ChangeMatters: list,\n id:id,\n });\n \n if (Success) {\n router.push({\n path: \"/changeProcess\",\n query: {\n id: Data.Id,\n ChangeCompanyId:Data.ChangeCompanyId,\n traceId:Data.TraceId\n },\n });\n \n } else {\n message.warning(Message);\n }\n }).catch((rep:any)=>{\n FormRef.value.scrollToField(rep.errorFields[0].name)\n })\n}\n//点击返回按钮\nconst goBack=()=>{\n if(FormData.BusinessRegisteredAddress){\n modelShow()\n return\n }else{\n var result = FormData.ChangeMatters.findIndex(item=>{\n if(item.ChangeBefore || item.ChangeAfter){\n return item\n }\n })\n result>0?modelShow():router.go(-1);\n }\n \n \n}\n//二次确认弹窗\nconst modelShow = ()=>{\n Modal.confirm({\n content: \"已填写内容不保存,确认要退出申请吗?\",\n icon: createVNode(CheckCircleFilled),\n onOk() {\n // router.push('/changelist')\n router.go(-1)\n },\n style: {\n top: \"30%\",\n },\n cancelText: \"取消\",\n onCancel() {\n Modal.destroyAll();\n },\n });\n}\n\n//获取工商详情\nconst getDetail = async ()=>{\n const { Data } = await businessDetailApi({\n Id: id,\n });\n if(Data){\n FormData.BusinessRegisteredAddress = Data.PageData.BusinessRegisteredAddress\n Data.PageData.ChangeMatters.forEach(\n (item,index)=> {\n FormData.check.push(item.ChangeCode.toString())\n let idx = FormData.ChangeMatters.findIndex(item1 =>item1.ChangeCode == item.ChangeCode)\n FormData.ChangeMatters[idx] = Data.PageData.ChangeMatters[index]\n }\n );\n }\n}\n\nonMounted(()=>{\n if(id){\n getDetail()\n }\n})\n\nreturn (_ctx: any,_cache: any) => {\n const _component_BreadCrumb = _resolveComponent(\"BreadCrumb\")!\n const _component_a_checkbox = _resolveComponent(\"a-checkbox\")!\n const _component_a_checkbox_group = _resolveComponent(\"a-checkbox-group\")!\n const _component_a_form_item = _resolveComponent(\"a-form-item\")!\n const _component_a_textarea = _resolveComponent(\"a-textarea\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_form = _resolveComponent(\"a-form\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BreadCrumb, { meteItems: ['工商变更', '提交申请'] }),\n _createElementVNode(\"div\", {\n class: \"centerBox\",\n style: _normalizeStyle({ minHeight: _unref(data).winHeight + 'px' })\n }, [\n _createVNode(HeadTitle, { title: \"工商变更申请\" }),\n _createVNode(_component_a_form, {\n ref_key: \"FormRef\",\n ref: FormRef,\n model: _unref(FormData),\n labelAlign: \"left\",\n \"label-col\": { style: { width: '140px' } },\n colon: false\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_form_item, {\n name: \"check\",\n label: \"申请事项\",\n rules: [{ required: true, message: '请勾选申请事项' }],\n class: \"blockItem\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_checkbox_group, {\n value: _unref(FormData).check,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(FormData).check) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(plainOptions, (item, index) => {\n return _createVNode(_component_a_checkbox, {\n key: index,\n value: (index + 1).toString(),\n label: item\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(plainOptions[index]), 1)\n ]),\n _: 2\n }, 1032, [\"value\", \"label\"])\n }), 64))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _: 1\n }),\n (_unref(FormData).check.includes('1'))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_a_form_item, {\n name: ['ChangeMatters', 0, 'ChangeBefore'],\n label: \"办公地址变更前\",\n required: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_textarea, {\n placeholder: \"请填写地址\",\n value: _unref(FormData).ChangeMatters[0].ChangeBefore,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(FormData).ChangeMatters[0].ChangeBefore) = $event)),\n maxlength: \"200\",\n \"auto-size\": \"\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_form_item, {\n name: ['ChangeMatters', 0, 'ChangeAfter'],\n label: \"办公地址变更后\",\n required: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_textarea, {\n placeholder: \"请填写地址\",\n value: _unref(FormData).ChangeMatters[0].ChangeAfter,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(FormData).ChangeMatters[0].ChangeAfter) = $event)),\n maxlength: \"200\",\n \"auto-size\": \"\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_form_item, {\n name: \"BusinessRegisteredAddress\",\n label: \"工商注册地址变更后\",\n required: \"\",\n class: \"mb8\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_textarea, {\n placeholder: \"请填写地址\",\n value: _unref(FormData).BusinessRegisteredAddress,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(FormData).BusinessRegisteredAddress) = $event)),\n maxlength: \"200\",\n \"auto-size\": \"\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }),\n _hoisted_2\n ], 64))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(FormData).ChangeMatters, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.ChangeCode,\n class: \"itemBox\"\n }, [\n (_unref(FormData).check.includes(item.ChangeCode.toString()) && item.ChangeCode !=1)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_a_form_item, {\n name: ['ChangeMatters', index, 'ChangeBefore'],\n label: `${plainOptions[index]}前`,\n required: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_input, {\n placeholder: \"请填写\",\n value: item.ChangeBefore,\n \"onUpdate:value\": ($event: any) => ((item.ChangeBefore) = $event),\n maxlength: \"50\"\n }, null, 8, [\"value\", \"onUpdate:value\"])\n ]),\n _: 2\n }, 1032, [\"name\", \"label\"]),\n _createVNode(_component_a_form_item, {\n name: ['ChangeMatters', index, 'ChangeAfter'],\n label: `${plainOptions[index]}后`,\n required: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_input, {\n placeholder: \"请填写\",\n value: item.ChangeAfter,\n \"onUpdate:value\": ($event: any) => ((item.ChangeAfter) = $event),\n maxlength: \"50\"\n }, null, 8, [\"value\", \"onUpdate:value\"])\n ]),\n _: 2\n }, 1032, [\"name\", \"label\"])\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_a_button, {\n size: \"large\",\n onClick: goBack\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n size: \"large\",\n type: \"primary\",\n onClick: handleOk,\n loading: _unref(data).loading\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ]),\n _: 1\n }, 8, [\"model\"])\n ], 4)\n ], 64))\n}\n}\n\n})","import script from \"./Business.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Business.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Business.vue?vue&type=style&index=0&id=ef4377f8&scoped=true&lang=less\"\n\nimport exportComponent from \"/Users/zhengjunjie/risfond-branchmanagementsystem/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-ef4377f8\"]])\n\nexport default __exports__"],"sourceRoot":""}