{"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\\SixthConferenceImplementation\\projectCreated.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\SixthConferenceImplementation\\projectCreated.vue","mtime":1740106413624},{"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//\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport utils from '@/utils.js';\nimport projectsAPI from '@/api/SixthConferenceImplementation/index.js';\nimport projectsDialog from \"./components/projectsDialog.vue\";\nexport default {\n name: 'projectCreated',\n components: {\n pagination: pagination,\n projectsDialog: projectsDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\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: 'EQUAL',\n parentGroup: '',\n property: 'project_type_',\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: 'LIKE',\n parentGroup: '',\n property: 'group_name_',\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 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 handleLock: function handleLock() {\n var _this = this;\n\n this.$confirm(this.$t('确认调整选中的项目吗?'), this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n _this.markLoading = true;\n\n var ids = _this.multipleSelection.join(',');\n\n projectsAPI.projectAdjustment(ids).then(function (res) {\n if (res.state) {\n _this.$message.success('项目调整成功');\n }\n\n _this.markLoading = false;\n });\n });\n },\n selectHandle: function selectHandle(row) {\n return true;\n\n if (row.sendStatus != 1) {\n return true;\n }\n },\n // 下发状态筛选\n handleCommand: function handleCommand(command) {\n this.querys[4].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 _this2 = this;\n\n this.queryParam.querys = [];\n this.querys.forEach(function (item) {\n if (item.value !== undefined) {\n _this2.queryParam.querys.push(item);\n }\n });\n\n if (page) {\n this.queryParam.pageBean.page = page;\n }\n\n this.getData();\n },\n // 下发\n handlePublish: function handlePublish(data) {\n var _this3 = this;\n\n this.$confirm(this.$t('确认下发选中数据吗?'), this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n _this3.markLoading = true;\n projectsAPI.publishPorject([data]).then(function (res) {\n _this3.markLoading = false;\n\n _this3.getData();\n });\n });\n },\n //获取数据\n getData: function getData() {\n var _this4 = this;\n\n this.loading = true;\n this.tableData = [];\n projectsAPI.getProject(this.queryParam).then(function (res) {\n if (res.rows) {\n _this4.tableData = res.rows;\n _this4.queryParam.pageBean.page = res.page;\n _this4.queryParam.pageBean.total = res.total;\n\n _this4.$set(_this4.tableData);\n\n _this4.loading = false;\n }\n });\n },\n //添加\n handleAdd: function handleAdd() {\n this.$refs.ProjectsDialog.add();\n },\n //删除\n handleDelete: function handleDelete() {\n var _this5 = 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: 'error'\n }).then(function () {\n _this5.markLoading = true;\n\n var ids = _this5.multipleSelection.join(',');\n\n projectsAPI.delDataByIds(ids).then(function (res) {\n if (res.state) {\n _this5.$notify({\n type: 'success',\n message: '删除成功',\n duration: 2000\n });\n\n _this5.getData();\n }\n\n _this5.markLoading = false;\n });\n }).catch(function () {});\n },\n //修改\n handleDbClick: function handleDbClick(data, title) {\n this.$refs.ProjectsDialog.edit(data, title);\n },\n //详情\n handleDetailsk: function handleDetailsk(data, type) {\n this.$refs.ProjectsDialog.detail(data, type);\n },\n //表格选中\n handleSelectionChange: function handleSelectionChange(val) {\n var _this6 = this;\n\n this.multipleSelection = [];\n this.$refs.multipleSelection.selection.forEach(function (item) {\n _this6.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]}