|
|
@@ -6,7 +6,7 @@
|
|
|
<button class="admin-button-com middle blue" style="background-color:green;border:1upx solid green;margin-right:20upx;" @click="allShow()">全部取消隐藏</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view style="margin-left:30upx;padding-top:10upx;padding-bottom:10upx;font-size:28upx;">点击红色的成本可以将花材取消隐藏</view>
|
|
|
+ <view style="margin-left:30upx;padding-top:10upx;padding-bottom:10upx;font-size:32upx;">点击红色的成本,可以将相应花材取消隐藏</view>
|
|
|
<scroll-view scroll-y scroll-with-animation class="main-view">
|
|
|
<view class="space-view ex-table">
|
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
|
@@ -24,15 +24,14 @@
|
|
|
<block v-if="classItem.child && !$util.isEmpty(classItem.child)">
|
|
|
<t-tr>
|
|
|
<t-td>
|
|
|
- <text style="color:#3385FF;font-weight:bold;width:200upx;text-align:left;">
|
|
|
+ <text style="color:#3385FF;font-weight:bold;width:200upx;text-align:left;font-size:30upx;">
|
|
|
{{ classItem.className }}
|
|
|
</text>
|
|
|
</t-td>
|
|
|
<t-td>
|
|
|
- <text style="margin-left:30upx;color:green;font-weight:bold;" @click="cancelClassHide(classItem)">取消隐藏</text>
|
|
|
+ <text style="margin-left:30upx;color:green;font-weight:bold;font-size:30upx;" @click="cancelClassHide(classItem)">取消隐藏</text>
|
|
|
</t-td>
|
|
|
<t-td></t-td>
|
|
|
- <t-td></t-td>
|
|
|
</t-tr>
|
|
|
<template v-if="classItem.child && !$util.isEmpty(classItem.child)">
|
|
|
<block v-for="(productItem, productIndex) in classItem.child" :key="productIndex">
|
|
|
@@ -136,7 +135,7 @@ export default {
|
|
|
init(){
|
|
|
},
|
|
|
cancelClassHide(classInfo){
|
|
|
- this.$util.confirmModal({content:'确认取消隐藏此分类下花材?'},() => {
|
|
|
+ this.$util.confirmModal({content:'确认此分类下花材取消隐藏?'},() => {
|
|
|
cancelClassItemHide({classId:classInfo.classId}).then(res=>{
|
|
|
this.$msg('操作成功')
|
|
|
this.showHideItem()
|
|
|
@@ -144,7 +143,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
showCurrentItme(item){
|
|
|
- this.$util.confirmModal({content:'确认取消隐藏此花材?'},() => {
|
|
|
+ this.$util.confirmModal({content:'确认此花材取消隐藏?'},() => {
|
|
|
changeFrontHide({id:item.id,status:0}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
this.$msg('操作成功')
|
|
|
@@ -154,7 +153,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
allShow(){
|
|
|
- this.$util.confirmModal({content:'确认取消隐藏所有花材?'},() => {
|
|
|
+ this.$util.confirmModal({content:'确认所有花材取消隐藏?'},() => {
|
|
|
cancelAllItemHide().then(res=>{
|
|
|
if(res.code == 1){
|
|
|
this.$msg('操作成功')
|