tanghaolin
2023-08-11 71fb04704331503a5369b6ab17f3e222cd5c0735
修改法兰展示界面的api接口路径
已修改5个文件
27 ■■■■■ 文件已修改
package.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Detail/byParas/Index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Flange3D/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Select/PumpList.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Select/SelSeries.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -3,8 +3,8 @@
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve ",
    "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
src/views/Detail/byParas/Index.vue
@@ -759,7 +759,7 @@
        _this.isShowLoadingFrm = false;
        let resdata = res.data;
         console.log(res.data, 462);
        //  console.log(res.data, 462);
        if (resdata.Code != 0) {
          _this.$toast.fail(resdata.Message);
          return;
src/views/Flange3D/index.vue
@@ -175,7 +175,7 @@
      _this
        .$axios({
          method: "get",
          url: "https://api.xpump.net/" + "v1/Flange/GetStandardPressGrade",
          url: "https://apiv3.xpump.net/" + "v1/Flange/GetStandardPressGrade",
          params: {
            Lang: 0,
            Standard: _this.m_currentStandard,
@@ -206,7 +206,7 @@
      _this
        .$axios({
          method: "get",
          url: "https://api.xpump.net/" + "v1/Flange/GetSizeCodeList",
          url: "https://apiv3.xpump.net/" + "v1/Flange/GetSizeCodeList",
          params: {
            Lang: 0,
            Standard: _this.m_currentStandard,
@@ -260,7 +260,7 @@
      _this
        .$axios({
          method: "get",
          url: "https://api.xpump.net/" + "v1/Flange/GetSizeDetail",
          url: "https://apiv3.xpump.net/" + "v1/Flange/GetSizeDetail",
          params: {
            Lang: 0,
            Standard: _this.m_currentStandard,
@@ -315,7 +315,7 @@
        this.$refs.model3dCtrl.setStyleSetting(model_style);
        this.$refs.model3dCtrl.loadModel(
          "https://api.xpump.net/Data/Flange/" + module_name,
          "https://apiv3.xpump.net/Data/Flange/" + module_name,
          true,
          function () {
            //console.log(size_detail);
src/views/Select/PumpList.vue
@@ -202,7 +202,7 @@
        })
        .then(res => {
          Toast.clear(); //关闭toast加载提示
          console.log(res, 134);
          // console.log(res, 134);
          // console.log(postRequestData,207)
          let result = res.data;
          if (result.Code != 0) {
src/views/Select/SelSeries.vue
@@ -465,8 +465,8 @@
    },
    //跳转到泵详情界面
    toSelPumpList() {
      let Toast = this.$toast;
      if (this.m_SelectSeriesID.length == 0) {
        let Toast = this.$toast;
        if (this.m_selectIndex == 1) {
          Toast.fail({
            duration: 1000, //为0时 不关闭toast框
@@ -491,6 +491,14 @@
          });
          return;
        }
      }
      if (this.m_SelectSeriesID.length > 10) {
        Toast.fail({
            duration: 1000, //为0时 不关闭toast框
            message: `${'选择的系列不能超过十个'}`,
            forbidClick: true
          });
        return
      }
      let groupPageData = {
        //页面其他展示数据
@@ -526,7 +534,6 @@
          IsVisCorrect: this.m_prevPageData.DesignInfo.IsVisCorrect //是否修正粘度 默认false
        }
      };
      console.log(groupPageData,497)
      //将筛选数据存储到vuex中
      this.$store.commit("instante/select/ByParas", {
        //select 表示vuex的文件名