| | |
| | | } |
| | | }) |
| | | } |
| | | export const gridLogeDetail = (params) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/dockingManagement/gridLogeDetail', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | } |
| | | }) |
| | | } |
| | |
| | | <small slot="more">...</small> |
| | | </avue-text-ellipsis> |
| | | </template> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button type="text" icon="el-icon-view" size="mini" @click="rowView(scope.row)">查看</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | | </template> |
| | | |
| | | <script> |
| | | import {getLogoList} from "@/api/docking/loge"; |
| | | import {getLogoList,gridLogeDetail} from "@/api/docking/loge"; |
| | | import {validatenull} from "@/util/validate"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | |
| | | dialogClickModal: false, |
| | | menuFixed:'right', |
| | | dialogType: 'drawer', |
| | | viewBtn: true, |
| | | viewBtn: false, |
| | | stripe: true, |
| | | addBtn:false, |
| | | editBtn:false, |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | rowView(row){ |
| | | this.loading = true; |
| | | gridLogeDetail({oid:row.oid}).then(res =>{ |
| | | console.log(res) |
| | | if(res.data.data){ |
| | | this.loading = false |
| | | this.$refs.crud.rowView(res.data.data) |
| | | } |
| | | }) |
| | | }, |
| | | dockingGetList(val){ |
| | | this.data=val.records; |
| | | this.page.pageSize=val.size; |