@@ -89,7 +89,7 @@ | |||
icon="el-icon-edit" | |||
type="primary" | |||
:underline="false" | |||
:disabled="user.user.deptId == detail.leaderDept || user.user.deptId == detail.cooperateDept || user.user.deptId == detail.otherDept" | |||
:disabled="user.user.deptId != 1 && user.user.deptId != detail.leaderDept" | |||
>修改</el-link | |||
> | |||
<el-popconfirm | |||
@@ -102,6 +102,7 @@ | |||
icon="el-icon-delete" | |||
type="danger" | |||
:underline="false" | |||
:disabled="user.user.deptId != 1 && user.user.deptId != detail.leaderDept" | |||
>删除</el-link | |||
> | |||
</el-popconfirm></span |
@@ -91,7 +91,7 @@ | |||
<pre>{{ row.cooperateDeptList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" align="center" min-width="120"> | |||
<el-table-column label="操作" align="center" min-width="120" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row, true)" |
@@ -66,7 +66,7 @@ | |||
align="center" | |||
prop="createTime" | |||
></el-table-column> | |||
<el-table-column label="操作" min-width="120" align="center"> | |||
<el-table-column label="操作" min-width="120" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row)" |
@@ -95,7 +95,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="170" align="center"> | |||
<el-table-column label="操作" width="170" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row)" | |||
@@ -103,6 +103,7 @@ | |||
type="primary" | |||
:underline="false" | |||
:disabled="row.isApply || !row.id" | |||
fixed="right" | |||
>申请成为配合部门</el-link | |||
> | |||
</template> |
@@ -83,7 +83,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="170" align="center"> | |||
<el-table-column label="操作" width="170" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row)" | |||
@@ -91,6 +91,7 @@ | |||
type="primary" | |||
:underline="false" | |||
:disabled="row.isApply || !row.id" | |||
fixed="right" | |||
>申请成为配合部门</el-link | |||
> | |||
</template> |
@@ -95,7 +95,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="170" align="center"> | |||
<el-table-column label="操作" width="170" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row)" | |||
@@ -103,6 +103,7 @@ | |||
type="primary" | |||
:underline="false" | |||
:disabled="row.isApply || !row.id" | |||
fixed="right" | |||
>申请成为配合部门</el-link | |||
> | |||
</template> |
@@ -113,7 +113,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="125" align="center"> | |||
<el-table-column label="操作" width="125" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row, true)" |
@@ -100,7 +100,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="125" align="center"> | |||
<el-table-column label="操作" width="125" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row, true)" |
@@ -113,7 +113,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="125" align="center"> | |||
<el-table-column label="操作" width="125" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<el-link | |||
@click="edit(row, true)" |
@@ -111,7 +111,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="100" align="center"> | |||
<el-table-column label="操作" width="100" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<!-- <router-link | |||
:to="{ name: 'segmentation', params: { id:row.basicTaskId, type: 1 } }" |
@@ -100,7 +100,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="100" align="center"> | |||
<el-table-column label="操作" width="100" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<!-- <router-link | |||
:to="{ |
@@ -111,7 +111,7 @@ | |||
<pre>{{ row.cooperatePrincipalList | formatList }}</pre> | |||
</template> | |||
</el-table-column> | |||
<el-table-column label="操作" width="100" align="center"> | |||
<el-table-column label="操作" width="100" align="center" fixed="right"> | |||
<template slot-scope="{ row }"> | |||
<!-- <router-link | |||
:to="{ |
@@ -134,8 +134,9 @@ | |||
type="primary" | |||
:underline="false" | |||
@click="edit(row)" | |||
:disabled="!row.id" | |||
:disabled="!row.id || (user.user.deptId != 1 && user.user.deptId != row.leaderDept)" | |||
icon="el-icon-edit" | |||
fixed="right" | |||
>编辑</el-link | |||
> | |||
</template> | |||
@@ -421,7 +422,7 @@ export default { | |||
this.$store.dispatch("base/getPrincipalList"); | |||
}, | |||
computed: { | |||
...mapGetters(["formatDep", "principalList", "department"]), | |||
...mapGetters(["formatDep", "principalList", "department", "user"]), | |||
}, | |||
filters: { | |||
formatList(val) { |
@@ -123,8 +123,9 @@ | |||
type="primary" | |||
:underline="false" | |||
@click="edit(row)" | |||
:disabled="!row.id" | |||
:disabled="!row.id || (user.user.deptId != 1 && user.user.deptId != row.leaderDept)" | |||
icon="el-icon-edit" | |||
fixed="right" | |||
>编辑</el-link | |||
> | |||
</template> | |||
@@ -410,7 +411,7 @@ export default { | |||
this.$store.dispatch("base/getPrincipalList"); | |||
}, | |||
computed: { | |||
...mapGetters(["formatDep", "principalList", "department"]), | |||
...mapGetters(["formatDep", "principalList", "department", "user"]), | |||
}, | |||
filters: { | |||
formatList(val) { |
@@ -134,8 +134,9 @@ | |||
type="primary" | |||
:underline="false" | |||
@click="edit(row)" | |||
:disabled="!row.id" | |||
:disabled="!row.id || (user.user.deptId != 1 && user.user.deptId != row.leaderDept)" | |||
icon="el-icon-edit" | |||
fixed="right" | |||
>编辑</el-link | |||
> | |||
</template> | |||
@@ -422,7 +423,7 @@ export default { | |||
this.$store.dispatch("base/getPrincipalList"); | |||
}, | |||
computed: { | |||
...mapGetters(["formatDep", "principalList", "department"]), | |||
...mapGetters(["formatDep", "principalList", "department", "user"]), | |||
}, | |||
filters: { | |||
formatList(val) { |