mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
报错
This commit is contained in:
@@ -133,7 +133,7 @@ export default {
|
||||
// 删除操作
|
||||
async handleDelete(id, callback) {
|
||||
const that = this
|
||||
Modal.confirm({
|
||||
this.$Modal.confirm({
|
||||
title: '你确认删除数据吗?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
|
||||
|
||||
@@ -232,12 +232,11 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
.device {
|
||||
height: 100%;
|
||||
padding: 0 10px;
|
||||
padding: 0 20px;
|
||||
|
||||
.content-table {
|
||||
width: 100%;
|
||||
height: calc(100% - 90px);
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -58,6 +58,8 @@ export default {
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
tableData:[],
|
||||
|
||||
formModal: false,
|
||||
formState: {},
|
||||
formStatus: 'add', //表单状态辑状态 add:新增 edit:编辑
|
||||
@@ -145,7 +147,7 @@ export default {
|
||||
// 删除操作
|
||||
async handleDelete(id, callback) {
|
||||
const that = this
|
||||
Modal.confirm({
|
||||
this.$Modal.confirm({
|
||||
title: '你确认删除数据吗?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
|
||||
|
||||
@@ -232,11 +232,10 @@ export default {
|
||||
.policy {
|
||||
// width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 10px;
|
||||
padding: 0 20px;
|
||||
.content-table {
|
||||
width: 100%;
|
||||
height: calc(100% - 90px);
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -67,6 +67,8 @@ export default {
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
tableData:[],
|
||||
|
||||
formModal: false,
|
||||
formState: {},
|
||||
formStatus: 'add', //表单状态辑状态 add:新增 edit:编辑
|
||||
@@ -279,7 +281,7 @@ export default {
|
||||
// 删除操作
|
||||
async handleDelete(id, callback) {
|
||||
const that = this
|
||||
Modal.confirm({
|
||||
this.$Modal.confirm({
|
||||
title: '你确认删除数据吗?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
|
||||
|
||||
@@ -58,6 +58,8 @@ export default {
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
tableData:[],
|
||||
|
||||
tableOption: {
|
||||
select: false
|
||||
},
|
||||
@@ -184,7 +186,7 @@ export default {
|
||||
// 删除操作
|
||||
async handleDelete(id, callback) {
|
||||
const that = this
|
||||
Modal.confirm({
|
||||
this.$Modal.confirm({
|
||||
title: '你确认删除数据吗?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@ export default {
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
tableData:[],
|
||||
tableOption: {
|
||||
select: false
|
||||
},
|
||||
@@ -196,7 +197,7 @@ export default {
|
||||
// 删除操作
|
||||
async handleDelete(id, callback) {
|
||||
const that = this
|
||||
Modal.confirm({
|
||||
this.$Modal.confirm({
|
||||
title: '你确认删除数据吗?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ export default {
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
tableData:[],
|
||||
tableOption: {
|
||||
select: false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user