|
@@ -182,7 +182,12 @@
|
|
|
>开启评卷</el-button
|
|
|
>
|
|
|
</el-dropdown-item>
|
|
|
- <el-dropdown-item v-if="scope.row.status == 1">
|
|
|
+ <el-dropdown-item
|
|
|
+ v-if="
|
|
|
+ scope.row.status == 1 &&
|
|
|
+ currentPagePrivileges.APPEND_TASK
|
|
|
+ "
|
|
|
+ >
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
size="mini"
|
|
@@ -306,7 +311,10 @@
|
|
|
<script>
|
|
|
import { mapState } from "vuex";
|
|
|
import { MARKING_API, MARKING_LOGIC_API } from "@/constants/constants";
|
|
|
+import pagePrivilege from "../../oe/mixin/pagePrivilege.js";
|
|
|
+
|
|
|
export default {
|
|
|
+ mixins: [pagePrivilege],
|
|
|
data() {
|
|
|
return {
|
|
|
formSearch: {
|
|
@@ -359,6 +367,7 @@ export default {
|
|
|
closeClickModal: false,
|
|
|
saveLoading: false,
|
|
|
oldWorkName: "",
|
|
|
+ currentPagePrivileges: { APPEND_TASK: false },
|
|
|
};
|
|
|
},
|
|
|
computed: {
|