|
|
@@ -81,7 +81,7 @@
|
|
|
<div class="notice-card">
|
|
|
<div class="card-header">
|
|
|
<span class="title"><i class="title-bar"></i>专属平台采购公告</span>
|
|
|
- <el-button type="primary" link>更多</el-button>
|
|
|
+ <el-button type="primary" link @click="onPath('/enterprise/purchasePlan')">更多</el-button>
|
|
|
</div>
|
|
|
<div class="notice-list">
|
|
|
<div v-for="(item, index) in noticeList" :key="index" class="notice-item">
|
|
|
@@ -92,6 +92,7 @@
|
|
|
</div>
|
|
|
<div class="notice-date">{{ item.date }}</div>
|
|
|
</div>
|
|
|
+ <el-empty v-if="noticeList.length === 0" description="暂无采购公告" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -137,6 +138,7 @@ import { getEnterpriseInfo } from '@/api/pc/enterprise';
|
|
|
import { getAnnouncementList } from '@/api/pc/system/announcement';
|
|
|
import { getServicePersons } from '@/api/pc/enterprise/servicePerson';
|
|
|
import { ElMessage } from 'element-plus';
|
|
|
+import { onPath } from '@/utils/siteConfig';
|
|
|
|
|
|
const router = useRouter();
|
|
|
const activeTab = ref('companyInfo');
|