Ver código fonte

按钮组传参调整

lph 1 ano atrás
pai
commit
667f72d7af
1 arquivos alterados com 12 adições e 3 exclusões
  1. 12 3
      zkqy-ui/src/views/system/excuteBtnMange/index.vue

+ 12 - 3
zkqy-ui/src/views/system/excuteBtnMange/index.vue

@@ -11,7 +11,15 @@
       <el-form-item label="按钮组名" prop="btnGroupName">
         <el-input
           v-model="queryParams.btnGroupName"
-          placeholder="请输入菜单名称"
+          placeholder="请输入按钮组名"
+          clearable
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="按钮名称" prop="btnName">
+        <el-input
+          v-model="queryParams.btnName"
+          placeholder="请输入按钮名称"
           clearable
           @keyup.enter.native="handleQuery"
         />
@@ -80,7 +88,7 @@
       </el-table-column>
       <el-table-column
         prop="btnName"
-        label="按钮文字"
+        label="按钮名称"
         align="center"
       ></el-table-column>
       <el-table-column
@@ -589,6 +597,7 @@ export default {
         btnGroupName: "",
         pageNum: 1,
         pageSize: 10,
+        btnName: "",
       },
       // btnGroupName: "",
       // 分页数据
@@ -856,7 +865,7 @@ export default {
     /** 查询菜单列表 */
     getList() {
       this.loading = true;
-      if (this.queryParams.btnGroupName) {
+      if (this.queryParams.btnGroupName || this.queryParams.btnName) {
         this.queryParams.btnParentId = null;
       } else {
         this.queryParams.btnParentId = 0;