4d64b9675e3aa771963adcb5a2b37dcbea3294dc..fb5bec5a9659d2a00c0eed835c6dcd4f91cd7508
2025-04-07 tanghaolin
修改泵选型接口路径
fb5bec 对比 | 目录
2025-04-07 wujingjing
console.log('🚀 ~ child is ready',);
37685b 对比 | 目录
已修改6个文件
22 ■■■■ 文件已修改
public/static/Config/globalConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/CustomerService.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Login.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/SPump/Select/ByPara2/components/selPumpCatalog.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/SPump/Select/ByPara2/components/selPumpSeries.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/SPump/Select/PumpList/General.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/static/Config/globalConfig.js
@@ -1,7 +1,7 @@
window.globalConfig = {
    WebApiUrl: {
        MainUrl: 'http://www.xpump.net/ecpspapi/',
        FileUrl: 'http://www.xpump.net/file/DataECP/',
        MainUrl: 'http://taifu.xpump.net/api/',
        FileUrl: 'http://taifu.xpump.net/file/',
    },
    UnitSetting: {
        CN: {
src/components/CustomerService.vue
@@ -8,7 +8,7 @@
const emit = defineEmits(['close']);
import { ref, onMounted } from 'vue';
import { ChildRegister, setParentFunction } from '@/utils/iframeCall';
import { ChildRegister } from '@/utils/iframeCall';
const getUrl = () => {
    const isDev = import.meta.env.DEV;
    if (isDev) {
@@ -25,11 +25,11 @@
    window.addEventListener('message', (event) => {
        if (event.data.type === 'close') {
            emit('close');
        } else if (event.data.type === 'childIsReady') {
            console.log('🚀 ~ child is ready',);
            ChildRegister.registerNotifyFunction();
        }
    });
    setTimeout(() => {
        ChildRegister.registerNotifyFunction();
    }, 800);
});
</script>
<style scoped lang="scss"></style>
src/views/Login.vue
@@ -102,7 +102,7 @@
    let form_data = {
        UserType: 0,
        LoginName:'demo',
        PassWord: '111111',
        PassWord: '123456',
    };
    loading.value = true;
    login(form_data)
src/views/SPump/Select/ByPara2/components/selPumpCatalog.vue
@@ -353,7 +353,7 @@
        let ThumbnailImage = noneImg
        if (catalog_info.ThumbnailImage == "" && seriesItem.ThumbnailImage != "") {
          // console.log(catalog_info.ThumbnailImage, seriesItem.ThumbnailImage,362)
          ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl  + seriesItem.ThumbnailImage;
          ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl  + 'Data/'+ seriesItem.ThumbnailImage;
        }
        catalog_info.ThumbnailImage = ThumbnailImage
        catalog_info.SeriesIDs.push(seriesItem.ID);
src/views/SPump/Select/ByPara2/components/selPumpSeries.vue
@@ -217,7 +217,7 @@
    let ThumbnailImage = noneImg
    if (element.ThumbnailImage && element.ThumbnailImage != "") {
      ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl  + element.ThumbnailImage
      ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl  + 'Data/' +  element.ThumbnailImage
    }
    series_info.ThumbnailImage = ThumbnailImage
    allInfoList.push(series_info);
src/views/SPump/Select/PumpList/General.vue
@@ -1625,7 +1625,7 @@
                };
                let ThumbnailImage = noneImg; //默认图片路径
                if (item.ThumbnailImage && item.ThumbnailImage != '') {
                    ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + item.ThumbnailImage;
                    ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + 'Data/' + item.ThumbnailImage;
                }
                tableItem.ThumbnailImage = ThumbnailImage;
                // 叶轮直径
@@ -2011,7 +2011,7 @@
.eec-level-name {
    position: absolute;
    left: 31px;
    top:1.5px;
    top: 1.5px;
    color: #fff;
    font-size: 12px;
}