| | |
| | | import Vue from 'vue' |
| | | import { ACCESS_TOKEN, TENANT_ID } from "@/store/mutation-types" |
| | | import store from '@/store' |
| | | import { buttonShowAuthFilter } from '@/utils/authFilter' |
| | | |
| | | export const JeecgListMixin = { |
| | | data(){ |
| | |
| | | } |
| | | }, |
| | | methods:{ |
| | | isShowAuth(code){ |
| | | return buttonShowAuthFilter(code); |
| | | }, |
| | | loadData(arg) { |
| | | if(!this.url.list){ |
| | | this.$message.error("请设置url.list属性!") |
| | |
| | | // 打开详情抽屉时禁用设备编码、设备名称输入框 |
| | | this.$refs.modalForm.disSeach = true; |
| | | // 调用抽屉表单组件中的清除表单验证方法 |
| | | this.$refs.modalForm.removeValidate() |
| | | this.$nextTick(()=>{ |
| | | if(this.$refs.modalForm.$refs.form)this.$refs.modalForm.$refs.form.clearValidate() |
| | | }) |
| | | }, |
| | | /* 导出 */ |
| | | handleExportXls2(){ |