|
@@ -93,10 +93,10 @@
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="two_1">
|
|
<el-col :span="24" class="two_1">
|
|
- <span>技术领域:</span>{{ getDict(item.field || '暂无技术领域', 'field') }}
|
|
|
|
|
|
+ <span>行业领域:</span>{{ getDict(item.field || '暂无技术领域', 'field') }}
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="two_1">
|
|
<el-col :span="24" class="two_1">
|
|
- <span>成果地区:</span>{{ getArea(item.area) }}
|
|
|
|
|
|
+ <span>项目地区:</span>{{ getArea(item.area) }}
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="two_1">
|
|
<el-col :span="24" class="two_1">
|
|
<span>单位:</span>{{ item.user || '暂无单位' }}
|
|
<span>单位:</span>{{ item.user || '暂无单位' }}
|
|
@@ -137,10 +137,8 @@ import { get } from 'lodash-es'
|
|
const $checkRes = inject('$checkRes')
|
|
const $checkRes = inject('$checkRes')
|
|
// 接口
|
|
// 接口
|
|
import { ProjectStore } from '@/store/api/platform/project'
|
|
import { ProjectStore } from '@/store/api/platform/project'
|
|
-import { AchievementStore } from '@/store/api/platform/achievement'
|
|
|
|
import { DictDataStore } from '@/store/api/system/dictData'
|
|
import { DictDataStore } from '@/store/api/system/dictData'
|
|
const store = ProjectStore()
|
|
const store = ProjectStore()
|
|
-const achievementStore = AchievementStore()
|
|
|
|
const dictDataStore = DictDataStore()
|
|
const dictDataStore = DictDataStore()
|
|
import { UserStore } from '@/store/user'
|
|
import { UserStore } from '@/store/user'
|
|
const userStore = UserStore()
|
|
const userStore = UserStore()
|
|
@@ -185,7 +183,7 @@ const searchAchieve = async (query = { skip: 0, limit }) => {
|
|
is_use: '0',
|
|
is_use: '0',
|
|
status: '1'
|
|
status: '1'
|
|
}
|
|
}
|
|
- const res = await achievementStore.query(info)
|
|
|
|
|
|
+ const res = await store.query(info)
|
|
if (res.errcode == '0') {
|
|
if (res.errcode == '0') {
|
|
list.value = res.data
|
|
list.value = res.data
|
|
total.value = res.total
|
|
total.value = res.total
|
|
@@ -238,7 +236,7 @@ const toCollection = () => {
|
|
}
|
|
}
|
|
// 查看
|
|
// 查看
|
|
const toView = (item) => {
|
|
const toView = (item) => {
|
|
- router.push({ path: '/achievement/detail', query: { id: item.id || item._id } })
|
|
|
|
|
|
+ router.push({ path: '/project/detail', query: { id: item.id || item._id } })
|
|
}
|
|
}
|
|
const currentPage = ref(1)
|
|
const currentPage = ref(1)
|
|
// 分页
|
|
// 分页
|
|
@@ -438,6 +436,7 @@ const sizeChange = (limits) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.bottom {
|
|
.bottom {
|
|
|
|
+ margin: 10px 0 0 0;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
}
|