From 78856da3f9e96393fb32badedcccfa19fb108512 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 18 三月 2025 15:55:20 +0800 Subject: [PATCH] 1.IQC检验 检验结果输入和特征值输入界面初步模型 --- H5/Js/LLJ/Add.js | 39 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 37 insertions(+), 2 deletions(-) diff --git a/H5/Js/LLJ/Add.js b/H5/Js/LLJ/Add.js index 02d550e..ca52f28 100644 --- a/H5/Js/LLJ/Add.js +++ b/H5/Js/LLJ/Add.js @@ -25,9 +25,13 @@ boardStyle: "" }, isShowTable: false, - tableData: [], + tableData: [],//杩斿洖鐨勬楠岄」鐩� + jymxData: [],//灞曠ず鐨勬楠岄」鐩� - ttrre: false + ttrre: false, + show: false, + tableMxData: [], + tabActive:0 } }, mounted() { @@ -42,6 +46,37 @@ this.init(); }, methods: { + togglePopup(index) { + // 鍒囨崲鎸囧畾绱㈠紩鐨� popup 鐘舵�� + var that = this; + this.show = true; + console.log(index); + console.log(that.tableData[index].guid); + var mxguid = that.tableData[index].guid; + that.jymxData = that.tableData[index]; + that.tabActive = index; + that.AxiosHttp("post", 'MesQaItemsDetect01Manager/GetModel12', { + parentGuid : "", + guid : mxguid , + }, true, 1).then(function (res1) { + if (res1.rtnCode == 1) { + + } else { + that.$toast.fail(res1.rtnMsg); + } + }).catch(function (error) { + that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); + console.log(error); + }); + + + }, + + handleTabClick() { + console.log(this.tabActive) + this.togglePopup(this.tabActive) + }, + init() { //alert(this.Request("id")); var that = this; -- Gitblit v1.9.3