Merge branch 'refs/heads/pet' into dev
commit
0606dd135e
|
@ -281,6 +281,24 @@ export default {
|
||||||
}
|
}
|
||||||
this.recordQrcodeStr = JSON.stringify(json)
|
this.recordQrcodeStr = JSON.stringify(json)
|
||||||
},
|
},
|
||||||
|
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
|
||||||
this.$parent.activeName = 'Edit'
|
this.$parent.activeName = 'Edit'
|
||||||
|
|
Loading…
Reference in New Issue