{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\specialProjectManagement\\mixins\\addApproveUsers.js","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\specialProjectManagement\\mixins\\addApproveUsers.js","mtime":1712167998311},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\n/**\r\n * @Description: 专项工程功能下的添加表单,添加字段,这是处理字段需要用的数据以及方法\r\n * @Date: 2024年2月26日\r\n */\n\nexport var addApproveUsers = {\n data: function data() {\n return {\n approveUsers: {\n glzxsh: [],\n // 管理中心确认人\n glzxzr: [],\n // 管理中心主任\n fgssh: [],\n // 分公司主管部门\n fgszg: [],\n // 分公司主管审核人\n yhzb: [],\n // 养护总部审核人\n yhzbzg: [] // 养护总部主管审核人\n }\n };\n },\n created: function created() {},\n methods: {\n changeRoadUpadateUsers: function changeRoadUpadateUsers(roadName) {\n this.getApproveUsers('glzxsh', roadName);\n this.getApproveUsers('glzxzr', roadName);\n this.getApproveUsers('fgszg', roadName);\n // this.getApproveUsers('yhzb', roadName)\n this.getApproveUsers('fgssh', roadName);\n this.getApproveUsers('yhzbzg', roadName);\n },\n reset: function reset() {\n this.approveUsers = {\n glzxsh: [],\n // 管理中心确认人\n glzxzr: [],\n // 管理中心主任\n fgssh: [],\n // 分公司主管部门\n fgszg: [],\n // 分公司主管审核人\n yhzb: [],\n // 养护总部审核人\n yhzbzg: [] // 养护总部主管审核人\n }, this.form.managementApproveId = '';\n this.form.managementApproveAccount = \"\";\n this.form.managementApproveName = \"\";\n this.form.managementDirectorApproveId = '';\n this.form.managementDirectorApproveAccount = \"\";\n this.form.managementDirectorApproveName = \"\";\n this.form.operationDirectorId = '';\n this.form.operationDirectorAccount = \"\";\n this.form.operationDirectorName = \"\";\n this.form.headquartersId = '';\n this.form.headquartersAccount = \"\";\n this.form.headquartersName = \"\";\n this.form.headquartersDirectorId = '';\n this.form.headquartersDirectorAccount = \"\";\n this.form.headquartersDirectorName = \"\";\n this.form.operationId = '';\n this.form.operationAccount = '';\n this.form.operationName = '';\n },\n // 根据code获取审核人数据\n getApproveUsers: function getApproveUsers(code, roadName) {\n var _this = this;\n console.log(roadName, \"roadName\");\n this.$http.get('${yhxt}/bizRectificationCommon/v1/users/getApproveUsers?code=' + code + '&roadName=' + roadName).then(function (res) {\n _this.approveUsers[code] = res.data;\n });\n },\n // 管理中心确认人\n handleManagementApprove: function handleManagementApprove(id) {\n var _this2 = this;\n this.approveUsers.glzxsh.forEach(function (item) {\n if (item.id === id) {\n _this2.form.managementApproveAccount = item.account;\n _this2.form.managementApproveName = item.fullname;\n }\n });\n },\n // 管理中心主任审核人\n handleManagementDirectorApprove: function handleManagementDirectorApprove(id) {\n var _this3 = this;\n this.approveUsers.glzxzr.forEach(function (item) {\n if (item.id === id) {\n _this3.form.managementDirectorApproveAccount = item.account;\n _this3.form.managementDirectorApproveName = item.fullname;\n }\n });\n },\n // 分公司主管审核人\n handleOperationDirector: function handleOperationDirector(id) {\n var _this4 = this;\n this.approveUsers.fgszg.forEach(function (item) {\n if (item.id === id) {\n _this4.form.operationDirectorAccount = item.account;\n _this4.form.operationDirectorName = item.fullname;\n }\n });\n },\n // 护总部审核人\n handleHeadquarters: function handleHeadquarters(id) {\n var _this5 = this;\n this.approveUsers.yhzb.forEach(function (item) {\n if (item.id === id) {\n _this5.form.headquartersAccount = item.account;\n _this5.form.headquartersName = item.fullname;\n }\n });\n },\n // 养护总部主管审核人\n handleHeadquartersDirector: function handleHeadquartersDirector(id) {\n var _this6 = this;\n this.approveUsers.yhzbzg.forEach(function (item) {\n if (item.id === id) {\n _this6.form.headquartersDirectorAccount = item.account;\n _this6.form.headquartersDirectorName = item.fullname;\n }\n });\n },\n // 分公司主管部门\n handleOperationId: function handleOperationId(id) {\n var _this7 = this;\n this.approveUsers.fgssh.forEach(function (item) {\n if (item.id === id) {\n _this7.form.operationAccount = item.account;\n _this7.form.operationName = item.fullname;\n }\n });\n }\n }\n};",null]}