Commit 0f2d6a79 authored by 徐俊's avatar 徐俊

xujun

parent 60d5cf31
......@@ -6,6 +6,9 @@
<template slot="expertInfo" slot-scope="record">
<a-tag :color="record.expertType == 1 ? technology : finance">{{ record.expertType == 1 ? "技术专家" : "财务专家" }}</a-tag>
</template>
<template slot="spec" slot-scope="record">
<a-tag v-for="data in record.specList" :key="data.id" :color="'green'">{{data.specName+' '}}</a-tag>
</template>
</a-table>
</a-col>
</a-row>
......@@ -27,8 +30,9 @@ export default {
return {
tableData: [],
columns: [
{ title: '证件号', dataIndex: 'certId', align: 'center' },
// { title: '证件号', dataIndex: 'certId', align: 'center' },
{ title: '姓名', dataIndex: 'personName', align: 'center' },
{ title: "评审专业", scopedSlots: { customRender: 'spec' }, align: 'center' },
{ title: '单位', dataIndex: 'workUnit', align: 'center' },
{ title: "专家类型", scopedSlots: { customRender: 'expertInfo' }, align: 'center' },
{ title: '手机号', dataIndex: 'mobile', align: 'center' },
......@@ -48,7 +52,6 @@ export default {
this.$api.projectAssign.getAssignExpertList(pars).then(({ data = {} }) => {
if (data) {
this.tableData = data
console.log(this.tableData)
this.loading = false
}
}).catch(() => { })
......
......@@ -42,7 +42,7 @@
{{ record.projClass == 1 ? "一般项目" : "重点项目" }}
</template>
<template slot="option" slot-scope="record">
<a-button type="link" size="small" @click="deleteGroupProject(record)">删除</a-button>
<a-button type="link" size="small" @click="deleteGroupProject(record)">删除</a-button>
</template>
</a-table>
<a-pagination v-if="pagination.total > 0" :total="pagination.total" show-size-changer show-quick-jumper v-model="pagination.pageIndex" :page-size="pagination.pageSize" :page-size-options="pagination.pageSizeOptions" @showSizeChange="showSizeChange" @change="change" :showTotal="() => `共 ${pagination.total} 条`" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment