技术方案库修改
This commit is contained in:
parent
d2d8b89f1c
commit
6316c46625
|
|
@ -113,7 +113,7 @@ import EnterpriseDetail from '@/assets/enterpriseLibrary/enterprise/enterprise-d
|
|||
import EnterpriseEdit from '@/assets/enterpriseLibrary/enterprise/enterprise-edit.png';
|
||||
import EnterpriseDelete from '@/assets/enterpriseLibrary/enterprise/enterprise-delete.png';
|
||||
import { encryptWithSM4 } from '@/utils/sm'
|
||||
import { listAPI, delAPI } from '@/api/enterpriseLibrary/enterprise/enterprise'
|
||||
import { listAPI, delDataAPI } from '@/api/enterpriseLibrary/enterprise/enterprise'
|
||||
export default {
|
||||
name: 'Enterprise',
|
||||
components: {
|
||||
|
|
@ -193,7 +193,7 @@ export default {
|
|||
dangerouslyUseHTMLString: true,
|
||||
customClass: 'delete-confirm-dialog'
|
||||
}).then(() => {
|
||||
delAPI({enterpriseId: item.enterpriseId}).then(res => {
|
||||
delDataAPI({enterpriseId: item.enterpriseId}).then(res => {
|
||||
if(res.code === 200){
|
||||
this.$message.success('删除成功');
|
||||
this.getList();
|
||||
|
|
|
|||
|
|
@ -174,8 +174,8 @@ export default {
|
|||
console.log('初始化完成')
|
||||
},
|
||||
/** 删除操作 */
|
||||
handleDelete(row) {
|
||||
this.$confirm(`确定要删除方案类型"${raw.technicalSolutionName}"吗?删除后将无法恢复!`, '操作提示', {
|
||||
handleDelete(raw) {
|
||||
this.$confirm(`确定要删除方案名称"${raw.technicalName}"吗?删除后将无法恢复!`, '操作提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
|
|
@ -185,7 +185,7 @@ export default {
|
|||
delDataAPI(
|
||||
{
|
||||
technicalSolutionTypeId: raw.technicalSolutionTypeId,
|
||||
technicalSolutionId: row.technicalSolutionId
|
||||
technicalSolutionId: raw.technicalSolutionId
|
||||
}
|
||||
).then(res => {
|
||||
if (res.code === 200) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue