|
@@ -130,7 +130,7 @@
|
|
<el-col :span="18">
|
|
<el-col :span="18">
|
|
<div class="right_btn">
|
|
<div class="right_btn">
|
|
<el-button
|
|
<el-button
|
|
- :disabled="!currentItem.id"
|
|
|
|
|
|
+ :disabled="!currentItem.id || currentItem.isOnlyMenu == '0'"
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
type="primary"
|
|
type="primary"
|
|
size="mini"
|
|
size="mini"
|
|
@@ -626,7 +626,9 @@ export default {
|
|
// if (data.isClickLine == "1") return;
|
|
// if (data.isClickLine == "1") return;
|
|
this.currentItem = data;
|
|
this.currentItem = data;
|
|
this.queryParams.fid = data.id;
|
|
this.queryParams.fid = data.id;
|
|
- this.handleQuery();
|
|
|
|
|
|
+ if (data.isOnlyMenu == "1") {
|
|
|
|
+ this.handleQuery();
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 条件查询函数
|
|
// 条件查询函数
|
|
async getList() {
|
|
async getList() {
|