| | |
| | | this.getPersonList(); |
| | | }) |
| | | .catch((err) => { |
| | | console.log(err); |
| | | }); |
| | | }, |
| | | sayHello() { |
| | | console.log("hello"); |
| | | }, |
| | | getUploadResult(result) { |
| | | this.uploadResult = result.data; |
| | |
| | | this.getPersonList(); |
| | | }, |
| | | handleDel() { |
| | | debugger; |
| | | if (this.delType == "single") { |
| | | this.deleteThis(); |
| | | } else if (this.delType == "base") { |
| | |
| | | } |
| | | }, |
| | | uploadSuccess() { |
| | | console.log("换脸成功了"); |
| | | }, |
| | | uploadError() { |
| | | console.log("换脸失败了"); |
| | | }, |
| | | deleteBatch() { |
| | | if (this.selectedRowKeys.length === 0) { |
| | |
| | | await this.BaseManageData.querySyncTables(); |
| | | await this.BaseManageData.queryLocalTables(); |
| | | if (this.baseObject.id && this.baseObject.id !== undefined) { |
| | | // console.log("one;", this.baseObject.id); |
| | | } else if ( |
| | | this.BaseManageData.syncTables[0].id && |
| | | this.BaseManageData.syncTables[0].id !== undefined |
| | |
| | | } |
| | | }, |
| | | handleRowStyle({ row, rowIndex }) { |
| | | // console.log(row, rowIndex, "handleRowStyle"); |
| | | if (rowIndex === 0) { |
| | | return "background:#222222;"; |
| | | } |
| | |
| | | } |
| | | }, |
| | | // tosearch(item) { |
| | | // // console.log("跳转地址", item) |
| | | // var curWwwPath = window.document.location.href; |
| | | // var pathname = window.document.location.pathname; |
| | | // var pos = curWwwPath.indexOf(pathname); |
| | |
| | | // var href = localhostPath + "/Layout/Searching" |
| | | // let captureId = item.id == "" ? item.personId : item.id |
| | | // var url = item.personPicUrl ? item.personPicUrl : item.personPicUrl |
| | | // // console.log("跳转地址",href,"url",url) |
| | | // var compType = 0 |
| | | // window.open(href + '?showType=findByPic&targetId=' + captureId + '&picSmUrl=' + url + '&compType=' + compType) |
| | | // }, |
| | |
| | | window.onresize = () => { |
| | | let width = document.body.clientWidth; |
| | | let height = document.body.clientHeight; |
| | | // console.log(width, height, "窗口变化对比", this.oldWidth, this.oldHeight); |
| | | if (width !== this.oldWidth && width < 1750) { |
| | | } |
| | | this.$nextTick(() => { |
| | |
| | | watch: { |
| | | baseObject: { |
| | | handler(newVal, oldVal) { |
| | | // console.log(newVal, "监听baseObject"); |
| | | this.BaseManageData.cleanData(); |
| | | this.getPersonList(); |
| | | }, |
| | |
| | | .el-button--mini { |
| | | padding: 10px 34px; |
| | | font-size: 14px; |
| | | background: #4e94ff !important; |
| | | border-color: #4e94ff !important; |
| | | background:var(--colorCard) !important; |
| | | border-color:var(--colorCard) !important; |
| | | width: 150px; |
| | | border-radius: 18px; |
| | | } |
| | |
| | | color: rgb(102, 102, 102); |
| | | } |
| | | .iconbianjiku-09:hover { |
| | | border: 1px solid #4e94ff; |
| | | background: #4e94ff; |
| | | border: 1px solidvar(--colorCard); |
| | | background:var(--colorCard); |
| | | color: #fff; |
| | | } |
| | | } |
| | |
| | | color: #bbbbbb; |
| | | font-size: 14px; |
| | | } |
| | | .el-radio__input.is-checked .el-radio__inner { |
| | | border-color:var(--colorCard); |
| | | background:var(--colorCard); |
| | | } |
| | | |
| | | .el-input--small { |
| | | font-size: 14px; |
| | | .el-input__inner { |
| | |
| | | padding: 11px 65px; |
| | | font-size: 14px; |
| | | border-radius: 18px; |
| | | border-color: #4e94ff !important; |
| | | background: #4e94ff !important; |
| | | border-color:var(--colorCard) !important; |
| | | background:var(--colorCard) !important; |
| | | color: #fff; |
| | | } |
| | | .cancel-btn { |
| | |
| | | margin-top: 8px; |
| | | box-shadow: 0px 0px 6px 1px rgb(143 159 191 / 15%); |
| | | .cell-classname { |
| | | // background: #ff3d3b; |
| | | border-bottom: 1px solid #eff1f5 !important; |
| | | } |
| | | .head-search { |
| | |
| | | .el-button--small { |
| | | padding: 8px 45px; |
| | | font-size: 14px; |
| | | background: #4e94ff !important; |
| | | background:var(--colorCard) !important; |
| | | border-radius: 0px 18px 18px 0px; |
| | | border-color: #4e94ff !important; |
| | | border-color:var(--colorCard) !important; |
| | | color: #fff; |
| | | } |
| | | .el-input__suffix { |
| | |
| | | font-size: 15px; |
| | | } |
| | | } |
| | | |
| | | .el-checkbox__input.is-indeterminate .el-checkbox__inner { |
| | | background-color:var(--colorCard); |
| | | border-color:var(--colorCard); |
| | | } |
| | | .el-checkbox__input.is-checked .el-checkbox__inner { |
| | | background-color:var(--colorCard); |
| | | border-color:var(--colorCard); |
| | | } |
| | | .el-table th.el-table__cell > .cell { |
| | | background: #f7f8fa; |
| | | height: 38px; |
| | |
| | | padding-left: 8px !important; |
| | | padding-right: 0px !important; |
| | | } |
| | | // .addToBase1 { |
| | | // width: 98%; |
| | | // height: 350px; |
| | | // position: relative; |
| | | // .topLabel { |
| | | // margin-top: 20px; |
| | | // height: 40px; |
| | | // border-bottom: 1px solid #eee; |
| | | // font-family: PingFangSC-Medium; |
| | | // font-size: 20px; |
| | | // font-weight: 600; |
| | | // line-height: 1rem; |
| | | // color: #222222; |
| | | // text-align: left; |
| | | // margin-left: 15px; |
| | | // } |
| | | // .items { |
| | | // width: 100%; |
| | | // height: auto; |
| | | // max-height: 35%; |
| | | // overflow-y: auto; |
| | | // margin: 20px 0px; |
| | | // .lable { |
| | | // margin-top: 10px; |
| | | // font-size: 14px; |
| | | // font-weight: 600; |
| | | // } |
| | | // .baseList { |
| | | // height: 100%; |
| | | // .base { |
| | | // width: 152px; |
| | | // padding: 5px 5px; |
| | | // line-height: 30px; |
| | | // float: left; |
| | | // text-align: left; |
| | | // font-size: 12px !important; |
| | | // background: #eff1f5; |
| | | // border-radius: 8px; |
| | | // margin-right: 10px; |
| | | // .el-checkbox { |
| | | // width: 100%; |
| | | // display: block; |
| | | // overflow: hidden; |
| | | // text-overflow: ellipsis; |
| | | // white-space: nowrap; |
| | | // .el-checkbox__label { |
| | | // display: inline !important; |
| | | // } |
| | | // } |
| | | // } |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | .avatar-uploader { |
| | | margin: auto; |
| | |
| | | padding: 8px 15px; |
| | | font-size: 14px; |
| | | border-radius: 3px; |
| | | background: #4e94ff !important; |
| | | background:var(--colorCard) !important; |
| | | border-radius: 16px; |
| | | border-color: #4e94ff !important; |
| | | border-color:var(--colorCard) !important; |
| | | width: 128px; |
| | | } |
| | | .el-input--mini .el-input__inner { |
| | |
| | | width: 150px; |
| | | } |
| | | .el-button--primary { |
| | | background: #4e94ff !important; |
| | | background:var(--colorCard) !important; |
| | | padding: 9px 37px; |
| | | color: #fff; |
| | | border: 1px solid #4e94ff !important; |
| | | border: 1px solidvar(--colorCard) !important; |
| | | border-radius: 18px; |
| | | font-size: 14px; |
| | | width: 150px; |
| | |
| | | color: #5f5f5f; |
| | | } |
| | | .dialog-footer { |
| | | .el-button--info { |
| | | .el-button--info { |
| | | color: #999999; |
| | | background: #fff; |
| | | padding: 9px 37px; |
| | |
| | | width: 150px; |
| | | } |
| | | .el-button--primary { |
| | | background: #4e94ff !important; |
| | | background:var(--colorCard) !important; |
| | | padding: 9px 37px; |
| | | color: #fff; |
| | | border: 1px solid #4e94ff !important; |
| | | border: 1px solidvar(--colorCard) !important; |
| | | border-radius: 18px; |
| | | font-size: 14px; |
| | | width: 150px; |
| | |
| | | border-radius: 8px; |
| | | margin: 0 5px; |
| | | .el-checkbox__input.is-checked .el-checkbox__inner { |
| | | background-color: #4e94ff; |
| | | border-color: #4e94ff; |
| | | } |
| | | background-color:var(--colorCard); |
| | | border-color:var(--colorCard); |
| | | } |
| | | .el-checkbox { |
| | | width: 100%; |
| | | display: block; |
| | |
| | | width: 150px; |
| | | } |
| | | .el-button--primary { |
| | | background: #4e94ff !important; |
| | | background:var(--colorCard) !important; |
| | | padding: 9px 37px; |
| | | color: #fff; |
| | | border: 1px solid #4e94ff !important; |
| | | border: 1px solidvar(--colorCard) !important; |
| | | border-radius: 18px; |
| | | font-size: 14px; |
| | | width: 150px; |
| | |
| | | } |
| | | .el-date-table td.start-date span, |
| | | .el-date-table td.end-date span { |
| | | background-color: #4e94ff; |
| | | background-color:var(--colorCard); |
| | | } |
| | | .el-date-table td.in-range div { |
| | | background-color: #4e94ff17; |
| | | background-color:var(--colorCard)17; |
| | | } |
| | | .el-button--default { |
| | | background: #4e94ff; |
| | | background:var(--colorCard); |
| | | padding: 9px 37px; |
| | | color: #fff; |
| | | border: 1px solid #4e94ff; |
| | | border: 1px solidvar(--colorCard); |
| | | border-radius: 18px; |
| | | font-size: 14px; |
| | | } |
| | |
| | | } |
| | | } |
| | | & > span:hover { |
| | | background: #4e94ff; |
| | | background:var(--colorCard); |
| | | color: #fff; |
| | | } |
| | | & > .del-wrap:hover { |