src/components/tool/value-table.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/view/b1-inspection-order.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/view/b2-standard.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/tool/value-table.vue
@@ -105,7 +105,7 @@ @row-click="rowClick" :show-summary="data.countFleid!=undefined && data.countFleid.length > 0" :summary-method="getSummaries" :row-class-name="tableRowClassName" :row-key="record=>record.id" :current-row-key="data.currentId" :highlight-current-row="data.highlight===undefined||data.highlight" :span-method="spanMethod"> :span-method="spanMethod" :key="specialKey"> <el-table-column type="selection" width="65" v-if="data.showSelect" :key="Math.random()"> </el-table-column> <el-table-column type="index" align="center" label="序号" width="65" v-if="data.isIndex" :key="Math.random()"> @@ -448,7 +448,8 @@ // position:0 // } ], param: {} param: {}, specialKey:'table-' } }, watch: { @@ -475,6 +476,7 @@ this.token = { 'token': sessionStorage.getItem('token') } this.specialKey = this.specialKey+Math.random()*100; }, methods: { rowspan(spanArr, position, spanName) { src/components/view/b1-inspection-order.vue
@@ -15,16 +15,17 @@ display: flex; align-items: center; height: 50px; width: 230px; } .search_label { width: 120px; width: 90px; font-size: 14px; text-align: right; } .search_input { width: calc(100% - 120px); width: calc(100% - 90px); } .table { @@ -90,6 +91,29 @@ <div class="search_input"><el-input size="small" placeholder="请输入" clearable v-model="componentData.entity.sampleType" @keyup.enter.native="refreshTable()"></el-input></div> </div> <div class="search_thing"> <div class="search_label">样品编号:</div> <div class="search_input"><el-input size="small" placeholder="请输入" clearable v-model="componentData.entity.sampleType" @keyup.enter.native="refreshTable()"></el-input></div> </div> <div class="search_thing"> <div class="search_label">样品型号:</div> <div class="search_input"><el-input size="small" placeholder="请输入" clearable v-model="componentData.entity.sampleType" @keyup.enter.native="refreshTable()"></el-input></div> </div> <div class="search_thing"> <div class="search_label">下单时间:</div> <div class="search_input"> <el-date-picker style="width:100%" v-model="componentData.entity.createTime" type="datetime" size="small" format="yyyy-MM-dd" value-format="yyyy-MM-dd" clearable placeholder="选择日期"> </el-date-picker> </div> </div> <div class="search_thing" style="padding-left: 30px;"> <el-button size="small" @click="refresh()">重 置</el-button> <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button> src/components/view/b2-standard.vue
@@ -142,7 +142,7 @@ <!-- </el-col> --> </el-row> <el-row class="standard_table" v-loading="tableLoad"> <el-table class="el-table" :data="standardList" style="width: 100%;" height="220px" tooltip-effect="dark" <el-table class="el-table" :data="standardList" style="width: 100%;height: 220px !important;overflow-y: auto;" tooltip-effect="dark" highlight-current-row @row-click="rowClick" ref="standard" :key="Math.random()"> <el-table-column prop="code" label="标准编号" show-overflow-tooltip width="180"> <template slot-scope="scope">