feige
1 天以前 5cdf8a720624389ea1d4fecd8d3046979595ba64
修改了代码
3个文件已修改
16 ■■■■■ 已修改文件
ruoyi-ui/src/api/peopleSearch/index.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/peopleSearch/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/peopleSearch/index.js
@@ -11,9 +11,13 @@
// 根据id查询所有家庭资产详细信息
export function searchPeople(query) {
  return request({
    url: '/zPeopleSearch/all',
    method: 'get',
    params: query
    url: '/search/universal',
    method: 'post',
    data: query,
      headers: {
        'Content-Type': 'application/json'
      }
  })
}
ruoyi-ui/src/views/peopleSearch/index.vue
@@ -405,7 +405,7 @@
              const response = await searchPeople(params);
              console.log(response)
              // 更新搜索结果和分页信息
              this.searchResult = response.data.data || [];
              this.searchResult = response.data.list || [];
              console.log(this.searchResult)
              this.pagination.total = response.data.total || 0;
ruoyi-ui/vue.config.js
@@ -37,8 +37,8 @@
      // detail: https://cli.vuewww.bendudu.comjs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
     // target: `https://10.39.2.234:8080/`,
      //target: `https://10.39.18.174:8080/`,
    target: 'https://www.bendudu.com:8080/',
      target: `https://10.39.18.174:8080/`,
    //target: 'https://www.bendudu.com:8080/',
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''