zjk
2026-04-01 460ffc064e1dfe88e9fc2b77f86d95cea632bd1d
feat: 过滤城市列表
3个文件已修改
8 ■■■■■ 已修改文件
src/service/api/transaction.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/transaction/navigationAndRoutePlanning/components/TableModal.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/transaction/pricingManagement/components/TableModal.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/service/api/transaction.ts
@@ -80,8 +80,8 @@
}
/** 获取开通城市列表 */
export function getCityList() {
  return request.Get<Service.ResponseResult<any>>('/operation/api/v1/openCity/list')
export function getCityList(params: any) {
  return request.Get<Service.ResponseResult<any>>(`/operation/api/v1/openCity/list?type=${params.type}`)
}
// 交易策略
src/views/transaction/navigationAndRoutePlanning/components/TableModal.vue
@@ -209,7 +209,7 @@
const cityList = ref<any[]>([])
const getCityListData = () => {
  getCityList().then((res) => {
  getCityList({ type: 1}).then((res) => {
    if (res.code === 200) {
      cityList.value = res.data || []
      cityList.value.forEach((item) => {
src/views/transaction/pricingManagement/components/TableModal.vue
@@ -215,7 +215,7 @@
async function getCityListData(type: ModalType, id: string) {
  try {
    const res = await getCityList()
    const res = await getCityList({ type: 2 })
    if (res.code === 200) {
      cityList.value = res.data || []
      cityList.value.forEach((item) => {