| | |
| | | ...params |
| | | } |
| | | }); |
| | | } |
| | | |
| | | // 表单单条查询接口 |
| | | export function getPortalVIById(params) { |
| | | return request({ |
| | | url: "/api/portalVIController/getPortalVIById", |
| | | method: "get", |
| | | params |
| | | }); |
| | | } |
| | | |
| | | // 属性超链接类型接口 |
| | | export function getItemDblList() { |
| | | return request({ |
| | | url: "/api/portalVIController/getItemDblList", |
| | | method: "get", |
| | | }); |
| | | } |
| | | |
| | | // 表格表单保存 |
| | | export function savePortalVI(params) { |
| | | return request({ |
| | | url: "/api/portalVIController/savePortalVI", |
| | | method: "post", |
| | | data: params |
| | | }); |
| | | } |
| | | |
| | | // 属性树状接口 |
| | | export function getTreeAttributes(params) { |
| | | return request({ |
| | | url: "/api/attributeController/getTreeAttributes", |
| | | method: "get", |
| | | params |
| | | }) |
| | | } |
| | | |
| | | // 通过id删除 |
| | | export function deleteByIds(params) { |
| | | return request({ |
| | | url: "/api/portalVIController/deleteByIds", |
| | | method: "delete", |
| | | params |
| | | }) |
| | | } |
| | | |
| | | // 导出 |
| | | export function exportExcel (params) { |
| | | return request({ |
| | | url: '/api/portalVIController/exportExcel', |
| | | method: 'post', |
| | | headers: {'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'}, |
| | | responseType: 'blob', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | // 表单接口测试数据 |
| | | const obj = { |
| | | "itemAddFilter": "", |
| | | "itemBat": "", |
| | | "itemCols": "1", |
| | | "itemCtrlDisplyCol": "", |
| | | "itemCtrlDisplyCondition": "", |
| | | "itemCustomClass": "", |
| | | "itemCut": "", |
| | | "itemDateFormat": "", |
| | | "itemDbl": "", |
| | | "itemEQ": "", |
| | | "itemEditCondition": "", |
| | | "itemEditableProgram": "", |
| | | "itemField": "specialty", |
| | | "itemFieldWidth": "", |
| | | "itemFieldWidthList": [], |
| | | "itemHrefConf": "", |
| | | "itemHrefFields": "", |
| | | "itemHttpPathField": "", |
| | | "itemHttpVolumnPath": "", |
| | | "itemImgWH": "", |
| | | "itemInObj": "", |
| | | "itemIsEditable": "0", |
| | | "itemIsHidden": "1", |
| | | "itemIsHttpSave": "0", |
| | | "itemIsNavigatorExpand": "", |
| | | "itemIsRequired": "0", |
| | | "itemIsShowFolder": "", |
| | | "itemKeyFieldList": [], |
| | | "itemKeyFields": "", |
| | | "itemListTable": "", |
| | | "itemListTxt": "", |
| | | "itemListVal": "", |
| | | "itemName": "专业", |
| | | "itemOR": "", |
| | | "itemOutFieldList": [], |
| | | "itemOutFields": "", |
| | | "itemOutType": "", |
| | | "itemPageSize": "", |
| | | "itemParentFolderName": "", |
| | | "itemQtName": "", |
| | | "itemQueryRefFields": "", |
| | | "itemQuerySql": "", |
| | | "itemRight": "", |
| | | "itemRows": "", |
| | | "itemScript": "", |
| | | "itemSearchFieldList": [], |
| | | "itemSelectoutFieldList": [], |
| | | "itemSeniorQueryBOS": [], |
| | | "itemSeniorQueryCols": "", |
| | | "itemSeniorQueryColsCounts": "", |
| | | "itemShowExpression": "", |
| | | "itemStyle": "", |
| | | "itemTips": "", |
| | | "itemTrim": "", |
| | | "itemTxf": "", |
| | | "itemType": "text", |
| | | "itemTypeText": "单行文本框", |
| | | "itemValue": "", |
| | | "itemValueList": [] |
| | | } |