|
@@ -4785,6 +4785,7 @@ export default {
|
|
|
templateName:'',
|
|
|
contractRange:[],
|
|
|
contractRangeName:'',
|
|
|
+ nodeIds:'',
|
|
|
formIds:''};
|
|
|
|
|
|
if(this.$refs.syncProTree){
|
|
@@ -4794,10 +4795,19 @@ export default {
|
|
|
this.refs.proTable.clearSelection()
|
|
|
}
|
|
|
this.preTableData=[]
|
|
|
+
|
|
|
},
|
|
|
saveProTag(){
|
|
|
|
|
|
this.syncForm.projectId=this.projectid
|
|
|
+ if(this.isShowLeft){
|
|
|
+ let ids=this.$res.syncProTree.getCheckedKeys()
|
|
|
+ this.syncForm.nodeIds=ids.join(',')
|
|
|
+ }else{
|
|
|
+ this.syncForm.nodeIds=this.curTreeData.primaryKeyId
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
if(this.syncForm.rangeName==''){
|
|
|
for (let index = 0; index < this.rangeOptions.length; index++) {
|
|
|
const element =this. rangeOptions[index];
|
|
@@ -4855,7 +4865,7 @@ export default {
|
|
|
|
|
|
this.$confirm("当前表单配置将同步到项目下所有相同表单,请谨慎同步!!!!!!", "表单同步提醒", {
|
|
|
distinguishCancelAndClose: true,
|
|
|
- confirmButtonText: "删除",
|
|
|
+ confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
}).then(() => {
|
|
|
console.log(111111111111);
|
|
@@ -4864,7 +4874,7 @@ export default {
|
|
|
}else if(command=='b'){
|
|
|
this.$confirm("当前表单配置将同步到项目下所有相同表单,请谨慎同步!!!!!!", "表单同步提醒", {
|
|
|
distinguishCancelAndClose: true,
|
|
|
- confirmButtonText: "删除",
|
|
|
+ confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
}).then(() => {
|
|
|
console.log(111111111111);
|