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