| | |
| | | "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": { |
| | |
| | | _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; |
| | |
| | | _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, |
| | |
| | | _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, |
| | |
| | | _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, |
| | |
| | | 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); |
| | |
| | | }) |
| | | .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) { |
| | |
| | | }, |
| | | //跳转到泵详情界面 |
| | | 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框 |
| | |
| | | }); |
| | | return; |
| | | } |
| | | } |
| | | if (this.m_SelectSeriesID.length > 10) { |
| | | Toast.fail({ |
| | | duration: 1000, //为0时 不关闭toast框 |
| | | message: `${'选择的系列不能超过十个'}`, |
| | | forbidClick: true |
| | | }); |
| | | return |
| | | } |
| | | let groupPageData = { |
| | | //页面其他展示数据 |
| | |
| | | IsVisCorrect: this.m_prevPageData.DesignInfo.IsVisCorrect //是否修正粘度 默认false |
| | | } |
| | | }; |
| | | console.log(groupPageData,497) |
| | | //将筛选数据存储到vuex中 |
| | | this.$store.commit("instante/select/ByParas", { |
| | | //select 表示vuex的文件名 |