-
-
- 搜索
-
- 新增
+
+
+
+
+
+ 搜索
+ 重置
+ 新增
+
+
@@ -130,6 +135,10 @@ export default {
getQuery() {
this.$refs.multipleTable.clearSelection()
this.getList()
+ },
+ resetting() {
+ this.KEYWORDS = ''
+ this.getList()
}
}
diff --git a/src/views/emergen_cyrescue/emergency_team/expert_group/components/list.vue b/src/views/emergen_cyrescue/emergency_team/expert_group/components/list.vue
index eaf7d93..173605c 100644
--- a/src/views/emergen_cyrescue/emergency_team/expert_group/components/list.vue
+++ b/src/views/emergen_cyrescue/emergency_team/expert_group/components/list.vue
@@ -290,8 +290,13 @@ export default {
this.FFILE = fileList
},
upload(fun) {
+ const loading = this.$loading({
+ lock: true,
+ text: 'Loading',
+ spinner: 'el-icon-loading',
+ background: 'rgba(0, 0, 0, 0.7)'
+ })
const formData = new FormData()
-
for (let i = 0; i < this.FFILE.length; i++) {
if (this.FFILE[i].raw) {
formData.append('FFILE', this.FFILE[i].raw)
@@ -302,7 +307,10 @@ export default {
formData
).then((data) => {
fun(data.fileurl)
+ loading.close()
}).catch((e) => {
+ this.$message.error(e)
+ loading.close()
})
},
//* ****************************************
@@ -461,6 +469,7 @@ export default {
requestFN(
'/yjExpertGroup/save', this.form
).then((data) => {
+ this.$message.success('保存成功')
this.listISLOADing = false
this.dialogFormEdit = false
this.varList = []
@@ -511,6 +520,7 @@ export default {
}
this.getList()
}).catch((e) => {
+ this.$message.error(e)
this.listISLOADing = false
})
},
@@ -529,10 +539,12 @@ export default {
}
).then((data) => {
if (data.result === 'success') {
+ this.$message.success('删除成功')
this.listISLOADing = false
this.getList()
}
}).catch((e) => {
+ this.$message.error(e)
this.listISLOADing = false
})
}).catch(() => {
@@ -570,6 +582,7 @@ export default {
this.listQuery.page = 1
this.$refs.multipleTable.clearSelection()
this.getList()
+ this.$message.success('删除成功')
}).catch((e) => {
this.listISLOADing = false
})
diff --git a/src/views/emergen_cyrescue/emergency_team/rescue_expert/components/list.vue b/src/views/emergen_cyrescue/emergency_team/rescue_expert/components/list.vue
index 394afca..cc67ef6 100644
--- a/src/views/emergen_cyrescue/emergency_team/rescue_expert/components/list.vue
+++ b/src/views/emergen_cyrescue/emergency_team/rescue_expert/components/list.vue
@@ -609,7 +609,9 @@ export default {
this.varList = []
this.listQuery.page = 1
this.getList()
+ this.$message.success('保存成功')
}).catch((e) => {
+ console.error('保存失败', e)
this.listISLOADing = false
})
},
diff --git a/src/views/emergen_cyrescue/emergency_team/rescue_team/components/peopleList.vue b/src/views/emergen_cyrescue/emergency_team/rescue_team/components/peopleList.vue
index a334bcb..8893210 100644
--- a/src/views/emergen_cyrescue/emergency_team/rescue_team/components/peopleList.vue
+++ b/src/views/emergen_cyrescue/emergency_team/rescue_team/components/peopleList.vue
@@ -194,6 +194,7 @@ export default {
},
resetQuery() {
this.RESCUE_TEAM_NAME = ''
+ this.NAME = ''
this.getQuery()
},
goList(page, CASE_ID, ticketType) {
diff --git a/src/views/emergency/drill/org/components/list.vue b/src/views/emergency/drill/org/components/list.vue
index 63392d4..e6cddf6 100644
--- a/src/views/emergency/drill/org/components/list.vue
+++ b/src/views/emergency/drill/org/components/list.vue
@@ -12,8 +12,8 @@
- 新增
- 删除
+ 新增
+ 删除
@@ -38,8 +38,8 @@