|
@@ -166,19 +166,19 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</div> --> |
|
|
</div> --> |
|
|
</div> |
|
|
</div> |
|
|
<div style="display:flex"> |
|
|
|
|
|
<div class="app-titel" style="margin-top: 15px"> |
|
|
|
|
|
<!-- <div class="label" style="color: #ffffff">筛选相关:</div> --> |
|
|
|
|
|
<div style="margin-left: 20px"> |
|
|
|
|
|
<el-button type="primary" @click="screen">筛选</el-button> |
|
|
|
|
|
|
|
|
<div style="display: flex"> |
|
|
|
|
|
<div class="app-titel" style="margin-top: 15px"> |
|
|
|
|
|
<!-- <div class="label" style="color: #ffffff">筛选相关:</div> --> |
|
|
|
|
|
<div style="margin-left: 20px"> |
|
|
|
|
|
<el-button type="primary" @click="screen">筛选</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div style="margin-left: 20px"> |
|
|
|
|
|
<el-button @click="reset" type="text">清空筛选条件</el-button> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-left: 20px"> |
|
|
|
|
|
<el-button @click="reset" type="text">清空筛选条件</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="app-titel" style="margin-top: 15px"> |
|
|
|
|
|
<!-- <div class="label" style="color: #ffffff">筛选相关:</div> --> |
|
|
|
|
|
<!-- <div style="margin-left: 20px"> |
|
|
|
|
|
|
|
|
<div class="app-titel" style="margin-top: 15px"> |
|
|
|
|
|
<!-- <div class="label" style="color: #ffffff">筛选相关:</div> --> |
|
|
|
|
|
<!-- <div style="margin-left: 20px"> |
|
|
<el-button |
|
|
<el-button |
|
|
@click="Batchreturn()" |
|
|
@click="Batchreturn()" |
|
|
type="primary" |
|
|
type="primary" |
|
@@ -186,95 +186,147 @@ |
|
|
>批量归还</el-button |
|
|
>批量归还</el-button |
|
|
> |
|
|
> |
|
|
</div> --> |
|
|
</div> --> |
|
|
<div style="margin-left: auto;margin-right:10px;" v-if="euq_index_downLoad"> |
|
|
|
|
|
<el-button |
|
|
|
|
|
@click="infoMasstransfer()" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
v-if="equ_index_bind" |
|
|
|
|
|
:disabled="multipleSelection.length == 0" |
|
|
|
|
|
>批量绑定</el-button |
|
|
|
|
|
> |
|
|
|
|
|
<el-button |
|
|
|
|
|
@click="zkequipmentUnbind()" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
v-if="equ_index_unbind" |
|
|
|
|
|
:disabled="multipleSelection.length == 0" |
|
|
|
|
|
>批量解绑</el-button |
|
|
|
|
|
> |
|
|
|
|
|
<el-button |
|
|
|
|
|
@click="infoBulkbinding()" |
|
|
|
|
|
v-if="euq_index_batch" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
:disabled="multipleSelection.length == 0" |
|
|
|
|
|
>批量绑定批次号</el-button |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
style="margin-left: auto; margin-right: 10px" |
|
|
|
|
|
v-if="euq_index_downLoad" |
|
|
> |
|
|
> |
|
|
<el-button v-if="equ_index_add" @click="infoadd()" type="primary">添加</el-button> |
|
|
|
|
|
<el-button @click="downLoad" icon="el-icon-download">导出</el-button> |
|
|
|
|
|
|
|
|
<el-button |
|
|
|
|
|
@click="infoMasstransfer()" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
v-if="equ_index_bind" |
|
|
|
|
|
:disabled="multipleSelection.length == 0" |
|
|
|
|
|
>批量绑定</el-button |
|
|
|
|
|
> |
|
|
|
|
|
<el-button |
|
|
|
|
|
@click="zkequipmentUnbind()" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
v-if="equ_index_unbind" |
|
|
|
|
|
:disabled="multipleSelection.length == 0" |
|
|
|
|
|
>批量解绑</el-button |
|
|
|
|
|
> |
|
|
|
|
|
<el-button |
|
|
|
|
|
@click="infoBulkbinding()" |
|
|
|
|
|
v-if="euq_index_batch" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
:disabled="multipleSelection.length == 0" |
|
|
|
|
|
>批量绑定批次号</el-button |
|
|
|
|
|
> |
|
|
|
|
|
<el-button v-if="equ_index_add" @click="infoadd()" type="primary" |
|
|
|
|
|
>添加</el-button |
|
|
|
|
|
> |
|
|
|
|
|
<el-button @click="downLoad" icon="el-icon-download" |
|
|
|
|
|
>导出</el-button |
|
|
|
|
|
> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- 表格 --> |
|
|
<!-- 表格 --> |
|
|
<div class="cen-tab"> |
|
|
<div class="cen-tab"> |
|
|
<el-table |
|
|
|
|
|
:data="tableData" |
|
|
|
|
|
stripe |
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
|
style="width: 100%" |
|
|
|
|
|
height="390" |
|
|
|
|
|
:header-cell-style="{background:'#F5F7FA',color:'#333333'}" |
|
|
|
|
|
> |
|
|
|
|
|
<el-table-column type="selection" width="55"> </el-table-column> |
|
|
|
|
|
<el-table-column type="index" label="序号" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="imei" label="设备编号" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<el-tooltip class="item" effect="dark" :content="row.imei" placement="top-start"> |
|
|
|
|
|
<span style="display: block;width: 100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"> {{row.imei || "-"}}</span> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="batchId" label="批次号" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<el-tooltip class="item" effect="dark" :content="row.batchId" placement="top-start"> |
|
|
|
|
|
<span style="display: block;width: 100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"> {{row.batchId || "-"}}</span> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="agentName" label="代理商" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="orgName" label="公司" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<el-tooltip class="item" effect="dark" :content="row.orgName" placement="top-start"> |
|
|
|
|
|
<span style="display: block;width: 100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"> {{row.orgName || "-"}}</span> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="houseName" label="项目" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="userName" label="领用人" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="userPhone" label="领用人手机" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="receiveType" label="领用状态" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
{{ |
|
|
|
|
|
row.receiveType == 1 |
|
|
|
|
|
? "未领用" |
|
|
|
|
|
: row.receiveType == 2 |
|
|
|
|
|
? "使用中" |
|
|
|
|
|
: "已归还" |
|
|
|
|
|
}} |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<!-- <el-table-column prop="date" label="在线状态" align="center"> |
|
|
|
|
|
|
|
|
<div class="tablimit"> |
|
|
|
|
|
<el-table |
|
|
|
|
|
:data="tableData" |
|
|
|
|
|
stripe |
|
|
|
|
|
height="100%" |
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
|
:header-cell-style="{ background: '#F5F7FA', color: '#333333' }" |
|
|
|
|
|
> |
|
|
|
|
|
<el-table-column type="selection" width="55"> </el-table-column> |
|
|
|
|
|
<el-table-column type="index" label="序号" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="imei" label="设备编号" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<el-tooltip |
|
|
|
|
|
class="item" |
|
|
|
|
|
effect="dark" |
|
|
|
|
|
:content="row.imei" |
|
|
|
|
|
placement="top-start" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
style=" |
|
|
|
|
|
display: block; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
|
|
|
{{ row.imei || "-" }}</span |
|
|
|
|
|
> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="batchId" label="批次号" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<el-tooltip |
|
|
|
|
|
class="item" |
|
|
|
|
|
effect="dark" |
|
|
|
|
|
:content="row.batchId" |
|
|
|
|
|
placement="top-start" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
style=" |
|
|
|
|
|
display: block; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
|
|
|
{{ row.batchId || "-" }}</span |
|
|
|
|
|
> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="agentName" label="代理商" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="orgName" label="公司" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<el-tooltip |
|
|
|
|
|
class="item" |
|
|
|
|
|
effect="dark" |
|
|
|
|
|
:content="row.orgName" |
|
|
|
|
|
placement="top-start" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
style=" |
|
|
|
|
|
display: block; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
|
|
|
{{ row.orgName || "-" }}</span |
|
|
|
|
|
> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="houseName" label="项目" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="userName" label="领用人" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="userPhone" label="领用人手机" align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column prop="receiveType" label="领用状态" align="center"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
{{ |
|
|
|
|
|
row.receiveType == 1 |
|
|
|
|
|
? "未领用" |
|
|
|
|
|
: row.receiveType == 2 |
|
|
|
|
|
? "使用中" |
|
|
|
|
|
: "已归还" |
|
|
|
|
|
}} |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<!-- <el-table-column prop="date" label="在线状态" align="center"> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="date" label="录音状态" align="center"> |
|
|
<el-table-column prop="date" label="录音状态" align="center"> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="name" label="上传状态" align="center"> |
|
|
<el-table-column prop="name" label="上传状态" align="center"> |
|
|
</el-table-column> --> |
|
|
</el-table-column> --> |
|
|
<!-- <el-table-column |
|
|
|
|
|
|
|
|
<!-- <el-table-column |
|
|
prop="autoSwitch" |
|
|
prop="autoSwitch" |
|
|
label="自动转写开关" |
|
|
label="自动转写开关" |
|
|
align="center" |
|
|
align="center" |
|
@@ -284,37 +336,37 @@ |
|
|
{{ row.autoSwitch == 0 ? "已关闭" : "已开启" }} |
|
|
{{ row.autoSwitch == 0 ? "已关闭" : "已开启" }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> --> |
|
|
</el-table-column> --> |
|
|
<el-table-column |
|
|
|
|
|
prop="transliterationMethodName" |
|
|
|
|
|
label="转写方式" |
|
|
|
|
|
align="center" |
|
|
|
|
|
> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="acceptanceStatus" |
|
|
|
|
|
label="设备状态" |
|
|
|
|
|
align="center" |
|
|
|
|
|
> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
{{ |
|
|
|
|
|
row.acceptanceStatus == 0 |
|
|
|
|
|
? "已验收" |
|
|
|
|
|
: row.acceptanceStatus == 1 |
|
|
|
|
|
? "未验收" |
|
|
|
|
|
: row.acceptanceStatus == 2 |
|
|
|
|
|
? "维修中" |
|
|
|
|
|
: row.acceptanceStatus == 3 |
|
|
|
|
|
? "更换中" |
|
|
|
|
|
: "已报损" |
|
|
|
|
|
}} |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="transliterationMethodName" |
|
|
|
|
|
label="转写方式" |
|
|
|
|
|
align="center" |
|
|
|
|
|
> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="acceptanceStatus" |
|
|
|
|
|
label="设备状态" |
|
|
|
|
|
align="center" |
|
|
|
|
|
> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
{{ |
|
|
|
|
|
row.acceptanceStatus == 0 |
|
|
|
|
|
? "已验收" |
|
|
|
|
|
: row.acceptanceStatus == 1 |
|
|
|
|
|
? "未验收" |
|
|
|
|
|
: row.acceptanceStatus == 2 |
|
|
|
|
|
? "维修中" |
|
|
|
|
|
: row.acceptanceStatus == 3 |
|
|
|
|
|
? "更换中" |
|
|
|
|
|
: "已报损" |
|
|
|
|
|
}} |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<!-- <el-table-column prop="name" label="转写方式" align="center"> |
|
|
|
|
|
|
|
|
<!-- <el-table-column prop="name" label="转写方式" align="center"> |
|
|
</el-table-column> --> |
|
|
</el-table-column> --> |
|
|
<!-- <el-table-column prop="name" label="开机指示灯" align="center"> |
|
|
|
|
|
|
|
|
<!-- <el-table-column prop="name" label="开机指示灯" align="center"> |
|
|
</el-table-column> --> |
|
|
</el-table-column> --> |
|
|
<!-- <el-table-column |
|
|
|
|
|
|
|
|
<!-- <el-table-column |
|
|
prop="name" |
|
|
prop="name" |
|
|
label="电池电量" |
|
|
label="电池电量" |
|
|
width="200" |
|
|
width="200" |
|
@@ -338,33 +390,33 @@ |
|
|
<el-table-column prop="name" label="关机类型" align="center"> |
|
|
<el-table-column prop="name" label="关机类型" align="center"> |
|
|
</el-table-column> --> |
|
|
</el-table-column> --> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="createTime" |
|
|
|
|
|
label="添加时间" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="150" |
|
|
|
|
|
> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<!-- <el-table-column prop="name" label="购买时间" align="center"> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="createTime" |
|
|
|
|
|
label="添加时间" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="150" |
|
|
|
|
|
> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<!-- <el-table-column prop="name" label="购买时间" align="center"> |
|
|
</el-table-column> --> |
|
|
</el-table-column> --> |
|
|
<el-table-column |
|
|
|
|
|
prop="bindHouseTime" |
|
|
|
|
|
label="绑定项目时间" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="150" |
|
|
|
|
|
> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<!-- <el-table-column |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="bindHouseTime" |
|
|
|
|
|
label="绑定项目时间" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="150" |
|
|
|
|
|
> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<!-- <el-table-column |
|
|
prop="name" |
|
|
prop="name" |
|
|
label="绑定代理时间" |
|
|
label="绑定代理时间" |
|
|
align="center" |
|
|
align="center" |
|
|
width="150" |
|
|
width="150" |
|
|
> |
|
|
> |
|
|
</el-table-column> --> |
|
|
</el-table-column> --> |
|
|
<!-- scope --> |
|
|
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="80"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<!-- <el-button v-if="row.receiveType == 2 && euq_index_back" type="text" @click="toinifoThereturn()">归还</el-button> |
|
|
|
|
|
|
|
|
<!-- scope --> |
|
|
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="80"> |
|
|
|
|
|
<template slot-scope="{ row }"> |
|
|
|
|
|
<!-- <el-button v-if="row.receiveType == 2 && euq_index_back" type="text" @click="toinifoThereturn()">归还</el-button> |
|
|
<el-button v-if="equ_index_change" type="text" @click="infotranscription()">转写方式</el-button> |
|
|
<el-button v-if="equ_index_change" type="text" @click="infotranscription()">转写方式</el-button> |
|
|
<el-button v-if="equ_index_auto" type="text" @click="isAutoSwitch()">自动转写</el-button> |
|
|
<el-button v-if="equ_index_auto" type="text" @click="isAutoSwitch()">自动转写</el-button> |
|
|
<el-button v-if="row.acceptanceStatus == 1 && equ_index_makeSure" type="text" @click="acceptance()">验收</el-button> |
|
|
<el-button v-if="row.acceptanceStatus == 1 && equ_index_makeSure" type="text" @click="acceptance()">验收</el-button> |
|
@@ -372,22 +424,41 @@ |
|
|
<el-button v-if="orgType == 0 && equ_index_bind&&row.receiveType!=2" type="text" @click="toinfobinding()">绑定</el-button> |
|
|
<el-button v-if="orgType == 0 && equ_index_bind&&row.receiveType!=2" type="text" @click="toinfobinding()">绑定</el-button> |
|
|
<el-button v-if="equ_index_del&&row.receiveType!=2" type="text" @click="toinifodelete()">删除</el-button> --> |
|
|
<el-button v-if="equ_index_del&&row.receiveType!=2" type="text" @click="toinifodelete()">删除</el-button> --> |
|
|
|
|
|
|
|
|
<el-dropdown v-if="(row.receiveType == 2 && euq_index_back)||equ_index_change||equ_index_auto||(row.acceptanceStatus == 1 && equ_index_makeSure)||(row.acceptanceStatus != (1 || 0) && euq_index_normal)||( equ_index_bind&&row.receiveType!=2)||(equ_index_del&&row.receiveType!=2)||(equ_index_ubind&&row.propertyId)" @command="handleCommand($event, row)" trigger="click"> |
|
|
|
|
|
<span style="color: #2671E2; font-size: 12px; margin-left: 10px; cursor: pointer;"> |
|
|
|
|
|
更多<i class="el-icon-arrow-down el-icon--right"></i> |
|
|
|
|
|
</span> |
|
|
|
|
|
<el-dropdown-menu slot="dropdown"> |
|
|
|
|
|
<el-dropdown-item |
|
|
|
|
|
command="toinifoThereturn" |
|
|
|
|
|
v-if="row.receiveType == 2 && euq_index_back" |
|
|
|
|
|
>归还</el-dropdown-item |
|
|
|
|
|
|
|
|
<el-dropdown |
|
|
|
|
|
v-if=" |
|
|
|
|
|
(row.receiveType == 2 && euq_index_back) || |
|
|
|
|
|
equ_index_change || |
|
|
|
|
|
equ_index_auto || |
|
|
|
|
|
(row.acceptanceStatus == 1 && equ_index_makeSure) || |
|
|
|
|
|
(row.acceptanceStatus != (1 || 0) && euq_index_normal) || |
|
|
|
|
|
(equ_index_bind && row.receiveType != 2) || |
|
|
|
|
|
(equ_index_del && row.receiveType != 2) || |
|
|
|
|
|
(equ_index_ubind && row.propertyId) |
|
|
|
|
|
" |
|
|
|
|
|
@command="handleCommand($event, row)" |
|
|
|
|
|
trigger="click" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
style=" |
|
|
|
|
|
color: #2671e2; |
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
margin-left: 10px; |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
" |
|
|
> |
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
更多<i class="el-icon-arrow-down el-icon--right"></i> |
|
|
|
|
|
</span> |
|
|
|
|
|
<el-dropdown-menu slot="dropdown"> |
|
|
<el-dropdown-item |
|
|
<el-dropdown-item |
|
|
command="zhuanxeishezhi" |
|
|
|
|
|
>转写设置</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<!-- <el-dropdown-item |
|
|
|
|
|
|
|
|
command="toinifoThereturn" |
|
|
|
|
|
v-if="row.receiveType == 2 && euq_index_back" |
|
|
|
|
|
>归还</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
<el-dropdown-item command="zhuanxeishezhi" |
|
|
|
|
|
>转写设置</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<!-- <el-dropdown-item |
|
|
command="infotranscription" |
|
|
command="infotranscription" |
|
|
v-if="equ_index_change" |
|
|
v-if="equ_index_change" |
|
|
>转写方式</el-dropdown-item |
|
|
>转写方式</el-dropdown-item |
|
@@ -395,36 +466,41 @@ |
|
|
<el-dropdown-item command="isAutoSwitch" v-if="equ_index_auto" |
|
|
<el-dropdown-item command="isAutoSwitch" v-if="equ_index_auto" |
|
|
>自动转写</el-dropdown-item |
|
|
>自动转写</el-dropdown-item |
|
|
> --> |
|
|
> --> |
|
|
<el-dropdown-item |
|
|
|
|
|
command="acceptance" |
|
|
|
|
|
v-if="row.acceptanceStatus == 1 && equ_index_makeSure" |
|
|
|
|
|
>验收</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<!-- <el-dropdown-item |
|
|
|
|
|
|
|
|
<el-dropdown-item |
|
|
|
|
|
command="acceptance" |
|
|
|
|
|
v-if="row.acceptanceStatus == 1 && equ_index_makeSure" |
|
|
|
|
|
>验收</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<!-- <el-dropdown-item |
|
|
command="getRight" |
|
|
command="getRight" |
|
|
v-if="row.acceptanceStatus != (1 || 0) && euq_index_normal" |
|
|
v-if="row.acceptanceStatus != (1 || 0) && euq_index_normal" |
|
|
>恢复正常</el-dropdown-item |
|
|
>恢复正常</el-dropdown-item |
|
|
> --> |
|
|
> --> |
|
|
<el-dropdown-item |
|
|
|
|
|
command="toinfobinding" |
|
|
|
|
|
v-if="equ_index_bind&&row.receiveType!=2&&!row.propertyId" |
|
|
|
|
|
>绑定</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<el-dropdown-item |
|
|
|
|
|
command="equipmentUnbind" |
|
|
|
|
|
v-if="equ_index_ubind&&row.propertyId" |
|
|
|
|
|
>解绑</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<!-- <el-dropdown-item command="infoeditor">修改</el-dropdown-item> --> |
|
|
|
|
|
<el-dropdown-item command="toinifodelete" v-if="equ_index_del&&row.receiveType!=2" |
|
|
|
|
|
>删除</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
</el-dropdown-menu> |
|
|
|
|
|
</el-dropdown> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
</el-table> |
|
|
|
|
|
<div style="display: flex; justify-content: flex-end; margin-top: 10px"> |
|
|
|
|
|
|
|
|
<el-dropdown-item |
|
|
|
|
|
command="toinfobinding" |
|
|
|
|
|
v-if=" |
|
|
|
|
|
equ_index_bind && row.receiveType != 2 && !row.propertyId |
|
|
|
|
|
" |
|
|
|
|
|
>绑定</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<el-dropdown-item |
|
|
|
|
|
command="equipmentUnbind" |
|
|
|
|
|
v-if="equ_index_ubind && row.propertyId" |
|
|
|
|
|
>解绑</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
<!-- <el-dropdown-item command="infoeditor">修改</el-dropdown-item> --> |
|
|
|
|
|
<el-dropdown-item |
|
|
|
|
|
command="toinifodelete" |
|
|
|
|
|
v-if="equ_index_del && row.receiveType != 2" |
|
|
|
|
|
>删除</el-dropdown-item |
|
|
|
|
|
> |
|
|
|
|
|
</el-dropdown-menu> |
|
|
|
|
|
</el-dropdown> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
</el-table> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div style="flex-shrink: 0;display: flex; justify-content: flex-end; margin-top: 10px"> |
|
|
<el-pagination |
|
|
<el-pagination |
|
|
@size-change="handleSizeChange" |
|
|
@size-change="handleSizeChange" |
|
|
@current-change="handleCurrentChange" |
|
|
@current-change="handleCurrentChange" |
|
@@ -442,7 +518,8 @@ |
|
|
title="新增设备" |
|
|
title="新增设备" |
|
|
:visible.sync="dialogVisible" |
|
|
:visible.sync="dialogVisible" |
|
|
@close="resetImei" |
|
|
@close="resetImei" |
|
|
:center="true" width="600px" |
|
|
|
|
|
|
|
|
:center="true" |
|
|
|
|
|
width="600px" |
|
|
> |
|
|
> |
|
|
<el-form |
|
|
<el-form |
|
|
:model="addForm" |
|
|
:model="addForm" |
|
@@ -452,7 +529,13 @@ |
|
|
label-width="100px" |
|
|
label-width="100px" |
|
|
> |
|
|
> |
|
|
<el-form-item label="设备号" prop="imei"> |
|
|
<el-form-item label="设备号" prop="imei"> |
|
|
<el-input v-model="addForm.imei" placeholder="设备号" style="width: 80%" maxlength="20" clearable></el-input> |
|
|
|
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="addForm.imei" |
|
|
|
|
|
placeholder="设备号" |
|
|
|
|
|
style="width: 80%" |
|
|
|
|
|
maxlength="20" |
|
|
|
|
|
clearable |
|
|
|
|
|
></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<!-- <el-form-item label="转写方式" prop="defaultTransliteration"> |
|
|
<!-- <el-form-item label="转写方式" prop="defaultTransliteration"> |
|
|
<el-radio-group v-model="addForm.defaultTransliteration"> |
|
|
<el-radio-group v-model="addForm.defaultTransliteration"> |
|
@@ -489,13 +572,29 @@ |
|
|
></el-input> |
|
|
></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
slot="footer" |
|
|
|
|
|
class="dialog-footer" |
|
|
|
|
|
style=" |
|
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
|
padding-top: 20px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: end; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
<el-button @click="dialogVisible = false">取 消</el-button> |
|
|
<el-button @click="dialogVisible = false">取 消</el-button> |
|
|
<el-button type="primary" :loading="loadingFlag" @click="addEquipment()">保存</el-button> |
|
|
|
|
|
|
|
|
<el-button type="primary" :loading="loadingFlag" @click="addEquipment()" |
|
|
|
|
|
>保存</el-button |
|
|
|
|
|
> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<el-dialog title="编辑" :visible.sync="dialogVisible2" :center="true" width="600px"> |
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
title="编辑" |
|
|
|
|
|
:visible.sync="dialogVisible2" |
|
|
|
|
|
:center="true" |
|
|
|
|
|
width="600px" |
|
|
|
|
|
> |
|
|
<el-form |
|
|
<el-form |
|
|
:model="editForm" |
|
|
:model="editForm" |
|
|
label-position="labelPosition" |
|
|
label-position="labelPosition" |
|
@@ -533,20 +632,34 @@ |
|
|
></el-input> |
|
|
></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
slot="footer" |
|
|
|
|
|
class="dialog-footer" |
|
|
|
|
|
style=" |
|
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
|
padding-top: 20px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: end; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
<el-button @click="dialogVisible2 = false">取 消</el-button> |
|
|
<el-button @click="dialogVisible2 = false">取 消</el-button> |
|
|
<el-button type="primary" @click="editor()">保存</el-button> |
|
|
<el-button type="primary" @click="editor()">保存</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<el-dialog title="绑定" :center="true" width="600px" :visible.sync="dialogVisible3" @close="resetBind"> |
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
title="绑定" |
|
|
|
|
|
:center="true" |
|
|
|
|
|
width="600px" |
|
|
|
|
|
:visible.sync="dialogVisible3" |
|
|
|
|
|
@close="resetBind" |
|
|
|
|
|
> |
|
|
<el-form |
|
|
<el-form |
|
|
:model="bindForm" |
|
|
:model="bindForm" |
|
|
label-position="labelPosition" |
|
|
label-position="labelPosition" |
|
|
ref="bindForm" |
|
|
ref="bindForm" |
|
|
:rules="bindRules" |
|
|
:rules="bindRules" |
|
|
label-width="100px" |
|
|
label-width="100px" |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
<!-- <el-form-item label="绑定" prop="choic"> |
|
|
<!-- <el-form-item label="绑定" prop="choic"> |
|
|
<el-radio-group v-model="bindForm.choic"> |
|
|
<el-radio-group v-model="bindForm.choic"> |
|
@@ -584,7 +697,16 @@ |
|
|
></el-input> |
|
|
></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
slot="footer" |
|
|
|
|
|
class="dialog-footer" |
|
|
|
|
|
style=" |
|
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
|
padding-top: 20px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: end; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
<el-button @click="dialogVisible3 = false">取 消</el-button> |
|
|
<el-button @click="dialogVisible3 = false">取 消</el-button> |
|
|
<el-button type="primary" @click="binding()">保存</el-button> |
|
|
<el-button type="primary" @click="binding()">保存</el-button> |
|
|
</div> |
|
|
</div> |
|
@@ -611,7 +733,6 @@ |
|
|
placeholder="请选择" |
|
|
placeholder="请选择" |
|
|
filterable |
|
|
filterable |
|
|
clearable |
|
|
clearable |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="item in batchList" |
|
|
v-for="item in batchList" |
|
@@ -623,7 +744,16 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
slot="footer" |
|
|
|
|
|
class="dialog-footer" |
|
|
|
|
|
style=" |
|
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
|
padding-top: 20px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: end; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
<el-button @click="dialogVisible4 = false">取 消</el-button> |
|
|
<el-button @click="dialogVisible4 = false">取 消</el-button> |
|
|
<el-button type="primary" @click="Bulkbinding()">保存</el-button> |
|
|
<el-button type="primary" @click="Bulkbinding()">保存</el-button> |
|
|
</div> |
|
|
</div> |
|
@@ -661,7 +791,16 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
slot="footer" |
|
|
|
|
|
class="dialog-footer" |
|
|
|
|
|
style=" |
|
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
|
padding-top: 20px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: end; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
<el-button @click="dialogVisible5 = false">取 消</el-button> |
|
|
<el-button @click="dialogVisible5 = false">取 消</el-button> |
|
|
<el-button type="primary" @click="Masstransfer()">保存</el-button> |
|
|
<el-button type="primary" @click="Masstransfer()">保存</el-button> |
|
|
</div> |
|
|
</div> |
|
@@ -671,7 +810,8 @@ |
|
|
title="领用" |
|
|
title="领用" |
|
|
:visible.sync="receiveVisible" |
|
|
:visible.sync="receiveVisible" |
|
|
@close="resetReceive" |
|
|
@close="resetReceive" |
|
|
:center="true" width="600px" |
|
|
|
|
|
|
|
|
:center="true" |
|
|
|
|
|
width="600px" |
|
|
> |
|
|
> |
|
|
<el-form |
|
|
<el-form |
|
|
:model="receiveForm" |
|
|
:model="receiveForm" |
|
@@ -711,27 +851,45 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
slot="footer" |
|
|
|
|
|
class="dialog-footer" |
|
|
|
|
|
style=" |
|
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
|
padding-top: 20px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: end; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
<el-button @click="receiveVisible = false">取 消</el-button> |
|
|
<el-button @click="receiveVisible = false">取 消</el-button> |
|
|
<el-button type="primary" @click="saveReceive()">保存</el-button> |
|
|
<el-button type="primary" @click="saveReceive()">保存</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
<el-dialog |
|
|
title="转写设置" |
|
|
title="转写设置" |
|
|
:visible.sync="receiveVisiblescd" |
|
|
:visible.sync="receiveVisiblescd" |
|
|
:center="true" width="600px" |
|
|
|
|
|
|
|
|
:center="true" |
|
|
|
|
|
width="600px" |
|
|
> |
|
|
> |
|
|
<div> |
|
|
|
|
|
<span>转写方式:</span> |
|
|
|
|
|
<el-radio-group v-model="radioindex" style="margin-left:30px;"> |
|
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
<span>转写方式:</span> |
|
|
|
|
|
<el-radio-group v-model="radioindex" style="margin-left: 30px"> |
|
|
<el-radio :label="0">关闭转写</el-radio> |
|
|
<el-radio :label="0">关闭转写</el-radio> |
|
|
<el-radio :label="1">科大讯飞</el-radio> |
|
|
<el-radio :label="1">科大讯飞</el-radio> |
|
|
<el-radio :label="2">思必驰</el-radio> |
|
|
<el-radio :label="2">思必驰</el-radio> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
|
</div> |
|
|
|
|
|
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div |
|
|
|
|
|
slot="footer" |
|
|
|
|
|
class="dialog-footer" |
|
|
|
|
|
style=" |
|
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
|
padding-top: 20px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: end; |
|
|
|
|
|
" |
|
|
|
|
|
> |
|
|
<el-button @click="receiveVisiblescd = false">取 消</el-button> |
|
|
<el-button @click="receiveVisiblescd = false">取 消</el-button> |
|
|
<el-button type="primary" @click="shezhizhuanxei()">保存</el-button> |
|
|
<el-button type="primary" @click="shezhizhuanxei()">保存</el-button> |
|
|
</div> |
|
|
</div> |
|
@@ -741,7 +899,7 @@ |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { mapGetters } from "vuex"; |
|
|
import { mapGetters } from "vuex"; |
|
|
import { exportMethodPost} from "@/util/util"; |
|
|
|
|
|
|
|
|
import { exportMethodPost } from "@/util/util"; |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@@ -839,7 +997,7 @@ export default { |
|
|
dialogVisible4: false, |
|
|
dialogVisible4: false, |
|
|
dialogVisible5: false, |
|
|
dialogVisible5: false, |
|
|
receiveVisible: false, |
|
|
receiveVisible: false, |
|
|
loadingFlag:false, |
|
|
|
|
|
|
|
|
loadingFlag: false, |
|
|
batchForm: { |
|
|
batchForm: { |
|
|
batchId: "", |
|
|
batchId: "", |
|
|
imeis: "", |
|
|
imeis: "", |
|
@@ -887,9 +1045,9 @@ export default { |
|
|
{ color: "#1989fa", percentage: 80 }, |
|
|
{ color: "#1989fa", percentage: 80 }, |
|
|
{ color: "#6f7ad3", percentage: 100 }, |
|
|
{ color: "#6f7ad3", percentage: 100 }, |
|
|
], |
|
|
], |
|
|
radioindex:'', |
|
|
|
|
|
radioindexid:'', |
|
|
|
|
|
receiveVisiblescd:false |
|
|
|
|
|
|
|
|
radioindex: "", |
|
|
|
|
|
radioindexid: "", |
|
|
|
|
|
receiveVisiblescd: false, |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
@@ -910,8 +1068,8 @@ export default { |
|
|
this.euq_index_downLoad = this.permissions["euq_index_downLoad"]; |
|
|
this.euq_index_downLoad = this.permissions["euq_index_downLoad"]; |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
if(this.$route.query.time){ |
|
|
|
|
|
this.time=[this.$route.query.time,this.$route.query.time] |
|
|
|
|
|
|
|
|
if (this.$route.query.time) { |
|
|
|
|
|
this.time = [this.$route.query.time, this.$route.query.time]; |
|
|
this.searchForm.startDate = this.time[0]; |
|
|
this.searchForm.startDate = this.time[0]; |
|
|
this.searchForm.endDate = this.time[1]; |
|
|
this.searchForm.endDate = this.time[1]; |
|
|
} |
|
|
} |
|
@@ -923,30 +1081,36 @@ export default { |
|
|
this.zkhousePage(); |
|
|
this.zkhousePage(); |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
downLoad(){ |
|
|
|
|
|
|
|
|
downLoad() { |
|
|
let obj = { |
|
|
let obj = { |
|
|
timeType:1, |
|
|
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
|
|
orgCode: localStorage.getItem("orgCode"), |
|
|
|
|
|
agentId: localStorage.getItem("agentId"), |
|
|
|
|
|
houseId: localStorage.getItem("houseId"), |
|
|
|
|
|
...this.searchForm, |
|
|
|
|
|
|
|
|
timeType: 1, |
|
|
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
|
|
orgCode: localStorage.getItem("orgCode"), |
|
|
|
|
|
agentId: localStorage.getItem("agentId"), |
|
|
|
|
|
houseId: localStorage.getItem("houseId"), |
|
|
|
|
|
...this.searchForm, |
|
|
}; |
|
|
}; |
|
|
exportMethodPost('autoSR/zk/equipment/equipmentManagementExport','设备使用统计',obj) |
|
|
|
|
|
|
|
|
exportMethodPost( |
|
|
|
|
|
"autoSR/zk/equipment/equipmentManagementExport", |
|
|
|
|
|
"设备使用统计", |
|
|
|
|
|
obj |
|
|
|
|
|
); |
|
|
}, |
|
|
}, |
|
|
//转写设置 |
|
|
//转写设置 |
|
|
zhuanxeishezhi(row){ |
|
|
|
|
|
this.radioindexid=row.id; |
|
|
|
|
|
this.radioindex=row.transliterationMethod; |
|
|
|
|
|
this.receiveVisiblescd=true; |
|
|
|
|
|
|
|
|
zhuanxeishezhi(row) { |
|
|
|
|
|
this.radioindexid = row.id; |
|
|
|
|
|
this.radioindex = row.transliterationMethod; |
|
|
|
|
|
this.receiveVisiblescd = true; |
|
|
}, |
|
|
}, |
|
|
//转写设置确认 |
|
|
|
|
|
shezhizhuanxei(){ |
|
|
|
|
|
this.$api.api.updateTranslationMethod({ |
|
|
|
|
|
id: this.radioindexid, |
|
|
|
|
|
transliterationMethod:this.radioindex, |
|
|
|
|
|
}).then((res) => { |
|
|
|
|
|
this.receiveVisiblescd=false; |
|
|
|
|
|
|
|
|
//转写设置确认 |
|
|
|
|
|
shezhizhuanxei() { |
|
|
|
|
|
this.$api.api |
|
|
|
|
|
.updateTranslationMethod({ |
|
|
|
|
|
id: this.radioindexid, |
|
|
|
|
|
transliterationMethod: this.radioindex, |
|
|
|
|
|
}) |
|
|
|
|
|
.then((res) => { |
|
|
|
|
|
this.receiveVisiblescd = false; |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
type: "success", |
|
|
type: "success", |
|
|
message: "修改成功!", |
|
|
message: "修改成功!", |
|
@@ -1036,7 +1200,7 @@ export default { |
|
|
batchId: "", |
|
|
batchId: "", |
|
|
remark: "", |
|
|
remark: "", |
|
|
}; |
|
|
}; |
|
|
this.$refs.addForm.resetFields() |
|
|
|
|
|
|
|
|
this.$refs.addForm.resetFields(); |
|
|
}, |
|
|
}, |
|
|
resetBind() { |
|
|
resetBind() { |
|
|
this.bindForm = { |
|
|
this.bindForm = { |
|
@@ -1061,7 +1225,7 @@ export default { |
|
|
.equipmentManagement({ |
|
|
.equipmentManagement({ |
|
|
size: this.size, |
|
|
size: this.size, |
|
|
current: this.currentPage, |
|
|
current: this.currentPage, |
|
|
timeType:1, |
|
|
|
|
|
|
|
|
timeType: 1, |
|
|
orgType: localStorage.getItem("orgType"), |
|
|
orgType: localStorage.getItem("orgType"), |
|
|
orgCode: localStorage.getItem("orgCode"), |
|
|
orgCode: localStorage.getItem("orgCode"), |
|
|
agentId: localStorage.getItem("agentId"), |
|
|
agentId: localStorage.getItem("agentId"), |
|
@@ -1141,7 +1305,7 @@ export default { |
|
|
// }); |
|
|
// }); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
equipmentUnbind(row){ |
|
|
|
|
|
|
|
|
equipmentUnbind(row) { |
|
|
this.$confirm("确认解绑吗?", "提示", { |
|
|
this.$confirm("确认解绑吗?", "提示", { |
|
|
confirmButtonText: "确定", |
|
|
confirmButtonText: "确定", |
|
|
cancelButtonText: "取消", |
|
|
cancelButtonText: "取消", |
|
@@ -1237,9 +1401,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//绑定 |
|
|
//绑定 |
|
|
toinfobinding(row) { |
|
|
toinfobinding(row) { |
|
|
if(row.receiveType==2){ |
|
|
|
|
|
this.$message.warning('设备使用中不能删除') |
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
if (row.receiveType == 2) { |
|
|
|
|
|
this.$message.warning("设备使用中不能删除"); |
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
this.dialogVisible3 = true; |
|
|
this.dialogVisible3 = true; |
|
|
this.bindForm.imeis = row.imei; |
|
|
this.bindForm.imeis = row.imei; |
|
@@ -1274,7 +1438,7 @@ export default { |
|
|
this.$api.api |
|
|
this.$api.api |
|
|
.findHouseByUser({ |
|
|
.findHouseByUser({ |
|
|
orgType: localStorage.getItem("orgType"), |
|
|
orgType: localStorage.getItem("orgType"), |
|
|
houseTypes:'0,1,2,3' |
|
|
|
|
|
|
|
|
houseTypes: "0,1,2,3", |
|
|
}) |
|
|
}) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
// console.log(res) |
|
|
// console.log(res) |
|
@@ -1288,14 +1452,14 @@ export default { |
|
|
addEquipment() { |
|
|
addEquipment() { |
|
|
this.$refs.addForm.validate((valid) => { |
|
|
this.$refs.addForm.validate((valid) => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.loadingFlag=true |
|
|
|
|
|
|
|
|
this.loadingFlag = true; |
|
|
console.log(this.addForm); |
|
|
console.log(this.addForm); |
|
|
this.$api.api.equipmentAdd(this.addForm).then((res) => { |
|
|
this.$api.api.equipmentAdd(this.addForm).then((res) => { |
|
|
console.log(res); |
|
|
console.log(res); |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.loadingFlag=false |
|
|
|
|
|
console.log('防重') |
|
|
|
|
|
}, 1); |
|
|
|
|
|
|
|
|
this.loadingFlag = false; |
|
|
|
|
|
console.log("防重"); |
|
|
|
|
|
}, 1); |
|
|
this.$message.success("添加成功"); |
|
|
this.$message.success("添加成功"); |
|
|
this.dialogVisible = false; |
|
|
this.dialogVisible = false; |
|
|
this.equipmentManagement(); |
|
|
this.equipmentManagement(); |
|
@@ -1404,10 +1568,12 @@ export default { |
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
this.$api.api.updateTranslationMethod({ |
|
|
|
|
|
|
|
|
this.$api.api |
|
|
|
|
|
.updateTranslationMethod({ |
|
|
id: row.id, |
|
|
id: row.id, |
|
|
defaultTransliteration: row.defaultTransliteration == 0 ? 1 : 0, |
|
|
defaultTransliteration: row.defaultTransliteration == 0 ? 1 : 0, |
|
|
}).then((res) => { |
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
.then((res) => { |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
type: "success", |
|
|
type: "success", |
|
|
message: "修改成功!", |
|
|
message: "修改成功!", |
|
@@ -1451,9 +1617,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//删除 |
|
|
//删除 |
|
|
toinifodelete(row) { |
|
|
toinifodelete(row) { |
|
|
if(row.receiveType==2){ |
|
|
|
|
|
this.$message.warning('设备使用中不能删除') |
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
if (row.receiveType == 2) { |
|
|
|
|
|
this.$message.warning("设备使用中不能删除"); |
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
this.$confirm("此操作将永久删除, 是否继续?", "提示", { |
|
|
this.$confirm("此操作将永久删除, 是否继续?", "提示", { |
|
|
confirmButtonText: "确定", |
|
|
confirmButtonText: "确定", |
|
@@ -1497,15 +1663,26 @@ export default { |
|
|
<style scoped="scoped" lang="scss" > |
|
|
<style scoped="scoped" lang="scss" > |
|
|
.box-center { |
|
|
.box-center { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
|
|
|
height: 95%; |
|
|
padding: 15px; |
|
|
padding: 15px; |
|
|
min-width: 1000px; |
|
|
min-width: 1000px; |
|
|
padding-bottom: 100px; |
|
|
|
|
|
|
|
|
// padding-bottom: 100px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: column; |
|
|
} |
|
|
} |
|
|
.cen-tab { |
|
|
.cen-tab { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
|
|
|
height: calc(100% - 94px - 30px); |
|
|
|
|
|
flex-grow: 1; |
|
|
padding: 15px; |
|
|
padding: 15px; |
|
|
background: #ffffff; |
|
|
background: #ffffff; |
|
|
margin-top: 15px; |
|
|
margin-top: 15px; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
.tablimit { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: calc(100% - 42px); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
.tophove { |
|
|
.tophove { |
|
|
color: #ffffff; |
|
|
color: #ffffff; |
|
@@ -1518,6 +1695,7 @@ export default { |
|
|
border-radius: 4px; |
|
|
border-radius: 4px; |
|
|
padding-top: 15px; |
|
|
padding-top: 15px; |
|
|
padding-bottom: 15px; |
|
|
padding-bottom: 15px; |
|
|
|
|
|
flex-shrink: 0; |
|
|
.app-titel { |
|
|
.app-titel { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
display: flex; |
|
|
display: flex; |
|
@@ -1556,27 +1734,27 @@ export default { |
|
|
.div-inp { |
|
|
.div-inp { |
|
|
width: 250px; |
|
|
width: 250px; |
|
|
} |
|
|
} |
|
|
/deep/ .el-table__header-wrapper{ |
|
|
|
|
|
thead{ |
|
|
|
|
|
tr{ |
|
|
|
|
|
th{ |
|
|
|
|
|
background: #F5F7FA; |
|
|
|
|
|
|
|
|
/deep/ .el-table__header-wrapper { |
|
|
|
|
|
thead { |
|
|
|
|
|
tr { |
|
|
|
|
|
th { |
|
|
|
|
|
background: #f5f7fa; |
|
|
color: #333333; |
|
|
color: #333333; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
/deep/ .el-dialog--center{ |
|
|
|
|
|
|
|
|
/deep/ .el-dialog--center { |
|
|
border-radius: 8px; |
|
|
border-radius: 8px; |
|
|
.el-dialog__title{ |
|
|
|
|
|
|
|
|
.el-dialog__title { |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
/deep/ .el-button--primary{ |
|
|
|
|
|
background: #2671E2 !important; |
|
|
|
|
|
border: 1px solid #2671E2 !important; |
|
|
|
|
|
|
|
|
/deep/ .el-button--primary { |
|
|
|
|
|
background: #2671e2 !important; |
|
|
|
|
|
border: 1px solid #2671e2 !important; |
|
|
} |
|
|
} |
|
|
/deep/ .el-button--text{ |
|
|
|
|
|
color: #2671E2; |
|
|
|
|
|
|
|
|
/deep/ .el-button--text { |
|
|
|
|
|
color: #2671e2; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |