|
@@ -318,7 +318,7 @@ export default {
|
|
|
handClick(data) {
|
|
|
let checkedNodes = this.$refs.tree.getCheckedNodes();
|
|
|
let selectShow = checkedNodes.find((ele) => data.id == ele.id) || null;
|
|
|
- if (data.type == 'button'&& this.operateType !== '查看') {
|
|
|
+ if (data.type == 'button') {
|
|
|
this.setselectShow(selectShow, data.id);
|
|
|
}
|
|
|
console.log("handClick",data);
|
|
@@ -326,7 +326,7 @@ export default {
|
|
|
setselectShow(selectShow, id) {
|
|
|
this.selectShow = selectShow;
|
|
|
this.radio = parseInt(this.radioData[id] || 1)
|
|
|
- if(!this.radioData[id])this.radioData[id] = 1
|
|
|
+ if(!this.radioData[id]&& this.operateType !== '查看')this.radioData[id] = 1
|
|
|
},
|
|
|
handcurrentChange(a, b) {
|
|
|
console.log("handcurrentChange", a, b);
|