|
@@ -879,6 +879,7 @@ import {
|
|
getEnginMaterialQualityList, // 材质
|
|
getEnginMaterialQualityList, // 材质
|
|
getEnginSpecificationsList, // 规格
|
|
getEnginSpecificationsList, // 规格
|
|
getDictType, deleteinfoById, // 腐蚀程度
|
|
getDictType, deleteinfoById, // 腐蚀程度
|
|
|
|
+ deleteBySZGY,
|
|
|
|
|
|
} from '@/api/zdsz/enginee'
|
|
} from '@/api/zdsz/enginee'
|
|
import {selectUserByUserName} from '@/api/system/user'
|
|
import {selectUserByUserName} from '@/api/system/user'
|
|
@@ -1160,12 +1161,22 @@ export default {
|
|
deleteinfoById(e).then(res=>{
|
|
deleteinfoById(e).then(res=>{
|
|
this.viewSource(this.nodesource)
|
|
this.viewSource(this.nodesource)
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+ },
|
|
|
|
+ deleteByIdqita(e) {
|
|
|
|
+ deleteBySZGY(e).then(res => {
|
|
|
|
+ this.viewSource(this.nodesource)
|
|
|
|
+ })
|
|
},
|
|
},
|
|
handleDelete(row) {
|
|
handleDelete(row) {
|
|
this.$modal.confirm('是否确认删除所选数据项?').then(() => {
|
|
this.$modal.confirm('是否确认删除所选数据项?').then(() => {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- return this.deleteById(row)
|
|
|
|
|
|
+ if(this.kind == '民用'){
|
|
|
|
+ return this.deleteById(row)
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ return this.deleteByIdqita(row);
|
|
|
|
+ }
|
|
|
|
+
|
|
}).then(() => {
|
|
}).then(() => {
|
|
this.loading = false;
|
|
this.loading = false;
|
|
this.getList();
|
|
this.getList();
|