| | |
| | | <template slot="menu" slot-scope="{row,index}"> |
| | | <el-button icon="el-icon-edit" size="small" type="text" @click="updateSave(row,index)" :disabled="row.usedFlag === 'true' ? false :true">编辑</el-button> |
| | | <el-button icon="el-icon-delete" size="small" type="text" @click="deleteSave(row,index)">删除</el-button> |
| | | <el-button v-if="row.usedflag=='false'" icon="el-icon-position" size="small" type="text" |
| | | <el-button v-if="row.usedFlag=='false' || row.usedFlag==''" icon="el-icon-position" size="small" type="text" |
| | | @click="ENABLE(row,index)">启用 |
| | | </el-button> |
| | | <el-button v-else icon="el-icon-finished" size="small" type="text" @click="DISABLE(row,index)">停用 |
| | |
| | | },{ |
| | | label: 'soapAction', |
| | | prop: 'soapAction', |
| | | overHidden:true, |
| | | sortable: true, |
| | | width: 150 |
| | | width: 200 |
| | | }, { |
| | | label: '调用方式', |
| | | prop: 'cxfaxis', |
| | |
| | | label: '请求地址', |
| | | prop: 'requestUrl', |
| | | sortable: true, |
| | | width: 150 |
| | | overHidden:true, |
| | | width: 200 |
| | | }, { |
| | | label: '接口函数', |
| | | prop: 'interfaceFunction', |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | getList(this.page.currentPage, this.page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | console.log(res) |
| | | // console.log(res) |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.data = data.records; |