Commit c37f34ba authored by 徐俊's avatar 徐俊

xujun

parent ce5a9b10
...@@ -47,7 +47,12 @@ ...@@ -47,7 +47,12 @@
</template> </template>
<template slot="assignInfo" slot-scope="record"> <template slot="assignInfo" slot-scope="record">
<a-tag v-if="!record.expertList||record.expertList.length===0" :color="'red'">未分配</a-tag> <a-tag v-if="!record.expertList||record.expertList.length===0" :color="'red'">未分配</a-tag>
<a-tag v-else v-for="data in record.expertList" :key="data.id" :color="data.expertType == 1 ? technology : finance" @click="evaluationView(data)">{{data.personName}}</a-tag> <a-tooltip v-else v-for="data in record.expertList" :key="data.id" placement="topLeft">
<template slot="title">
<span>{{ data.workUnit }}</span>
</template>
<a-tag :color="data.expertType == 1 ? technology : finance" @click="evaluationView(data)">{{data.personName}}</a-tag>
</a-tooltip>
</template> </template>
<template slot="option" slot-scope="record"> <template slot="option" slot-scope="record">
<a-button type="link" size="small" @click="recordClick(record, 'edit')">修改</a-button> <a-button type="link" size="small" @click="recordClick(record, 'edit')">修改</a-button>
...@@ -89,7 +94,7 @@ ...@@ -89,7 +94,7 @@
</template> </template>
<project-select-into-group v-model="groupId" @close="closeProjectIntoGroupWindow" ref="childEdit"></project-select-into-group> <project-select-into-group v-model="groupId" @close="closeProjectIntoGroupWindow" ref="childEdit"></project-select-into-group>
</a-modal> </a-modal>
<a-modal v-model="projDetailVisible" title="项目组明细" width="95%" :dialog-style="{ top: '8%' }" :footer="null" class="custom-modal" destroyOnClose> <a-modal v-model="projDetailVisible" :title="projectGroupTitle" width="95%" :dialog-style="{ top: '8%' }" :footer="null" class="custom-modal" destroyOnClose>
<group-detail v-model="groupId" @close="() => this.projDetailVisible = false" /> <group-detail v-model="groupId" @close="() => this.projDetailVisible = false" />
</a-modal> </a-modal>
</div> </div>
...@@ -162,7 +167,7 @@ export default { ...@@ -162,7 +167,7 @@ export default {
projectIntoGroupVisible: false, projectIntoGroupVisible: false,
projectIntoGroupTitle: null, projectIntoGroupTitle: null,
technology: "#2db7f5", technology: "#2db7f5",
finance: "#f50", finance: "#87d068",
}; };
}, },
created () { created () {
......
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