|
@@ -9,10 +9,9 @@
|
|
|
>页面设置</div
|
|
>页面设置</div
|
|
|
>
|
|
>
|
|
|
<div v-else style="margin-right: 10px; width: 56px"></div>
|
|
<div v-else style="margin-right: 10px; width: 56px"></div>
|
|
|
- <div @click="changeAdd" :class="{ wordStyle: !isWorkshop, 'style-hidden': isWorkshop }"
|
|
|
|
|
- >添加下一级</div
|
|
|
|
|
- ></div
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <div v-if="!isWorkshop" @click="changeAdd" class="wordStyle">添加下一级</div>
|
|
|
|
|
+ <div v-else style="margin-right: 10px; width: 67px"></div
|
|
|
|
|
+ ></div>
|
|
|
<div style="width: 1px; height: 14px; color: #e9e9e9; margin-right: 14px">|</div>
|
|
<div style="width: 1px; height: 14px; color: #e9e9e9; margin-right: 14px">|</div>
|
|
|
<img src="../../../assets/icons/edit.png" @click="changeEdit" class="action-img" alt="" />
|
|
<img src="../../../assets/icons/edit.png" @click="changeEdit" class="action-img" alt="" />
|
|
|
<img src="../../../assets/icons/delete.png" @click="changeDelete" class="action-img" alt="" />
|
|
<img src="../../../assets/icons/delete.png" @click="changeDelete" class="action-img" alt="" />
|
|
@@ -77,9 +76,6 @@
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const changeEdit = () => {
|
|
const changeEdit = () => {
|
|
|
- console.log('props.subItem', props.subItem);
|
|
|
|
|
- console.log('length', tableData.value.length);
|
|
|
|
|
-
|
|
|
|
|
props.handleEdit(props.subItem);
|
|
props.handleEdit(props.subItem);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -89,7 +85,6 @@
|
|
|
|
|
|
|
|
const changeUp = () => {
|
|
const changeUp = () => {
|
|
|
props.handleUp(props.subItem);
|
|
props.handleUp(props.subItem);
|
|
|
- console.log('props.subItem', props.subItem);
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const changeDown = () => {
|
|
const changeDown = () => {
|
|
@@ -107,15 +102,6 @@
|
|
|
margin-right: 7px;
|
|
margin-right: 7px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .style-hidden {
|
|
|
|
|
- height: 22px;
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
- color: grey;
|
|
|
|
|
- line-height: 22px;
|
|
|
|
|
- margin-right: 7px;
|
|
|
|
|
- cursor: not-allowed;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
.otp-btn {
|
|
.otp-btn {
|
|
|
width: 52px;
|
|
width: 52px;
|
|
|
height: 26px;
|
|
height: 26px;
|