style:善政信息是否可编辑判断
Showing
1 changed file
with
5 additions
and
2 deletions
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | <span>印刷序列号:{{ item.ysxlh }}</span> | 41 | <span>印刷序列号:{{ item.ysxlh }}</span> |
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | <div class="card_padding"> | 44 | <div class="card_padding" v-if="ableOperation"> |
45 | <div class="top_line middle_margin"></div> | 45 | <div class="top_line middle_margin"></div> |
46 | <div class="text" v-if="item.ysxlh"> | 46 | <div class="text" v-if="item.ysxlh"> |
47 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs | 47 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs |
... | @@ -79,6 +79,8 @@ | ... | @@ -79,6 +79,8 @@ |
79 | props: {}, | 79 | props: {}, |
80 | data () { | 80 | data () { |
81 | return { | 81 | return { |
82 | //表单是否可操作 | ||
83 | ableOperation: true, | ||
82 | dialog: false, | 84 | dialog: false, |
83 | tableData: [], | 85 | tableData: [], |
84 | bdcqzlx: 1, | 86 | bdcqzlx: 1, |
... | @@ -100,7 +102,8 @@ | ... | @@ -100,7 +102,8 @@ |
100 | } | 102 | } |
101 | }, | 103 | }, |
102 | created () { | 104 | created () { |
103 | this.list(); | 105 | this.list() |
106 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
104 | }, | 107 | }, |
105 | methods: { | 108 | methods: { |
106 | //初始化列表 | 109 | //初始化列表 | ... | ... |
-
Please register or sign in to post a comment