admin
2024-11-22 9d822f15a8be5c3f4273b6a36ee928597521b2b7
billion-generator/src/main/resources/vm/vue/index.vue.vm
@@ -61,7 +61,7 @@
#end
#end
#end
      <el-form-item>
      <el-form-item style="float: right">
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
@@ -110,11 +110,11 @@
          v-hasPermi="['${moduleName}:${businessName}:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
##      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="${businessName}List" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
    <el-table border v-loading="loading" :data="${businessName}List" @selection-change="handleSelectionChange">
      <el-table-column show-overflow-tooltip="true" type="selection" width="55" align="center" />
#foreach($column in $columns)
#set($javaField=$column.javaField)
#set($parentheseIndex=$column.columnComment.indexOf("("))
@@ -148,24 +148,24 @@
      <el-table-column label="${comment}" align="center" prop="${javaField}" />
#end
#end
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['${moduleName}:${businessName}:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['${moduleName}:${businessName}:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
##      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
##        <template slot-scope="scope">
##          <el-button
##            size="mini"
##            type="text"
##            icon="el-icon-edit"
##            @click="handleUpdate(scope.row)"
##            v-hasPermi="['${moduleName}:${businessName}:edit']"
##          >修改</el-button>
##          <el-button
##            size="mini"
##            type="text"
##            icon="el-icon-delete"
##            @click="handleDelete(scope.row)"
##            v-hasPermi="['${moduleName}:${businessName}:remove']"
##          >删除</el-button>
##        </template>
##      </el-table-column>
    </el-table>
    
    <pagination
@@ -350,7 +350,7 @@
</template>
<script>
import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName} } from "@/api/${moduleName}/${businessName}";
import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName} } from "@/api/main/${moduleName}/${businessName}";
export default {
  name: "${BusinessName}",