| | |
| | | <template v-if="item.slotName === 'planStartTime'"> |
| | | {{ scope.row.planStartTime ? scope.row.planStartTime.split('-')[0] + '年' : '' }} |
| | | </template> |
| | | <!-- usedStatus插槽 --> |
| | | <template v-if="item.slotName === 'usedStatus'"> |
| | | <dict-tag :options="dict.type.sys_used_status" :value="scope.row.usedStatus"/> |
| | | </template> |
| | | </template> |
| | | <!-- 默认显示 --> |
| | | <span v-else>{{ scope.row[item.id] }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column v-if="this.$route.query.projectCategory==6" label="审核备注" width="140" align="center" prop="remark"/> |
| | | <!-- 操作列 --> |
| | | <el-table-column label="操作" width="140" align="center"> |
| | | <template slot-scope="scope"> |
| | |
| | | </el-button> |
| | | <el-button |
| | | v-if="isReserve" |
| | | v-hasRole="['user']" |
| | | size="medium" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | |
| | | export default { |
| | | dicts: ['sys_administrative_divisions', 'sys_investment_type', 'sys_project_phases', |
| | | 'sys_funding_type', 'sys_association_status', 'sys_project_status', 'sys_project_code', |
| | | 'sys_project_tags', 'sys_key_categories', 'sys_project_type'], |
| | | 'sys_project_tags', 'sys_key_categories', 'sys_project_type','sys_used_status'], |
| | | name: "ProjectInfo", |
| | | components: { |
| | | FileDialog |
| | |
| | | created() { |
| | | this.queryParams.importanceType = this.$route.query.importanceType; |
| | | const projectCategory = this.$route.query.projectCategory; |
| | | if (!projectCategory || projectCategory === '1') { |
| | | if (!projectCategory || projectCategory === '1' || projectCategory === '6') { |
| | | this.isReserve = true; |
| | | } |
| | | if (projectCategory) { |
| | |
| | | }, |
| | | handleDetail(row) { |
| | | this.removeStore(); |
| | | this.$router.push({path: '/projectEngineering/project/ProjectDetails', query: {projectId: row.id,disabled: 'true' }}); |
| | | const audit = this.$route.query.projectCategory==='6'? 1:0 |
| | | this.$router.push({path: '/projectEngineering/project/ProjectDetails', query: {projectId: row.id,disabled: 'true',audit: audit }}); |
| | | }, |
| | | // 新增页面 |
| | | add() { |