|
@@ -2,7 +2,7 @@
|
|
|
<div class="app-container">
|
|
|
<el-tabs v-model="paneName">
|
|
|
<el-tab-pane label="基础资料" name="basic">
|
|
|
- <div v-if="canReTender && failStatus == 0" class="top-right-btn">
|
|
|
+ <div v-if="canReTender && failStatus == 0 && checkRole(['purchaser'])" class="top-right-btn">
|
|
|
<el-button type="primary" @click="reTender(1)">重新招标</el-button>
|
|
|
<el-button @click="over">返回</el-button>
|
|
|
</div>
|
|
@@ -81,6 +81,8 @@ import { getPlanProfileByAid } from "@/api/system/planprofile"
|
|
|
import TenderDetails from '@/components/tender/tenderDetails.vue'
|
|
|
// import DeviceDetails from '@/components/device/deviceDetails.vue'
|
|
|
import CompPlanDetails from './components/CompPlanDetails.vue'
|
|
|
+import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
|
+
|
|
|
export default {
|
|
|
components: {
|
|
|
CompPlanDetails,
|
|
@@ -119,6 +121,7 @@ export default {
|
|
|
this.getData()
|
|
|
},
|
|
|
methods: {
|
|
|
+ checkRole,
|
|
|
over () {
|
|
|
this.$router.go(-1);
|
|
|
},
|