|
|
|
@ -1,181 +1,188 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<el-card class="el-card">
|
|
|
|
|
<el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-if="showSearch">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<el-form-item class="query-form-item" label="扫码查询:">
|
|
|
|
|
<el-input v-model="filterQuery.udiCode"
|
|
|
|
|
style="width: 97%"
|
|
|
|
|
placeholder="请扫描或输入UDI码"
|
|
|
|
|
clearable="true"
|
|
|
|
|
@keyup.enter.native="keyup_submit($event)"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- <el-card class="el-card">-->
|
|
|
|
|
<!-- <el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-if="showSearch">-->
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="18">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="扫码查询:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.udiCode"-->
|
|
|
|
|
<!-- style="width: 97%"-->
|
|
|
|
|
<!-- placeholder="请扫描或输入UDI码"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- @keyup.enter.native="keyup_submit($event)"></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="登记部门:">
|
|
|
|
|
<el-select v-model="filterQuery.deptCode" placeholder="请选择登记部门" clearable="true"
|
|
|
|
|
@change="deptChange"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in deptList"
|
|
|
|
|
:key="item.name"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.code">
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="登记部门:">-->
|
|
|
|
|
<!-- <el-select v-model="filterQuery.deptCode" placeholder="请选择登记部门" clearable="true"-->
|
|
|
|
|
<!-- @change="deptChange"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <el-option-->
|
|
|
|
|
<!-- v-for="item in deptList"-->
|
|
|
|
|
<!-- :key="item.name"-->
|
|
|
|
|
<!-- :label="item.name"-->
|
|
|
|
|
<!-- :value="item.code">-->
|
|
|
|
|
<!-- <span style="float: left">{{ item.name }}</span>-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="负责人:">
|
|
|
|
|
<el-input v-model="filterQuery.manager" placeholder="请输入负责人" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="负责人:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.manager" placeholder="请输入负责人" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="设备状态:">
|
|
|
|
|
<el-select v-model="filterQuery.status"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
placeholder="请选择设备状态"
|
|
|
|
|
clearable
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in statusMap"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
>
|
|
|
|
|
{{ item.label }}
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="设备状态:">-->
|
|
|
|
|
<!-- <el-select v-model="filterQuery.status"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- placeholder="请选择设备状态"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <el-option-->
|
|
|
|
|
<!-- v-for="item in statusMap"-->
|
|
|
|
|
<!-- :key="item.value"-->
|
|
|
|
|
<!-- :value="item.value"-->
|
|
|
|
|
<!-- :label="item.label"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- {{ item.label }}-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="DI/物资编码:">
|
|
|
|
|
<el-input v-model="filterQuery.nameCode" placeholder="请输入DI/物资编码" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="DI/物资编码:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.nameCode" placeholder="请输入DI/物资编码" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="设备名称:">
|
|
|
|
|
<el-input v-model="filterQuery.deviceName" placeholder="请输入设备名称" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="设备名称:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.deviceName" placeholder="请输入设备名称" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="规格型号:">
|
|
|
|
|
<el-input v-model="filterQuery.ggxh" placeholder="请输入规格型号" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="规格型号:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.ggxh" placeholder="请输入规格型号" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="生产企业:">
|
|
|
|
|
<el-input v-model="filterQuery.manufactory" placeholder="请输入生产企业" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="生产企业:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.manufactory" placeholder="请输入生产企业" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="注册/备案号:">
|
|
|
|
|
<el-input v-model="filterQuery.zczbhhzbapzbh" placeholder="请输入注册/备案号" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="注册/备案号:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.zczbhhzbapzbh" placeholder="请输入注册/备案号" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="供应商:">
|
|
|
|
|
<el-input v-model="filterQuery.supName" placeholder="请输入供应商" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="资产编码:">
|
|
|
|
|
<el-input v-model="filterQuery.code" placeholder="请输入资产编码" style="width: 90%" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="供应商:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.supName" placeholder="请输入供应商" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="资产编码:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.code" placeholder="请输入资产编码" style="width: 90%" clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="query-form-item" label="批次号:">
|
|
|
|
|
<el-input v-model="filterQuery.batchNo" placeholder="请输入批次号" style="width: 90%"
|
|
|
|
|
clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div class="top-right-btn">
|
|
|
|
|
<el-button-group>
|
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button>
|
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button>
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</div>
|
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%" highlight-current-row
|
|
|
|
|
@row-click="listClick"
|
|
|
|
|
border>
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column label="登记部门" prop="deptName" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="负责人" prop="managerName" show-overflow-tooltip width="200"></el-table-column>
|
|
|
|
|
<el-table-column label="设备名称" prop="deviceName" width="200"></el-table-column>
|
|
|
|
|
<el-table-column label="规格型号" prop="ggxh" width="200" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="物资编码" prop="code" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="DI/物资编码" prop="nameCode" width="200" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="批次号" prop="batchNo" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="生产日期" prop="productionDate" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="失效日期" prop="expireDate" width="120"></el-table-column>
|
|
|
|
|
<el-table-column label="设备状态" prop="status" width="150">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag>{{ status[scope.row.status] }}</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="生产企业" prop="manufactory" show-overflow-tooltip width="200"></el-table-column>
|
|
|
|
|
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh" width="300"></el-table-column>
|
|
|
|
|
<el-table-column label="供应商" prop="supName" width="300"></el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="120" fixed="right">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button type="text" size="small" @click.native.stop="editOrder(scope.row)">编辑</el-button>
|
|
|
|
|
<el-button type="text" size="small" @click.native.stop="printOrder(scope.row)">标签打印</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total>0"
|
|
|
|
|
:total="total"
|
|
|
|
|
:limit.sync="filterQuery.limit"
|
|
|
|
|
:page.sync="filterQuery.page"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
></pagination>
|
|
|
|
|
</el-card>
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="批次号:">-->
|
|
|
|
|
<!-- <el-input v-model="filterQuery.batchNo" placeholder="请输入批次号" style="width: 90%"-->
|
|
|
|
|
<!-- clearable></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
<!-- </el-form>-->
|
|
|
|
|
<!-- <div class="top-right-btn">-->
|
|
|
|
|
<!-- <el-button-group>-->
|
|
|
|
|
<!-- <el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button>-->
|
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button>-->
|
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button>-->
|
|
|
|
|
<!-- </el-button-group>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <el-divider style="margin: 15px"></el-divider>-->
|
|
|
|
|
<!-- <el-table v-loading="loading" :data="list" style="width: 100%" highlight-current-row-->
|
|
|
|
|
<!-- @row-click="listClick"-->
|
|
|
|
|
<!-- border>-->
|
|
|
|
|
<!-- <el-table-column label="序号" type="index"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="登记部门" prop="deptName" width="180"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="负责人" prop="managerName" show-overflow-tooltip width="200"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="设备名称" prop="deviceName" width="200"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="规格型号" prop="ggxh" width="200" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="物资编码" prop="code" width="180"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="DI/物资编码" prop="nameCode" width="200" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="批次号" prop="batchNo" width="150"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="生产日期" prop="productionDate" width="150"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="失效日期" prop="expireDate" width="120"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="设备状态" prop="status" width="150">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-tag>{{ status[scope.row.status] }}</el-tag>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="生产企业" prop="manufactory" show-overflow-tooltip width="200"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="注册/备案号" prop="zczbhhzbapzbh" width="300"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="供应商" prop="supName" width="300"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="操作" width="120" fixed="right">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-button type="text" size="small" @click.native.stop="editOrder(scope.row)">编辑</el-button>-->
|
|
|
|
|
<!-- <el-button type="text" size="small" @click.native.stop="printOrder(scope.row)">标签打印</el-button>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- </el-table>-->
|
|
|
|
|
<!-- <pagination-->
|
|
|
|
|
<!-- v-show="total>0"-->
|
|
|
|
|
<!-- :total="total"-->
|
|
|
|
|
<!-- :limit.sync="filterQuery.limit"-->
|
|
|
|
|
<!-- :page.sync="filterQuery.page"-->
|
|
|
|
|
<!-- @pagination="getList"-->
|
|
|
|
|
<!-- ></pagination>-->
|
|
|
|
|
<!-- </el-card>-->
|
|
|
|
|
|
|
|
|
|
<el-tabs type="border-card" style="margin: 15px">
|
|
|
|
|
<el-tab-pane label="基本信息">
|
|
|
|
|
<deviceModifyDialog
|
|
|
|
|
:rowData="this.rowData"
|
|
|
|
|
:editSaveDev="editSaveDev"
|
|
|
|
|
>
|
|
|
|
|
</deviceModifyDialog>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="设备资质">
|
|
|
|
|
<checkResultPanel
|
|
|
|
|
:idQuery="filterQuery"
|
|
|
|
|
:rowData="selectedRowData"
|
|
|
|
|
:rowData="this.rowData"
|
|
|
|
|
></checkResultPanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="技术资料">
|
|
|
|
|
<technical
|
|
|
|
|
:idQuery="filterQuery"
|
|
|
|
|
:rowData="selectedRowData"
|
|
|
|
|
:rowData="this.rowData"
|
|
|
|
|
></technical>
|
|
|
|
|
|
|
|
|
|
</el-tab-pane>
|
|
|
|
@ -225,7 +232,7 @@
|
|
|
|
|
v-if="isInformation"
|
|
|
|
|
>
|
|
|
|
|
<DeviceModelDetail
|
|
|
|
|
:rowData="selectedRowData"
|
|
|
|
|
:rowData="this.rowData"
|
|
|
|
|
:closeDialog="closeInspectSetDialog"
|
|
|
|
|
></DeviceModelDetail>
|
|
|
|
|
</el-dialog>
|
|
|
|
@ -234,6 +241,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import deviceModifyDialog from "@/views/dev/devInfoEdit.vue";
|
|
|
|
|
import {getInvListByUser} from "@/api/system/invWarehouse";
|
|
|
|
|
import {getDeptListByUser} from "@/api/auth/authDept";
|
|
|
|
|
import {getDeptDeviceList, deleteDeptDevice, printOrder, verifyTemplateFile} from "@/api/dev/deptDevice";
|
|
|
|
@ -242,9 +250,19 @@ import DeviceModelDetail from "@/views/dev/DeviceModelDetail.vue";
|
|
|
|
|
import inspectSetModifyDialog from "@/views/dev/InspectSetModifyDialog.vue";
|
|
|
|
|
import checkResultPanel from "@/views/dev/invDeviceEditDialog.vue";
|
|
|
|
|
import technical from "@/views/dev/invTechniclDialog.vue";
|
|
|
|
|
|
|
|
|
|
import {getBasicUnitMaintains, getCorpList} from "@/api/basic/basicUnitMaintain";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
props: {
|
|
|
|
|
rowData: {
|
|
|
|
|
type: Object,
|
|
|
|
|
required: true
|
|
|
|
|
},
|
|
|
|
|
editSaveDev: {
|
|
|
|
|
type: Function,
|
|
|
|
|
required: true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
name: "DeptDeviceDetail",
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
@ -260,6 +278,7 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
},
|
|
|
|
|
maintainsList: [],
|
|
|
|
|
list: [],
|
|
|
|
|
total: 0,
|
|
|
|
|
deptList: [],
|
|
|
|
@ -328,6 +347,16 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getBasicUnitMaintainsList() {
|
|
|
|
|
getCorpList()
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.maintainsList = response.data || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.maintainsList = [];
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
listClick(row) {
|
|
|
|
|
this.selectedRowData = row // 将选中的行数据保存到 selectedRow 变量中
|
|
|
|
|
},
|
|
|
|
@ -530,10 +559,12 @@ export default {
|
|
|
|
|
technical,
|
|
|
|
|
deptDeviceModifyDialog,
|
|
|
|
|
inspectSetModifyDialog,
|
|
|
|
|
DeviceModelDetail
|
|
|
|
|
DeviceModelDetail,
|
|
|
|
|
deviceModifyDialog
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getDeptList();
|
|
|
|
|
this.getBasicUnitMaintainsList();
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|