|
|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="box"> |
|
|
<div class="box"> |
|
|
<div style="width: 95%"> |
|
|
|
|
|
<el-card> |
|
|
|
|
|
|
|
|
<div style="width: 160%"> |
|
|
|
|
|
<el-card class="elcard" style="border-radius: 15px"> |
|
|
<div class="publiccss">项目套餐</div> |
|
|
<div class="publiccss">项目套餐</div> |
|
|
<el-table |
|
|
<el-table |
|
|
:data="tableData" |
|
|
:data="tableData" |
|
|
@ -56,7 +56,7 @@ |
|
|
ref="singleTable" |
|
|
ref="singleTable" |
|
|
> |
|
|
> |
|
|
</comp-table> --> |
|
|
</comp-table> --> |
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 弹框 --> |
|
|
<!-- 弹框 --> |
|
|
<el-dialog |
|
|
<el-dialog |
|
|
:title="title == 1 ? '新增' : '编辑'" |
|
|
:title="title == 1 ? '新增' : '编辑'" |
|
|
@ -151,6 +151,7 @@ |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
<!-- --> |
|
|
<!-- --> |
|
|
|
|
|
|
|
|
<span style="margin-top: 10px; padding: 5px; margin-left: 28.5%" |
|
|
<span style="margin-top: 10px; padding: 5px; margin-left: 28.5%" |
|
|
>项目类别</span |
|
|
>项目类别</span |
|
|
> |
|
|
> |
|
|
@ -240,33 +241,47 @@ |
|
|
<el-button :disabled="isdislob" @click="Onsubmit">确定</el-button> |
|
|
<el-button :disabled="isdislob" @click="Onsubmit">确定</el-button> |
|
|
<el-button :disabled="isdislob">取消</el-button> |
|
|
<el-button :disabled="isdislob">取消</el-button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</el-card> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- 按钮区域 --> |
|
|
<!-- 按钮区域 --> |
|
|
<div style="margin-left: 10px; margin-top: 5%"> |
|
|
<div style="margin-left: 10px; margin-top: 5%"> |
|
|
<el-button type="primary" @click="add">新增</el-button> |
|
|
|
|
|
|
|
|
<el-button type="" @click="add" class="commonbutton">新增</el-button> |
|
|
<el-button |
|
|
<el-button |
|
|
type="primary" |
|
|
|
|
|
|
|
|
type="" |
|
|
@click="editpopup" |
|
|
@click="editpopup" |
|
|
style="margin-left: 0; margin-top: 10px" |
|
|
style="margin-left: 0; margin-top: 10px" |
|
|
|
|
|
class="commonbutton" |
|
|
>编辑</el-button |
|
|
>编辑</el-button |
|
|
> |
|
|
> |
|
|
<div style="margin-top: 10px"> |
|
|
<div style="margin-top: 10px"> |
|
|
<el-button type="danger" @click="delets">删除</el-button> |
|
|
|
|
|
|
|
|
<el-button type="" @click="delets" class="commonbutton">删除</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: 10px"> |
|
|
<div style="margin-top: 10px"> |
|
|
<el-button type="primary" @click="topping">置顶</el-button> |
|
|
|
|
|
|
|
|
<el-button type="" @click="topping" class="commonbutton" |
|
|
|
|
|
>置顶</el-button |
|
|
|
|
|
> |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: 10px"> |
|
|
<div style="margin-top: 10px"> |
|
|
<el-button type="primary" @click="toppings">置底</el-button> |
|
|
|
|
|
|
|
|
<el-button type="" @click="toppings" class="commonbutton" |
|
|
|
|
|
>置底</el-button |
|
|
|
|
|
> |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: 10px"> |
|
|
<div style="margin-top: 10px"> |
|
|
<el-button type="primary" :disabled="isshow" @click="assertion" |
|
|
|
|
|
|
|
|
<el-button |
|
|
|
|
|
type="" |
|
|
|
|
|
:disabled="isshow" |
|
|
|
|
|
@click="assertion" |
|
|
|
|
|
class="commonbutton" |
|
|
>排序</el-button |
|
|
>排序</el-button |
|
|
> |
|
|
> |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: 5px"> |
|
|
|
|
|
<el-button type="primary" :disabled="isshow" @click="cancellation" |
|
|
|
|
|
|
|
|
<div style="margin-top: 10px"> |
|
|
|
|
|
<el-button |
|
|
|
|
|
type="" |
|
|
|
|
|
:disabled="isshow" |
|
|
|
|
|
@click="cancellation" |
|
|
|
|
|
class="commonbutton" |
|
|
>取消</el-button |
|
|
>取消</el-button |
|
|
> |
|
|
> |
|
|
</div> |
|
|
</div> |
|
|
@ -703,6 +718,11 @@ export default { |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
<style scoped> |
|
|
<style scoped> |
|
|
|
|
|
::v-deep .el-table__header th { |
|
|
|
|
|
/* font-size: px; */ |
|
|
|
|
|
background-color: rgb(245, 245, 245); /* 设置表头背景颜色 */ |
|
|
|
|
|
color: rgb(113, 113, 113); /* 设置表头文字颜色 */ |
|
|
|
|
|
} |
|
|
.Selectbutton { |
|
|
.Selectbutton { |
|
|
margin-left: 3%; |
|
|
margin-left: 3%; |
|
|
} |
|
|
} |
|
|
|