1.消防检查二维码

hyx_2024-9-25_tongbu
guoyuepeng 2024-09-19 08:47:41 +08:00
parent a286a49261
commit b574bd137f
2 changed files with 7 additions and 21 deletions

View File

@ -269,7 +269,10 @@ 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
@ -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

View File

@ -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>