feat:替换panel接口 添加group(50%)

This commit is contained in:
zhangyu
2021-04-07 11:21:12 +08:00
parent 2b61063b44
commit d7a7f31c1c
14 changed files with 2168 additions and 42 deletions

View File

@@ -69,7 +69,7 @@ export default {
cancelButtonText: this.$t('tip.no'),
type: 'warning'
}).then(() => {
this.$delete('panel?ids=' + u.id).then(response => {
this.$delete('visual/panel?ids=' + u.id).then(response => {
if (response.code === 200) {
this.esc()
this.$message({ duration: 1000, type: 'success', message: this.$t('tip.deleteSuccess') })
@@ -85,7 +85,7 @@ export default {
if (valid) {
this.prevent_opt.save = true
if (this.panel.id) {
this.$put('panel', this.panel).then(response => {
this.$put('visual/panel', this.panel).then(response => {
if (response.code === 200) {
this.esc()
this.$message({ duration: 1000, type: 'success', message: this.$t('tip.saveSuccess') })
@@ -96,7 +96,7 @@ export default {
this.prevent_opt.save = false
})
} else {
this.$post('panel', this.panel).then(response => {
this.$post('visual/panel', this.panel).then(response => {
if (response.code === 200) {
this.esc()
this.$message({ duration: 1000, type: 'success', message: this.$t('tip.saveSuccess') })