| | |
| | | </el-button> |
| | | </span> |
| | | <!-- 预览排序--> |
| | | <el-button icon="el-icon-arrow-down" size="small" @click="orderHandle" v-if="permissionList.orderStatus">预览排序</el-button> |
| | | <el-button v-if="permissionList.orderStatus" icon="el-icon-arrow-down" size="small" @click="orderHandle">预览排序 |
| | | </el-button> |
| | | <span v-if="permissionList.removeStatus"> |
| | | <!-- 删除--> |
| | | <el-button v-if="(!checkStatus || crudLCStatus=='Editing') && editOpenFlag" icon="el-icon-delete" size="small" |
| | |
| | | </el-button> |
| | | </span> |
| | | <!-- 重置--> |
| | | <el-button icon="el-icon-refresh-right" size="small" @click="resetHandler" v-if="permissionList.resetStatus">重置</el-button> |
| | | <el-button v-if="permissionList.resetStatus" icon="el-icon-refresh-right" size="small" @click="resetHandler"> |
| | | 重置 |
| | | </el-button> |
| | | </el-button-group> |
| | | <el-button-group> |
| | | <span v-if="permissionList.injectStatus"><!-- 分类注入--> |
| | |
| | | |
| | | <el-button-group> |
| | | <!-- 同步到其他模板--> |
| | | <el-button icon="el-icon-share" size="small" @click="syncHandle" v-if="permissionList.syncStatus">同步到其他模板</el-button> |
| | | <el-button v-if="permissionList.syncStatus" icon="el-icon-share" size="small" @click="syncHandle">同步到其他模板 |
| | | </el-button> |
| | | </el-button-group> |
| | | |
| | | <el-button-group> |
| | | <!-- 编码申请预览--> |
| | | <el-button icon="el-icon-view" size="small" style="" @click="applicationHandle" v-if="permissionList.applicationStatus">编码申请预览</el-button> |
| | | <el-button v-if="permissionList.applicationStatus" icon="el-icon-view" size="small" style="" |
| | | @click="applicationHandle">编码申请预览 |
| | | </el-button> |
| | | |
| | | </el-button-group> |
| | | <!-- 是否开启编辑 --> |
| | |
| | | <el-table v-if="this.crudArrayFlag" |
| | | ref="referAttrCrud" |
| | | v-loading="loading" |
| | | border |
| | | :data="ProData" |
| | | :height="this.tableHeight" |
| | | border |
| | | style="width: 100%" |
| | | @select="selectHandle" |
| | | @cell-click="handleCellClicks" |
| | |
| | | import func from "@/util/func"; |
| | | import {getCurrentInstance} from "vue"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | | name: "attrCrud .vue", |
| | | props: { |
| | |
| | | /deep/ .el-table__fixed { |
| | | height: calc(100vh - 612px)!important; |
| | | } |
| | | |
| | | ///deep/ .el-table__fixed[v-if='editStyleFlag'] { |
| | | // height: calc(100vh - 152px)!important; // 编辑状态下的高度 |
| | | //} |
| | |
| | | width: 10px; |
| | | |
| | | } |
| | | |
| | | // 滚动条的滑块 |
| | | /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb { |
| | | background-color: #ececec; |