Compare commits
No commits in common. '4569477128ba1fd63cd71867fb2b747e2c0a08bd' and '322892892d632c436f9c64ad63b890a108fef8c1' have entirely different histories.
4569477128
...
322892892d
5 changed files with 29 additions and 263 deletions
@ -1,42 +0,0 @@ |
||||
import { defHttp } from '/@/utils/http/axios'; |
||||
|
||||
// 获取仪器列表 |
||||
export function getindexcomp(params) { |
||||
return defHttp.request({ |
||||
url: '/instrument/instrument/listcms', |
||||
method: 'GET', |
||||
params, |
||||
}); |
||||
} |
||||
// 获取仪器详情 |
||||
export function getindexnew(params) { |
||||
return defHttp.request({ |
||||
url: '/instrument/instrument/queryByIdCms', |
||||
method: 'GET', |
||||
params, |
||||
}); |
||||
} |
||||
// 获取学科领域 |
||||
export function getindexsubject() { |
||||
return defHttp.request({ |
||||
url: '/disciplinefieid/disciplineFieid/listcms', |
||||
method: 'GET', |
||||
|
||||
}); |
||||
} |
||||
// 获取仪器分类 |
||||
export function getindexclass() { |
||||
return defHttp.request({ |
||||
url: '/instrumenttype/instrumentType/listcms', |
||||
method: 'GET', |
||||
|
||||
}); |
||||
} |
||||
// 获取创新券列表 |
||||
export function getindexaward(params) { |
||||
return defHttp.request({ |
||||
url: '/innovationvoucher/innovationVoucher/listcms', |
||||
method: 'GET', |
||||
params, |
||||
}); |
||||
} |
@ -1,59 +0,0 @@ |
||||
<template> |
||||
<div class="container"> |
||||
<a-table :dataSource="indexaward" :columns="columns" > |
||||
<template v-if="columns.Key === 'setting'"> |
||||
<div> |
||||
111 |
||||
</div> |
||||
</template> |
||||
</a-table> |
||||
</div> |
||||
</template> |
||||
|
||||
<script setup> |
||||
import { ref } from 'vue'; |
||||
|
||||
const columns = [ |
||||
{ |
||||
title: '申报项目名称', |
||||
dataIndex: 'proName', |
||||
key: 'proName', |
||||
}, |
||||
{ |
||||
title: '申报类别', |
||||
dataIndex: 'state_dictText', |
||||
key: 'state_dictText', |
||||
}, |
||||
{ |
||||
title: '申请金额', |
||||
dataIndex: 'proMoney', |
||||
key: 'proMoney', |
||||
}, |
||||
{ |
||||
title: '创新券编码', |
||||
dataIndex: 'cxqCode', |
||||
key: 'cxqCode', |
||||
}, |
||||
{ |
||||
title: '操作', |
||||
dataIndex: '', |
||||
key: 'setting', |
||||
}, |
||||
]; |
||||
const indexaward = ref([]); |
||||
const getindexawardEvent = async () => { |
||||
console.log(111); |
||||
|
||||
fetch(import.meta.env.VITE_GLOB_API_URL_CXQ + '/innovationvoucher/innovationVoucher/listcms') |
||||
.then((res) => res.json()) |
||||
.then((res) => (indexaward.value = res.result.records)); |
||||
}; |
||||
getindexawardEvent(); |
||||
</script> |
||||
|
||||
<style scoped lang="less"> |
||||
.container { |
||||
width: 1200px; |
||||
margin: 0 auto; |
||||
} |
||||
</style> |
Loading…
Reference in new issue