| | |
| | | <script> |
| | | import {listInfo, getInfo, delInfo, addInfo, updateInfo} from "@/api/projectInfo"; |
| | | import {current, currentRest} from '@/views/projectEngineering/projectLibrary/list'; |
| | | import FileDialog from '@/views/projectEngineering/component/FileDialog'; |
| | | import FileDialog from '@/views/projectEngineering/projectLibrary/component/FileDialog'; |
| | | |
| | | export default { |
| | | dicts: ['sys_administrative_divisions', 'sys_investment_type', 'sys_project_phases', |
| | |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | // 新增页面 |
| | | add() { |
| | | this.$router.push({ path: '/projectEngineering/project/projectDetails' }); |
| | | }, |
| | | // 重置排序的方法 |
| | | handleResetSort() { |
| | | this.defaultColumns = currentRest.map((item, index) => { |
| | |
| | | item.serialNumber = index + 1 |
| | | return item; |
| | | }); |
| | | //强制table渲染 |
| | | this.tableKey = this.tableKey +1; |
| | | }, |
| | | // 更新列的方法 |
| | | handleUpdateColumns(row) { |