{"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\\MajorProjectManagement\\PlanningReserve\\ReserveCreateEntry.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MajorProjectManagement\\PlanningReserve\\ReserveCreateEntry.vue","mtime":1741235516720},{"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/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 utils from '@/utils.js';\nimport apiList from '@/api/MajorProject';\nimport ProjectDialog from \"../ProjectDialog.vue\";\nimport synchronizationDialog from \"../synchronizationDialog.vue\";\nexport default {\n name: 'StartCreateEntry',\n components: {\n pagination: pagination,\n ProjectDialog: ProjectDialog,\n synchronizationDialog: synchronizationDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\n searchForm: {},\n loading: false,\n tableData: [],\n multipleSelection: [],\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'project_name_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'group_Name_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'unit_Name_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'year(create_time_)',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'project_Field_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'project_Runway_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'project_Type_',\n relation: 'AND',\n value: 3\n }, {\n group: 'main',\n operation: 'LIKE',\n property: 'project_Category_',\n relation: 'AND',\n value: ''\n }]\n }\n };\n },\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {},\n methods: {\n // 同步\n synchronization: function synchronization() {\n this.$refs.synchronizationDialog.add(3);\n },\n handleLock: function handleLock() {\n var _this = 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 apiList.projectAdjustById(_this.multipleSelection, function (res) {\n if (res.state) {\n _this.$message.success('项目状态修改成功');\n\n _this.getData();\n }\n });\n });\n },\n selectHandle: function selectHandle(row) {\n if (!row.status) {\n return true;\n }\n },\n // 试点层级筛选\n handleCommand: function handleCommand(command, typeIndex) {\n this.querys[typeIndex].value = command;\n this.handleSearch(1);\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n handleSearch: function handleSearch(page) {\n if (page) {\n this.queryParam.pageBean.page = page;\n }\n\n this.getData();\n },\n //获取数据\n getData: function getData() {\n var _this2 = this;\n\n this.loading = true;\n this.tableData = [];\n apiList.getMajorProjectData(this.queryParam, function (res) {\n if (res.rows) {\n _this2.tableData = res.rows;\n _this2.queryParam.pageBean.page = res.page;\n _this2.queryParam.pageBean.total = res.total; // this.$set(this.tableData)\n\n _this2.loading = false;\n }\n });\n },\n //删除\n handleDelete: function handleDelete() {\n var _this3 = this;\n\n this.$confirm(this.$t('common.sureDelete'), this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n apiList.deleteTableData(_this3.multipleSelection, function (res) {\n if (res.state) {\n _this3.$message.success('删除成功');\n\n _this3.getData();\n }\n });\n }).catch(function () {});\n },\n //新增 修改 查看详情\n handleDbClick: function handleDbClick(title, data) {\n this.$refs.majorProjectsDialog.openDialog(title, data);\n },\n //下发\n handleDetailsk: function handleDetailsk(data) {\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: 'warning'\n }).then(function () {\n _this4.markLoading = true;\n data.status = 1;\n apiList.majorProjectUpdate(data, function (res) {\n if (res.state) {\n _this4.$message.success('下发成功');\n }\n\n _this4.markLoading = false;\n });\n });\n },\n //表格选中\n handleSelectionChange: function handleSelectionChange(val) {\n var _this5 = this;\n\n this.multipleSelection = [];\n this.$refs.multipleSelection.selection.forEach(function (item) {\n _this5.multipleSelection.push(item.id);\n });\n console.log(this.multipleSelection);\n },\n //展示数量\n handleSizeChange: function handleSizeChange(val) {\n this.queryParam.pageBean.pageSize = val;\n this.handleSearch(1);\n },\n //表格页数\n handleCurrentChange: function handleCurrentChange(val) {\n this.queryParam.pageBean.page = val;\n this.handleSearch(val);\n },\n // 撤回\n createReport: function createReport(row) {\n var _this6 = this;\n\n this.$confirm(\"\\u786E\\u8BA4\\u64A4\\u56DE\\u5417\\uFF1F\", '提示', {\n confirmButtonText: '确认',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n _this6.markLoading = true;\n var data = {\n id: row.id,\n status: 0\n };\n apiList.updateCreateById(data, function (res) {\n if (res.state) {\n _this6.$message.success(\"\\u64A4\\u56DE\\u6210\\u529F\");\n\n row.status = 0;\n }\n\n _this6.markLoading = false;\n });\n });\n }\n }\n};",null]}