|
@@ -1933,7 +1933,7 @@
|
|
<el-scrollbar style="height: 100%;">
|
|
<el-scrollbar style="height: 100%;">
|
|
<div v-loading="treeLoad">
|
|
<div v-loading="treeLoad">
|
|
<el-tree
|
|
<el-tree
|
|
-
|
|
|
|
|
|
+ check-strictly
|
|
class="filter-tree"
|
|
class="filter-tree"
|
|
lazy
|
|
lazy
|
|
:load="loadNode"
|
|
:load="loadNode"
|
|
@@ -1993,23 +1993,7 @@
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <!-- <el-form-item label="选择同步范围(节点状态)" prop="contractRange" v-if="syncForm.range==='2'">
|
|
|
|
- <el-checkbox-group v-model="syncForm.contractRange">
|
|
|
|
- <el-checkbox label="全选" name="1"></el-checkbox>
|
|
|
|
- <el-checkbox v-for="(item,index) in checkIdList" :label="item.dictKey" :key="item.id">{{ item.dictValue}}</el-checkbox>
|
|
|
|
-
|
|
|
|
- </el-checkbox-group>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="选择同步源" prop="templateId" v-else>
|
|
|
|
- <el-select v-model="syncForm.templateId" placeholder="请选择同步源" style="width: 100%;" size="small" @change="changeTemplateId">
|
|
|
|
- <el-option
|
|
|
|
- v-for="item in templateIdList"
|
|
|
|
- :key="item.id"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item> -->
|
|
|
|
|
|
+
|
|
</el-form>
|
|
</el-form>
|
|
<div class="table-box" v-if="isShowTable">
|
|
<div class="table-box" v-if="isShowTable">
|
|
<h4 style="margin-left: 4px;">表单预览</h4>
|
|
<h4 style="margin-left: 4px;">表单预览</h4>
|
|
@@ -5027,6 +5011,10 @@ export default {
|
|
if(this.isShowLeft){
|
|
if(this.isShowLeft){
|
|
let ids=this.$refs.syncProTree.getCheckedKeys()
|
|
let ids=this.$refs.syncProTree.getCheckedKeys()
|
|
this.syncForm.nodeId=ids.join(',')
|
|
this.syncForm.nodeId=ids.join(',')
|
|
|
|
+ if(this.syncForm.nodeId===''){
|
|
|
|
+ this.$message.warning('请选择节点')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
}else{
|
|
}else{
|
|
this.syncForm.nodeId=this.curTreeData.primaryKeyId
|
|
this.syncForm.nodeId=this.curTreeData.primaryKeyId
|
|
}
|
|
}
|