| | |
| | | import request from '@/router/axios'; |
| | | |
| | | //获取下拉 |
| | | export const getDicts = (id) => { |
| | | return request({ |
| | | url: '/api/uiDataController/getEnum', |
| | | method: 'get', |
| | | params: { |
| | | comboxKey:id, |
| | | id:id |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/list', |
| | |
| | | btmname: this.currentDefineVO.btmType, |
| | | btmType:this.currentDefineVO.btmType, |
| | | formDefineId: this.currentDefineVO.id, |
| | | componentOid: this.componentVO.oid, |
| | | uiDefineId: this.uiContext, |
| | | oid:this.currentDefineVO.oid |
| | | }; |
| | | if(this.dataStore[0] && this.dataStore[0].oid) { |
| | |
| | | const sourceDataMapList = this.sourceDataMapParams; |
| | | |
| | | this.params = Object.assign({},formParams, sourceDataMapList); |
| | | console.log(this.params) |
| | | }, |
| | | onLoad:function () { |
| | | if (Object.keys(this.sourceData).length>0 && this.isShow) { |