1.消防检查二维码
parent
a286a49261
commit
b574bd137f
|
@ -269,8 +269,11 @@ export default {
|
||||||
handleShowQr(ROW) {
|
handleShowQr(ROW) {
|
||||||
this.dialogFormShow = true
|
this.dialogFormShow = true
|
||||||
this.qrInfo = ROW
|
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) {
|
handleShowRecordQr(ROW) {
|
||||||
this.dialogFormShow = true
|
this.dialogFormShow = true
|
||||||
// 确保qrInfo绑定了需要显示的数据字段
|
// 确保qrInfo绑定了需要显示的数据字段
|
||||||
|
@ -288,24 +291,7 @@ export default {
|
||||||
}
|
}
|
||||||
const jsonStr = JSON.stringify(json)
|
const jsonStr = JSON.stringify(json)
|
||||||
this.qrcodeStr = jsonStr
|
this.qrcodeStr = jsonStr
|
||||||
},
|
console.info(this.qrcodeStr)
|
||||||
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;
|
|
||||||
},
|
},
|
||||||
handleEdit(FIRE_POINT_ID) {
|
handleEdit(FIRE_POINT_ID) {
|
||||||
this.$parent.FIRE_POINT_ID = FIRE_POINT_ID
|
this.$parent.FIRE_POINT_ID = FIRE_POINT_ID
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</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 type="text/javascript" src="../../../bi/js/pre-loader.js"></script>
|
||||||
<script src="../../../bi/js/sweetalert.min.js"></script>
|
<script src="../../../bi/js/sweetalert.min.js"></script>
|
||||||
<script src="../../assets/js/vant.min.js"></script>
|
<script src="../../assets/js/vant.min.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue