hz-zhhq-web/node_modules/.cache/babel-loader/4815503d095d23ffbb836ffeb50...

1 line
9.7 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\\thread-loader\\dist\\cjs.js!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\\approve\\hair-cut\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\approve\\hair-cut\\index.vue","mtime":1737610069403},{"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\\thread-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":["import _defineProperty from \"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport { lfyu,\n// GzApplicList,\n// GzAcceptList,\n// StopcarList,\nChangeList as _ChangeList, GetBmList } from \"@/api/getdata\";\nimport Paging from \"@/views/Public/paging.vue\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n components: {\n Paging: Paging,\n Popup: Popup\n },\n data: function data() {\n return {\n btn: 3,\n iscontinue: false,\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n options: [] /**拜访部门 */,\n typeOption: [] /**状态 */,\n row: {},\n validation: false,\n completeTitle: \"接受\",\n nav: \"是否接受?\",\n formInline: {\n state: \"\",\n applyDateTime: \"\",\n applyPersonName: \"\",\n applyPersonTel: \"\",\n barberName: \"\",\n barbershopArea: \"\",\n deptId: \"\",\n haircutType: \"\"\n },\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n value1: \"\",\n value2: \"\",\n tableData: [],\n tableCols: [_defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"80\",\n prop: \"code\",\n label: \"序号\",\n align: \"center\"\n }, \"minWidth\", \"140\"), _defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"barbershop\",\n label: \"理发地点\"\n }, \"minWidth\", \"110\"), {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"dept_name\",\n label: \"部门\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"apply_person_name\",\n label: \"联系人\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"apply_person_tel\",\n label: \"联系方式\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"apply_time\",\n label: \"预约时间\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"haircut_type_name\",\n label: \"理发类型\",\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"barber_name\",\n label: \"理发师\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"110\",\n prop: \"satisfied_level\",\n label: \"满意度\",\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"comment_content\",\n label: \"评价内容\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"apply_date_time\",\n label: \"申请日期\",\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"ststus_value\",\n label: \"状态\"\n }]\n };\n },\n created: function created() {\n // this.page.total = this.tableData.length;\n // this.getDate(1);\n },\n mounted: function mounted() {\n this.createLoad();\n this.ChangeList();\n this.getbmlist();\n this.getlist();\n },\n methods: {\n mouseoverSpan: function mouseoverSpan(e) {\n if (e.target.scrollWidth > e.target.offsetWidth) {\n e.target.setAttribute('class', 'cell-box span-overflow');\n }\n },\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 ChangeList: function ChangeList() {\n var _this = this;\n var Content = {\n dataType: \"harircutType\"\n };\n _ChangeList(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this.typeOption = res.returnData;\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n getbmlist: function getbmlist() {\n var _this2 = this;\n GetBmList().then(function (res) {\n if (res.returnCode == \"1\") {\n _this2.options = res.returnData;\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n handleClick: function handleClick(row) {\n this.row = row;\n this.validation = true;\n this.btn = '3';\n // console.log(row)\n // row.state = '已同意'\n },\n /**接受 */closeDialog: function closeDialog(val) {\n var _this3 = this;\n // console.log(val, \"1111\");\n\n var Content = {\n _status: \"11\",\n id: this.row.id,\n applyType: \"05\"\n };\n if (val == 1) {\n GzAcceptList(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this3.createLoad();\n _this3.getlist();\n }\n }).catch(function (err) {\n console.log(\"error\");\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n });\n this.validation = false;\n } else {\n this.validation = false;\n }\n },\n onSubmit: function onSubmit() {\n var chinese = /^[\\u4e00-\\u9fa5]+$/;\n var englist = /^[a-zA-Z]+$/;\n this.iscontinue = false;\n if (chinese.test(this.formInline.applyPersonName) || englist.test(this.formInline.applyPersonName) || this.formInline.applyPersonName == \"\") {\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.getlist();\n }\n },\n // 分页\n currentChanges: function currentChanges(val) {\n this.page.limit = val;\n this.createLoad();\n this.getlist(val);\n },\n getlist: function getlist() {\n var _this4 = this;\n var Content = {\n currentPage: this.page.limit,\n queryObj: {\n _status: this.formInline.state,\n applyDateTime: this.formInline.applyDateTime ? this.formInline.applyDateTime : \"\",\n applyPersonName: this.formInline.applyPersonName,\n applyPersonTel: this.formInline.applyPersonTel,\n barberName: this.formInline.barberName,\n barbershopArea: this.formInline.barbershopArea,\n deptId: this.formInline.deptId,\n haircutType: this.formInline.haircutType,\n userId: \"40\" /**用户名id */\n }\n };\n lfyu(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this4.clearLoad();\n // console.log(res.returnData,888)\n _this4.tableData = res.returnData.data;\n _this4.page.total = res.returnData.total;\n _this4.page.limit = res.returnData.currentPage;\n if (_this4.page.total == 0) {\n _this4.$message({\n message: \"当前无数据\",\n type: \"success\"\n });\n } else {\n _this4.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n }\n } else {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this4.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n });\n }\n }\n};",null]}