|
|
@ -14,7 +14,6 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<template slot="position" slot-scope="text, record"> |
|
|
|
|
|
|
|
<span v-if=" record.position === 0">功能食品协同创新中心</span> |
|
|
|
<span v-if=" record.position === 1">现代医药</span> |
|
|
|
<span v-if=" record.position === 2">生物医学工程</span> |
|
|
@ -25,11 +24,20 @@ |
|
|
|
<template slot="dealStatus" slot-scope="text, record"> |
|
|
|
<!-- <a-tag |
|
|
|
:color="record.dealStatus === 1 ? 'blue' : 'red'" |
|
|
|
>{{ record.dealStatus === 0 ? '未审核' : '不通过' }}</a-tag> --> |
|
|
|
>{{ record.dealStatus === 0 ? '未审核' : '不通过' }}</a-tag>--> |
|
|
|
|
|
|
|
<a-tag :color="record.dealStatus === 1 ? 'blue' : 'red'" v-if=" record.dealStatus === 0">未审核</a-tag> |
|
|
|
<a-tag :color="record.dealStatus === 1 ? 'blue' : 'red'" v-if=" record.dealStatus === 1">通过</a-tag> |
|
|
|
<a-tag :color="record.dealStatus === 1 ? 'blue' : 'red'" v-if=" record.dealStatus === 2">未通过</a-tag> |
|
|
|
<a-tag |
|
|
|
:color="record.dealStatus === 1 ? 'blue' : 'red'" |
|
|
|
v-if=" record.dealStatus === 0" |
|
|
|
>未审核</a-tag> |
|
|
|
<a-tag |
|
|
|
:color="record.dealStatus === 1 ? 'blue' : 'red'" |
|
|
|
v-if=" record.dealStatus === 1" |
|
|
|
>通过</a-tag> |
|
|
|
<a-tag |
|
|
|
:color="record.dealStatus === 1 ? 'blue' : 'red'" |
|
|
|
v-if=" record.dealStatus === 2" |
|
|
|
>未通过</a-tag> |
|
|
|
</template> |
|
|
|
|
|
|
|
<!-- 说明图片 --> |
|
|
@ -56,8 +64,8 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import SpinOffEdit from "components/SpinOff/SpinOffEdit.vue"; |
|
|
|
import {getCreatingPlatformDelete} from "config/api" |
|
|
|
import SpinOffEdit from 'components/SpinOff/SpinOffEdit.vue'; |
|
|
|
import { getCreatingPlatformDelete } from 'config/api'; |
|
|
|
|
|
|
|
const columns = [ |
|
|
|
{ |
|
|
@ -122,7 +130,7 @@ const columns = [ |
|
|
|
align: 'center', |
|
|
|
dataIndex: 'dealStatus', |
|
|
|
key: 'dealStatus', |
|
|
|
scopedSlots: { customRender: 'dealStatus' }, |
|
|
|
scopedSlots: { customRender: 'dealStatus' }, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '编辑', |
|
|
@ -135,26 +143,26 @@ const columns = [ |
|
|
|
|
|
|
|
const lists = [ |
|
|
|
{ |
|
|
|
id:'001', |
|
|
|
logo:'assets/logo.png', |
|
|
|
companyName:'传控科技', |
|
|
|
englishName:'ckkj', |
|
|
|
id: '001', |
|
|
|
logo: 'assets/logo.png', |
|
|
|
companyName: '传控科技', |
|
|
|
englishName: 'ckkj', |
|
|
|
}, |
|
|
|
{ |
|
|
|
id:'002', |
|
|
|
logo:'assets/logo.png', |
|
|
|
companyName:'中绿环保', |
|
|
|
englishName:'zlhb', |
|
|
|
} |
|
|
|
id: '002', |
|
|
|
logo: 'assets/logo.png', |
|
|
|
companyName: '中绿环保', |
|
|
|
englishName: 'zlhb', |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "SpinOffDate", |
|
|
|
name: 'SpinOffDate', |
|
|
|
components: { |
|
|
|
SpinOffEdit, |
|
|
|
}, |
|
|
|
|
|
|
|
props: { lists: { type: Array, default: () => [] }, pagination: { type: Object, default: () => {} } }, |
|
|
|
props: { lists: { type: Array, default: () => [] }, pagination: { type: Object, default: () => {} } }, |
|
|
|
|
|
|
|
data() { |
|
|
|
this.cacheData = lists.map(item => ({ ...item })); |
|
|
@ -164,7 +172,7 @@ export default { |
|
|
|
height: '', |
|
|
|
editVisible: false, |
|
|
|
imgVisible: false, |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
@ -172,11 +180,11 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
showEditModal(){ |
|
|
|
showEditModal() { |
|
|
|
this.editVisible = true; |
|
|
|
}, |
|
|
|
|
|
|
|
closeModal(){ |
|
|
|
closeModal() { |
|
|
|
this.editVisible = false; |
|
|
|
}, |
|
|
|
|
|
|
@ -205,7 +213,7 @@ export default { |
|
|
|
|
|
|
|
<style lang="stylus" scoped> |
|
|
|
.main .img { |
|
|
|
width: 100%; |
|
|
|
height: 65px; |
|
|
|
} |
|
|
|
|
|
|
|
.main .big_img { |
|
|
|