| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <template>
- <div class='flex flex-justify-start full-height'>
- <div class="full-height">
- <left-bar :id="id"/>
- </div>
- <div class="full-height full-width white-bg padding-left padding-top" style="margin-left: 300px">
- <proinfo v-if="type === 0" :data="data"/>
- <right2 v-else/>
- </div>
- </div>
- </template>
- <route>
- {
- name:'项目详情',
- }
- </route>
- <script>
- import leftBar from './component/left_bar.vue'
- import proinfo from './component/proinfo.vue'
- import right2 from './component/right2.vue'
- export default {
- name: 'test',
- components: {leftBar, proinfo, right2},
- data() {
- return {
- type: 0,
- id: '',
- data: {},
- list: null
- }
- },
- created() {
- this.id = this.$route.query.id
- this.proInfo()
- this.issueList()
- },
- methods: {
- proInfo() {
- this.$api.project.projectInfo(this.id).then(res => {
- if (res.code === 200) {
- this.data = res.data
- }
- })
- },
- issueList() {
- this.$api.project.issuanceDetail({projectId: this.id}).then(res => {
- if (res.code === 200) {
- this.list = res.data
- console.log(this.list)
- }
- })
- },
- }
- }
- </script>
- <style scoped>
- </style>
|