| | |
| | | import {approvalList} from "@/api/system/dept"; |
| | | |
| | | export default { |
| | | name: 'BasicInfo', |
| | | dicts: ['sys_funding_type', 'sys_investment_type', 'sys_project_type', 'sys_project_status', 'sys_competent_department' |
| | | , 'sys_administrative_divisions', 'sys_centralized_management', 'sys_approval_type', 'sys_key_categories', 'sys_annual_plan'], |
| | | components: { |
| | |
| | | this.approvalList = res.data; |
| | | }); |
| | | }, |
| | | submit() { |
| | | submit(usedStatus) { |
| | | this.$refs["projectForm"].validate(valid => { |
| | | if (valid) { |
| | | this.projectForm.usedStatus = usedStatus; |
| | | if (this.projectForm.id) { |
| | | updateProject(this.projectForm).then(response => { |
| | | this.$modal.msgSuccess("修改成功"); |