From 83f2968c6e75578dbab0161a3979541a71369e56 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期四, 20 六月 2024 11:23:05 +0800 Subject: [PATCH] 标准支持无型号 --- src/components/view/b2-standard.vue | 4 +++- src/main.js | 9 ++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/view/b2-standard.vue b/src/components/view/b2-standard.vue index 0884527..cf1527d 100644 --- a/src/components/view/b2-standard.vue +++ b/src/components/view/b2-standard.vue @@ -231,6 +231,7 @@ @select="upProductSelect" @select-all="handleAll" class="productTable" header-row-class-name="header-class"> <el-table-column type="selection" width="50"> </el-table-column> + <el-table-column prop="sample" label="浜у搧" min-width="100" show-overflow-tooltip></el-table-column> <el-table-column prop="model" label="鍨嬪彿" min-width="100" show-overflow-tooltip></el-table-column> <el-table-column prop="inspectionItem" label="妫�楠岄」" min-width="140" show-overflow-tooltip></el-table-column> <!-- <el-table-column prop="inspectionItemClassify" label="妫�楠岄」绫诲瀷" width="120" show-overflow-tooltip></el-table-column> --> @@ -428,6 +429,7 @@ header-row-class-name="header-class" :row-key="row=>row.id" @filter-change="filterHandler" highlight-current-row> <el-table-column type="selection" width="50"> </el-table-column> + <el-table-column prop="sample" label="浜у搧" min-width="100" show-overflow-tooltip></el-table-column> <el-table-column prop="model" label="鍨嬪彿" min-width="100" show-overflow-tooltip></el-table-column> <el-table-column prop="inspectionItem" label="妫�楠岄」" min-width="140" show-overflow-tooltip :filters="filters0" :filter-multiple="false" column-key="inspectionItem" filter-placement="bottom-start"></el-table-column> @@ -703,7 +705,7 @@ getNodeParent(val) { if (val.parent != null) { if(val.data.children === null){ - this.selectTree += ' - ' + val.label + ' - ' + '' + this.selectTree += ' - ' + val.label + ' - ' + 'null' }else{ this.selectTree += ' - ' + val.label } diff --git a/src/main.js b/src/main.js index e11ae3b..4293cee 100644 --- a/src/main.js +++ b/src/main.js @@ -15,17 +15,16 @@ Vue.prototype.PROJECT = '妫�娴嬩腑蹇�' // Vue.prototype.PROJECT = '瑁呭鐢电紗' //鏈湴 -// Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; -// const javaApi = 'http://127.0.0.1:8001'; -// const javaApi = 'http://192.168.0.104:8001'; +Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; +const javaApi = 'http://127.0.0.1:8001'; //浜� // Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; // const javaApi = 'http://114.132.189.42:1234'; //妫�娴嬩腑蹇冩寮忓簱 -Vue.prototype.LOCATIONVUE = "http://10.1.200.86:8080"; -const javaApi = 'http://10.1.200.86:8001'; +// Vue.prototype.LOCATIONVUE = "http://10.1.200.86:8080"; +// const javaApi = 'http://10.1.200.86:8001'; //瑁呭鐢电紗娴嬭瘯搴� // Vue.prototype.LOCATIONVUE = "http://10.16.173.59"; -- Gitblit v1.9.3