{"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\\BigScreen\\components\\subComponents\\selectProjectDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\selectProjectDialog.vue","mtime":1728675691515},{"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/es6.array.find\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 apiLsit from '@/api/effect';\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nimport { type } from 'jquery';\nvar portal = window.context.portal;\nexport default {\n name: 'selectProjectDialog',\n components: {\n pagination: pagination\n },\n data: function data() {\n return {\n loading: false,\n activeName: '1',\n reqLoading: false,\n markLoading: false,\n visible: false,\n tabsOptions: [{\n name: '加快实施一批',\n type: 1\n }, {\n name: '准备启动一批',\n type: 2\n }, {\n name: '谋划储备一批',\n type: 3\n }],\n projectType: 1,\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 20\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: '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 },\n tableData: [],\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n currentRow: {},\n projectId: ''\n };\n },\n created: function created() {},\n methods: {\n handleCurrentChange1: function handleCurrentChange1(currentRow, oldCurrentRow) {\n this.currentRow = currentRow;\n },\n open: function open(id) {\n this.projectId = id || '';\n this.visible = true;\n this.getTableData();\n },\n getTableData: function getTableData() {\n var _this = this;\n\n this.loading = true;\n this.tableData = [];\n var data = JSON.parse(JSON.stringify(this.queryParam));\n\n if (this.projectType === 1) {\n apiLsit.getQuickenData(data, function (res) {\n _this.pageResult.total = res.total;\n _this.tableData = res.rows || [];\n\n _this.$nextTick(function () {\n var obj = _this.tableData.find(function (item) {\n return item.id === _this.projectId;\n });\n\n _this.$refs.myTable.setCurrentRow(obj);\n });\n\n _this.loading = false;\n });\n } else {\n data.querys.push({\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'project_Type_',\n relation: 'AND',\n value: this.projectType\n });\n apiLsit.getTwoBatchesData(data, function (res) {\n _this.pageResult.total = res.total;\n _this.tableData = res.rows || [];\n\n _this.$nextTick(function () {\n var obj = _this.tableData.find(function (item) {\n return item.id === _this.projectId;\n });\n\n _this.$refs.myTable.setCurrentRow(obj);\n });\n\n _this.loading = false;\n });\n }\n },\n handleClick: function handleClick(e) {\n if (e !== this.projectType) {\n this.projectType = e;\n this.queryParam = {\n pageBean: {\n page: 1,\n pageSize: 20\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: '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 };\n this.getTableData();\n }\n },\n handlSaveUpdate: function handlSaveUpdate() {\n var _this$currentRow = this.currentRow,\n id = _this$currentRow.id,\n projectName = _this$currentRow.projectName;\n this.$emit('handleCurrentChange1', {\n projectId: id,\n projectName: projectName\n });\n this.handleClose();\n },\n handleSearch: function handleSearch() {\n this.getTableData();\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.queryParam.pageBean.page = page;\n this.getTableData();\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.queryParam.pageBean.pageSize = pageSize;\n this.getTableData();\n },\n // 关闭新增人员窗口\n handleClose: function handleClose() {\n this.projectType = 1;\n this.tableData = [];\n this.queryParam = {\n pageBean: {\n page: 1,\n pageSize: 20\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: '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 };\n this.currentRow = {};\n this.visible = false;\n }\n }\n};",null]}