|
|
|
@ -74,22 +74,25 @@ |
|
|
|
</div> |
|
|
|
<!--按钮--> |
|
|
|
<div style="display: block; margin-left: 5px"> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '新增')" style="margin-top: 35px"> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '复制上次分组')" style="margin-top: 0px"> |
|
|
|
<el-button class="commonbutton" @click="btnCopyPreGroup">复制上次分组</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '新增')" style="margin-top: 5px"> |
|
|
|
<el-button class="commonbutton" @click="btnAdd('')">新增</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '编辑')" style="margin-top: 8px"> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '编辑')" style="margin-top: 5px"> |
|
|
|
<el-button class="commonbutton" @click="btnEdit">编辑</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '删除')" style="margin-top: 8px"> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '删除')" style="margin-top: 5px"> |
|
|
|
<el-button class="deleteButton" @click="btnDel">删除</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '置顶')" style="margin-top: 8px"> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '置顶')" style="margin-top: 5px"> |
|
|
|
<el-button class="commonbutton" @click="btnSetTop">置顶</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '置底')" style="margin-top: 8px"> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '置底')" style="margin-top: 5px"> |
|
|
|
<el-button class="commonbutton" @click="btnSetBottom">置底</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '保存排序')" style="margin-top: 8px"> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '保存排序')" style="margin-top: 5px"> |
|
|
|
<el-button class="commonbutton" @click="btnSort" :disabled="!isDrag">保存排序</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -196,6 +199,11 @@ export default { |
|
|
|
dddw, |
|
|
|
deepCopy, |
|
|
|
|
|
|
|
// 复制上一次分组 |
|
|
|
btnCopyPreGroup(){ |
|
|
|
this.$message.warning({showClose:true,message:'开发中……'}) |
|
|
|
}, |
|
|
|
|
|
|
|
//刷新分组价格(供子组件调用) |
|
|
|
refreshMoney(formData) { |
|
|
|
//console.log('this is parent') |
|
|
|
|