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