xiebin
2022-10-09 2648ab26c878627e7ea50e471e1f488663118bfd
src/views/taskinfo/taskinfo.vue
@@ -29,13 +29,29 @@
                   @click="handleDelete">删 除
        </el-button>
      </template>
      <template slot-scope="{ type, size, row }" slot="menu">
      <template slot-scope="{ type, size, row, index }" slot="menu">
        <el-button
          icon="el-icon-view"
          type="text"
          size="mini"
          @click="goTaskinfoDetail(row)"
        >查看</el-button>
          v-if="permission.taskinfo_view"
        >查 看</el-button>
        <el-button
          icon="el-icon-edit"
          type="text"
          size="mini"
          @click="$refs.crud.rowEdit(row,index)"
          v-if="permission.taskinfo_edit"
        >编 辑</el-button>
        <el-button
          icon="el-icon-delete"
          type="text"
          size="mini"
          @click="$refs.crud.rowDel(row,index)"
          v-if="permission.taskinfo_delete"
        >删 除</el-button>
      </template>
      <template slot="routeRangeForm">
        <open-layers-map ref="OpenLayersMap" @toData="toData" :routeRange="form.routeRange"></open-layers-map>