From 564905ed2b4d1b977071f459ea1d7ab575051f9c Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 19 三月 2025 17:48:05 +0800 Subject: [PATCH] 1.明细界面进一步调整。 --- H5/Js/LLJ/Add.js | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 46 insertions(+), 3 deletions(-) diff --git a/H5/Js/LLJ/Add.js b/H5/Js/LLJ/Add.js index 02d550e..c9b1157 100644 --- a/H5/Js/LLJ/Add.js +++ b/H5/Js/LLJ/Add.js @@ -25,9 +25,16 @@ boardStyle: "" }, isShowTable: false, - tableData: [], + tableData: [],//杩斿洖鐨勬楠岄」鐩� + jymxData: [],//灞曠ず鐨勬楠岄」鐩� - ttrre: false + ttrre: false, + show: false, + tableMxData: [], + tabActive: 0, + inputValue: '',//鐗瑰緛鍊艰緭鍏� + resultValue: '',//妫�楠岀粨鏋滃綍鍏� + showButton: false,//鍙充笂瑙掕彍鍗曡Е鍙� } }, mounted() { @@ -42,9 +49,42 @@ 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) { + that.tableMxData = res1.rtnData; + } 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; + that.showButton = false; that.AxiosHttp("post", 'LLJ/getPage', { id: that.Request("id"), pageIndex: 1, @@ -151,6 +191,9 @@ }, GetBack1() { window.history.back(); - } + }, + onClickRight() { + + }, } }) \ No newline at end of file -- Gitblit v1.9.3