|
|
@@ -40,7 +40,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button size="mini" @click="visible = false">取 消</el-button>
|
|
|
+ <!--<el-button size="mini" @click="visible = false">取 消</el-button>-->
|
|
|
<el-button type="primary" size="mini" @click="getChecklist()">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
@@ -85,7 +85,7 @@
|
|
|
},
|
|
|
checkList: [],
|
|
|
Remark: '',
|
|
|
-
|
|
|
+
|
|
|
visible: false,
|
|
|
selfVisible: this.visible, // 避免vue双向绑定警告
|
|
|
currentPage: 1, // 分页
|
|
|
@@ -121,11 +121,11 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
- getChecklist() {
|
|
|
+ getChecklist () {
|
|
|
let val = this.$refs.orgmanagetree.getCheckedNodes()
|
|
|
this.checkList = []
|
|
|
for (var i = 0; i < val.length; i++) {
|
|
|
- if (val[i].Code.length == 8) {
|
|
|
+ if (!val[i].children || val[i].children.length <= 0) {
|
|
|
this.checkList.push(val[i])
|
|
|
}
|
|
|
}
|