台账添加经纬度
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user