| | |
| | | _resolve() |
| | | |
| | | if (res.status) { |
| | | notification.success({ |
| | | top: 92, |
| | | message: '升级成功', |
| | | duration: 2 |
| | | }) |
| | | |
| | | delete urlparam.type |
| | | delete urlparam.MenuType |
| | | |
| | | let _param = window.btoa(window.encodeURIComponent(JSON.stringify(urlparam))) |
| | | |
| | | setTimeout(() => { |
| | | window.history.replaceState(null, null, window.location.href.split('#')[0] + `#/tabledesign/${_param}`) |
| | | window.location.reload() |
| | | }, 2000) |
| | | window.history.replaceState(null, null, window.location.href.split('#')[0] + `#/tabledesign/${_param}`) |
| | | window.location.reload() |
| | | } else { |
| | | Modal.warning({ |
| | | title: res.message, |
| | |
| | | if (m.signType === 'line') { |
| | | lineMarks.push({ |
| | | $index: lineMarks.length + 1, |
| | | uuid: Utils.getuuid(), |
| | | field: field, |
| | | color: color, |
| | | contrastValue: m.contrastValue || '', |
| | |
| | | } else { |
| | | _col.marks.push({ |
| | | $index: _col.marks.length + 1, |
| | | uuid: Utils.getuuid(), |
| | | field: field, |
| | | color: color, |
| | | contrastValue: m.contrastValue || '', |