|
|
@ -621,7 +621,6 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 查询物资信息包含 通用应急救援装备”“防汛抗旱应急救援装备”“森林防灭火应急救援装备”“救灾物资”列表 */
|
|
|
|
/** 查询物资信息包含 通用应急救援装备”“防汛抗旱应急救援装备”“森林防灭火应急救援装备”“救灾物资”列表 */
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
console.log("111111111111");
|
|
|
|
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
listEhsMaterial(this.queryParams).then(response => {
|
|
|
|
listEhsMaterial(this.queryParams).then(response => {
|
|
|
|
this.ehsMaterialList = response.rows;
|
|
|
|
this.ehsMaterialList = response.rows;
|
|
|
@ -802,7 +801,9 @@
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
handleDelete(row) {
|
|
|
|
handleDelete(row) {
|
|
|
|
const materialIds = row.materialId || this.ids;
|
|
|
|
const materialIds = row.materialId || this.ids;
|
|
|
|
this.$modal.confirm('是否确认删除物资信息' + materialIds + '"的数据项?').then(function() {
|
|
|
|
const materialName = row.materialName;
|
|
|
|
|
|
|
|
const materialQuantity = row.materialQuantity;
|
|
|
|
|
|
|
|
this.$modal.confirm('是否确认删除物资名称:' + materialName + ',物资数量:'+ materialQuantity +'的数据项?').then(function() {
|
|
|
|
return delEhsMaterial(materialIds);
|
|
|
|
return delEhsMaterial(materialIds);
|
|
|
|
}).then(() => {
|
|
|
|
}).then(() => {
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|