| | |
| | | @row-update="rowUpdate" |
| | | @row-save="rowSave" |
| | | @row-del="rowDel" |
| | | @row-click="rowClick" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | |
| | | v-if="permission.taskinfo_delete" |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{ type, size, row }" slot="menu"> |
| | | <el-button |
| | | icon="el-icon-view" |
| | | type="text" |
| | | size="mini" |
| | | @click="goTaskinfoDetail(row)" |
| | | >查看</el-button> |
| | | </template> |
| | | <template slot="routeRangeForm"> |
| | | <open-layers-map ref="OpenLayersMap" @toData="toData" :routeRange="form.routeRange"></open-layers-map> |
| | |
| | | }, |
| | | toData(toData) { |
| | | this.form.routeRange = toData |
| | | }, |
| | | goTaskinfoDetail(row){ |
| | | this.$router.push({ path: "/taskinfo/taskinfoDetail", query: row }); |
| | | }, |
| | | //点击当前行事件 |
| | | rowClick(val){ |
| | | this.$router.push({ path: "/taskinfo/taskinfoDetail", query: val }); |
| | | } |
| | | } |
| | | }; |