产出品信息多选、操作
This commit is contained in:
parent
54cf828c22
commit
29bb28b69a
@ -15,9 +15,6 @@
|
|||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
>
|
>
|
||||||
<!-- <template #menu-left>
|
|
||||||
<el-button type="primary" icon="Plus" @click="handleAdd">新增网格</el-button>
|
|
||||||
</template> -->
|
|
||||||
<template #menu="scope">
|
<template #menu="scope">
|
||||||
<custom-table-operate :actions="crudOptions.actions" :data="scope" />
|
<custom-table-operate :actions="crudOptions.actions" :data="scope" />
|
||||||
</template>
|
</template>
|
||||||
@ -150,7 +147,7 @@ const filterObject = (obj) => {
|
|||||||
const crudData = ref([]);
|
const crudData = ref([]);
|
||||||
const crudOptions = reactive({
|
const crudOptions = reactive({
|
||||||
...CRUD_OPTIONS,
|
...CRUD_OPTIONS,
|
||||||
menu: false,
|
// menu: false,
|
||||||
header: false,
|
header: false,
|
||||||
height: 'calc(100vh - 340px)',
|
height: 'calc(100vh - 340px)',
|
||||||
selection: true,
|
selection: true,
|
||||||
@ -202,13 +199,13 @@ const handleSizeChange = (val) => {
|
|||||||
const handleView = (row) => {
|
const handleView = (row) => {
|
||||||
isReadonly.value = true;
|
isReadonly.value = true;
|
||||||
formData.value = { ...row };
|
formData.value = { ...row };
|
||||||
dialogTitle.value = '查看网格';
|
dialogTitle.value = '产出品信息';
|
||||||
visible.value = true;
|
visible.value = true;
|
||||||
};
|
};
|
||||||
const handleEdit = (row) => {
|
const handleEdit = (row) => {
|
||||||
isReadonly.value = false;
|
isReadonly.value = false;
|
||||||
formData.value = { ...row };
|
formData.value = { ...row };
|
||||||
dialogTitle.value = '编辑网格';
|
dialogTitle.value = '编辑';
|
||||||
visible.value = true;
|
visible.value = true;
|
||||||
};
|
};
|
||||||
const handleDelete = async (row) => {
|
const handleDelete = async (row) => {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
export const mockData = [
|
export const mockData = [
|
||||||
{
|
{
|
||||||
|
id: '1',
|
||||||
AreaCode: '530501', // 行政区划编码
|
AreaCode: '530501', // 行政区划编码
|
||||||
gridCode: 'G001', // 网格编码
|
gridCode: 'G001', // 网格编码
|
||||||
landCode: 'L001', // 地块编码
|
landCode: 'L001', // 地块编码
|
||||||
@ -22,6 +23,7 @@ export const mockData = [
|
|||||||
outputValue: 77952,
|
outputValue: 77952,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: '2',
|
||||||
AreaCode: '530502',
|
AreaCode: '530502',
|
||||||
gridCode: 'G002',
|
gridCode: 'G002',
|
||||||
landCode: 'L002',
|
landCode: 'L002',
|
||||||
@ -43,6 +45,7 @@ export const mockData = [
|
|||||||
outputValue: 116025,
|
outputValue: 116025,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: '3',
|
||||||
AreaCode: '530503',
|
AreaCode: '530503',
|
||||||
gridCode: 'G003',
|
gridCode: 'G003',
|
||||||
landCode: 'L003',
|
landCode: 'L003',
|
||||||
@ -64,6 +67,7 @@ export const mockData = [
|
|||||||
outputValue: 207200,
|
outputValue: 207200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: '4',
|
||||||
AreaCode: '530505',
|
AreaCode: '530505',
|
||||||
gridCode: 'G005',
|
gridCode: 'G005',
|
||||||
landCode: 'L005',
|
landCode: 'L005',
|
||||||
@ -85,6 +89,7 @@ export const mockData = [
|
|||||||
outputValue: 112560,
|
outputValue: 112560,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: '5',
|
||||||
AreaCode: '530506',
|
AreaCode: '530506',
|
||||||
gridCode: 'G006',
|
gridCode: 'G006',
|
||||||
landCode: 'L006',
|
landCode: 'L006',
|
||||||
@ -106,6 +111,7 @@ export const mockData = [
|
|||||||
outputValue: 108000,
|
outputValue: 108000,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: '6',
|
||||||
AreaCode: '530507',
|
AreaCode: '530507',
|
||||||
gridCode: 'G007',
|
gridCode: 'G007',
|
||||||
landCode: 'L007',
|
landCode: 'L007',
|
||||||
@ -127,6 +133,7 @@ export const mockData = [
|
|||||||
outputValue: 198400,
|
outputValue: 198400,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: '7',
|
||||||
AreaCode: '530508',
|
AreaCode: '530508',
|
||||||
gridCode: 'G008',
|
gridCode: 'G008',
|
||||||
landCode: 'L008',
|
landCode: 'L008',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user