|
@@ -523,16 +523,16 @@ export default {
|
|
|
window.addEventListener("message", this.handleMessage); //江
|
|
|
},
|
|
|
methods: {
|
|
|
- async handleDownLoadChart() {
|
|
|
- const res = await axios.post(
|
|
|
- "/downLoadChart/chartServer/charts/lineAndChildLine",
|
|
|
- {
|
|
|
- dataUrl:
|
|
|
- "http://192.168.50.233:6900/wof039800012/WOF039800012-WOB000001/cp/manual/%2319.json",
|
|
|
- }
|
|
|
- );
|
|
|
- console.log(res, "res linechart");
|
|
|
- },
|
|
|
+ // async handleDownLoadChart() {
|
|
|
+ // const res = await axios.post(
|
|
|
+ // "/downLoadChart/chartServer/charts/lineAndChildLine",
|
|
|
+ // {
|
|
|
+ // dataUrl:
|
|
|
+ // "http://192.168.50.233:6900/wof039800012/WOF039800012-WOB000001/cp/manual/%2319.json",
|
|
|
+ // }
|
|
|
+ // );
|
|
|
+ // console.log(res, "res linechart");
|
|
|
+ // },
|
|
|
//自动分析列表页面跳转
|
|
|
handleAutoAsstessList() {
|
|
|
window.open(
|
|
@@ -555,12 +555,20 @@ export default {
|
|
|
this.loading = false;
|
|
|
this.isPolling = false;
|
|
|
await this.fetchData();
|
|
|
+ let obj = this.fieldCodeList.filter((itemS) => {
|
|
|
+ if (itemS.codeNumber === this.addRuleForm.fieldCode) {
|
|
|
+ return itemS;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ console.log(obj, obj.fieldName, "obj");
|
|
|
this.$router.push({
|
|
|
path: "/home/performance/editAssets",
|
|
|
query: {
|
|
|
batchCode: this.tableData[0].batchCode,
|
|
|
analysisTypeCode: this.tableData[0].analysisTypeCode,
|
|
|
fieldEngineCode: this.tableData[0].fieldCode,
|
|
|
+ fieldName: obj[0].fieldName,
|
|
|
+ analysisName: this.addRuleForm.analysisName,
|
|
|
},
|
|
|
});
|
|
|
}
|