Sfoglia il codice sorgente

签到二维码弹框组件增加外部人员签到显示参数

CHINAMI-P698360\Administrator 1 anno fa
parent
commit
ea7b664475
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      src/views/component/qrcodeedDialog.vue

+ 6 - 1
src/views/component/qrcodeedDialog.vue

@@ -36,6 +36,10 @@ export default {
         codeId: {
             type: String,
             default: ''
+        },
+        type: {
+            type: String,
+            default: ''
         }
     },
     data () {
@@ -79,7 +83,8 @@ export default {
                 width: 200,
                 height: 200,
                 // text: `${this.url}h5/#/pages/signin/signin?codeId=${this.codeId}`,
-                text: `${PUBLIC_URL}#/bpmn/siginin/index?codeId=${this.codeId}`,
+                text: `${PUBLIC_URL}#/bpmn/siginin/index?codeId=${this.codeId}&type=${this.type}`,
+                // text: `http://demo2.local/#/bpmn/siginin/index?codeId=${this.codeId}&type=${this.type}`,
                 colorDark: '#000000', // 前景色
                 colorLight: '#FFFFFF', // 背景色
                 correctLevel: QRCode.CorrectLevel.L