{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\property\\service\\handleService\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\property\\service\\handleService\\index.vue","mtime":1737610069444},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\"use strict\";\n\nvar _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nrequire(\"core-js/modules/es6.regexp.to-string\");\nvar _paging = _interopRequireDefault(require(\"@/views/Public/paging.vue\"));\nvar _getdata = require(\"@/api/getdata\");\nvar _popup = _interopRequireDefault(require(\"@/views/estate/examine/dialog/popup.vue\"));\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//\nvar _default = exports.default = {\n components: {\n Paging: _paging.default,\n Popup: _popup.default\n },\n data: function data() {\n var titleVa = function titleVa(rule, value, callback) {\n var reg = /[`~!@#$%^&*_\\-+=<>?:\"{}|,./;'\\\\[\\]·~!@#¥%……&*——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"不支持输入@#¥%……...等特殊字符 !\"));\n }\n };\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n fileList: [],\n validation: false,\n completeTitle: \"处理\",\n nav: \"是否处理?\",\n til: \"处理\",\n days: [],\n userId: window.localStorage.getItem(\"userId\"),\n ruleForm: {\n ID: \"\",\n DATA_VALUE: \"\",\n OFFICE: \"\",\n DEMAND: \"\",\n NUMBER: '',\n APPLICANT_TIME: '',\n STATE: '',\n USER_NAME: '',\n FEEDBACK: '',\n APPROVAL_ID: '',\n APPROVAL_NAME: ''\n },\n parentdata: [],\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n downloadLoading: false,\n rules: {\n parent_id: [{\n required: true,\n message: \"请选择项目\",\n trigger: \"blur\"\n }]\n }\n };\n },\n mounted: function mounted() {\n var data = typeof this.$route.query.rowdata == \"string\" ? JSON.parse(window.localStorage.getItem(\"propertyServiceRowdata\")) : this.$route.query.rowdata;\n console.log(data);\n this.ruleForm.ID = data ? data.ID : \"\";\n this.ruleForm.DATA_VALUE = data ? data.DATA_VALUE : \"\";\n this.ruleForm.OFFICE = data ? data.OFFICE : '';\n this.ruleForm.DEMAND = data ? data.DEMAND : '';\n this.ruleForm.NUMBER = data ? data.NUMBER : \"\";\n this.ruleForm.APPLICANT_TIME = data ? data.APPLICANT_TIME : '';\n this.ruleForm.STATE = data ? data.STATE : '';\n this.ruleForm.USER_NAME = data ? data.USER_NAME : \"\";\n this.ruleForm.FEEDBACK = data ? data.FEEDBACK : \"\";\n this.ruleForm.APPROVAL_ID = data ? data.APPROVAL_ID : \"\";\n this.ruleForm.APPROVAL_NAME = data ? data.APPROVAL_NAME : \"\";\n this.til = data ? data.til : \"处理\";\n this.id = data ? data.id : \"\";\n\n // this.getparentdata();\n },\n methods: {\n getparentdata: function (_getparentdata) {\n function getparentdata() {\n return _getparentdata.apply(this, arguments);\n }\n getparentdata.toString = function () {\n return _getparentdata.toString();\n };\n return getparentdata;\n }(function () {\n var _this = this;\n getparentdata().then(function (res) {\n if (res.returnCode == \"1\") {\n _this.parentdata = res.returnData.data.filter(function (x) {\n return x.id.length != 0;\n });\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n });\n }),\n /**返回上一级 */comeBack: function comeBack() {\n this.$router.push({\n path: \"property-service-index\",\n params: {\n index: this.indexCall\n }\n });\n },\n resetForm: function resetForm(formName) {\n if (!this.view) {\n this.$refs[formName].resetFields();\n }\n this.$router.push({\n path: \"property-service-index\",\n params: {\n index: this.indexCall\n }\n });\n // this.$message({\n // message: \"取消成功\",\n // type: \"success\",duration:800\n // });\n },\n submitForm: function submitForm(formName, idx) {\n var _this2 = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n _this2.validation = true;\n _this2.completeTitle = \"处理\";\n _this2.nav = \"是否处理?\";\n }\n });\n // this.ruleForm.status = idx\n },\n closeDialogDel: function closeDialogDel(val) {\n var _this3 = this;\n console.log(val);\n if (val == '2') {\n if (this.ruleForm.APPROVAL_ID != window.localStorage.getItem(\"userId\") && this.ruleForm.APPROVAL_ID != null) {\n this.validation = false;\n this.$message({\n message: '办理人与当前用户不一致',\n type: \"warning\"\n });\n return;\n }\n if (this.ruleForm.FEEDBACK == null && this.ruleForm.STATE == '1') {\n this.validation = false;\n this.$message({\n message: '请输入处理反馈结果',\n type: \"warning\"\n });\n return;\n }\n var Content = {\n id: this.ruleForm.ID,\n userId: window.localStorage.getItem(\"userId\"),\n userName: window.localStorage.getItem(\"userName\"),\n state: this.ruleForm.STATE,\n feedback: this.ruleForm.FEEDBACK\n };\n // console.log(Content)\n (0, _getdata.updateProperty)(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this3.$router.push({\n path: \"property-service-index\",\n params: {\n index: _this3.indexCall\n }\n });\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n }\n // this.$refs[\"ruleForm\"].resetFields();\n this.validation = false;\n }\n }\n};",null]}