| | |
| | | form.append('fileExt', params.file.fileType) |
| | | form.append('shardingCnt', _param.chunks) |
| | | form.append('shardingNo', _param.chunk) |
| | | // form.append('LoginUID', sessionStorage.getItem('LoginUID') || '') |
| | | |
| | | Api.getLargeFileUpload(form).then(res => { |
| | | if (res.status) { |
| | |
| | | func: 's_custom_components_adduptdel', |
| | | c_id: config.uuid, |
| | | images: Utils.getcloudurl(result.Images), |
| | | typename: sessionStorage.getItem('appType') || '', |
| | | c_name: res.name, |
| | | long_param: window.btoa(window.encodeURIComponent(JSON.stringify(template))), |
| | | del_type: '' |
| | |
| | | c_id: item.uuid, |
| | | images: '', |
| | | c_name: item.title, |
| | | typename: sessionStorage.getItem('appType') || '', |
| | | long_param: '', |
| | | del_type: 'Y' |
| | | }).then(result => { |
| | |
| | | updateCustomComponent = () => { |
| | | Api.getSystemConfig({ |
| | | func: 's_get_custom_components', |
| | | typename: sessionStorage.getItem('appType'), |
| | | typecharone: '' |
| | | }).then(res => { |
| | | let coms = [] |
| | |
| | | c_id: item.uuid, |
| | | images: '', |
| | | c_name: item.title, |
| | | typename: sessionStorage.getItem('appType') || '', |
| | | long_param: '', |
| | | del_type: 'Y' |
| | | }).then(result => { |
| | |
| | | c_id: item.uuid, |
| | | images: '', |
| | | c_name: item.title, |
| | | typename: sessionStorage.getItem('appType') || '', |
| | | long_param: '', |
| | | del_type: 'Y' |
| | | }).then(result => { |
| | |
| | | form.append('fileExt', params.file.fileType) |
| | | form.append('shardingCnt', param.chunks) |
| | | form.append('shardingNo', param.chunk) |
| | | // form.append('LoginUID', sessionStorage.getItem('LoginUID') || '') |
| | | |
| | | Api.getLargeFileUpload(form).then(res => { |
| | | if (res.status) { |
| | |
| | | return ( |
| | | <div ref={drop} className={'ant-row modal-fields-row ' + (setting.align || 'left_right')} > |
| | | {cards.map(card => { |
| | | return <Col key={card.uuid} span={card.span || 24}> |
| | | return <Col key={card.uuid} span={card.type === 'split' ? 24 : (card.span || 24)}> |
| | | <Card |
| | | id={card.uuid} |
| | | card={card} |
| | |
| | | |
| | | sessionStorage.setItem('isEditState', 'true') |
| | | sessionStorage.setItem('editMenuType', 'menu') // 编辑菜单类型 |
| | | sessionStorage.setItem('appType', '') // 应用类型 |
| | | document.body.className = '' |
| | | window.GLOB.UserComponentMap = new Map() // 缓存用户自定义组件 |
| | | window.GLOB.urlFields = [] // url变量 |
| | |
| | | updateCustomComponent = () => { |
| | | Api.getSystemConfig({ |
| | | func: 's_get_custom_components', |
| | | typename: '', |
| | | typecharone: '' |
| | | }).then(res => { |
| | | let coms = [] |
| | |
| | | updateCustomComponent = () => { |
| | | Api.getSystemConfig({ |
| | | func: 's_get_custom_components', |
| | | typename: 'mob', |
| | | typecharone: '' |
| | | }).then(res => { |
| | | let coms = [] |
| | |
| | | updateCustomComponent = () => { |
| | | Api.getSystemConfig({ |
| | | func: 's_get_custom_components', |
| | | typename: 'pc', |
| | | typecharone: '' |
| | | }).then(res => { |
| | | let coms = [] |