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

1 line
16 KiB
JSON

{"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\\estate\\examine\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\estate\\examine\\index.vue","mtime":1737610069418},{"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 \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.number.constructor\";\nimport _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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport Paging from \"@/views/Public/paging.vue\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nimport Addchange from \"@/views/estate/examine/dialog/addChange.vue\";\nimport { WyList, ChangeMonth, UpdateMonth, EndPenF } from \"@/api/getdata\";\nexport default {\n components: {\n Addchange: Addchange,\n Paging: Paging,\n Popup: Popup\n },\n data: function data() {\n var _ref3;\n return _ref3 = {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n validation: false,\n completeTitle: \"结束\",\n btns: 3,\n nav: \"确认结束?\",\n type: \"1\" /*判断类型 */,\n flag: false /*添加弹窗 */,\n property: \"\" /* 物业公司 */,\n kaoMonth: \"\" /* 考核月份 */,\n gradePing: \"\" /* 评分 */,\n tableCols: [_defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"150\",\n prop: \"code\",\n label: \"序号\",\n align: \"center\"\n }, \"minWidth\", \"140\"), _defineProperty({\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"compony\",\n label: \"考核物业公司\"\n }, \"minWidth\", \"110\"), {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"month\",\n label: \"考核月份\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"houqinzongwuchu\",\n label: \"后勤总务处\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"houqinbaoweichu\",\n label: \"后勤保卫处\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"houqinguanlichu\",\n label: \"后勤管理处\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"houqinjijianchu\",\n label: \"后勤小型基建处\",\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"houqincaiwuchu\",\n label: \"后勤机关财务处\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"110\",\n prop: \"houqinzonghechu\",\n label: \"后勤综合处\",\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"avgscore\",\n label: \"平均分\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"Idea\",\n label: \"整改意见反馈表\",\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"120\",\n prop: \"Zchange\",\n label: \"整改通知单\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"110\",\n prop: \"STATUS\",\n label: \"状态\",\n align: \"left\"\n }, {\n type: \"normal\",\n is_show: true,\n minWidth: \"220\",\n prop: \"Operate\",\n label: \"操作\"\n }],\n tableData: [],\n tableData2: [{\n Order: \"1\",\n Name: \"中兴物业\",\n Month: \"2019年3月\",\n houqinjijianchu: \"点击评分\",\n Logistics_gl: \"点击评分\",\n Logistics_jjc: \"点击评分\",\n Logistics_cwc: \"点击评分\",\n Logistics_hqc: \"点击评分\",\n Average: \"0\",\n Idea: \"点击评分\",\n Zchange: \"点击评分\",\n Status: \"进行中\",\n Operate: false,\n Operates: false\n }, {\n Order: \"2\",\n Name: \"中兴物业\",\n Month: \"2019年2月\",\n Logistics_hq: \"98\",\n houqinjijianchu: \"0\",\n Logistics_jjc: \"点击评分\",\n Logistics_cwc: \"98\",\n Logistics_hqc: \"98\",\n Average: \"98\",\n Idea: \"点击评分\",\n Zchange: \"点击评分\",\n Status: \"进行中\",\n Operate: false,\n Operates: false\n }, {\n Order: \"3\",\n Name: \"中兴物业\",\n Month: \"2019年1月\",\n Logistics_hq: \"98\",\n Logistics_gl: \"98\",\n Logistics_jjc: \"98\",\n Logistics_cwc: \"98\",\n Logistics_hqc: \"98\",\n Average: \"98\",\n Idea: \"点击评分\",\n Zchange: \"点击评分\",\n Status: \"已结束\",\n Operate: true,\n Operates: true\n }],\n detailPing: false /* 判断评分组件 */\n }, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, \"row\", {}), \"page\", {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n }), \"options\", [{\n value: \"选项1\",\n label: \"人事部\"\n }, {\n value: \"选项2\",\n label: \"后勤部\"\n }, {\n value: \"选项3\",\n label: \"安保部\"\n }, {\n value: \"选项4\",\n label: \"技术部\"\n }, {\n value: \"选项5\",\n label: \"工程部\"\n }]), \"options1\", [{\n value: \"选项1\",\n label: \"已同意\"\n }, {\n value: \"选项2\",\n label: \"已拒绝\"\n }, {\n value: \"选项3\",\n label: \"待授权\"\n }]), \"part\", \"\"), \"input\", \"\"), \"visitedDeptName\", \"\"), \"visitedPersonTel\", \"\"), \"visitTime\", \"\"), \"visitorName\", \"\"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, \"visitorTel\", \"\"), \"state\", \"\"), \"value1\", \"\"), \"value2\", \"\");\n },\n created: function created() {\n // if (window.ActiveXObject || \"ActiveXObject\" in window){\n // // console.log(111111)\n // return true;\n // }else{\n // // console.log(222222)\n // return false;\n // }\n /**注 */\n // this.tableData = this.tableData2;\n // this.page.total = this.tableData2.length;\n // this.getDate(1);\n },\n mounted: function mounted() {\n this.createLoad();\n /**开 */\n // console.log(this.$route.params.index,222)\n if (this.$route.params.index) {\n // this.page.limit = this.$route.params.index;\n this.currentChanges(Number(this.$route.params.index));\n } else {\n this.getlist();\n }\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 /**查询 */search: function search() {\n this.createLoad();\n this.page.limit = 1;\n this.getlist();\n },\n /**结束 */endOne: function endOne(row) {\n this.completeTitle = \"结束\";\n this.nav = \"确认结束?\";\n this.row = row;\n this.validation = true;\n },\n closeEnd: function closeEnd(val) {\n var _this = this;\n if (val == 1) {\n var Content = {\n id: this.row.id\n };\n EndPenF(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this.createLoad();\n _this.getlist();\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n } else {\n // console.log(11111);\n }\n this.validation = false;\n },\n /* 点击后勤xxx点击评分 */PinfenChange: function PinfenChange(index, row, name) {\n // console.log(name,index,305)\n\n // if(index!=='0'){\n\n // }\n /**name id index判断是否有数据 */\n // /* name为传给子组件用来判断为后勤xxx */\n var names;\n if (name == \"houqinbaoweichu\") {\n names = \"后勤保卫处\";\n } else if (name == \"houqincaiwuchu\") {\n names = \"后勤机关财务处\";\n } else if (name == \"houqinguanlichu\") {\n names = \"后勤管理处\";\n } else if (name == \"houqinjijianchu\") {\n names = \"后勤小型基建处\";\n } else if (name == \"houqinzongwuchu\") {\n names = \"后勤总务处\";\n } else if (name == \"houqinzonghechu\") {\n names = \"后勤综合处\";\n }\n this.$router.push({\n name: \"index1\",\n params: {\n setli: index,\n row: row,\n names: names,\n limit: this.page.limit\n }\n });\n window.localStorage.setItem(\"pfsetli\", index);\n window.localStorage.setItem(\"pfrow\", JSON.stringify(row));\n window.localStorage.setItem(\"pfnames\", names);\n window.localStorage.setItem(\"pflimit\", this.page.limit);\n\n // this.detailPing = true\n },\n /*点击整改 */Zchange: function Zchange(name, row) {\n /*判断当前为整改意见/整改通知单 */\n if (name === \"Idea\") {\n // params:{date:row.month}\n this.$router.push({\n name: \"index2\",\n params: {\n row: row,\n index: this.page.limit\n }\n });\n window.localStorage.setItem(\"zgyindex\", this.page.limit);\n window.localStorage.setItem(\"zgyjname\", \"index2\");\n window.localStorage.setItem(\"zgyjrow\", JSON.stringify(row));\n } else if (name === \"Zchange\") {\n // params:{smonth:row.month}\n this.$router.push({\n name: \"index3\",\n params: {\n row: row,\n index: this.page.limit\n }\n });\n window.localStorage.setItem(\"zgtindex\", this.page.limit);\n window.localStorage.setItem(\"zgtzname\", \"index3\");\n window.localStorage.setItem(\"zgtzrow\", JSON.stringify(row));\n }\n },\n /*添加考核月份 */addMonth: function addMonth() {\n this.flag = true;\n this.type = \"1\";\n },\n /*修改考核月份 */xChange: function xChange(row) {\n // this.completeTitle = \"修改\";\n // this.nav = \"是否修改?\";\n this.type = \"2\";\n this.flag = true;\n this.row = row;\n },\n /*关闭组件弹窗 */closeDialog: function closeDialog(val) {\n var _this2 = this;\n this.flag = false;\n var Content;\n if (val) {\n /**1 add */\n if (this.type == \"1\") {\n Content = {\n month: val ? val.khMonth : \"\",\n compony: val ? val.name : \"\"\n };\n ChangeMonth(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this2.createLoad();\n _this2.getlist();\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n } else {\n Content = {\n _month: val ? val.khMonth : \"\",\n id: this.row.id,\n compony: val ? val.name : \"\"\n };\n UpdateMonth(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n // console.log(res.returnData,888)\n // this.tableData = res.returnData.data;\n // this.page.total = res.returnData.total;\n\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this2.createLoad();\n _this2.getlist();\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\n // }\n }\n },\n currentChanges: function currentChanges(val) {\n this.page.limit = val;\n this.createLoad();\n this.getlist(val);\n },\n gradePingChange: function gradePingChange() {\n // console.log(1111111)\n // if (/^\\d*$/g.test(this.gradePing)) {\n // console.log(333333)\n // this.validation = false;\n // } else {\n // console.log(2222222)\n // this.validation = true;\n // this.nav = \"评分请输入数字!\";\n // this.completeTitle = \"\";\n // this.btns = 2;\n // }\n },\n getlist: function getlist() {\n var _this3 = this;\n var Content = {\n currentPage: this.page.limit == \"0\" ? 1 : this.page.limit,\n queryObj: {\n avgScore: this.gradePing,\n company: this.property,\n month: this.kaoMonth\n }\n };\n if (/^\\d*$/g.test(this.gradePing)) {\n // console.log(333333);\n this.validation = false;\n } else {\n // console.log(2222222);\n this.validation = true;\n this.nav = \"评分请输入数字!\";\n this.completeTitle = \"警告\";\n this.btns = 2;\n this.clearLoad();\n }\n // debugger\n\n if (!this.validation) {\n WyList(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this3.clearLoad();\n _this3.tableData = res.returnData.data;\n _this3.page.total = res.returnData.total;\n _this3.page.limit = res.returnData.currentPage;\n if (_this3.page.total == 0) {\n _this3.$message({\n message: \"当前无数据\",\n type: \"success\"\n });\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n }\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n });\n }\n } // handleClick(row) {\n // const id = 111;\n // console.log(111, row);\n // this.$router.push({ path: `/details/${id}` });\n // }\n }\n};",null]}