{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\dailyMaintenance\\MainAssessment.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\dailyMaintenance\\MainAssessment.vue","mtime":1667326394857},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.map\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\nimport _defineProperty from \"D:/jenkins/workspace/yhxt-web/node_modules/@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 routerInfoSelector from '@/components/selector/routerInfoSelector.vue';\nimport basicData from '@/api/basicData.js';\nimport companyInfoSelector from '@/components/selector/companyInfoSelector.vue';\nimport sctionInfoSelector from '@/components/selector/sctionInfoSelector.vue';\n\nvar ImgPreviewUpload = function ImgPreviewUpload() {\n return import('@/components/common/ImgPreviewUpload.vue');\n};\n\nexport default {\n components: {\n routerInfoSelector: routerInfoSelector,\n ImgPreviewUpload: ImgPreviewUpload,\n companyInfoSelector: companyInfoSelector,\n sctionInfoSelector: sctionInfoSelector\n },\n data: function data() {\n var _ref;\n\n return _ref = {\n roadData: [],\n searchForm: {},\n data: [],\n pageResult: {\n page: 1,\n pageSize: 50,\n total: 0\n },\n form: {},\n dialogVisible: false,\n activeNames: ['1', '2', '3', '4']\n }, _defineProperty(_ref, \"form\", {\n billOfQuantities: [],\n contract: {},\n defaultBpmCheckOpinion: {},\n disease: {},\n workOrderInformation: {}\n }), _defineProperty(_ref, \"tableData\", []), _defineProperty(_ref, \"isshow\", false), _defineProperty(_ref, \"contractInfoList\", []), _defineProperty(_ref, \"cbkm\", []), _defineProperty(_ref, \"options\", []), _ref;\n },\n created: function created() {\n // console.log((this.row = this.$route.params.row), 'dddddddddddd')\n this.getTypeOptions();\n this.getContractId();\n this.roadData = this.getroad();\n },\n methods: {\n getroad: function getroad() {\n var arr = [];\n basicData.getRoadManagement().then(function (res) {\n res.rows.forEach(function (item) {\n arr.push({\n value: item.name,\n key: item.id\n });\n });\n console.log(arr, '12');\n });\n return arr;\n },\n //获取合同信息\n getContractId: function getContractId() {\n var _this = this;\n\n basicData.getDailyMaintenanceontract().then(function (res) {\n _this.contractInfoList = res.rows;\n });\n },\n getDiseaseName: function getDiseaseName() {\n var _this2 = this;\n\n var arr = [];\n basicData.getCostAccountManagement(this.form.workOrderInformation.categoryId).then(function (res) {\n if (res.data.length > 0) {\n res.data.forEach(function (item) {\n if (item.pcode == _this2.form.workOrderInformation.categoryId) {\n arr.push({\n label: item.subjectName,\n value: item.subjectCode\n });\n }\n\n _this2.cbkm = arr;\n });\n }\n });\n },\n //获取类型数据\n getTypeOptions: function getTypeOptions() {\n var _this3 = this;\n\n if (this.options.length == 0) {\n var data = 'CBKM';\n basicData.getCostAccountManagement(data).then(function (res) {\n res.data.forEach(function (item) {\n _this3.options.push({\n label: item.subjectName,\n value: item.subjectCode\n });\n });\n });\n }\n },\n handleEdit: function handleEdit(data) {\n var _this4 = this;\n\n this.dialogVisible = true;\n var id = data.workOrderInformation.id;\n this.$http.get('${yhxt}/workOrderInformation/v1/getVo/' + id).then(function (res) {\n var obj = {\n billOfQuantities: [],\n contract: {},\n defaultBpmCheckOpinion: {},\n workOrderInformation: {}\n };\n _this4.form = _objectSpread(_objectSpread({}, obj), res.data);\n _this4.tableData = _this4.form.billOfQuantities;\n\n if (_this4.form.diseases) {\n _this4.isshow = true;\n }\n\n _this4.getDiseaseName();\n\n console.log(_this4.form);\n });\n },\n handleClose: function handleClose() {\n this.dialogVisible = false;\n this.isshow = false;\n },\n handleCancel: function handleCancel() {\n this.dialogVisible = false;\n },\n beforeCloseDialog: function beforeCloseDialog() {\n this.dialogVisible = false;\n },\n showDialog: function showDialog() {\n this.$router.go(-1);\n },\n uniqueFunc: function uniqueFunc(arr, uniId) {\n var res = new Map();\n return arr.filter(function (item) {\n return !res.has(item[uniId]) && res.set(item[uniId], 1);\n });\n },\n findinfo: function findinfo() {\n var _this5 = this;\n\n typeof this.$refs.filterTable !== 'undefined' && this.$refs.filterTable.clearFilter();\n var row = this.$route.params.row.curingAssessment;\n var data = {\n pageBean: {\n page: 1,\n pageSize: 20,\n showTotal: true\n },\n params: {\n startTime: row.startDate,\n endTime: row.endDate,\n roadId: this.searchForm.roadSegmentName\n }\n };\n this.$http.post('${yhxt}/workOrderInformation/v1/getWorkOrder', data).then(function (res) {\n // console.log(res)\n var data = res.data;\n _this5.pageResult = {\n page: data.page,\n pageSize: data.pageSize,\n total: data.total\n };\n _this5.data = data.rows;\n });\n },\n loadData: function loadData(param, cb) {\n var _this6 = this;\n\n var row = this.$route.params.row.curingAssessment;\n var query = [{\n group: 'advance',\n operation: 'LIKE',\n property: 'start_date_',\n relation: 'AND',\n value: row.startDate\n }, {\n group: 'advance',\n operation: 'LIKE',\n property: 'end_date_',\n relation: 'AND',\n value: row.endDate\n }];\n var data = {\n pageBean: {\n page: 1,\n pageSize: 20,\n showTotal: true\n },\n params: {\n startDate: row.startDate,\n endDate: row.endDate\n }\n };\n this.$http.post('${yhxt}/workOrderInformation/v1/getWorkOrder', data).then(function (resp) {\n var data = resp.data;\n _this6.pageResult = {\n page: data.page,\n pageSize: data.pageSize,\n total: data.total\n };\n _this6.data = data.rows;\n }, function (error) {\n reject(error);\n }).finally(function () {\n if (cb) {\n cb();\n }\n });\n }\n }\n};",null]}