164 lines
3.6 KiB
JavaScript
164 lines
3.6 KiB
JavaScript
|
export default {
|
||
|
namespaced: true,
|
||
|
state: {
|
||
|
// 三色评定信息
|
||
|
userdailyinspection: {
|
||
|
guarderValue: 0,
|
||
|
guarderCount: 0,
|
||
|
guarderCountDetail: "",
|
||
|
guarderCertValue:0,
|
||
|
guarderCert: 0,
|
||
|
guarderCertDetail: "",
|
||
|
guarderOverValue:0,
|
||
|
guarderOverAge: 0,
|
||
|
guarderOverAgeDetail: "",
|
||
|
peakGuarValue:0,
|
||
|
peakGuarderArmed: 0,
|
||
|
peakGuarderArmedDetail: "",
|
||
|
peakProtectValue:0,
|
||
|
peakProtectScheme: 0,
|
||
|
peakProtectSchemeDetail: "",
|
||
|
peakStaffValue:0,
|
||
|
peakStaff: 0,
|
||
|
peakStaffDetail: "",
|
||
|
zoneValue:0,
|
||
|
zoneClosed: 0,
|
||
|
zoneClosedDetail: "",
|
||
|
equipCount: 0, //8
|
||
|
equipCountDetail: "",
|
||
|
collisionValue:0,
|
||
|
collision: 0,
|
||
|
collisiontDetail: "",
|
||
|
ipcGateValue:0,
|
||
|
ipcCover: 0, //10
|
||
|
ipcCoverDetail: "",
|
||
|
alarmValue:0,
|
||
|
alarmSystem: 0,
|
||
|
alarmSystemDetail: "",
|
||
|
ipcGateValue:0,
|
||
|
ipcGate: 0,
|
||
|
ipcGateDetail: "",
|
||
|
ipcRecordValue:0,
|
||
|
ipcRecord: 0,
|
||
|
ipcRecordDetail: "",
|
||
|
lawEducaValue:0,
|
||
|
lawEducation: 0,
|
||
|
lawEducationDetail: "",
|
||
|
conflictValue:0,
|
||
|
conflict: 0,
|
||
|
conflictDetail: "",
|
||
|
|
||
|
guarderScheme: 0,
|
||
|
guarderSchemetDetail: "",
|
||
|
buildingValue:0,
|
||
|
buildingScheme: 0,
|
||
|
buildingSchemeDetail: "",
|
||
|
fireValue:0,
|
||
|
fireScheme: 0,
|
||
|
fireSchemeDetail: "",
|
||
|
dangerousValue:0,
|
||
|
dangerousScheme: 0,
|
||
|
dangerousSchemeDetail: "",
|
||
|
conflictScheme: 0,
|
||
|
conflictSchemeDetail: "",
|
||
|
guarderPMIValue:0,
|
||
|
guarderPMIScheme: 0,
|
||
|
guarderPMISchemeDetail: "",
|
||
|
securityValue:0,
|
||
|
securityServiceScheme: 0,
|
||
|
securityServiceSchemeDetail: "",
|
||
|
criminalValue:0,
|
||
|
criminalCase: 0,
|
||
|
criminalCaseDetail: "",
|
||
|
markColor:0,
|
||
|
markColor1:100,
|
||
|
comment:''
|
||
|
}
|
||
|
},
|
||
|
mutations: {
|
||
|
// 用户信息
|
||
|
dailyinspectionList(state, data) {
|
||
|
state.userdailyinspection = data;
|
||
|
},
|
||
|
// 清空
|
||
|
cleardailtcolour(state) {
|
||
|
state.userdailyinspection = {
|
||
|
guarderValue: 0,
|
||
|
guarderCount: 0,
|
||
|
guarderCountDetail: "",
|
||
|
guarderCertValue:0,
|
||
|
guarderCert: 0,
|
||
|
guarderCertDetail: "",
|
||
|
guarderOverValue:0,
|
||
|
guarderOverAge: 0,
|
||
|
guarderOverAgeDetail: "",
|
||
|
peakGuarValue:0,
|
||
|
peakGuarderArmed: 0,
|
||
|
peakGuarderArmedDetail: "",
|
||
|
peakProtectValue:0,
|
||
|
peakProtectScheme: 0,
|
||
|
peakProtectSchemeDetail: "",
|
||
|
peakStaffValue:0,
|
||
|
peakStaff: 0,
|
||
|
peakStaffDetail: "",
|
||
|
zoneValue:0,
|
||
|
zoneClosed: 0,
|
||
|
zoneClosedDetail: "",
|
||
|
equipCount: 0, //8
|
||
|
equipCountDetail: "",
|
||
|
collisionValue:0,
|
||
|
collision: 0,
|
||
|
collisiontDetail: "",
|
||
|
ipcGateValue:0,
|
||
|
ipcCover: 0, //10
|
||
|
ipcCoverDetail: "",
|
||
|
alarmValue:0,
|
||
|
alarmSystem: 0,
|
||
|
alarmSystemDetail: "",
|
||
|
ipcGateValue:0,
|
||
|
ipcGate: 0,
|
||
|
ipcGateDetail: "",
|
||
|
ipcRecordValue:0,
|
||
|
ipcRecord: 0,
|
||
|
ipcRecordDetail: "",
|
||
|
lawEducaValue:0,
|
||
|
lawEducation: 0,
|
||
|
lawEducationDetail: "",
|
||
|
conflictValue:0,
|
||
|
conflict: 0,
|
||
|
conflictDetail: "",
|
||
|
|
||
|
guarderScheme: 0,
|
||
|
guarderSchemetDetail: "",
|
||
|
buildingValue:0,
|
||
|
buildingScheme: 0,
|
||
|
buildingSchemeDetail: "",
|
||
|
fireValue:0,
|
||
|
fireScheme: 0,
|
||
|
fireSchemeDetail: "",
|
||
|
dangerousValue:0,
|
||
|
dangerousScheme: 0,
|
||
|
dangerousSchemeDetail: "",
|
||
|
conflictScheme: 0,
|
||
|
conflictSchemeDetail: "",
|
||
|
guarderPMIValue:0,
|
||
|
guarderPMIScheme: 0,
|
||
|
guarderPMISchemeDetail: "",
|
||
|
securityValue:0,
|
||
|
securityServiceScheme: 0,
|
||
|
securityServiceSchemeDetail: "",
|
||
|
criminalValue:0,
|
||
|
criminalCase: 0,
|
||
|
criminalCaseDetail: "",
|
||
|
|
||
|
markColor:state.userdailyinspection.markColor,
|
||
|
markColor1:state.userdailyinspection.markColor,
|
||
|
comment:''
|
||
|
};
|
||
|
}
|
||
|
},
|
||
|
actions: {},
|
||
|
getters: {
|
||
|
getdailyinspection: state => state.userdailyinspection,
|
||
|
},
|
||
|
};
|