@@ -18,8 +18,12 @@ | |||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="启智项目名称" align="center" header-align="center" fixed min-width="150"> | <el-table-column label="启智项目名称" align="center" header-align="center" fixed min-width="150"> | ||||
<template slot-scope="scope"> | <template slot-scope="scope"> | ||||
<a target="_blank" :href="`/${scope.row.repo_owner_name}/${scope.row.repo_name}`">{{ | |||||
`${scope.row.repo_owner_name}/${scope.row.repo_name}` }}</a> | |||||
<span v-if="scope.row.status == 5"> | |||||
{{ `${scope.row.url.split('/')[3]}/${scope.row.url.split('/')[4]}` }} | |||||
</span> | |||||
<a v-else target="_blank" :href="`/${scope.row.repo_owner_name}/${scope.row.repo_name}`"> | |||||
{{ `${scope.row.repo_owner_name}/${scope.row.repo_name}` }} | |||||
</a> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column prop="name" label="科技项目名称" align="center" header-align="center" fixed | <el-table-column prop="name" label="科技项目名称" align="center" header-align="center" fixed | ||||
@@ -79,7 +79,7 @@ export default { | |||||
focusColor: 'rgb(255, 255, 255)', | focusColor: 'rgb(255, 255, 255)', | ||||
data: [], | data: [], | ||||
showData: [], | showData: [], | ||||
showMaxLen: 10, | |||||
showMaxLen: 20, | |||||
}, { | }, { | ||||
title: '申报年份', | title: '申报年份', | ||||
key: 'apply_year', | key: 'apply_year', | ||||
@@ -89,7 +89,7 @@ export default { | |||||
focusColor: 'rgb(255, 255, 255)', | focusColor: 'rgb(255, 255, 255)', | ||||
data: [], | data: [], | ||||
showData: [], | showData: [], | ||||
showMaxLen: 10, | |||||
showMaxLen: 20, | |||||
}], | }], | ||||
list_repo: [{ | list_repo: [{ | ||||
title: '关键词', | title: '关键词', | ||||
@@ -405,7 +405,7 @@ export default { | |||||
subData.uid = this.form.uid; | subData.uid = this.form.uid; | ||||
subData.alias = this.form.repo_alias; | subData.alias = this.form.repo_alias; | ||||
subData.repo_name = this.form.repo_name; | subData.repo_name = this.form.repo_name; | ||||
// subData.topics = [...this.form.topics]; | |||||
subData.topics = [...this.form.topics]; | |||||
subData.description = this.form.description.trim(); | subData.description = this.form.description.trim(); | ||||
subData.no = this.form.tech_obj.no; | subData.no = this.form.tech_obj.no; | ||||
subData.institution = this.form.institution.join(','); | subData.institution = this.form.institution.join(','); | ||||
@@ -10,8 +10,12 @@ | |||||
fixed></el-table-column> | fixed></el-table-column> | ||||
<el-table-column label="启智项目名称" align="center" header-align="center" fixed min-width="140"> | <el-table-column label="启智项目名称" align="center" header-align="center" fixed min-width="140"> | ||||
<template slot-scope="scope"> | <template slot-scope="scope"> | ||||
<a target="_blank" :href="`/${scope.row.repo_owner_name}/${scope.row.repo_name}`">{{ | |||||
`${scope.row.repo_owner_name}/${scope.row.repo_name}` }}</a> | |||||
<span v-if="scope.row.status == 5"> | |||||
{{ `${scope.row.url.split('/')[3]}/${scope.row.url.split('/')[4]}` }} | |||||
</span> | |||||
<a v-else target="_blank" :href="`/${scope.row.repo_owner_name}/${scope.row.repo_name}`"> | |||||
{{ `${scope.row.repo_owner_name}/${scope.row.repo_name}` }} | |||||
</a> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column prop="name" label="科技项目名称" align="center" header-align="center" fixed | <el-table-column prop="name" label="科技项目名称" align="center" header-align="center" fixed | ||||