Browse Source

科技项目

2023
chenshihai 2 years ago
parent
commit
56510bc84a
4 changed files with 15 additions and 7 deletions
  1. +6
    -2
      web_src/vuepages/pages/tech/adminview/index.vue
  2. +2
    -2
      web_src/vuepages/pages/tech/components/Filters.vue
  3. +1
    -1
      web_src/vuepages/pages/tech/create/index.vue
  4. +6
    -2
      web_src/vuepages/pages/tech/myview/index.vue

+ 6
- 2
web_src/vuepages/pages/tech/adminview/index.vue View File

@@ -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


+ 2
- 2
web_src/vuepages/pages/tech/components/Filters.vue View File

@@ -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: '关键词',


+ 1
- 1
web_src/vuepages/pages/tech/create/index.vue View File

@@ -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(',');


+ 6
- 2
web_src/vuepages/pages/tech/myview/index.vue View File

@@ -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


Loading…
Cancel
Save