同步操作将从 美乐低代码/MetaLowCode 企业级全栈低代码平台 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
import http, { request } from '@/utils/request'import config from "@/config"const SERVER_URL = config.FILE_SERVER_URLexport function getEntitySet() {return http.get('systemManager/getEntitySet')}export function filterEntitySet(keyword) {return http.get('systemManager/filterEntitySet', { keyword})}export function getFieldSet(entity) {return http.get('systemManager/getFieldSet', { entity })}export function getFieldListOfEntity(entity) {return http.get('systemManager/getFieldListOfEntity', { entity })}export function getMDFieldList(entity) {return http.get('systemManager/getMDFieldList', { entity })}export function getEntityProps(entity) {return http.get('systemManager/getEntityProps', { entity })}export function hasDetailEntity(entity) {return http.get('systemManager/hasDetailEntity', { entity })}export function getAllTagsOfEntity() {return http.get('systemManager/getAllTagsOfEntity')}export function createEntity(entity, maineEntityName) {return http.post('systemManager/createEntity', entity, {params: { 'mainEntity': maineEntityName }})}export function copyEntity(entity) {return http.post('/systemManager/copyEntity', entity)}export function updateEntityLabel(entity, entityLabel) {return http.post('systemManager/updateEntityLabel', {}, {params: { entity, entityLabel }})}export function updateEntityTags(entity, tags) {return http.post('systemManager/updateEntityTags', {}, {params: { entity, tags }})}export function entityCanBeDeleted(entity) {return http.get('systemManager/entityCanBeDeleted', { entity })}export function deleteEntity(entity) {return http.post('systemManager/deleteEntity', {}, {params: { entity }})}export function getTextFieldList(entity) {return http.get('systemManager/getTextFieldListOfEntity', { entity })}export function updateEntityNameField(entity, nameField) {return http.post('systemManager/updateEntityNameField', {}, {params: { entity, nameField }})}export function addField(field, entity) {return http.post('systemManager/addField', field, {params: { entity }})}export function updateField(field, entity) {return http.post('systemManager/updateField', field, {params: { entity }})}export function fieldCanBeEdited(field, entity) {return http.get('systemManager/fieldCanBeEdited', { entity, field })}export function fieldCanBeDeleted(field, entity) {return http.get('systemManager/fieldCanBeDeleted', { entity, field })}export function deleteField(field, entity) {return http.post('systemManager/deleteField', {}, {params: { entity, field }})}export function addOptionField(field, entity, optionList) {return http.post('systemManager/addOptionField', { field, optionList }, {params: { entity }})}export function updateOptionField(field, entity, optionList) {return http.post('systemManager/updateOptionField', { field, optionList }, {params: { entity }})}export function addTagField(field, entity, tagList) {return http.post('systemManager/addTagField', { field, tagList }, {params: { entity }})}export function updateTagField(field, entity, tagList) {return http.post('systemManager/updateTagField', { field, tagList }, {params: { entity }})}export function addRefField(field, entity, refEntity) {return http.post('systemManager/addRefField', field, {params: { entity, refEntity }})}export function addAnyRefField(field, entity, referTo) {return http.post('systemManager/addAnyRefField', field, {params: { entity, referTo }})}export function updateRefField(field, entity, refEntity) {return http.post('systemManager/updateRefField', field, {params: { entity, refEntity }})}export function updateAnyRefField(field, entity, referTo) {return http.post('systemManager/updateAnyRefField', field, {params: { entity, referTo }})}export function getField(field, entity) {return http.get('systemManager/getField', { entity, field })}export function getRefFieldExtras(field, entity) {return http.get('systemManager/getRefFieldExtras', { entity, field })}export function createFormLayout(entity, layoutJson) {return http.post('formLayout/save', layoutJson, {params: { entity }})}export function updateFormLayout(layoutId, layoutJson) {return http.post('formLayout/update', layoutJson, {params: { layoutId }})}export function getFormLayout(entity) {return http.get('formLayout/get', { entity })}export function previewLayout(entity) {return http.get('formLayout/previewLayout', { entity })}export function getOptionFields() {return http.get('systemManager/getOptionFields')}export function getOptionItems(entity, field) {return http.get('systemManager/getOptionItems', { entity, field })}export function saveOptionItems(entity, field, optionItems) {return http.post('systemManager/saveOptionItems', optionItems, {params: { entity, field }})}export function getTagFields(entity) {return http.get('systemManager/getTagFields')}export function getTagItems(entity, field) {return http.get('systemManager/getTagItems', { entity, field })}export function saveTagItems(entity, field, tagItems) {return http.post('systemManager/saveTagItems', tagItems, {params: { entity, field }})}export function getPictureUploadAction() {return import.meta.env.VITE_APP_BASE_API + '/picture/upload'}export function getPictureUrlPrefix() {return SERVER_URL + '/picture/get'}export function getFileUploadAction() {return import.meta.env.VITE_APP_BASE_API + '/file/upload'}export function getFileUrlPrefix() {return SERVER_URL + '/file/get'}export function postBackupDB() {return http.post('/systemManager/backupDB')}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。