{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\performanceEvaluation\\cityReformSchoolEntry.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\performanceEvaluation\\cityReformSchoolEntry.vue","mtime":1735293085851},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\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 _defineProperty from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport \"core-js/modules/web.dom.iterable\";\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//\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nimport effectDialog from \"./dialog/effectDialog.vue\";\nimport apiLsit from '@/api/effect';\nvar portal = window.context.portal;\nexport default {\n name: 'cityReformSchoolEntry',\n components: {\n pagination: pagination,\n effectDialog: effectDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n tableMaxHeight: 400,\n loading: false,\n tableLoading: false,\n tableData: [],\n multipleSelection: [],\n params: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n querys: [{\n group: 'main',\n operation: 'IN',\n property: 'r.effect_Form_',\n relation: 'AND',\n value: [1, 2]\n }]\n },\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n searchForm: {},\n // 顶部搜索对象\n deleteIds: '',\n // 是否选中列表解锁删除按钮\n isAppear: false,\n markLoading: false\n };\n },\n created: function created() {\n this.loadData(this.params);\n },\n methods: {\n selectable: function selectable(row) {\n return row.status % 2 === 0;\n },\n getTagType: function getTagType(status) {\n return status < 1 ? 'info' : status == 7 ? 'success' : status % 2 === 0 ? 'danger' : '';\n },\n //获取数据\n loadData: function loadData(params) {\n var _this = this;\n\n this.tableLoading = true;\n apiLsit.getCItyTableData(false, '', params, function (res) {\n _this.tableLoading = false;\n _this.tableData = res.rows || [];\n _this.pageResult = {\n page: res.page,\n pageSize: res.pageSize,\n total: res.total\n };\n });\n },\n refreshData: function refreshData() {\n this.loadData(this.params);\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n //添加\n handleAdd: function handleAdd() {\n this.$refs.effectDialog.openDialog('', '新增', '市级');\n },\n handleDetail: function handleDetail(row) {\n this.$refs.effectDialog.openDialog(row, '详情', '市级');\n },\n //修改\n handleDbClick: function handleDbClick(row) {\n this.$refs.effectDialog.openDialog(row, '编辑', '市级');\n },\n // 驳回\n handleUpdateStatus: function handleUpdateStatus(row, status) {\n var _this2 = this;\n\n var msg = status ? '提交上报' : '撤回为草稿';\n var type = status ? 'success' : 'error';\n this.$confirm(\"\\u786E\\u5B9A\".concat(msg, \"\\u5417\\uFF1F\"), this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: type\n }).then(function () {\n _this2.markLoading = true;\n var data = {\n effectId: row.id,\n id: row.effectivenessId,\n status: status\n };\n\n if (!status) {\n data.approvalResults = 2;\n }\n\n apiLsit.updateSatusById(data, function (res) {\n if (res.state) {\n _this2.$message.success(\"\".concat(msg, \"\\u6210\\u529F\"));\n\n _this2.loadData(_this2.params);\n }\n\n _this2.markLoading = false;\n });\n });\n },\n // 删除子表数据\n handleDelete_: function handleDelete_(id) {\n var _this3 = this;\n\n this.$confirm('确定删除此数据', this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n _this3.loading = true;\n req.remove(portal + '/bizEffectEffectiveness/v1/?ids=' + id).then(function (res) {\n _this3.loading = false;\n _this3.dialog.visible = false;\n\n _this3.loadData(_this3.params);\n });\n });\n },\n // 删除主表数据\n handleDelete: function handleDelete(id) {\n var _this4 = this;\n\n this.$confirm('确定删除此数据', this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'error'\n }).then(function () {\n // this.loading = true\n req.remove(portal + '/fill/bizCityEffectDryingCompetition/v1/?ids=' + _this4.deleteIds).then(function (res) {\n _this4.$message.success('数据删除成功'); // this.loading = false\n // this.dialog.visible = false\n\n\n _this4.loadData(_this4.params);\n });\n });\n },\n // 上报\n handleAppear: function handleAppear() {\n var _this5 = this;\n\n this.$confirm('确认上报吗?', this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n _this5.isAppear = true;\n _this5.loading = true;\n var data = _this5.dialogForm.records[0];\n data.status = 1;\n req.post(portal + '/bizEffectDryingCompetition/v1/updateAuditStatus', data).then(function (res) {\n if (res.data.state) {\n _this5.$message.success('上报成功');\n\n _this5.dialog.visible = false;\n } else {\n _this5.$message.error('上报失败');\n }\n\n _this5.loading = false;\n _this5.dialog.visible = false;\n\n _this5.loadData(_this5.params);\n });\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n var obj = this.searchForm;\n var querys = [{\n group: 'main',\n operation: 'IN',\n property: 'r.effect_Form_',\n relation: 'AND',\n value: [1, 2]\n }];\n\n for (var i in obj) {\n if (obj[i]) {\n querys.push({\n group: 'main',\n operation: i == 'effectCardTopic' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n\n this.params.querys = querys;\n this.params.pageBean.page = 1;\n this.loadData(this.params);\n },\n // 弹层关闭\n handleDialogClose: function handleDialogClose() {\n this.dialog.visible = false;\n },\n handleSelectionChange: function handleSelectionChange(currentData) {\n console.log(currentData);\n if (currentData.length === 0) return this.deleteIds = '';\n var ids = [];\n currentData.forEach(function (item) {\n ids.push(item.id);\n });\n this.deleteIds = ids.join(',');\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n page: page\n });\n this.loadData(this.params);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n pageSize: pageSize\n });\n this.loadData(this.params);\n }\n }\n};",null]}