diff --git a/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertlist.vue b/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertlist.vue index 4b5778b..162fd37 100644 --- a/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertlist.vue +++ b/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertlist.vue @@ -123,10 +123,18 @@ export default { } ).then((data) => { if (data.result === 'success') { + this.$message({ + message: '移除成功', + type: 'success' + }) this.listISLOADing = false this.getList() } }).catch((e) => { + this.$message({ + message: '移除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertselect.vue b/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertselect.vue index f5d488f..61420b5 100644 --- a/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertselect.vue +++ b/src/views/emergen_cyrescue/emergency_team/expert_group/components/expertselect.vue @@ -5,6 +5,9 @@ 搜索 + + 重置 +
返回专家列表 @@ -98,6 +101,10 @@ export default { this.listISLOADing = false }) }, + resetQuery() { + this.KEYWORDS = '' + this.getList() + }, //* ***************************数据保存********************************** handleAdd(id, name) { @@ -115,10 +122,18 @@ export default { } ).then((data) => { if (data.result == 'success') { + this.$message({ + message: '添加成功', + type: 'success' + }) this.listISLOADing = false this.getList() } }).catch((e) => { + this.$message({ + message: '添加失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/resource_management/closed_bayonet/components/list.vue b/src/views/emergen_cyrescue/resource_management/closed_bayonet/components/list.vue index dd3018e..6220b91 100644 --- a/src/views/emergen_cyrescue/resource_management/closed_bayonet/components/list.vue +++ b/src/views/emergen_cyrescue/resource_management/closed_bayonet/components/list.vue @@ -231,12 +231,20 @@ export default { dataSave() { this.listLoading = true requestFN('/major/checkpoint/save', this.form).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listLoading = false this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listLoading = false }) }, @@ -248,11 +256,19 @@ export default { }).then(() => { this.listLoading = true requestFN('/major/checkpoint/delete', { id: id }).then((data) => { - if (data.result == 'success') { + if (data.result === 'success') { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listLoading = false this.getList() } }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listLoading = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/resource_management/drainage_well/components/list.vue b/src/views/emergen_cyrescue/resource_management/drainage_well/components/list.vue index c1a70e0..94af625 100644 --- a/src/views/emergen_cyrescue/resource_management/drainage_well/components/list.vue +++ b/src/views/emergen_cyrescue/resource_management/drainage_well/components/list.vue @@ -262,12 +262,20 @@ export default { dataSave() { this.listLoading = true requestFN('/major/drainage/save', this.form).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listLoading = false this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listLoading = false }) }, @@ -280,10 +288,18 @@ export default { this.listLoading = true requestFN('/major/drainage/delete', { id: id }).then((data) => { if (data.result == 'success') { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listLoading = false this.getList() } }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listLoading = false }) }).catch(() => {}) @@ -302,12 +318,20 @@ export default { }).then(() => { this.listLoading = true requestFN('/major/drainage/deleteAll', { ids: ids }).then(() => { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listLoading = false this.varList = [] this.listQuery.page = 1 this.$refs.multipleTable.clearSelection() this.getList() }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listLoading = false }) }).catch(() => {}) diff --git a/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue b/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue index c789a5f..fda13b8 100644 --- a/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue +++ b/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue @@ -554,12 +554,20 @@ export default { requestFN( '/shelterRefuge/save', this.form ).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listISLOADing = false this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listISLOADing = false }) }, @@ -578,10 +586,18 @@ export default { } ).then((data) => { if (data.result == 'success') { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.getList() } }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { @@ -614,12 +630,20 @@ export default { ids: ids } ).then(() => { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.varList = [] this.listQuery.page = 1 this.$refs.multipleTable.clearSelection() this.getList() }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue b/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue index f74defa..dbef053 100644 --- a/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue +++ b/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue @@ -292,8 +292,16 @@ export default { '/file/upload', formData ).then((data) => { + this.$message({ + message: '上传成功', + type: 'success' + }) fun(data.fileurl) }).catch((e) => { + this.$message({ + message: '上传失败', + type: 'error' + }) }) }, //* **************************************** @@ -543,12 +551,20 @@ export default { requestFN( '/rescueEquip/save', this.form ).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listISLOADing = false this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listISLOADing = false }) }, @@ -567,10 +583,18 @@ export default { } ).then((data) => { if (data.result == 'success') { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.getList() } }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { @@ -603,12 +627,20 @@ export default { ids: ids } ).then(() => { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.varList = [] this.listQuery.page = 1 this.$refs.multipleTable.clearSelection() this.getList() }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue b/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue index f20998a..3e51a40 100644 --- a/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue +++ b/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue @@ -285,8 +285,16 @@ export default { '/file/upload', formData ).then((data) => { + this.$message({ + message: '上传成功', + type: 'success' + }) fun(data.fileurl) }).catch((e) => { + this.$message({ + message: '上传失败', + type: 'error' + }) }) }, //* **************************************** @@ -527,12 +535,20 @@ export default { requestFN( '/equipmentfacilities/save', this.form ).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listISLOADing = false this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listISLOADing = false }) }, @@ -551,10 +567,18 @@ export default { } ).then((data) => { if (data.result == 'success') { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.getList() } }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { @@ -587,12 +611,20 @@ export default { ids: ids } ).then(() => { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.varList = [] this.listQuery.page = 1 this.$refs.multipleTable.clearSelection() this.getList() }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/resource_management/equipment_library/components/list.vue b/src/views/emergen_cyrescue/resource_management/equipment_library/components/list.vue index fad31b1..c883e44 100644 --- a/src/views/emergen_cyrescue/resource_management/equipment_library/components/list.vue +++ b/src/views/emergen_cyrescue/resource_management/equipment_library/components/list.vue @@ -284,12 +284,20 @@ export default { dataSave() { this.listLoading = true requestFN('/major/resource/save', this.form).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listLoading = false this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listLoading = false }) }, @@ -302,10 +310,18 @@ export default { this.listLoading = true requestFN('/major/resource/delete', { id: id }).then((data) => { if (data.result == 'success') { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listLoading = false this.getList() } }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listLoading = false }) }).catch(() => {}) @@ -324,12 +340,20 @@ export default { }).then(() => { this.listLoading = true requestFN('/major/resource/deleteAll', { ids: ids }).then(() => { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listLoading = false this.varList = [] this.listQuery.page = 1 this.$refs.multipleTable.clearSelection() this.getList() }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listLoading = false }) }).catch(() => {}) diff --git a/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue b/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue index c5a4045..a04ee0d 100644 --- a/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue +++ b/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue @@ -290,8 +290,16 @@ export default { '/file/upload', formData ).then((data) => { + this.$message({ + message: '上传成功', + type: 'success' + }) fun(data.fileurl) }).catch((e) => { + this.$message({ + message: '上传失败', + type: 'error' + }) }) }, //* **************************************** @@ -540,12 +548,20 @@ export default { requestFN( '/rescueSupplies/save', this.form ).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listISLOADing = false this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listISLOADing = false }) }, @@ -564,10 +580,18 @@ export default { } ).then((data) => { if (data.result == 'success') { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.getList() } }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { @@ -600,12 +624,20 @@ export default { ids: ids } ).then(() => { + this.$message({ + message: '删除成功', + type: 'success' + }) this.listISLOADing = false this.varList = [] this.listQuery.page = 1 this.$refs.multipleTable.clearSelection() this.getList() }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listISLOADing = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/resource_management/fireInfo_report/components/list.vue b/src/views/emergen_cyrescue/resource_management/fireInfo_report/components/list.vue index 24ab38a..2b002d9 100644 --- a/src/views/emergen_cyrescue/resource_management/fireInfo_report/components/list.vue +++ b/src/views/emergen_cyrescue/resource_management/fireInfo_report/components/list.vue @@ -211,6 +211,7 @@ export default { this.keySelect.FIRE_DEVICE_TYPE_ID = '' this.keySelect.FIRE_REGION_ID = '' this.keySelect.FIRE_DEVICE_CODE = '' + this.keySelect.FIRE_POINT_NAME = '' this.getList() }, getDict() { diff --git a/src/views/emergency/equipment/components/list.vue b/src/views/emergency/equipment/components/list.vue index 59a8ed0..f4aa4ba 100644 --- a/src/views/emergency/equipment/components/list.vue +++ b/src/views/emergency/equipment/components/list.vue @@ -253,10 +253,18 @@ export default { '/emergencyequipment/' + this.dialogType, this.form ).then((data) => { + this.$message({ + message: '操作成功', + type: 'success' + }) this.listLoading = false this.dialogFormEdit = false this.getList() }).catch((e) => { + this.$message({ + message: '操作失败', + type: 'error' + }) this.listLoading = false }) } else { @@ -287,6 +295,10 @@ export default { this.listQuery.page = 1 this.getList() }).catch((e) => { + this.$message({ + message: '删除失败', + type: 'error' + }) this.listLoading = false }) }).catch(() => {