1.消防检查二维码
parent
a286a49261
commit
b574bd137f
|
@ -269,7 +269,10 @@ export default {
|
|||
handleShowQr(ROW) {
|
||||
this.dialogFormShow = true
|
||||
this.qrInfo = ROW
|
||||
this.qrcodeStr = this.config.weburlWaiwang + 'static/qrcode/views/bsbw/point_list.html?id=' + ROW.FIRE_POINT_ID
|
||||
this.qrcodeStr = JSON.stringify({
|
||||
MANAGER_TYPE: 'fireListManager',
|
||||
FIRE_POINT_ID: ROW.FIRE_POINT_ID
|
||||
})
|
||||
},
|
||||
handleShowRecordQr(ROW) {
|
||||
this.dialogFormShow = true
|
||||
|
@ -288,24 +291,7 @@ export default {
|
|||
}
|
||||
const jsonStr = JSON.stringify(json)
|
||||
this.qrcodeStr = jsonStr
|
||||
},
|
||||
handleShowRecordQr(ROW) {
|
||||
this.dialogFormShow = true;
|
||||
// 确保qrInfo绑定了需要显示的数据字段
|
||||
this.qrInfo = {
|
||||
FIRE_REGION_NAME: ROW.FIRE_REGION_NAME, // 消防区域
|
||||
FIRE_POINT_NAME: ROW.FIRE_POINT_NAME, // 消防点位
|
||||
DEPARTMENT_NAME: ROW.DEPARTMENT_NAME, // 负责部门
|
||||
USERNAME: ROW.USERNAME // 负责人
|
||||
};
|
||||
const json = {
|
||||
MANAGER_TYPE: 'checkRecordManager',
|
||||
USER_ID: ROW.USER_ID,
|
||||
DEPARTMENT_ID: ROW.DEPARTMENT_ID,
|
||||
FIRE_POINT_ID: ROW.FIRE_POINT_ID
|
||||
};
|
||||
const jsonStr = JSON.stringify(json);
|
||||
this.qrcodeStr = jsonStr;
|
||||
console.info(this.qrcodeStr)
|
||||
},
|
||||
handleEdit(FIRE_POINT_ID) {
|
||||
this.$parent.FIRE_POINT_ID = FIRE_POINT_ID
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" src=".../../../bi/js/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../bi/js/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../bi/js/pre-loader.js"></script>
|
||||
<script src="../../../bi/js/sweetalert.min.js"></script>
|
||||
<script src="../../assets/js/vant.min.js"></script>
|
||||
|
|
Loading…
Reference in New Issue