台账添加经纬度

This commit is contained in:
GGJ
2025-03-25 10:57:52 +08:00
parent 489dbac38c
commit 4d5a15cfa5
5 changed files with 81 additions and 51 deletions

View File

@@ -0,0 +1,11 @@
<template>
<div> 123</div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
</script>
<style lang="scss" scoped>
</style>

View File

@@ -55,7 +55,7 @@
</el-form-item>
</template>
<template #operation>
<el-button icon="el-icon-Plus" type="primary">新增</el-button>
<el-button icon="el-icon-Plus" type="primary" @click="addForm">新增</el-button>
<el-button icon="el-icon-Delete">删除</el-button>
</template>
</TableHeader>
@@ -70,6 +70,8 @@ import Table from '@/components/table/index.vue'
import TableHeader from '@/components/table/header/index.vue'
import { useDictData } from '@/stores/dictData'
import { ElMessage, ElMessageBox, ElDatePicker } from 'element-plus'
import { useRouter } from 'vue-router'
const { push } = useRouter()
const dictData = useDictData()
const areaOptionList = dictData.getBasicData('jibei_area')
//字典获取电压等级
@@ -125,7 +127,16 @@ tableStore.table.params.searchValue = ''
tableStore.table.params.searchState = ''
provide('tableStore', tableStore)
// 新增评估用户页面
const addForm = () => {
push({
path: 'addUser',
query: {
type: 1,
t: Date.now()
}
})
}
onMounted(() => {
tableStore.index()
})