|
|
@@ -234,6 +234,7 @@
|
|
|
<template slot-scope="scope"
|
|
|
>{{ scope.row.serial_id || '无' }}
|
|
|
<i
|
|
|
+ v-if="scope.row.group_id"
|
|
|
class="el-icon-edit cursor"
|
|
|
style="color: #018b3f"
|
|
|
@click="editBh(scope.row)"
|
|
|
@@ -334,7 +335,7 @@
|
|
|
"
|
|
|
>详情</el-button
|
|
|
>
|
|
|
- <el-button size="mini" type="text" @click="yxRecord(scope.row.imei, scope.row.d_id)"
|
|
|
+ <el-button size="mini" type="text" @click="yxRecord(scope.row)"
|
|
|
>诱芯更换记录</el-button
|
|
|
>
|
|
|
</template>
|
|
|
@@ -1336,12 +1337,12 @@ export default {
|
|
|
})
|
|
|
}).then((res) => {
|
|
|
if (res.data.message == '') {
|
|
|
- if (res.data.data.status) {
|
|
|
- this.setBhDialogVisible = false
|
|
|
- this.getYxList()
|
|
|
- } else {
|
|
|
- this.$message.warning(res.data.message)
|
|
|
- }
|
|
|
+ this.$message.success('添加成功')
|
|
|
+
|
|
|
+ this.setBhDialogVisible = false
|
|
|
+ this.getYxList()
|
|
|
+ } else {
|
|
|
+ this.$message.warning(res.data.message)
|
|
|
}
|
|
|
})
|
|
|
}
|