Commit 96c13395 authored by 王飞龙's avatar 王飞龙

bug修改

parent 0b7268e9
......@@ -132,7 +132,11 @@
<el-table ref="table" v-loading="loading" :data="deviceList" :header-cell-style="{ background:'#F4F4F4'}" :row-key="getRowKeys" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="47" align="center" :reserve-selection="true" />
<el-table-column type="index" label="序号" min-width="50" />
<el-table-column align="left" label="序号" min-width="60" show-overflow-tooltip prop="index" >
<template slot-scope="scope">
<span>{{ scope.$index + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="设备名称" align="left" prop="deviceName" show-overflow-tooltip />
<el-table-column label="设备ID" align="left" prop="deviceCode" show-overflow-tooltip />
<el-table-column label="负责人" align="left" prop="head" show-overflow-tooltip>
......@@ -556,13 +560,13 @@ export default {
}
// this.queryParams.isPrivate = this.isPrivate
listDevice(this.queryParams).then(response => {
console.log('列表参数', response)
this.deviceList = response.rows
console.log('this.deviceList', this.deviceList)
// this.deviceList.forEach(item => {
// this.$set(item, 'checkTypeArr', item.checkType.split(','))
// })
this.idsForever = response.idList
this.total = response.total
this.loading = false
this.manualCheck()
// console.log("---------------------",this.userType)
})
},
......
......@@ -90,7 +90,11 @@
<el-table ref="table" v-loading="loading" :data="userList" :row-key="getRowKeys" :header-cell-style="{background:'#F4F4F4'}" @selection-change="handleSelectionChange">
<el-table-column type="selection" min-width="50" align="center" :reserve-selection="true" />
<el-table-column type="index" label="序号" width="80" />
<el-table-column align="left" label="序号" min-width="60" show-overflow-tooltip prop="index" >
<template slot-scope="scope">
<span>{{ scope.$index + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="设备名称" align="left" prop="deviceName" min-width="80" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.deviceName || '-' }}</span>
......
......@@ -198,7 +198,7 @@
<span>{{ parseTime(scope.row.dischargeDate, '{y}/{m}/{d}') || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width" align="center" min-width="180px">
<el-table-column label="操作" class-name="small-padding fixed-width" fixed="right" align="center" min-width="180px">
<template slot-scope="scope">
<el-button
v-hasPermi="['business:hospital:query']"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment