Merge remote-tracking branch 'origin/dev' into dev
commit
2c9e52b933
|
@ -289,6 +289,24 @@ export default {
|
||||||
const jsonStr = JSON.stringify(json)
|
const jsonStr = JSON.stringify(json)
|
||||||
this.qrcodeStr = jsonStr
|
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;
|
||||||
|
},
|
||||||
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'
|
||||||
|
|
|
@ -471,7 +471,7 @@ export default {
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmental/hide',
|
'/safetyenvironmental/V2/hide',
|
||||||
{
|
{
|
||||||
INSPECTION_ID: id,
|
INSPECTION_ID: id,
|
||||||
hide: '1'
|
hide: '1'
|
||||||
|
|
Loading…
Reference in New Issue