提交 d2795d05 authored 作者: jinrongbin's avatar jinrongbin

进行中和已完成地块没有基本信息按钮

上级 437ce9e7
......@@ -31,6 +31,7 @@
<!--插槽:table标题-->
<template #tableTitle>
<a-button type="primary" @click="handleEdit" v-auth="'qdml-fxpgend-wsxx'">完善信息</a-button>
<a-button type="primary" @click="handleView" v-auth="'qdml-fxpg-ckjbxx'">查看基本信息</a-button>
<a-button type="primary" @click="edidDK" v-auth="'qdml-fxpgend-xgmc'">修改地块名称</a-button>
<a-button type="primary" @click="allocat" v-auth="'qdml-fxpgend-zhfp'">账号分配</a-button>
<a-button type="primary" @click="midify" v-auth="'qdml-fxpgend-xgzb'">修改坐标</a-button>
......@@ -55,6 +56,7 @@
import { landEndList, getImportUrl, getExportUrl } from './api';
import { allocation } from '../components/GWrdkjbxxb.api';
import { useRouter } from 'vue-router';
import { useCategoryData, useSuspectsData } from '/@/utils/domUtils';
import GWrdkjbxxbModal from '../components/GWrdkjbxxbModal.vue';
import EditDKModal from '../components/EditDKModal.vue';
......@@ -153,6 +155,15 @@
});
}
let router = useRouter();
function handleView() {
if (selectedRowKeys.value.length == 0) {
createMessage.info('请选择需要处理的内容,每次只能选中一条');
return;
}
router.push(`/directory/fxml/viewSelct?wrdkid=${selectedRowKeys.value[0]}&dksdzt=${selectedRows.value[0].dksdzt}`);
}
/**
* 编辑事件
*/
......
......@@ -31,7 +31,7 @@
<!--插槽:table标题-->
<template #tableTitle>
<a-button type="primary" @click="handleEdit" v-auth="'qdml-fxgking-wsxx'">完善信息</a-button>
<a-button type="primary" @click="handleView" v-auth="'qdml-fxpg-ckjbxx'">查看基本信息</a-button>
<a-button type="primary" @click="edidDK" v-auth="'qdml-fxgking-xgmc'">修改地块名称</a-button>
<a-button type="primary" @click="allocat" v-auth="'qdml-fxgking-zhfp'">账号分配</a-button>
......@@ -50,6 +50,7 @@
<script lang="ts" name="dkgl-landing" setup>
import { BasicTable } from '/@/components/Table';
import { useRouter } from 'vue-router';
import { useModal } from '/@/components/Modal';
import { useListPage } from '/@/hooks/system/useListPage';
import { columns, searchFormSchema } from './data';
......@@ -130,6 +131,15 @@
});
}
let router = useRouter();
function handleView() {
if (selectedRowKeys.value.length == 0) {
createMessage.info('请选择需要处理的内容,每次只能选中一条');
return;
}
router.push(`/directory/fxml/viewSelct?wrdkid=${selectedRowKeys.value[0]}&dksdzt=${selectedRows.value[0].dksdzt}`);
}
/**
* 编辑事件
*/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论