| | |
| | | } |
| | | |
| | | .el-menu--display, |
| | | .el-menu--display + .el-submenu__icon-arrow { |
| | | .el-menu--display+.el-submenu__icon-arrow { |
| | | display: none; |
| | | } |
| | | |
| | |
| | | |
| | | .el-dropdown-menu__item--divided:before, |
| | | .el-menu, |
| | | .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, |
| | | .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, |
| | | .el-menu--horizontal > .el-submenu .el-submenu__title:hover { |
| | | .el-menu--horizontal>.el-menu-item:not(.is-disabled):focus, |
| | | .el-menu--horizontal>.el-menu-item:not(.is-disabled):hover, |
| | | .el-menu--horizontal>.el-submenu .el-submenu__title:hover { |
| | | background-color: transparent; |
| | | } |
| | | |
| | | .el-dropdown-menu__item--divided:before, |
| | | .el-menu, |
| | | .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, |
| | | .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, |
| | | .el-menu--horizontal > .el-submenu .el-submenu__title:hover { |
| | | .el-menu--horizontal>.el-menu-item:not(.is-disabled):focus, |
| | | .el-menu--horizontal>.el-menu-item:not(.is-disabled):hover, |
| | | .el-menu--horizontal>.el-submenu .el-submenu__title:hover { |
| | | background-color: transparent !important; |
| | | } |
| | | |
| | |
| | | .avue-form__menu--center .el-button { |
| | | float: left; |
| | | } |
| | | |
| | | .dispatch .avue-form__menu--center .el-button { |
| | | float: none; |
| | | } |
| | |
| | | } |
| | | |
| | | //top 导航 按钮 |
| | | .el-menu--horizontal > .el-menu-item.is-active, |
| | | .el-menu--horizontal>.el-menu-item.is-active, |
| | | .avue-top, |
| | | .el-dropdown { |
| | | color: #fff !important; |
| | |
| | | // position: relative; |
| | | // right: 70px; |
| | | // } |
| | | |
| | | .securityGuard .el-button.el-button--text.el-button--small:nth-child(1) { |
| | | position: relative; |
| | | right: 70px; |
| | |
| | | } |
| | | } |
| | | |
| | | .avue-form__group > div:last-child { |
| | | .avue-form__group>div:last-child { |
| | | display: inline-block !important; |
| | | width: auto !important; |
| | | // width: auto !important; |
| | | } |
| | | |
| | | // 表格搜索按钮样式覆盖 |
| | | @import "./tableSearchBut.scss"; |
| | | |
| | | .userSManual .el-card.basic-container__card.is-always-shadow, |
| | | .userSManual .el-card__body { |
| | | width: 100% !important; |
| | | height: 100% !important; |
| | | box-sizing: border-box !important; |
| | | } |
| | | } |
| | |
| | | import { securityFormPageColumn } from "./data"; |
| | | import { mapState } from "vuex"; |
| | | import Qs from "qs"; |
| | | import { MessageBox } from 'element-ui'; |
| | | import { MessageBox } from "element-ui"; |
| | | //加载指纹类 |
| | | import Client from "./Client"; |
| | | |
| | |
| | | } |
| | | }; |
| | | return { |
| | | sort:"", |
| | | sortName:"", |
| | | sort: "", |
| | | sortName: "", |
| | | nowCell: "", //空为手动,2为身份证设备读取 |
| | | // 表格数据 |
| | | defaults: {}, |
| | |
| | | ratio: 1.0, |
| | | }, |
| | | action: "/api/blade-resource/oss/endpoint/put-files", |
| | | tip: "上传近期一寸近期彩色正面免冠图象, (358像素(宽) × 441像素(高)、分辨率350dpi)且不小于30kb,不超过500kb", |
| | | tip: "上传近期一寸彩色正面免冠图象, (358像素(宽) × 441像素(高)、分辨率350dpi)且不小于30kb,不超过500kb", |
| | | span: 12, |
| | | // row: true, |
| | | prop: "avatar", |
| | |
| | | isoks: isoks, |
| | | }); |
| | | } |
| | | |
| | | setTimeout(() => { |
| | | // if() |
| | | var doZhiwen = () => { |
| | | if (!this.form.id) { |
| | | sets(false); |
| | | return; |
| | |
| | | } |
| | | } |
| | | }); |
| | | }, 1800); |
| | | }; |
| | | |
| | | setTimeout(() => { |
| | | // var iframeDom = document.getElementById("zhiwen"); |
| | | // console.log(iframeDom,111111); |
| | | // iframeDom.onload = function () { |
| | | // doZhiwen(); |
| | | // }; |
| | | doZhiwen(); |
| | | }, 2800); |
| | | } else { |
| | | that.isopen = false; |
| | | } |
| | |
| | | //排序 |
| | | sortChange(value) { |
| | | // console.log(value, 51151515); |
| | | if(value.order=="ascending"){ |
| | | if (value.order == "ascending") { |
| | | this.sort = "asc"; |
| | | } |
| | | if(value.order=="descending"){ |
| | | if (value.order == "descending") { |
| | | this.sort = "desc"; |
| | | } |
| | | this.sortName = value.prop; |
| | | //字段匹配 |
| | | if(value.prop=="sexs"){ |
| | | if (value.prop == "sexs") { |
| | | this.sortName = "sex"; |
| | | } |
| | | if(value.prop=="examinationType"){ |
| | | if (value.prop == "examinationType") { |
| | | this.sortName = "examination_type"; |
| | | } |
| | | if(value.prop=="userType"){ |
| | | if (value.prop == "userType") { |
| | | this.sortName = "user_type"; |
| | | } |
| | | this.onLoad(this.page,this.query); |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | params = this.search; |
| | |
| | | "/api/blade-system/dept/security_lazy-tree"; |
| | | } |
| | | |
| | | if(this.sort){ |
| | | if (this.sort) { |
| | | params["sort"] = this.sort; |
| | | } |
| | | if(this.sortName){ |
| | | if (this.sortName) { |
| | | params["sortName"] = this.sortName; |
| | | } |
| | | |
| | |
| | | uploadBefore(file, done, loading, column) { |
| | | //如果你想修改file文件,由于上传的file是只读文件,必须复制新的file才可以修改名字,完后赋值到done函数里,如果不修改的话直接写done()即可 |
| | | if (file.type.indexOf("image/") == -1) { |
| | | MessageBox.alert("上传图片格式错误,请上传图片类型,如:JPG,PNG后缀的文件。") |
| | | MessageBox.alert( |
| | | "上传图片格式错误,请上传图片类型,如:JPG,PNG后缀的文件。" |
| | | ); |
| | | loading(); |
| | | return false; |
| | | } |
| | |
| | | this.filename = file; |
| | | this.option.img = data; |
| | | //判断文件大小 |
| | | const isLt1M = file.size >= 30*1024 && file.size <= 500*1024; |
| | | const isLt1M = file.size >= 30 * 1024 && file.size <= 500 * 1024; |
| | | if (!isLt1M) { |
| | | MessageBox.alert("上传图片大小必须大于30KB,且小于500KB!") |
| | | MessageBox.alert("上传图片大小必须大于30KB,且小于500KB!"); |
| | | loading(); |
| | | return false; |
| | | } |
| | |
| | | <template> |
| | | <basic-container |
| | | :class="[ |
| | | 'workreply', |
| | | $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '', |
| | | ]" |
| | | :class="[$store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '']" |
| | | > |
| | | <avue-crud |
| | | :option="option" |