liuyg
2021-08-25 bd0f6271c7a2b385735827f98ce07e7cca748278
src/views/securityGuard/securityGuardDetail.vue
@@ -40,7 +40,9 @@
            <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="" /> -->
@@ -92,7 +94,11 @@
  update,
  page,
  remove,
  getER,
} from "@/api/performance/performance";
import vueQr from "vue-qr";
export default {
  data() {
    return {
@@ -187,6 +193,9 @@
      },
    };
  },
  components: {
    vueQr,
  },
  computed: {
    ids1() {
      let ids1 = [];
@@ -194,6 +203,12 @@
        ids1.push(ele.id);
      });
      return ids1.join(",");
    },
    goToUrl() {
      var url =
        "http://s16s652780.51mypc.cn/securityInfo/securityInfo.html?securityNumber=" +
        this.obj0.securitynumber;
      return url;
    },
  },
  methods: {
@@ -221,6 +236,10 @@
        //查询当前保安员的现实表现记录
        this.getPerformancePageInfo();
        this.loading2 = false;
      } else if (column.prop == "tab4") {
        // getER(this.obj0.securitynumber).then((res) => {
        //   console.log(res);
        // });
      }
    },
    //查询当前保安员的从业记录信息
@@ -423,7 +442,7 @@
    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;