|
@@ -22,7 +22,7 @@
|
|
|
|
|
|
<view class="list">
|
|
|
<view class="list_li" v-for="(item,index) in dataList" :key="index" @click="labSelete(index)">
|
|
|
- <text :class="item.type?'color_B':'color_A'">{{item.subName}}-{{item.roomNum}}</text>
|
|
|
+ <text :class="item.type?'color_B':'color_A'">{{item.subName}}-{{item.roomNum?item.roomNum:''}}</text>
|
|
|
<img v-if="item.type" src="@/pages_safetyExamine/images/icon_xzwt_xz.png">
|
|
|
</view>
|
|
|
</view>
|
|
@@ -39,7 +39,8 @@
|
|
|
} from '@/api/request/config.js'
|
|
|
import {
|
|
|
systemDeptDropList,
|
|
|
- laboratorySubRelInfoGetRelList
|
|
|
+ laboratorySubRelInfoGetRelList,
|
|
|
+ laboratorySubRelInfoGetRelListByCondition
|
|
|
} from '@/pages_safetyExamine/api/index.js'
|
|
|
export default {
|
|
|
name: "rectifyList",
|
|
@@ -187,13 +188,13 @@
|
|
|
let _this = this;
|
|
|
const {
|
|
|
data
|
|
|
- } = await laboratorySubRelInfoGetRelList(_this.getData);
|
|
|
+ } = await laboratorySubRelInfoGetRelListByCondition(_this.getData);
|
|
|
if (data.code == 200) {
|
|
|
- data.data.forEach(function(item) {
|
|
|
+ data.data.records.forEach(function(item) {
|
|
|
item.type = false;
|
|
|
})
|
|
|
- this.dataList = [...this.dataList, ...data.data]
|
|
|
- _this.total = data.total;
|
|
|
+ this.dataList = [...this.dataList, ...data.data.records]
|
|
|
+ _this.total = data.data.total;
|
|
|
if (this.seleteListLab.length > 0) { //如果有选中的数据
|
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
|
if (this.seleteListLab.findIndex((item) => item.subId === this.dataList[i].subId) != -
|
|
@@ -218,7 +219,7 @@
|
|
|
.info-max-box {
|
|
|
flex: 1;
|
|
|
overflow: scroll;
|
|
|
- padding: 120rpx 0rpx 30rpx;
|
|
|
+ padding: 120rpx 0rpx 120rpx;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|