{"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\\resource\\turnoverHouse\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\resource\\turnoverHouse\\index.vue","mtime":1737610069447},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":1740463332584},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":1740463340941}],"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.function.name\");\nvar _defineProperty2 = _interopRequireDefault(require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/defineProperty.js\"));\nrequire(\"core-js/modules/es6.regexp.constructor\");\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//\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//\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//\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//\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//\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 roomReg = function roomReg(rule, value, callback) {\n // var reg =/^[0-9\\\\.]*$/\n var reg = /^\\d{1,}(\\.\\d{1,2})?$/;\n var reg2 = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,;'\\\\[\\]·~!@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (reg.test(value) && !reg2.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入数字、且小数点后最多两位!\"));\n }\n };\n var roomNoV = function roomNoV(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~!@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入正确的格式 !\"));\n }\n };\n\n // roomAddressV\n var roomAddressV = function roomAddressV(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~!@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入正确的格式 !\"));\n }\n };\n var propertyNameV = function propertyNameV(rule, value, callback) {\n var reg1 = new RegExp(/^[a-zA-Z]+$/);\n var reg2 = new RegExp(/^[\\u4e00-\\u9fa5]+$/);\n if (reg1.test(value) == false && reg2.test(value) == false && value != \"\") {\n callback(new Error(\"姓名格式只支持全中或全英文!\"));\n } else {\n callback();\n }\n };\n return (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n btn: 3,\n iscontinue: false,\n iscontinue2: false,\n fileList: [],\n formDate: new FormData(),\n validation: false,\n completeTitle: \"删除\",\n nav: \"是否删除?\",\n office: \"添加\",\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n }\n }, \"row\", {}), \"formInline\", {\n roomNo: \"\",\n applyPersonName: \"\",\n userName: \"\",\n userPosition: \"\",\n roomAddress: \"\",\n userCompany: \"\",\n building: \"\",\n roomStatus: \"\",\n takeTime: \"\"\n }), \"ruleForm\", {\n roomNo: \"\",\n roomAddress: \"\",\n house_type: \"\",\n roomAcreage: \"\",\n roomStatusValue: \"\",\n applyPersonName: \"\",\n userCompany: \"\",\n userName: \"\",\n userPosition: \"\",\n checkTime: \"\",\n remark: \"\"\n }), \"rules\", {\n roomNo: [{\n required: true,\n message: \"请输入房间号\",\n trigger: \"blur\"\n }, {\n validator: roomNoV,\n trigger: \"blur\"\n }],\n // required: true\n house_type: [{\n required: true,\n message: \"请输入房屋户型\",\n trigger: \"change\"\n }],\n roomAcreage: [{\n required: true,\n message: \"请输入房屋面积\",\n trigger: \"blur\"\n }, {\n validator: roomReg,\n trigger: \"blur\"\n }],\n roomAddress: [{\n required: true,\n message: \"请选择房屋地址\",\n trigger: \"blur\"\n }, {\n validator: roomAddressV,\n trigger: \"blur\"\n }],\n roomStatusValue: [{\n required: true,\n message: \"请输入房屋状态\",\n trigger: \"blur\"\n }],\n house_state: [{\n required: true,\n message: \"请选择房间类型\",\n trigger: \"blur\"\n }],\n applyPersonName: [{\n message: \"请输入\",\n trigger: \"blur\"\n }, {\n validator: propertyNameV,\n trigger: \"blur\"\n }],\n userName: [{\n message: \"请输入\",\n trigger: \"blur\"\n }, {\n validator: propertyNameV,\n trigger: \"blur\"\n }]\n }), \"centerDialogVisible\", false), \"tableData\", []);\n },\n created: function created() {\n /**注 */\n // this.tableData=[{name:'1111'}];\n // this.page.total = this.tableData.length;\n // this.getDate(1);\n },\n mounted: function mounted() {\n this.createLoad();\n this.getDate();\n },\n methods: {\n createLoad: function createLoad() {\n this.loading = true;\n this.loadingMsg = \"加载中...\";\n },\n clearLoad: function clearLoad() {\n this.loading = false;\n this.loadingMsg = \"\";\n },\n bs64: function bs64(_bs) {\n var reader = new FileReader();\n reader.readAsDataURL(_bs);\n return new Promise(function (resolve) {\n reader.onload = function (e) {\n resolve(e.target.result);\n };\n });\n },\n /**添加周转房 */addWeek: function addWeek() {\n this.centerDialogVisible = true;\n this.office = \"添加\";\n this.ruleForm = {\n roomNo: \"\",\n roomAddress: \"\",\n house_type: \"\",\n roomAcreage: \"\",\n roomStatusValue: \"\",\n applyPersonName: \"\",\n userCompany: \"\",\n userName: \"\",\n userPosition: \"\",\n checkTime: \"\",\n remark: \"\"\n };\n },\n /**查询 */onSearch: function onSearch() {\n var chinese = /^[\\u4e00-\\u9fa5]+$/;\n var englist = /^[a-zA-Z]+$/;\n this.iscontinue = false;\n this.iscontinue2 = false;\n // formInline.receiptorName\n if (chinese.test(this.formInline.applyPersonName) || englist.test(this.formInline.applyPersonName) || this.formInline.applyPersonName == \"\") {\n this.iscontinue = true;\n }\n if (chinese.test(this.formInline.userName) || englist.test(this.formInline.userName) || this.formInline.userName == \"\") {\n this.iscontinue2 = true;\n }\n if (!this.iscontinue || !this.iscontinue2) {\n this.validation = true;\n this.completeTitle = \"警告\";\n this.btn = 2;\n this.nav = \"姓名格式只支持输入全中或全英文!\";\n } else {\n this.page.limit = 1;\n this.createLoad();\n this.getDate();\n }\n\n // this.page.limit = 1;\n // this.createLoad();\n // this.getDate();\n },\n closeDialog: function closeDialog() {\n var _this = this;\n this.ruleForm = {};\n // console.log(this.$refs.ruleForm,123)\n this.$nextTick(function () {\n _this.$refs.ruleForm.resetFields();\n });\n // this.$refs[\"ruleForm\"].resetFields();\n // this.$refs.ruleForm.resetFields();\n },\n submitForm: function submitForm(formName) {\n var _this2 = this;\n var Content;\n // console.log(this.formInline.buildin.building,300)\n var roomT = this.ruleForm.house_type == \"\" ? \"全部\" : this.ruleForm.house_type == \"1\" ? \"一居\" : this.ruleForm.house_type == \"2\" ? \"二居\" : this.ruleForm.house_type == \"3\" ? \"三居\" : this.ruleForm.house_type == \"4\" ? \"四居\" : this.ruleForm.house_type == \"4\" ? \"五居及以上\" : \"\";\n // console.log(this.ruleForm.house_type,88)\n\n // console.log(this.ruleForm.roomStatusValue, 123);\n // console.log(roomT,300)\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n // alert(\"submit!\");\n _this2.validation = true;\n _this2.btn = 3;\n if (_this2.office == \"添加\") {\n _this2.completeTitle = \"添加\";\n _this2.nav = \"是否添加?\";\n } else {\n _this2.completeTitle = \"编辑\";\n _this2.nav = \"是否编辑?\";\n }\n // if (this.office == \"添加\") {\n // Content = {\n // applyPersonName: this.ruleForm.applyPersonName,\n // checkTime: this.ruleForm.checkTime,\n // remark: this.ruleForm.remark,\n // roomAcreage: this.ruleForm.roomAcreage,\n // roomAddress: this.ruleForm.roomAddress,\n // roomNo: this.ruleForm.roomNo,\n // roomStatus: this.ruleForm.roomStatusValue,\n // // roomStatusValue:\n // // this.ruleForm.custodian == \"0\"\n // // ? \"空闲\"\n // // : (this.ruleForm.custodian == \"1\"\n // // ? \"在用\"\n // // : \"\"),\n // roomType: this.ruleForm.house_type,\n // // roomTypeValue: roomT,\n // userCompany: this.ruleForm.userCompany,\n // userId: \"40\",\n // userName: this.ruleForm.userName,\n // userPosition: this.ruleForm.userPosition\n // };\n // } else {\n // Content = {\n // id: this.row.id,\n // applyPersonName: this.ruleForm.applyPersonName,\n // checkTime: this.ruleForm.checkTime,\n // remark: this.ruleForm.remark,\n // roomAcreage: this.ruleForm.roomAcreage,\n // roomAddress: this.ruleForm.roomAddress,\n // roomNo: this.ruleForm.roomNo,\n // roomStatus: this.ruleForm.roomStatusValue,\n // // roomStatusValue:\n // // this.ruleForm.custodian == \"0\"\n // // ? \"空闲\"\n // // : (this.ruleForm.custodian == \"1\"\n // // ? \"在用\"\n // // : \"\"),\n // roomType: this.ruleForm.house_type,\n // // roomTypeValue: roomT,\n // userCompany: this.ruleForm.userCompany,\n // userId: \"40\",\n // userName: this.ruleForm.userName,\n // userPosition: this.ruleForm.userPosition\n // };\n // }\n // ZSave(Content)\n // .then(res => {\n // // console.log(res,8888);\n // if (res.returnCode == \"1\") {\n // this.$message({\n // message: res.returnMsg,\n // type: \"success\"\n // });\n // this.getDate();\n // } else {\n // this.$message({\n // message: \"数据有误!\",\n // type: \"warning\"\n // });\n // }\n // })\n // .catch(err => {\n // console.log(err);\n // });\n // console.log(Content,350)\n } else {\n console.log(\"error submit!!\");\n return false;\n }\n\n // this.centerDialogVisible = false;\n // this.$refs[\"ruleForm\"].resetFields();\n });\n },\n resetForm: function resetForm(formName) {\n // this.$refs[formName].resetFields();\n this.centerDialogVisible = false;\n this.$refs[\"ruleForm\"].resetFields();\n },\n onSubmit: function onSubmit() {\n // console.log(\"submit!\");\n },\n /**修改 */handleUpdate: function handleUpdate(row) {\n var _this3 = this;\n this.centerDialogVisible = true;\n // this.$refs[\"ruleForm\"].resetFields();\n // this.ruleForm = index;\n this.office = \"修改\";\n var Content = {\n id: row.id\n };\n (0, _getdata.ZLookList)(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this3.row = res.returnData;\n // console.log(res.returnData,600)\n _this3.ruleForm = {\n roomNo: res.returnData.roomNo,\n roomAddress: res.returnData.roomAddress,\n house_type: res.returnData.roomType,\n roomAcreage: res.returnData.roomAcreage,\n roomStatusValue: res.returnData.roomStatus,\n applyPersonName: res.returnData.applyPersonName,\n userCompany: res.returnData.userCompany,\n userName: res.returnData.userName,\n userPosition: res.returnData.userPosition,\n checkTime: res.returnData.checkTime,\n remark: res.returnData.remark\n };\n } else {\n _this3.$message({\n message: \"详情有误!\",\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n closeDialogDel: function closeDialogDel(val) {\n var _this4 = this;\n console.log(val, 522);\n var Content;\n if (this.office == \"添加\") {\n Content = {\n applyPersonName: this.ruleForm.applyPersonName,\n checkTime: this.ruleForm.checkTime,\n remark: this.ruleForm.remark,\n roomAcreage: this.ruleForm.roomAcreage,\n roomAddress: this.ruleForm.roomAddress,\n roomNo: this.ruleForm.roomNo,\n roomStatus: this.ruleForm.roomStatusValue,\n // roomStatusValue:\n // this.ruleForm.custodian == \"0\"\n // ? \"空闲\"\n // : (this.ruleForm.custodian == \"1\"\n // ? \"在用\"\n // : \"\"),\n roomType: this.ruleForm.house_type,\n // roomTypeValue: roomT,\n userCompany: this.ruleForm.userCompany,\n userId: \"40\",\n userName: this.ruleForm.userName,\n userPosition: this.ruleForm.userPosition\n };\n } else {\n Content = {\n id: this.row.id,\n applyPersonName: this.ruleForm.applyPersonName,\n checkTime: this.ruleForm.checkTime,\n remark: this.ruleForm.remark,\n roomAcreage: this.ruleForm.roomAcreage,\n roomAddress: this.ruleForm.roomAddress,\n roomNo: this.ruleForm.roomNo,\n roomStatus: this.ruleForm.roomStatusValue,\n // roomStatusValue:\n // this.ruleForm.custodian == \"0\"\n // ? \"空闲\"\n // : (this.ruleForm.custodian == \"1\"\n // ? \"在用\"\n // : \"\"),\n roomType: this.ruleForm.house_type,\n // roomTypeValue: roomT,\n userCompany: this.ruleForm.userCompany,\n userId: \"40\",\n userName: this.ruleForm.userName,\n userPosition: this.ruleForm.userPosition\n };\n }\n if (val == 1) {\n var Contents = {\n id: this.row.id,\n userId: \"40\"\n };\n (0, _getdata.ZDel)(Contents).then(function (res) {\n if (res.returnCode == \"1\") {\n _this4.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this4.createLoad();\n _this4.getDate();\n } else {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n });\n this.centerDialogVisible = false;\n // this.$refs[\"ruleForm\"].resetFields();\n } else if (val == 2 || val == \"3\") {\n (0, _getdata.ZSave)(Content).then(function (res) {\n // console.log(res,8888);\n if (res.returnCode == \"1\") {\n _this4.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n if (_this4.office == \"修改\") {\n _this4.page.limit = _this4.page.limit;\n _this4.createLoad();\n _this4.getDate();\n } else {\n _this4.createLoad();\n _this4.getDate();\n }\n // this.getDate();\n } else {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n _this4.centerDialogVisible = false;\n }).catch(function (err) {\n console.log(err);\n });\n }\n // this.$refs[\"ruleForm\"].resetFields();\n this.validation = false;\n },\n handleModifyStatus: function handleModifyStatus(row) {\n this.row = row;\n this.btn = 3;\n this.validation = true;\n this.completeTitle = \"删除\";\n this.nav = \"是否删除?\";\n },\n handleDrag: function handleDrag() {\n // this.$refs.select.blur();\n },\n // 自定义上传 导入数据\n uploadFile: function uploadFile(item) {\n var _this5 = this;\n var form = new FormData();\n form.append(\"file\", item.file);\n (0, _getdata.ZimportByExcel)(form).then(function (res) {\n if (res.returnCode == \"1\") {\n _this5.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n } else {\n _this5.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n _this5.createLoad();\n _this5.getDate();\n\n // console.log(res,'000')\n }).catch(function (err) {\n _this5.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n });\n },\n // 导出\n onOut: function onOut() {\n var _this6 = this;\n // let url = \"/greenH5/greenWebmodul/rest/greenTurnoverRoomResource/exportByExcel\";\n // window.location.href = url;\n var Content = {\n applyPersonName: this.formInline.applyPersonName,\n checkTime: this.formInline.takeTime,\n roomAddress: this.formInline.roomAddress,\n roomNo: this.formInline.roomNo,\n roomStatus: this.formInline.roomStatus,\n roomType: this.formInline.building,\n userCompany: this.formInline.userCompany,\n userName: this.formInline.userName,\n userPosition: this.formInline.userPosition\n };\n (0, _getdata.Own)().then(function (res) {\n if (res.returnCode === \"1\") {\n var str = \"applyPersonName=\" + _this6.formInline.applyPersonName + \"&checkTime=\" + _this6.formInline.takeTime + \"&roomAddress=\" + _this6.formInline.roomAddress + \"&roomNo=\" + _this6.formInline.roomNo + \"&roomStatus=\" + _this6.formInline.roomStatus + \"&roomType=\" + _this6.formInline.building + \"&userCompany=\" + _this6.formInline.userCompany + \"&userName=\" + _this6.formInline.userName + \"&userPosition=\" + _this6.formInline.userPosition;\n var url = \"/greenH5/greenWebmodul/rest/greenTurnoverRoomResource/exportByExcel?\" + str;\n window.location.href = url;\n }\n });\n },\n //导入\n handlePreview: function handlePreview() {\n this.formDate = new FormData();\n this.$refs.upload.clearFiles();\n },\n onchange: function onchange(file) {\n var _this7 = this;\n this.fileList = [];\n this.formDate = new FormData();\n this.formDate.append(\"file\", file.raw);\n this.fileList.push(file);\n var flag = false;\n if (this.fileList.length > 0) {\n flag = false;\n var Lastindex = this.fileList[0].name.lastIndexOf(\".\");\n if (this.fileList[0].name.slice(Lastindex) != \".xls\" && this.fileList[0].name.slice(Lastindex) != \".xlsx\") {\n flag = false;\n this.$message({\n message: \"请选择正确的Excel格式\",\n type: \"warning\"\n });\n return false;\n } else {\n flag = true;\n }\n } else {\n flag = true;\n }\n this.bs64(file.raw).then(function (bs64) {\n _this7.formDate = {\n file: bs64\n };\n if (flag) {\n _this7.createLoad();\n (0, _getdata.ZimportByExcel)(_this7.formDate).then(function (res) {\n if (res.returnCode == \"1\") {\n _this7.clearLoad();\n _this7.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this7.getDate();\n } else {\n _this7.clearLoad();\n _this7.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n\n // this.getDate();\n }).catch(function (err) {\n _this7.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n });\n }\n });\n },\n formatJson: function formatJson(filterVal, jsonData) {\n return jsonData.map(function (v) {\n return filterVal.map(function (j) {\n if (j === \"timestamp\") {\n return parseTime(v[j]);\n } else {\n return v[j];\n }\n });\n });\n },\n // 分页\n currentChanges: function currentChanges(val) {\n this.createLoad();\n this.page.limit = val;\n this.getDate();\n },\n getDate: function getDate() {\n var _this8 = this;\n var Content = {\n currentPage: this.page.limit,\n queryObj: {\n applyPersonName: this.formInline.applyPersonName,\n checkTime: this.formInline.takeTime,\n roomAddress: this.formInline.roomAddress,\n roomNo: this.formInline.roomNo,\n roomStatus: this.formInline.roomStatus,\n roomType: this.formInline.building,\n userCompany: this.formInline.userCompany,\n userName: this.formInline.userName,\n userPosition: this.formInline.userPosition\n }\n };\n (0, _getdata.ZList)(Content).then(function (res) {\n // console.log(res);\n _this8.page.total = res.returnData.total;\n _this8.page.limit = res.returnData.currentPage;\n if (res.returnCode == \"1\") {\n _this8.clearLoad();\n if (res.returnData.total == 0) {\n _this8.$message({\n message: \"当前无数据\",\n type: \"success\"\n });\n } else {\n _this8.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n }\n _this8.tableData = res.returnData.data;\n } else {\n _this8.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this8.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this8.clearLoad();\n }, 300);\n });\n }\n }\n};",null]}