123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- import request from "../../common/request"
- import { SYS_PATH as prefix } from "../AppPath";
- export default {
- save: function (inputForm) {
- return request({
- url: prefix + "/form/make/save",
- method: "post",
- data: inputForm,
- });
- },
- saveFormSource: function (inputForm) {
- return request({
- url: prefix + "/form/make/saveFormSource",
- method: "post",
- data: inputForm,
- });
- },
- saveBasicInfo: function (inputForm) {
- return request({
- url: prefix + "/form/make/saveBasicInfo",
- method: "post",
- data: inputForm,
- });
- },
- delete: function (ids) {
- return request({
- url: prefix + "/form/make/delete",
- method: "delete",
- params: { ids: ids },
- });
- },
- queryById: function (id) {
- return request({
- url: prefix + "/form/make/queryById",
- method: "get",
- params: { id: id },
- });
- },
- getTableColumnList: function (params) {
- return request({
- url: prefix + "/form/make/getTableColumnList",
- method: "get",
- params: params,
- });
- },
- getTableList: function (params) {
- return request({
- url: prefix + "/form/make/getTableList",
- method: "get",
- params: params,
- });
- },
- list: function (params) {
- return request({
- url: prefix + "/form/make/list",
- method: "get",
- params: params,
- });
- },
- validateTableNoExist: function (params) {
- return request({
- url: prefix + "/form/make/validateTableNoExist",
- method: "get",
- params: params,
- });
- },
- validateKeyNoExist: function (params) {
- return request({
- url: prefix + "/form/make/validateKeyNoExist",
- method: "get",
- params: params,
- });
- },
- createMenu: function (inputForm) {
- return request({
- url: prefix + "/form/make/createMenu",
- method: "post",
- header: {
- "Content-Type":
- "application/x-www-form-urlencoded; charset=utf-8",
- },
- data: inputForm,
- });
- },
- };
|