{"version":3,"sources":["webpack:///./src/views/Change/List.vue?3fe4","webpack:///./src/views/Change/List.vue","webpack:///./src/views/Change/List.vue?91f8","webpack:///./src/api/businessChange.ts","webpack:///./src/assets/imgs/changeApple.svg"],"names":["_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","class","_hoisted_2","_createElementVNode","src","_imports_0","alt","_hoisted_3","_createTextVNode","_hoisted_4","_hoisted_5","_hoisted_6","_defineComponent","setup","__props","store","useStore","personInfo","computed","getters","getSimpleInfo","tableData","ref","pagination","reactive","total","current","defaultPageSize","pageSize","showQuickJumper","showSizeChanger","pageSizeOptions","showTotal","router","useRouter","route","useRoute","data","filterForm","PageIndex","PageSize","CompanyId","RegionId","Key","ChangeCodes","ApplyTimeArr","getProcessFlowList","async","Data","Success","Message","Total","getApplyList","ApplyStartTime","ApplyEndTime","value","message","warning","onActivated","meta","flag","DataSearch","val","handleTableChange","row","handleDetail","IsCreated","push","path","query","id","Id","traceId","TraceId","ChangeCompanyId","StaffId","toChange","_ctx","_cache","_component_a_button","_resolveComponent","_component_a_table","_openBlock","_createElementBlock","_Fragment","_createVNode","Title","title","_unref","BusinessChangeIsShow","_createBlock","key","type","size","onClick","default","_withCtx","_","_createCommentVNode","ApproveFilter","titleFlag","onDataSearch","columns","CHANGES","scroll","x","onChange","btn","text","record","$event","__exports__","businessApply","params","post","businessDetailApi","NodeInfoApi","businessWithDrawApi","businessApproveApi","companyFlowApproveApi","addressApplyApi","addressDetailApi","houseRentApplyApi","houseRentDetailApi","houseRentTurnApi","houseRentRecallApi","decproApplyApi","decproDetailApi","decproTurnApi","decproRecallApi","resourceApplyApi","resourceDetailApi","taxAddressApplyApi","taxAddressDetailApi","sealLicenseApplyApi","sealLicenseDetailApi","module","exports"],"mappings":"gHAAA,W,8KCKA,MAAMA,EAAeC,IAAMC,eAAa,mBAAmBD,EAAEA,IAAIE,iBAAcF,GACzEG,EAAa,CAAEC,MAAO,QACtBC,EAA2BN,EAAa,IAAmBO,eAAoB,M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6b.js","sourcesContent":["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!./List.vue?vue&type=style&index=0&id=cb03540a&scoped=true&lang=less\"","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/imgs/changeApple.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-cb03540a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1))\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"工商变更申请\")\nconst _hoisted_4 = { class: \"table-part\" }\nconst _hoisted_5 = { class: \"table-btn\" }\nconst _hoisted_6 = [\"onClick\"]\n\nimport Title from \"@/components/Title.vue\";\nimport ApproveFilter from \"@/components/ApproveFilter.vue\";\nimport { CHANGES } from \"@/const/openManageTableList.ts\";\nimport { getApplyList } from \"@/api/businessChange\";\n\nimport { ref, reactive, computed, onActivated } from \"vue\";\n// 获取员工信息\nimport { useStore } from \"vuex\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { message } from \"ant-design-vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst store = useStore();\nconst personInfo = computed(() => store.getters.getSimpleInfo);\nconst tableData = ref([]);\nconst pagination = reactive({\n total: 0,\n current: 1,\n defaultPageSize: 10,\n pageSize: 10,\n showQuickJumper: true,\n showSizeChanger: true,\n pageSizeOptions: [\"5\", \"10\", \"20\", \"30\", \"40\"],\n showTotal: (total: number) => `共 ${total} 条数据`,\n});\n\nconst router = useRouter();\nconst route = useRoute();\n\nconst data = reactive({\n filterForm: {\n PageIndex: pagination.current,\n PageSize: pagination.defaultPageSize,\n CompanyId: 0,\n RegionId: 0,\n Key: \"\",\n ChangeCodes: [],\n ApplyTimeArr: [],\n },\n});\nconst getProcessFlowList = async () => {\n const { Data, Success, Message, Total } = await getApplyList({\n PageIndex: pagination.current,\n PageSize: pagination.pageSize,\n CompanyId: data.filterForm.CompanyId,\n RegionId: data.filterForm.RegionId,\n Key: data.filterForm.Key,\n ChangeCodes: data.filterForm.ChangeCodes,\n ApplyStartTime: data.filterForm.ApplyTimeArr\n ? data.filterForm.ApplyTimeArr[0]\n : \"\",\n ApplyEndTime: data.filterForm.ApplyTimeArr\n ? data.filterForm.ApplyTimeArr[1]\n : \"\",\n });\n if (Success) {\n tableData.value = Data;\n pagination.total = Total;\n } else {\n message.warning(Message);\n }\n};\n\n// getProcessFlowList();\n// 判断页面是从相关二级页面 返回\nonActivated(() => {\n if (route.meta.flag) {\n // 保留筛选条件\n } else {\n pagination.current = 1;\n pagination.pageSize = 10;\n data.filterForm = {\n PageIndex: pagination.current,\n PageSize: pagination.defaultPageSize,\n CompanyId: 0,\n RegionId: 0,\n Key: \"\",\n ChangeCodes: [],\n ApplyTimeArr: [],\n };\n }\n\n getProcessFlowList();\n});\n// 数据筛选\nconst DataSearch = (val: any) => {\n data.filterForm = val;\n pagination.current = 1;\n getProcessFlowList();\n};\nconst handleTableChange = (row: any) => {\n pagination.current = row.current;\n pagination.pageSize = row.pageSize;\n getProcessFlowList();\n};\n// 跳转详情\nconst handleDetail = (row: any) => {\n const IsCreated = row.IsCreated;\n if (IsCreated) {\n // 当前登陆人是审批人\n router.push({\n path: \"/changeProcess\",\n query: {\n id: row.Id,\n traceId: row.TraceId,\n ChangeCompanyId: row.ChangeCompanyId,\n },\n });\n } else {\n router.push({\n path: \"/changeProcess\",\n query: {\n id: row.Id,\n traceId: row.TraceId,\n ChangeCompanyId: row.ChangeCompanyId,\n StaffId: row.StaffId,\n },\n });\n }\n};\n//跳转工商申请\nconst toChange = () => {\n router.push(\"/change\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Title, { title: '工商变更' }),\n (_unref(personInfo).BusinessChangeIsShow == 1)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n type: \"primary\",\n size: \"small\",\n onClick: toChange\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _hoisted_3\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(ApproveFilter, {\n titleFlag: '工商变更',\n onDataSearch: DataSearch\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_a_table, {\n columns: _unref(CHANGES),\n \"data-source\": tableData.value,\n pagination: _unref(pagination),\n scroll: { x: 1000 },\n onChange: handleTableChange\n }, {\n btn: _withCtx(({ text: record }) => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"button\", {\n class: \"btnClass\",\n onClick: ($event: any) => (handleDetail(record))\n }, \"详情\", 8, _hoisted_6)\n ])\n ]),\n _: 1\n }, 8, [\"columns\", \"data-source\", \"pagination\"])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./List.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./List.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./List.vue?vue&type=style&index=0&id=cb03540a&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-cb03540a\"]])\n\nexport default __exports__","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","module.exports = __webpack_public_path__ + \"img/changeApple.b435fbf9.svg\";"],"sourceRoot":""}