| | |
| | | <el-button v-if="permissionList.sync" icon="el-icon-share" size="small" @click="PUSH">同 步 |
| | | </el-button> |
| | | <el-button v-if="permissionList.query" icon="el-icon-search" size="small" |
| | | @click="openAdvancedQuery">查 |
| | | 询 |
| | | @click="openAdvancedQuery">查 询 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | |
| | | <script> |
| | | import { |
| | | getList, add, edit, del, push, updateStatus |
| | | getList, add, edit, del, push, updateStatus,HeaderRequest |
| | | } from "@/api/docking/info"; |
| | | import {getDictionary} from "@/api/omd/enum"; |
| | | import infoForm from "./infoForm.vue"; |
| | |
| | | border: true, |
| | | index: true, |
| | | selection: true, |
| | | indexFixed: false, |
| | | selectionFixed:false, |
| | | searchShow: false, |
| | | refreshBtn:false, |
| | | searchMenuSpan: 6, |
| | | rowKey: "id", |
| | | tabs: true, |
| | | stripe: true, |
| | | indexFixed: false, |
| | | menuWidth: 180, |
| | | highlightCurrentRow: true, |
| | | addBtn: false, |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | HeaderRequest().then(res => { |
| | | console.log(res) |
| | | }) |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission"]), |