{"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\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\specialProjectManagement\\flowComponents\\processReject.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\specialProjectManagement\\flowComponents\\processReject.vue","mtime":1714500819515},{"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\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\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\nexport default {\n name: 'QualitProcessReject',\n data: function data() {\n return {\n visible: false,\n loading: false,\n rejectForm: {\n id: '',\n rejectReason: '',\n rectifierAccount: '',\n rectifierId: '',\n rectifierName: '',\n status: 0\n },\n rules: {\n rejectReason: {\n required: true,\n message: '请输入整改理由',\n trigger: 'change'\n },\n rectifierId: {\n required: true,\n message: '请选择整改人',\n trigger: 'change'\n }\n },\n manageURL: '${yhxt}/bizRectificationCommon/v1/approve',\n //管理中心审核\n operateURL: '${yhxt}/bizProjectManageQuality/v1/operation/approve',\n //分公司审核\n rejectUrl: '',\n userList: [],\n rejectType: ''\n };\n },\n mounted: function mounted() {\n this.getUsers();\n },\n methods: {\n handleRectifierChange: function handleRectifierChange(id) {\n var temp = this.userList.filter(function (item) {\n return item.id == id;\n })[0];\n this.rejectForm.rectifierName = temp.fullname;\n this.rejectForm.rectifierAccount = temp.account;\n },\n getUsers: function getUsers() {\n var _this = this;\n this.$http.get('${yhxt}/bizRectificationCommon/v1/users/getUnderUsersByUserNow').then(function (res) {\n console.log(res, '人员');\n _this.userList = res.status && res.data;\n });\n },\n handleOpen: function handleOpen(row, type, pageType) {\n this.rejectType = type;\n this.rejectUrl = this[\"\".concat(type, \"URL\")];\n this.visible = true;\n this.rejectForm.id = row.id;\n this.rejectForm.type = pageType;\n },\n handleClose: function handleClose() {\n this.visible = false;\n this.rejectForm = {\n id: '',\n rejectReason: '',\n rectifierAccount: '',\n rectifierId: '',\n rectifierName: '',\n status: 0\n };\n this.rejectUrl = '';\n this.rejectType = '';\n },\n handleSubmit: function handleSubmit() {\n var _this2 = this;\n this.$refs.rejectForm.validate(function (bool) {\n if (bool) {\n _this2.$confirm('确定发起整改吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n _this2.$http.post(_this2.rejectUrl, _this2.rejectForm).then(function (res) {\n _this2.$emit('reload');\n _this2.visible = false;\n if (res.state) {\n _this2.$message({\n message: '发起整改成功',\n type: 'success'\n });\n }\n });\n });\n }\n });\n }\n }\n};",null]}