|
@@ -156,7 +156,7 @@
|
|
<p v-if="lookInfoType" class="page-submit-common-style-button" @click="lookDeptLeftReset" style="width:60px;margin-right:0;">重置</p>
|
|
<p v-if="lookInfoType" class="page-submit-common-style-button" @click="lookDeptLeftReset" style="width:60px;margin-right:0;">重置</p>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
- <el-table ref="leftDeptTable" border :data="deptTableListLeft" @select-all="deptChange" @select="deptChange" :row-key="getDeptRowKeys">
|
|
|
|
|
|
+ <el-table class="table-box" ref="leftDeptTable" border :data="deptTableListLeft" @select-all="deptChange" @select="deptChange" :row-key="getDeptRowKeys">
|
|
<el-table-column v-if="!lookInfoType" type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column v-if="!lookInfoType" type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip>
|
|
<el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -222,12 +222,14 @@
|
|
<p v-if="lookInfoType" class="page-submit-common-style-button" @click="lookDeptRightReset" style="width:60px;margin-right:0;">重置</p>
|
|
<p v-if="lookInfoType" class="page-submit-common-style-button" @click="lookDeptRightReset" style="width:60px;margin-right:0;">重置</p>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
- <el-table border :data="deptTableListRight">
|
|
|
|
|
|
+ <el-table class="table-box" border :data="deptTableListRight">
|
|
<el-table-column label="序号" align="center" type="index" width="60"/>
|
|
<el-table-column label="序号" align="center" type="index" width="60"/>
|
|
- <el-table-column label="实验室" align="center" prop="subjectName" show-overflow-tooltip>
|
|
|
|
- <template slot-scope="scope">{{scope.row.roomNumber?scope.row.subjectName+'-'+scope.row.roomNumber:scope.row.subjectName}}</template>
|
|
|
|
|
|
+ <el-table-column label="实验室" align="center" prop="subName" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">{{scope.row.roomNum?scope.row.subName+'-'+scope.row.roomNum:scope.row.subName}}</template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="楼栋楼层" align="center" prop="buildName" show-overflow-tooltip width="150">
|
|
|
|
+ <template slot-scope="scope">{{scope.row.buildName}}{{scope.row.floorName}}</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="楼栋楼层" align="center" prop="buildName" show-overflow-tooltip width="150"/>
|
|
|
|
<el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="150">
|
|
<el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="150">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{scope.row.classTypeNames}}</span>
|
|
<span>{{scope.row.classTypeNames}}</span>
|
|
@@ -235,7 +237,7 @@
|
|
<span :style="'color:'+scope.row.classLevelColor+';'">{{scope.row.classLevelName}}</span>
|
|
<span :style="'color:'+scope.row.classLevelColor+';'">{{scope.row.classLevelName}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="学院" align="center" prop="collegeName" show-overflow-tooltip width="140"/>
|
|
|
|
|
|
+ <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip width="140"/>
|
|
</el-table>
|
|
</el-table>
|
|
<pagination layout="total, prev, pager, next, jumper"
|
|
<pagination layout="total, prev, pager, next, jumper"
|
|
v-show="deptTotalRight>0"
|
|
v-show="deptTotalRight>0"
|
|
@@ -299,10 +301,10 @@
|
|
<p class="page-submit-common-style-button" @click="subResetQueryLeft" style="width:60px;margin-right:0;">重置</p>
|
|
<p class="page-submit-common-style-button" @click="subResetQueryLeft" style="width:60px;margin-right:0;">重置</p>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
- <el-table ref="leftSubTable" border :data="subTableListLeft" @selection-change="subChangeLeft" :row-key="getSubRowKeys">
|
|
|
|
|
|
+ <el-table class="table-box" ref="leftSubTable" border :data="subTableListLeft" @selection-change="subChangeLeft" :row-key="getSubRowKeys">
|
|
<el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
- <el-table-column label="实验室" align="center" prop="subjectName" show-overflow-tooltip>
|
|
|
|
- <template slot-scope="scope">{{scope.row.roomNumber?scope.row.subjectName+'-'+scope.row.roomNumber:scope.row.subjectName}}</template>
|
|
|
|
|
|
+ <el-table-column label="实验室" align="center" prop="subName" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">{{scope.row.roomNum?scope.row.subName+'-'+scope.row.roomNum:scope.row.subName}}</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="140">
|
|
<el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="140">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -311,7 +313,7 @@
|
|
<span :style="'color:'+scope.row.classLevelColor+';'">{{scope.row.classLevelName}}</span>
|
|
<span :style="'color:'+scope.row.classLevelColor+';'">{{scope.row.classLevelName}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="学院" align="center" prop="collegeName" show-overflow-tooltip width="150"/>
|
|
|
|
|
|
+ <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip width="150"/>
|
|
</el-table>
|
|
</el-table>
|
|
<pagination layout="total, prev, pager, next, jumper"
|
|
<pagination layout="total, prev, pager, next, jumper"
|
|
v-show="subTotalLeft>0"
|
|
v-show="subTotalLeft>0"
|
|
@@ -377,10 +379,10 @@
|
|
<p class="page-submit-common-style-button" @click="subResetQueryRight" style="width:60px;margin-right:0;">重置</p>
|
|
<p class="page-submit-common-style-button" @click="subResetQueryRight" style="width:60px;margin-right:0;">重置</p>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
- <el-table ref="rightSubTable" border :data="subTableListRight" @selection-change="subChangeRight" :row-key="getSubRowKeys">
|
|
|
|
|
|
+ <el-table class="table-box" ref="rightSubTable" border :data="subTableListRight" @selection-change="subChangeRight" :row-key="getSubRowKeys">
|
|
<el-table-column v-if="!lookInfoType" type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column v-if="!lookInfoType" type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
- <el-table-column label="实验室" align="center" prop="subjectName" show-overflow-tooltip>
|
|
|
|
- <template slot-scope="scope">{{scope.row.roomNumber?scope.row.subjectName+'-'+scope.row.roomNumber:scope.row.subjectName}}</template>
|
|
|
|
|
|
+ <el-table-column label="实验室" align="center" prop="subName" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">{{scope.row.roomNum?scope.row.subName+'-'+scope.row.roomNum:scope.row.subName}}</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="140">
|
|
<el-table-column label="分类分级" align="center" prop="deptName" show-overflow-tooltip width="140">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -389,7 +391,7 @@
|
|
<span :style="'color:'+scope.row.classLevelColor+';'">{{scope.row.classLevelName}}</span>
|
|
<span :style="'color:'+scope.row.classLevelColor+';'">{{scope.row.classLevelName}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="学院" align="center" prop="collegeName" show-overflow-tooltip width="150"/>
|
|
|
|
|
|
+ <el-table-column label="学院" align="center" prop="deptName" show-overflow-tooltip width="150"/>
|
|
</el-table>
|
|
</el-table>
|
|
<pagination layout="total, prev, pager, next, jumper"
|
|
<pagination layout="total, prev, pager, next, jumper"
|
|
v-show="subTotalRight>0"
|
|
v-show="subTotalRight>0"
|
|
@@ -438,7 +440,7 @@
|
|
<p class="page-submit-common-style-button" @click="deviceResetQueryLeft" style="width:60px;">重置</p>
|
|
<p class="page-submit-common-style-button" @click="deviceResetQueryLeft" style="width:60px;">重置</p>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
- <el-table ref="leftDeviceTable" border :data="deviceTableListLeft" @selection-change="deviceChangeLeft" :row-key="getDeviceRowKeys">
|
|
|
|
|
|
+ <el-table class="table-box" ref="leftDeviceTable" border :data="deviceTableListLeft" @selection-change="deviceChangeLeft" :row-key="getDeviceRowKeys">
|
|
<el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column label="名称" align="center" prop="chName" show-overflow-tooltip/>
|
|
<el-table-column label="名称" align="center" prop="chName" show-overflow-tooltip/>
|
|
<el-table-column label="型号" align="center" prop="code" show-overflow-tooltip width="150"/>
|
|
<el-table-column label="型号" align="center" prop="code" show-overflow-tooltip width="150"/>
|
|
@@ -488,7 +490,7 @@
|
|
<p class="page-submit-common-style-button" @click="deviceResetQueryRight" style="width:60px;">重置</p>
|
|
<p class="page-submit-common-style-button" @click="deviceResetQueryRight" style="width:60px;">重置</p>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
- <el-table ref="rightDeviceTable" border :data="deviceTableListRight" @selection-change="deviceChangeRight" :row-key="getDeviceRowKeys">
|
|
|
|
|
|
+ <el-table class="table-box" ref="rightDeviceTable" border :data="deviceTableListRight" @selection-change="deviceChangeRight" :row-key="getDeviceRowKeys">
|
|
<el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column type="selection" width="50" :reserve-selection="true" align="center"/>
|
|
<el-table-column label="名称" align="center" prop="chName" show-overflow-tooltip/>
|
|
<el-table-column label="名称" align="center" prop="chName" show-overflow-tooltip/>
|
|
<el-table-column label="型号" align="center" prop="code" show-overflow-tooltip width="150"/>
|
|
<el-table-column label="型号" align="center" prop="code" show-overflow-tooltip width="150"/>
|
|
@@ -1232,10 +1234,10 @@
|
|
for(let i=0;i<subIdsLeft.length;i++){
|
|
for(let i=0;i<subIdsLeft.length;i++){
|
|
let obj = {
|
|
let obj = {
|
|
subId:subIdsLeft[i].subId,
|
|
subId:subIdsLeft[i].subId,
|
|
- subjectName:subIdsLeft[i].subjectName,
|
|
|
|
|
|
+ subjectName:subIdsLeft[i].subName,
|
|
typeId:subIdsLeft[i].typeId,
|
|
typeId:subIdsLeft[i].typeId,
|
|
levelId:subIdsLeft[i].levelId,
|
|
levelId:subIdsLeft[i].levelId,
|
|
- collegeName:subIdsLeft[i].collegeName,
|
|
|
|
|
|
+ collegeName:subIdsLeft[i].deptName,
|
|
}
|
|
}
|
|
list.push(obj);
|
|
list.push(obj);
|
|
}
|
|
}
|