5 files modified
1 files added
| | |
| | | "vue": "^2.6.10", |
| | | "vue-axios": "^2.1.2", |
| | | "vue-i18n": "^8.7.0", |
| | | "vue-qr": "^2.5.0", |
| | | "vue-router": "^3.0.1", |
| | | "vue2-countdown": "^1.0.8", |
| | | "vuex": "^3.1.1" |
| | |
| | | import request from '@/router/axios'; |
| | | |
| | | export const getER = (securityNumber) => { |
| | | return request({ |
| | | url: '/api//qrCode/getQrCode', |
| | | method: 'get', |
| | | params: { |
| | | securityNumber |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const page = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/performance/page', |
| | |
| | | height: 680px !important; |
| | | line-height: 680px !important; |
| | | } |
| | | |
| | | //保安员管理 查看按钮放前 |
| | | // .securityGuard .el-button.el-button--text.el-button--small:first-child { |
| | | // position: relative; |
| | | // right: 70px; |
| | | // } |
| | | |
| | | .securityGuard .el-button.el-button--text.el-button--small:nth-child(1) { |
| | | position: relative; |
| | | right: 70px; |
| | | } |
| | |
| | | v-model="form" |
| | | :permission="permissionList" |
| | | @row-del="rowDel" |
| | | @row-update="rowUpdate" |
| | | :row-style="rowStyle" |
| | | @row-save="rowSave" |
| | | :before-open="beforeOpen" |
| | |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | > |
| | | <!-- @row-update="rowUpdate" --> |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | type="success" |
| | |
| | | <div class="imgs"> |
| | | <!-- <div v-if="obj0.myPicture">暂无二维码</div> --> |
| | | <!-- <img :src="obj0.myPicture" alt="" v-else/> --> |
| | | <img src="/img/register/ewm.png" alt="" /> |
| | | <!-- <img src="/img/register/ewm.png" alt="" /> --> |
| | | <!-- logoSrc="/img/register/ewm.png" --> |
| | | <vue-qr :text="goToUrl" :size="200"></vue-qr> |
| | | </div> |
| | | |
| | | <!-- <img src="/img/mock/card/card-1.jpg" alt="" /> --> |
| | |
| | | update, |
| | | page, |
| | | remove, |
| | | getER, |
| | | } from "@/api/performance/performance"; |
| | | |
| | | import vueQr from "vue-qr"; |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | }; |
| | | }, |
| | | components: { |
| | | vueQr, |
| | | }, |
| | | computed: { |
| | | ids1() { |
| | | let ids1 = []; |
| | |
| | | ids1.push(ele.id); |
| | | }); |
| | | return ids1.join(","); |
| | | }, |
| | | goToUrl() { |
| | | var url = |
| | | "http://s16s652780.51mypc.cn/securityInfo/securityInfo.html?securityNumber=" + |
| | | this.obj0.securitynumber; |
| | | return url; |
| | | }, |
| | | }, |
| | | methods: { |
| | |
| | | //查询当前保安员的现实表现记录 |
| | | this.getPerformancePageInfo(); |
| | | this.loading2 = false; |
| | | } else if (column.prop == "tab4") { |
| | | // getER(this.obj0.securitynumber).then((res) => { |
| | | // console.log(res); |
| | | // }); |
| | | } |
| | | }, |
| | | //查询当前保安员的从业记录信息 |
| | |
| | | height: 110px; |
| | | border-radius: 10px; |
| | | position: absolute; |
| | | border: 1px solid rgba($color: #888888, $alpha: 0.5); |
| | | // border: 1px solid rgba($color: #888888, $alpha: 0.5); |
| | | top: 330px; |
| | | right: 103px; |
| | | display: flex; |