{"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\\MajorReformProjects\\ProjectCreate\\ProjectCreationEntry.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MajorReformProjects\\ProjectCreate\\ProjectCreationEntry.vue","mtime":1683192779286},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 dictUtils from '@/components/dict/DictSelectUtils.js';\nimport utils from '@/utils.js';\nimport majorProjects from '@/api/MajorReformProjects/majorProjects.js';\nimport MajorProjectsDialog from \"./components/MajorProjectsDialog.vue\";\nexport default {\n name: 'ProjectCreationEntry',\n components: {\n pagination: pagination,\n MajorProjectsDialog: MajorProjectsDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n searchForm: {},\n loading: false,\n tableData: [],\n multipleSelection: [],\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: 'leader_',\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: 'BETWEEN',\n parentGroup: '',\n property: 'create_time_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'send_status_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'closing_',\n relation: 'AND',\n value: ''\n }],\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n }\n };\n },\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {},\n methods: {\n selectHandle: function selectHandle(row) {\n if (row.closing == 1) {\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 var _this = this;\n\n this.queryParam.querys = [];\n this.querys.forEach(function (item) {\n if (item.value !== undefined) {\n _this.queryParam.querys.push(item);\n }\n });\n\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 majorProjects.pageQuery(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;\n\n _this2.$set(_this2.tableData);\n\n _this2.loading = false;\n }\n });\n },\n //添加\n handleAdd: function handleAdd() {\n this.$refs.majorProjectsDialog.add();\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 majorProjects.delDate(_this3.multipleSelection, function (res) {\n if (res.state) {\n _this3.$notify({\n type: 'success',\n message: '删除成功',\n duration: 2000\n });\n }\n\n _this3.getData();\n });\n }).catch(function () {});\n },\n //关闭项目\n handleLock: function handleLock() {\n var _this4 = this;\n\n this.$confirm('确定关闭选中项目吗?', '提示', {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n var data = '';\n\n _this4.multipleSelection.map(function (item) {\n data += \"ids=\".concat(item, \"&\");\n });\n\n data = data.slice(0, data.length - 1);\n majorProjects.lockProject(data, function (res) {\n if (res.state) {\n _this4.$notify({\n type: 'success',\n message: '关闭成功',\n duration: 2000\n });\n }\n\n _this4.getData();\n });\n }).catch(function () {});\n },\n //修改\n handleDbClick: function handleDbClick(data, type) {\n this.$refs.majorProjectsDialog.edit(data.id, type);\n },\n //详情\n handleDetailsk: function handleDetailsk(data, type) {\n this.$refs.majorProjectsDialog.detail(data.id, type);\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 },\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};",null]}