Browse Source

2025-07-09

BM 按钮授权没有生效
master
fengyuan_yang 6 months ago
parent
commit
ac1be2dd07
  1. 22
      src/views/modules/sampleManagement/technicalSpecificationList.vue

22
src/views/modules/sampleManagement/technicalSpecificationList.vue

@ -114,13 +114,21 @@
fixed="right"
label="操作">
<template slot-scope="scope">
<!-- <a type="text" size="small" @click="addRevModel(scope.row)" v-if="scope.row.statusDesc!=='已完成'">升版</a>-->
<a type="text" size="small" v-if="scope.row.statusDesc === '已完成' || scope.row.statusDesc === '已升版' || scope.row.statusDesc === 'Dead'" @click="jumpDetail(scope.row)">详情</a>
<a type="text" size="small" v-if="scope.row.statusDesc !== '已完成' && scope.row.statusDesc !== '已升版' && scope.row.statusDesc !== 'Dead'" @click="jumpDetail(scope.row)">修改</a>
<!-- <a type="text" size="small" @click="addOrUpdateHandle(scope.row.id)" v-if="scope.row.statusDesc!=='已完成'">修改</a>-->
<a type="text" size="small" @click="deleteData(scope.row)" v-if="scope.row.status === 'cg'">删除</a>
<a type="text" size="small" v-if="scope.row.status === 'cg'" @click="issueModal(scope.row)">下达</a>
<!-- <a type="text" size="small" v-if="scope.row.statusDesc!=='已升版'" @click="copyBM(scope.row)">拷贝</a>-->
<!-- <a type="text" size="small" @click="addRevModel(scope.row)" v-if="scope.row.statusDesc!=='已完成'">升版</a>-->
<!-- <a type="text" size="small" @click="addOrUpdateHandle(scope.row.id)" v-if="scope.row.statusDesc!=='已完成'">修改</a>-->
<!-- <a type="text" size="small" v-if="scope.row.statusDesc!=='已升版'" @click="copyBM(scope.row)">拷贝</a>-->
<template v-if="isAuth('103002:details')">
<el-link style="cursor: pointer" v-if="scope.row.statusDesc === '已完成' || scope.row.statusDesc === '已升版' || scope.row.statusDesc === 'Dead'" @click="jumpDetail(scope.row)">详情</el-link>
</template>
<template v-if="isAuth('103002:revise')">
<el-link style="cursor: pointer" v-if="scope.row.statusDesc !== '已完成' && scope.row.statusDesc !== '已升版' && scope.row.statusDesc !== 'Dead'" @click="jumpDetail(scope.row)">修改</el-link>
</template>
<template v-if="isAuth('103002:remove')">
<el-link style="cursor: pointer" v-if="scope.row.status === 'cg'" @click="deleteData(scope.row)" >删除</el-link>
</template>
<template v-if="isAuth('103002:issue')">
<el-link style="cursor: pointer" v-if="scope.row.status === 'cg'" @click="issueModal(scope.row)">下达</el-link>
</template>
<el-dropdown trigger="click">
<el-link style="cursor: pointer;font-size: 12px">
更多

Loading…
Cancel
Save