优化接口数据查询

This commit is contained in:
2026-02-27 11:28:41 +08:00
parent 65abf51219
commit 381b5c6460
9 changed files with 30 additions and 19 deletions

View File

@@ -0,0 +1,23 @@
import request from '@/utils/request'
/**
* 获取指标信息列表
*/
export function getItemInfoList(params) {
return request({
url: '/biz/itemInfo/list',
method: 'get',
params: params
})
}
/**
* 获取账号信息列表
*/
export function getErpAccountList(params) {
return request({
url: '/biz/erpAccount/list',
method: 'get',
params: params
})
}

View File

@@ -1,12 +0,0 @@
import request from '@/utils/request'
/**
* 获取信息列表
*/
export function getItemInfoList(params) {
return request({
url: '/biz/itemInfo/list',
method: 'get',
params: params
})
}

View File

@@ -10,7 +10,7 @@
<script setup>
import { ref, onMounted, onUnmounted, nextTick, watch } from 'vue'
import * as echarts from 'echarts'
import { getItemInfoList } from '@/api/itemInfo'
import { getItemInfoList } from '@/api/bizApi'
const props = defineProps({
formParams: {

View File

@@ -10,7 +10,7 @@
<script setup>
import { ref, onMounted, onUnmounted, nextTick, watch } from 'vue'
import * as echarts from 'echarts'
import { getItemInfoList } from '@/api/itemInfo'
import { getItemInfoList } from '@/api/bizApi'
const props = defineProps({
formParams: {

View File

@@ -10,7 +10,7 @@
<script setup>
import { ref, onMounted, onUnmounted, nextTick, watch } from 'vue'
import * as echarts from 'echarts'
import { getItemInfoList } from '@/api/itemInfo'
import { getItemInfoList } from '@/api/bizApi'
const props = defineProps({
formParams: {

View File

@@ -10,7 +10,7 @@
<script setup>
import { ref, onMounted, onUnmounted, watch } from 'vue'
import * as echarts from 'echarts'
import { getItemInfoList } from '@/api/itemInfo'
import { getItemInfoList } from '@/api/bizApi'
const props = defineProps({
formParams: {

View File

@@ -10,7 +10,7 @@
<script setup>
import { ref, onMounted, onUnmounted, watch } from 'vue'
import * as echarts from 'echarts'
import { getItemInfoList } from '@/api/itemInfo'
import { getItemInfoList } from '@/api/bizApi'
const props = defineProps({
formParams: {

View File

@@ -10,7 +10,7 @@
<script setup>
import { ref, onMounted, onUnmounted, watch } from 'vue'
import * as echarts from 'echarts'
import { getItemInfoList } from '@/api/itemInfo'
import { getItemInfoList } from '@/api/bizApi'
const props = defineProps({
formParams: {

View File

@@ -10,7 +10,7 @@
<script setup>
import { ref, onMounted, onUnmounted, nextTick, watch } from 'vue'
import * as echarts from 'echarts'
import { getItemInfoList } from '@/api/itemInfo'
import { getItemInfoList } from '@/api/bizApi'
const props = defineProps({
formParams: {