hz-zhhq-web/node_modules/.cache/babel-loader/c38c4402a917b61e21725241503...

1 line
25 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"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\\landHousing\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\resource\\landHousing\\index.vue","mtime":1737610069446},{"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.regexp.replace\");\nrequire(\"core-js/modules/es6.regexp.split\");\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 _popup = _interopRequireDefault(require(\"@/views/estate/examine/dialog/popup.vue\"));\nvar _getdata = require(\"@/api/getdata\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 priceVa = function priceVa(rule, value, callback) {\n // var reg =/^[0-9\\\\.]*$/\n var reg = /^(\\d+\\.\\d{1,4}|\\d+)$/;\n if (reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入用地面积!\"));\n }\n };\n var landNameV = function landNameV(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入正确的格式 !\"));\n }\n };\n\n // propertyNameV\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\n //addressV\n\n var addressV = function addressV(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入正确的格式 !\"));\n }\n };\n\n //userDeptNameV\n var userDeptNameV = function userDeptNameV(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入正确的格式 !\"));\n }\n };\n\n //landAcreageV\n var landAcreageV = function landAcreageV(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入正确的格式 !\"));\n }\n };\n\n //landUseV\n var landUseV = function landUseV(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入正确的格式 !\"));\n }\n };\n return (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({\n btn: 3,\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n iscontinue: false,\n row: {},\n fileList: [],\n aa: \"\",\n formDate: new FormData(),\n validation: false,\n completeTitle: \"删除\",\n nav: \"是否删除?\",\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n office: \"添加\"\n }, \"row\", {}), \"formInline\", {\n name: \"\",\n owner: \"\",\n use_unit: \"\",\n adr: \"\",\n use: \"\",\n type: \"\"\n }), \"ruleForm\", {\n landName: \"\",\n propertyName: \"\",\n propertyPic: \"\",\n address: \"\",\n userDeptName: \"\",\n landAcreage: \"\",\n landUse: \"\",\n landType: \"\",\n floorCount: \"\"\n\n // name: \"\",\n // owner: \"\",\n // pic: \"\",\n // adr: \"\",\n // use_unit: \"\",\n // arer: \"\",\n // use: \"\",\n // type: \"\",\n // floor: \"\",\n // propertyPic:\"\"\n }), \"rules\", {\n landName: [{\n required: true,\n message: \"请填写土地房产名称\",\n trigger: \"blur\"\n }, {\n validator: landNameV,\n trigger: \"blur\"\n }],\n propertyName: [{\n required: true,\n message: \"请填写产权人\",\n trigger: \"blur\"\n }, {\n validator: propertyNameV,\n trigger: \"blur\"\n }],\n address: [{\n required: true,\n message: \"请填写位置\",\n trigger: \"blur\"\n }, {\n validator: addressV,\n trigger: \"blur\"\n }],\n userDeptName: [{\n required: true,\n message: \"请输入使用单位\",\n trigger: \"blur\"\n }, {\n validator: userDeptNameV,\n trigger: \"blur\"\n }],\n landAcreage: [{\n required: true,\n message: \"请填用地面积\",\n trigger: \"blur\"\n }, {\n validator: landAcreageV,\n trigger: \"blur\"\n }],\n landUse: [{\n required: true,\n message: \"请填写用途\",\n trigger: \"blur\"\n }, {\n validator: landUseV,\n trigger: \"blur\"\n }],\n propertyPic: [{\n required: true,\n message: \"请上传图片\",\n trigger: \"blur\"\n }],\n landType: [{\n required: true,\n message: \"请选择类型\",\n trigger: \"blur\"\n }],\n floorCount: [{\n required: true,\n message: \"请选择层型\",\n trigger: \"blur\"\n }]\n }), \"centerDialogVisible\", false), \"centerDialogVisibleMap\", false), \"tableData\", []), \"tableData2\", [{\n floor_count: \"1\"\n }, {\n floor_count: \"2\"\n }]);\n },\n created: function created() {\n // this.tableData = this.tableData2;\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 //导入\n handlePreview: function handlePreview() {\n this.formDate = new FormData();\n this.$refs.upload.clearFiles();\n },\n onchange: function onchange(file) {\n var _this2 = 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 _this2.formDate = {\n file: bs64\n };\n console.log(_this2.formDate, 375);\n if (flag) {\n _this2.createLoad();\n (0, _getdata.TimportByExcel)(_this2.formDate).then(function (res) {\n if (res.returnCode == \"1\") {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this2.clearLoad();\n _this2.getDate();\n } else {\n _this2.clearLoad();\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n // console.log(res,'000')\n }).catch(function (err) {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n });\n }\n });\n },\n changeFile: function changeFile(options, fileList) {\n var that = this;\n // 获取文件对象\n var file = options.raw;\n //判断图片类型\n if (file.type == \"image/jpeg\" || file.type == \"image/png\" || file.type == \"image/JPG\") {\n var isJPG = true;\n } else {\n isJPG = false;\n }\n // 判断图片大小\n var isLt2M = file.size / 1024 / 1024 < 2;\n if (!isJPG) {\n this.$message.error(\"上传产品图片只能是 JPG/PNG/JPEG 格式!\");\n }\n if (!isLt2M) {\n this.$message.error(\"上传产品图片大小不能超过 2MB!\");\n }\n // 创建一个HTML5的FileReader对象\n var reader = new FileReader();\n //创建一个img对象\n var img = new Image();\n var filename = options.filename;\n if (file) {\n reader.readAsDataURL(file);\n }\n if (isJPG && isLt2M) {\n reader.onload = function (e) {\n var base64Str = reader.result.split(\",\")[1];\n var newUrl;\n if (file.size / 1024 < 1024) {\n that.$set(that.ruleForm, \"propertyPic\", e.target.result);\n return;\n }\n img.src = e.target.result;\n // base64地址图片加载完毕后执行\n img.onload = function () {\n var _this = this;\n // 缩放图片需要的canvas也可以在DOM中直接定义canvas标签这样就能把压缩完的图片不转base64也能直接显示出来\n var canvas = document.createElement(\"canvas\");\n var context = canvas.getContext(\"2d\");\n !function msximg(w, h) {\n var wid = w || img.width;\n var hei = h || img.height;\n canvas.width = wid;\n canvas.height = hei;\n context.drawImage(img, 0, 0, wid, hei);\n newUrl = canvas.toDataURL(\"image/jpeg\");\n var str = newUrl.replace(\"data:image/png;base64,\", \"\");\n // 找到等号,把等号也去掉\n var equalIndex = str.indexOf(\"=\");\n if (str.indexOf(\"=\") > 0) {\n str = str.substring(0, equalIndex);\n }\n var strLength = str.length;\n var fileLength = parseInt(strLength - strLength / 8 * 2);\n var size = \"\";\n size = (fileLength / 1024).toFixed(2);\n if (size > 1024) {\n var num = size > 1024 * 2 ? 0.5 : 0.9;\n msximg(wid * num, hei * num);\n } else {\n that.$set(that.ruleForm, \"propertyPic\", newUrl);\n return;\n }\n }();\n };\n\n // setTimeout(() => {\n // this.$nextTick(function() {\n // this.$set(this.ruleForm, \"propertyPic\", newUrl);\n // });\n // // this.ruleForm.propertyPic = newUrl\n // // console.log(this.ruleForm.propertyPic,600)\n // }, 300);\n };\n }\n },\n // 导出\n onOut: function onOut() {\n var _this3 = this;\n (0, _getdata.Own)().then(function (res) {\n if (res.returnCode === \"1\") {\n var str = \"address=\" + _this3.formInline.adr + \"&landName=\" + _this3.formInline.name + \"&landUse=\" + _this3.formInline.use + \"&propertyName=\" + _this3.formInline.owner + \"&landType=\" + _this3.formInline.type + \"&userDeptName=\" + _this3.formInline.use_unit;\n var url = \"/greenH5/greenWebmodul/rest/greenLandResource/exportByExcel?\" + str;\n window.location.href = url;\n }\n });\n\n // window.open(\"\")\n },\n // 自定义上传 导入数据\n uploadFile: function uploadFile(item) {\n var _this4 = this;\n var form = new FormData();\n form.append(\"file\", item.file);\n (0, _getdata.TimportByExcel)(form).then(function (res) {\n // console.log(res, 1000);\n if (res.returnCode == \"1\") {\n _this4.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n } else {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n _this4.createLoad();\n _this4.getDate();\n // console.log(res, \"000\");\n }).catch(function (err) {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n });\n },\n onSearch: function onSearch() {\n var chinese = /^[\\u4e00-\\u9fa5]+$/;\n var englist = /^[a-zA-Z]+$/;\n this.iscontinue = false;\n if (chinese.test(this.formInline.owner) || englist.test(this.formInline.owner) || this.formInline.owner == \"\") {\n this.iscontinue = true;\n }\n if (!this.iscontinue) {\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 // this.page.limit = 1;\n // this.createLoad();\n // this.getDate();\n },\n // 弹框关闭的回调\n closeDialog: function closeDialog() {\n this.ruleForm = {};\n this.$refs.ruleForm.resetFields();\n },\n submitForm: function submitForm(formName) {\n var _this5 = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n _this5.validation = true;\n _this5.btn = 3;\n if (_this5.office == \"修改\") {\n _this5.completeTitle = \"修改\";\n _this5.nav = \"是否修改?\";\n } else {\n _this5.completeTitle = \"添加\";\n _this5.nav = \"是否添加?\";\n }\n } else {\n console.log(\"error submit!!\");\n return false;\n }\n // this.centerDialogVisible = false;\n });\n },\n resetForm: function resetForm(formName) {\n // this.$refs[formName].resetFields();\n this.centerDialogVisible = false;\n },\n seeMap: function seeMap() {\n this.centerDialogVisibleMap = true;\n },\n /**修改 */handleUpdate: function handleUpdate(row) {\n var _this6 = this;\n this.row = row;\n this.office = \"修改\";\n this.centerDialogVisible = true;\n var Content = {\n id: row.id\n };\n (0, _getdata.TDetail)(Content).then(function (res) {\n // console.log(res,853)\n if (res.returnCode == \"1\") {\n _this6.row = res.returnData;\n _this6.ruleForm = {\n landName: res.returnData.landName,\n propertyName: res.returnData.propertyName,\n // propertyPic: res.returnData.propertyPic,pic1\n propertyPic: res.returnData.propertyPic,\n address: res.returnData.address,\n userDeptName: res.returnData.userDeptName,\n landAcreage: res.returnData.landAcreage,\n landUse: res.returnData.landUse,\n landType: res.returnData.landType,\n floorCount: res.returnData.floorCount\n };\n } else {\n _this6.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n // this.ruleForm = index\n },\n closeDialogDel: function closeDialogDel(val) {\n var _this7 = this;\n this.validation = false;\n var Content;\n if (this.office == \"添加\") {\n Content = {\n address: this.ruleForm.address,\n floorCount: this.ruleForm.floorCount,\n landAcreage: this.ruleForm.landAcreage,\n landName: this.ruleForm.landName,\n landUse: this.ruleForm.landUse,\n propertyName: this.ruleForm.propertyName,\n landType: this.ruleForm.landType,\n propertyPic: this.ruleForm.propertyPic,\n // typeValue:this.ruleForm.typeValue,\n userDeptName: this.ruleForm.userDeptName,\n userId: \"40\"\n // window.localStorage.getItem('landbaseimg')\n // propertyPicData:this.ruleForm.propertyPic\n };\n } else {\n Content = {\n id: this.row.id,\n address: this.ruleForm.address,\n floorCount: this.ruleForm.floorCount,\n landAcreage: this.ruleForm.landAcreage,\n landName: this.ruleForm.landName,\n landUse: this.ruleForm.landUse,\n propertyName: this.ruleForm.propertyName,\n landType: this.ruleForm.landType,\n propertyPic: this.ruleForm.propertyPic,\n // typeValue:this.ruleForm.typeValue,\n userDeptName: this.ruleForm.userDeptName,\n userId: \"40\"\n // propertyPicData:this.ruleForm.propertyPic\n };\n }\n console.log(Content, 666);\n if (val == 1) {\n var Contents = {\n id: this.row.id,\n userId: \"40\"\n };\n (0, _getdata.TDel)(Contents).then(function (res) {\n if (res.returnCode == \"1\") {\n _this7.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this7.createLoad();\n _this7.getDate();\n } else {\n _this7.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n _this7.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n });\n } else if (val == 2 || val == 3) {\n (0, _getdata.TSave)(Content).then(function (res) {\n // console.log(res,8888);\n if (res.returnCode == \"1\") {\n _this7.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n if (_this7.office == \"修改\") {\n _this7.page.limit = _this7.page.limit;\n _this7.createLoad();\n _this7.getDate();\n } else {\n _this7.clearLoad();\n _this7.getDate();\n }\n // this.getDate();\n } else {\n _this7.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n this.centerDialogVisible = false;\n }\n },\n handleModifyStatus: function handleModifyStatus(row) {\n this.completeTitle = \"删除\";\n this.nav = \"是否删除?\";\n this.validation = true;\n this.btn = 3;\n this.row = row;\n },\n handleDrag: function handleDrag() {\n // this.$refs.select.blur()\n },\n // 图片上传\n handleAvatarSuccess: function handleAvatarSuccess(res, file) {\n // console.log(11111)\n // console.log(res, 495);\n // this.imageUrl = URL.createObjectURL(file.raw);\n },\n beforeAvatarUpload: function beforeAvatarUpload(file) {\n // console.log(file, 123);\n // const isJPG = file.type === \"image/jpeg\";\n // const isLt2M = file.size / 1024 / 1024 < 2;\n // if (!isJPG) {\n // this.$message.error(\"上传头像图片只能是 JPG 格式!\");\n // }\n // if (!isLt2M) {\n // this.$message.error(\"上传头像图片大小不能超过 2MB!\");\n // }\n // return isJPG && isLt2M;\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 address: this.formInline.adr /**位置 */,\n landName: this.formInline.name /**土地房产名称 */,\n landUse: this.formInline.use /**用途 */,\n propertyName: this.formInline.owner /**产权人 */,\n landType: this.formInline.type /**类型code */,\n userDeptName: this.formInline.use_unit /**使用单位\t */\n }\n };\n // console.log(Content,'土地')\n (0, _getdata.TList)(Content).then(function (res) {\n console.log(res, 1037);\n if (res.returnCode == \"1\") {\n _this8.clearLoad();\n _this8.tableData = res.returnData.data;\n _this8.page.total = res.returnData.total;\n _this8.page.limit = res.returnData.currentPage;\n // this.property_pic = res.returnData.pic1\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 } else {\n _this8.$message({\n message: \"详情有误!\",\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]}