king
2019-12-06 2cb65d99c9aebf8293cb2838fcfe3e09fb2739ce
src/components/header/editmenu/index.jsx
@@ -7,9 +7,10 @@
import TransferForm from '@/components/transferform'
import DragElement from '../dragelement'
import MenuForm from '../menuform'
import Api from '@/api'
import Utils from '@/utils/utils.js'
import zhCN from '@/locales/zh-CN/header.js'
import enUS from '@/locales/en-US/header.js'
import Api from '@/api'
import './index.scss'
const { confirm } = Modal
@@ -233,11 +234,12 @@
      let _this = this
      let param  = {}
      param.func = 'sPC_Menu_SortUpt'
      param.LText = []
      let _text = []
      previewList.forEach((item, index) => {
        param.LText.push('selectmspace\'' + item.MenuID + '\'mspaceasmspaceMenuid,' + (index + 1) * 10 + 'mspaceasmspacesort')
        _text.push('select \'' + item.MenuID + '\' as Menuid,' + (index + 1) * 10 + ' as sort')
      })
      param.LText = param.LText.join('mspaceunionmspace')
      _text = _text.join(' union ')
      param.LText = Utils.formatOptions(_text)
      confirm({
        title: this.state.dict['header.menu.resetorder'],
        content: '',