|
@@ -49,7 +49,7 @@
|
|
|
<span slot="title">{{ item.fullName}}</span>
|
|
|
<span class="applicationInfor-menu-workStation-copy" @click.stop style="float: right;display: none">
|
|
|
<!-- defalutCopyFormClick-->
|
|
|
- <el-dropdown trigger="click" size="mini" @command="copyFormClick($event,item)">
|
|
|
+ <el-dropdown trigger="click" size="mini" @command="copyFormClick($event,item,'default')">
|
|
|
<i class="el-icon-more-outline"></i>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
<el-dropdown-item command="copy" icon="el-icon-document-copy">表单复制</el-dropdown-item>
|
|
@@ -489,12 +489,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 复制表单
|
|
|
- copyFormClick(ev,item){
|
|
|
+ copyFormClick(ev,item,type){
|
|
|
if (ev === 'copy'){
|
|
|
this.copyFormVisible = true
|
|
|
this.$nextTick(()=>{
|
|
|
this.copyForm = {
|
|
|
- formId: item.linkId,
|
|
|
+ formId: type && type === 'default' ? item.id : item.linkId,
|
|
|
appId:this.appDetail.appId,
|
|
|
targetAppName: '',
|
|
|
targetAppId: '',
|
|
@@ -504,11 +504,11 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}else if (ev === 'update') {
|
|
|
- this.createVisualClick(item.linkId)
|
|
|
+ this.createVisualClick(type && type === 'default' ? item.id : item.linkId)
|
|
|
}else if (ev === 'formCache') {
|
|
|
- this.clearhandleDel(item.linkId)
|
|
|
+ this.clearhandleDel(type && type === 'default' ? item.id : item.linkId)
|
|
|
}else {
|
|
|
- this.handleDel(item.linkId)
|
|
|
+ this.handleDel(type && type === 'default' ? item.id : item.linkId)
|
|
|
}
|
|
|
|
|
|
},
|