|
|
@ -206,86 +206,86 @@ |
|
|
</el-table> |
|
|
</el-table> |
|
|
</el-tab-pane> |
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
<!-- 点检项目 --> |
|
|
|
|
|
<el-tab-pane label="点检项目" name="check_item"> |
|
|
|
|
|
<el-form :inline="true" label-position="top" style="margin-top: 5px"> |
|
|
|
|
|
<el-button type="primary" @click="addItemModal('A')">新增项目</el-button> |
|
|
|
|
|
<el-button type="primary" @click="copyObject('checkItem')">复制到其他设备</el-button> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
<el-table |
|
|
|
|
|
:height="330" |
|
|
|
|
|
:data="checkItemList" |
|
|
|
|
|
border |
|
|
|
|
|
style="width: 100%;"> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
v-for="(item,index) in columnCheckItemArray" :key="index" |
|
|
|
|
|
:sortable="item.columnSortable" |
|
|
|
|
|
:prop="item.columnProp" |
|
|
|
|
|
:header-align="item.headerAlign" |
|
|
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
|
|
:align="item.align" |
|
|
|
|
|
:fixed="item.fixed==''?false:item.fixed" |
|
|
|
|
|
:min-width="item.columnWidth" |
|
|
|
|
|
:label="item.columnLabel"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span> |
|
|
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
fixed="right" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="100" |
|
|
|
|
|
label="操作"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<el-link style="cursor: pointer" @click="updateObjectItem(scope.row)">修改</el-link> |
|
|
|
|
|
<el-link style="cursor: pointer" @click="deleteObjectItem(scope.row)">删除</el-link> |
|
|
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.valueChooseFlag === 'Y'" @click="chooseModal(scope.row)">可选值</el-link> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
</el-table> |
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
<!-- <!– 点检项目 –>--> |
|
|
|
|
|
<!-- <el-tab-pane label="点检项目" name="check_item">--> |
|
|
|
|
|
<!-- <el-form :inline="true" label-position="top" style="margin-top: 5px">--> |
|
|
|
|
|
<!-- <el-button type="primary" @click="addItemModal('A')">新增项目</el-button>--> |
|
|
|
|
|
<!-- <el-button type="primary" @click="copyObject('checkItem')">复制到其他设备</el-button>--> |
|
|
|
|
|
<!-- </el-form>--> |
|
|
|
|
|
<!-- <el-table--> |
|
|
|
|
|
<!-- :height="330"--> |
|
|
|
|
|
<!-- :data="checkItemList"--> |
|
|
|
|
|
<!-- border--> |
|
|
|
|
|
<!-- style="width: 100%;">--> |
|
|
|
|
|
<!-- <el-table-column--> |
|
|
|
|
|
<!-- v-for="(item,index) in columnCheckItemArray" :key="index"--> |
|
|
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
|
|
<!-- :align="item.align"--> |
|
|
|
|
|
<!-- :fixed="item.fixed==''?false:item.fixed"--> |
|
|
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>--> |
|
|
|
|
|
<!-- </template>--> |
|
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
|
<!-- <el-table-column--> |
|
|
|
|
|
<!-- fixed="right"--> |
|
|
|
|
|
<!-- header-align="center"--> |
|
|
|
|
|
<!-- align="center"--> |
|
|
|
|
|
<!-- width="100"--> |
|
|
|
|
|
<!-- label="操作">--> |
|
|
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
|
|
<!-- <el-link style="cursor: pointer" @click="updateObjectItem(scope.row)">修改</el-link>--> |
|
|
|
|
|
<!-- <el-link style="cursor: pointer" @click="deleteObjectItem(scope.row)">删除</el-link>--> |
|
|
|
|
|
<!-- <el-link style="cursor: pointer" v-if="scope.row.valueChooseFlag === 'Y'" @click="chooseModal(scope.row)">可选值</el-link>--> |
|
|
|
|
|
<!-- </template>--> |
|
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
|
<!-- </el-table>--> |
|
|
|
|
|
<!-- </el-tab-pane>--> |
|
|
<!-- 维保项目 --> |
|
|
<!-- 维保项目 --> |
|
|
<el-tab-pane label="维保项目" name="maintenance_item"> |
|
|
|
|
|
<el-form :inline="true" label-position="top" style="margin-top: 5px"> |
|
|
|
|
|
<el-button type="primary" @click="addItemModal('B')">新增项目</el-button> |
|
|
|
|
|
<el-button type="primary" @click="copyObject('maintenanceItem')">复制到其他设备</el-button> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
<el-table |
|
|
|
|
|
:height="330" |
|
|
|
|
|
:data="maintenanceItemList" |
|
|
|
|
|
border |
|
|
|
|
|
style="width: 100%;"> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
v-for="(item,index) in columnMaintenanceItemArray" :key="index" |
|
|
|
|
|
:sortable="item.columnSortable" |
|
|
|
|
|
:prop="item.columnProp" |
|
|
|
|
|
:header-align="item.headerAlign" |
|
|
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
|
|
:align="item.align" |
|
|
|
|
|
:fixed="item.fixed==''?false:item.fixed" |
|
|
|
|
|
:min-width="item.columnWidth" |
|
|
|
|
|
:label="item.columnLabel"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span> |
|
|
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
fixed="right" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="100" |
|
|
|
|
|
label="操作"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<el-link style="cursor: pointer" @click="updateObjectItem(scope.row)">修改</el-link> |
|
|
|
|
|
<el-link style="cursor: pointer" @click="deleteObjectItem(scope.row)">删除</el-link> |
|
|
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.valueChooseFlag === 'Y'" @click="chooseModal(scope.row)">可选值</el-link> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
</el-table> |
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
<!-- <el-tab-pane label="维保项目" name="maintenance_item">--> |
|
|
|
|
|
<!-- <el-form :inline="true" label-position="top" style="margin-top: 5px">--> |
|
|
|
|
|
<!-- <el-button type="primary" @click="addItemModal('B')">新增项目</el-button>--> |
|
|
|
|
|
<!-- <el-button type="primary" @click="copyObject('maintenanceItem')">复制到其他设备</el-button>--> |
|
|
|
|
|
<!-- </el-form>--> |
|
|
|
|
|
<!-- <el-table--> |
|
|
|
|
|
<!-- :height="330"--> |
|
|
|
|
|
<!-- :data="maintenanceItemList"--> |
|
|
|
|
|
<!-- border--> |
|
|
|
|
|
<!-- style="width: 100%;">--> |
|
|
|
|
|
<!-- <el-table-column--> |
|
|
|
|
|
<!-- v-for="(item,index) in columnMaintenanceItemArray" :key="index"--> |
|
|
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
|
|
<!-- :align="item.align"--> |
|
|
|
|
|
<!-- :fixed="item.fixed==''?false:item.fixed"--> |
|
|
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>--> |
|
|
|
|
|
<!-- </template>--> |
|
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
|
<!-- <el-table-column--> |
|
|
|
|
|
<!-- fixed="right"--> |
|
|
|
|
|
<!-- header-align="center"--> |
|
|
|
|
|
<!-- align="center"--> |
|
|
|
|
|
<!-- width="100"--> |
|
|
|
|
|
<!-- label="操作">--> |
|
|
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
|
|
<!-- <el-link style="cursor: pointer" @click="updateObjectItem(scope.row)">修改</el-link>--> |
|
|
|
|
|
<!-- <el-link style="cursor: pointer" @click="deleteObjectItem(scope.row)">删除</el-link>--> |
|
|
|
|
|
<!-- <el-link style="cursor: pointer" v-if="scope.row.valueChooseFlag === 'Y'" @click="chooseModal(scope.row)">可选值</el-link>--> |
|
|
|
|
|
<!-- </template>--> |
|
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
|
<!-- </el-table>--> |
|
|
|
|
|
<!-- </el-tab-pane>--> |
|
|
<!-- <!– 故障现象 –>--> |
|
|
<!-- <!– 故障现象 –>--> |
|
|
<!-- <el-tab-pane label="故障现象" name="fault_behavior">--> |
|
|
<!-- <el-tab-pane label="故障现象" name="fault_behavior">--> |
|
|
<!-- <el-form :inline="true" label-position="top" style="margin-top: 5px">--> |
|
|
<!-- <el-form :inline="true" label-position="top" style="margin-top: 5px">--> |
|
|
|