mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
-- fix 项目任务 管理查看权限
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btnss" style="margin-top: 20px" v-if="checkPer(permissions,createId)">
|
||||
<div class="btn btn1" style="margin-right: 20px; cursor: pointer">
|
||||
<div class="img1"></div>
|
||||
<div class="wz">导出数据</div>
|
||||
@@ -117,6 +117,7 @@ import EHWork from "./ExportHWork.vue"
|
||||
import EScore from "./ExportScore.vue"
|
||||
import WorkDetail from "../drawers/WorkDetail.vue";
|
||||
import * as api from "../../api/index";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
export default {
|
||||
name: "WorkManage",
|
||||
components: {
|
||||
@@ -125,6 +126,14 @@ export default {
|
||||
EScore,
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
Wvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -420,6 +429,7 @@ export default {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
closeDrawer,
|
||||
checkPer,
|
||||
afterVisibleChange,
|
||||
showEHWorkModal,
|
||||
showEScoreModal,
|
||||
|
||||
Reference in New Issue
Block a user