|
@@ -349,7 +349,7 @@ export default {
|
|
|
radioChange(val) {
|
|
|
let id = this.selectShow.id;
|
|
|
this.radioData[id] = val;
|
|
|
- console.log("radioChange", this.radioData);
|
|
|
+ console.log("radioChange", this.radioData,val);
|
|
|
},
|
|
|
handClick(data) {
|
|
|
let checkedNodes = this.$refs.tree.getCheckedNodes();
|
|
@@ -360,8 +360,10 @@ export default {
|
|
|
console.log("handClick",data);
|
|
|
},
|
|
|
setselectShow(selectShow, id) {
|
|
|
+ console.log('setselectShow ',selectShow, id)
|
|
|
this.selectShow = selectShow;
|
|
|
this.roleLevel = roleList(id)
|
|
|
+ console.log('this.roleLevel ',this.roleLevel,this.radioData,id)
|
|
|
this.radio = parseInt(this.radioData[id] || this.roleLevel)
|
|
|
if(!this.radioData[id]&& this.operateType !== '查看')this.radioData[id] = 1
|
|
|
},
|
|
@@ -369,7 +371,7 @@ export default {
|
|
|
console.log("handcurrentChange", a, b);
|
|
|
console.log("ref", this.selectShow);
|
|
|
},
|
|
|
- assembleData(val) {
|
|
|
+ assembleData(val) {
|
|
|
let data = val.map(ele => {
|
|
|
ele.children && ele.children(ele => ele.disabled = true)
|
|
|
return ele
|