+
+
+
+
+ 新增一次盘点
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/device-manage/device-type-detail.vue b/src/views/modules/device-manage/device-type-detail.vue
index b3332b4..0b4b9ef 100644
--- a/src/views/modules/device-manage/device-type-detail.vue
+++ b/src/views/modules/device-manage/device-type-detail.vue
@@ -102,7 +102,7 @@ export default {
this.$message('添加成功')
this.$emit('refreshDataList')
} else {
- this.$$message.error(data.msg)
+ this.$message.error(data.msg)
}
});
} else {
@@ -113,7 +113,7 @@ export default {
this.$message('更新成功')
this.$emit('refreshDataList')
} else {
- this.$$message.error(data.msg)
+ this.$message.error(data.msg)
}
});
}
diff --git a/src/views/modules/device/device-detail.vue b/src/views/modules/device/device-detail.vue
index 1ce1af2..062d808 100644
--- a/src/views/modules/device/device-detail.vue
+++ b/src/views/modules/device/device-detail.vue
@@ -391,7 +391,8 @@ export default {
getDeviceInfo() {
this.dataListLoading = true;
apiFindEquipmentByCode({}, this.deviceInfo.code).then((data) => {
- console.log(data.data);
+ console.log(data);
+
if (data.code == 0) {
if (typeof data.data == "undefined") {
this.$message("未绑定设备");
@@ -445,7 +446,7 @@ export default {
}
}
} else {
- this.$message.error("异常");
+ this.$message.error("异常" + data.msg);
}
this.dataListLoading = false;
diff --git a/src/views/modules/device/device-staff-depat.vue b/src/views/modules/device/device-staff-depat.vue
index 7a8051c..18d066a 100644
--- a/src/views/modules/device/device-staff-depat.vue
+++ b/src/views/modules/device/device-staff-depat.vue
@@ -75,6 +75,10 @@ export default {
if(this.typeIndex == 0 || this.typeIndex == 3){
apiFindStaff(this.query).then(data => {
console.log(data)
+ if(data.code != 0){
+ this.$message.error("异常" + data.msg);
+ return
+ }
if(typeof data.data == 'undefined'){
}else{
this.query.currPage = data.data.currPage
@@ -86,6 +90,10 @@ export default {
}else {
apiFindDepat(this.query).then(data => {
console.log(data)
+ if(data.code != 0){
+ this.$message.error("异常" + data.msg);
+ return
+ }
if(typeof data.data == 'undefined'){
}else{
this.query.currPage = data.data.currPage
diff --git a/src/views/modules/sys/user/user-add-or-update.vue b/src/views/modules/sys/user/user-add-or-update.vue
index 1db00b4..1c35261 100644
--- a/src/views/modules/sys/user/user-add-or-update.vue
+++ b/src/views/modules/sys/user/user-add-or-update.vue
@@ -70,8 +70,7 @@