| | |
| | | } |
| | | |
| | | // 删除 |
| | | export const del = (data) => { |
| | | export const del = (params) => { |
| | | let url = '/api/ubcs-code/dockingManagement/deleteSystemConfigsById' |
| | | return request({ |
| | | url, |
| | | method: 'delete', |
| | | data |
| | | params:{ |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | |
| | | components: {infoForm}, |
| | | data() { |
| | | return { |
| | | add: [ |
| | | { |
| | | pushType: '1', |
| | | name: '小明', |
| | | }, |
| | | { |
| | | pushType: '1', |
| | | name: '小明1', |
| | | }, |
| | | { |
| | | pushType: '2', |
| | | name: '小明12', |
| | | }, |
| | | { |
| | | pushType: '5', |
| | | name: '小明123', |
| | | }, |
| | | { |
| | | pushType: '2', |
| | | name: '小红123', |
| | | } |
| | | ], |
| | | //接口类型下拉 |
| | | interfaceTypeList: [{ |
| | | label: 'webService', value: 'webService' |
| | |
| | | editBtn: false, |
| | | delBtn: false, |
| | | columnBtn: false, |
| | | column: [{ |
| | | column: [ { |
| | | label: '集成系统', |
| | | prop: 'sysBaseName', |
| | | sortable: true, |
| | | width: 150 |
| | | },{ |
| | | label: '编码类型', |
| | | prop: 'isGroupCodeFlag', |
| | | sortable: true, |
| | | width: 150, |
| | | formatter: d => d.isGroupCodeFlag ? '集团码' : '企业编码' |
| | | },{ |
| | | label: '接口类型', |
| | | prop:'dataFlowTypeText', |
| | | align:'center', |
| | | sortable: true, |
| | | width:150, |
| | | },{ |
| | | label: '推送类型', |
| | | prop: 'pushType', |
| | | prop: 'pushTypeText', |
| | | sortable: true, |
| | | overHidden:true, |
| | | align:'center', |
| | | width: 150, |
| | | //pushTypeList作用域 |
| | | formatter: (d) => { |
| | | return this.pushTypeList[d.pushType] |
| | | } |
| | | // formatter: (d) => { |
| | | // return this.pushTypeList[d.pushType] |
| | | // } |
| | | }, { |
| | | label: '系统编号', |
| | | prop: 'id', |
| | | sortable: true, |
| | | hide:true, |
| | | width: 150 |
| | | }, { |
| | | label: '系统名称', |
| | | prop: 'name', |
| | | hide:true, |
| | | sortable: true, |
| | | width: 150 |
| | | }, { |
| | | label: '接口函数', |
| | | prop: 'interfaceFunction', |
| | | sortable: true, |
| | | align:'center', |
| | | width: 150 |
| | | }, { |
| | | label: '命名空间', |
| | |
| | | },{ |
| | | label: '分类选择', |
| | | prop: 'classifyName', |
| | | // sortable: true, |
| | | width: 150 |
| | | }, { |
| | | label: '集成系统', |
| | | prop: 'targetSystemName', |
| | | align:'center', |
| | | // sortable: true, |
| | | width: 150 |
| | | },{ |
| | |
| | | prop: 'soapAction', |
| | | sortable: true, |
| | | width: 150 |
| | | }, { |
| | | label: '参数名称', |
| | | prop: 'targName', |
| | | sortable: true, |
| | | width: 150 |
| | | }, { |
| | | }, { |
| | | label: '调用方式', |
| | | prop: 'cxfaxis', |
| | | sortable: true, |
| | |
| | | }, { |
| | | label: '请求方式', |
| | | prop: 'requestMethod', |
| | | align:'center', |
| | | // sortable: true, |
| | | width: 150 |
| | | }, { |
| | |
| | | sortable: true, |
| | | width: 150 |
| | | }, { |
| | | label: '参数名称', |
| | | prop: 'targName', |
| | | sortable: true, |
| | | width: 150 |
| | | },{ |
| | | label: '参数类型', |
| | | prop: 'paramType', |
| | | sortable: true, |
| | |
| | | showClose: true, |
| | | type: "warning" |
| | | }).then(() => { |
| | | remove(row.oid).then(res => { |
| | | del({oids:row.oid}).then(res => { |
| | | this.$message.success("删除成功"); |
| | | this.refreshChange(); |
| | | }); |