|
@@ -11,7 +11,7 @@
|
|
|
<el-button type="danger" plain :disabled="item['isBussShow'] === 2" @click.stop="delClick(item,index)">删除本表</el-button>
|
|
|
</HcTooltip>
|
|
|
<HcTooltip keys="wbs_copy_table">
|
|
|
- <el-button type="primary" plain :disabled="item['isBussShow'] === 2" @click.stop="copyClick(item,index)">复制本表</el-button>
|
|
|
+ <el-button type="primary" :loading="copyClickLoading" plain :disabled="item['isBussShow'] === 2" @click.stop="copyClick(item,index)">复制本表</el-button>
|
|
|
</HcTooltip>
|
|
|
<HcTooltip keys="wbs_hide_table">
|
|
|
<el-button type="primary" plain @click.stop="hideClick(item,index)">
|
|
@@ -805,6 +805,7 @@ const wbsElTreeClick = ({node, data, keys}) => {
|
|
|
nodeDataInfo.value = data
|
|
|
getTableDataAll();
|
|
|
}
|
|
|
+const copyClickLoading=ref(false)
|
|
|
//复制本表
|
|
|
const copyClick = async (item,index) => {
|
|
|
// CopyModal.value=true;
|
|
@@ -812,6 +813,7 @@ const copyClick = async (item,index) => {
|
|
|
|
|
|
if (item.pkeyId) {
|
|
|
if (isStatus.value !== '3') {
|
|
|
+ copyClickLoading.value=true
|
|
|
if (!item.isRenderTableForm) {
|
|
|
await copeBussTab(item.pkeyId + '')
|
|
|
} else if (!item.isTableForm) {
|