|
@@ -38,10 +38,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="image-title">{{ paper.title }}</div>
|
|
<div class="image-title">{{ paper.title }}</div>
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- v-if="IS_MARK_LEADER && showStandardPaperManage"
|
|
|
|
- class="image-action"
|
|
|
|
- >
|
|
|
|
|
|
+ <div v-if="canEditStandard" class="image-action">
|
|
<Button
|
|
<Button
|
|
type="error"
|
|
type="error"
|
|
size="small"
|
|
size="small"
|
|
@@ -145,6 +142,14 @@ export default {
|
|
...mapState("marker", ["IS_MARK_LEADER", "paramsSet"]),
|
|
...mapState("marker", ["IS_MARK_LEADER", "paramsSet"]),
|
|
showStandardPaperManage() {
|
|
showStandardPaperManage() {
|
|
return this.paramsSet["showStandardPaperManage"] !== 0;
|
|
return this.paramsSet["showStandardPaperManage"] !== 0;
|
|
|
|
+ },
|
|
|
|
+ canEditStandard() {
|
|
|
|
+ const user = this.$ls.get("user", {});
|
|
|
|
+ return (
|
|
|
|
+ this.IS_MARK_LEADER &&
|
|
|
|
+ this.showStandardPaperManage &&
|
|
|
|
+ user.standardVolume
|
|
|
|
+ );
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|