|
|
@@ -389,6 +389,7 @@
|
|
|
:hide-sys-device-no="hideSysDeviceNo"
|
|
|
:has-fu-ze-ren-dian-hua="hasFuZeRenDianHua"
|
|
|
:has-chang-jia-lian-xi-ren="hasChangJiaLianXiRen"
|
|
|
+ :time-format="timeFormat"
|
|
|
:readonly="!hasRole || readOnly"
|
|
|
:actionDialog="actionDialog"
|
|
|
:hidefu-jian-shang="hidefuJianShang"
|
|
|
@@ -958,6 +959,7 @@ export default {
|
|
|
hidefuJianShang: false,
|
|
|
hasFuZeRenDianHua: false,
|
|
|
hasChangJiaLianXiRen: false,
|
|
|
+ timeFormat: 'HH:mm:ss',
|
|
|
tabList: {},
|
|
|
hasRole: true,
|
|
|
readOnly: this.$route.fullPath === '/xxgl/sbda',
|
|
|
@@ -970,7 +972,7 @@ export default {
|
|
|
tagName: '',
|
|
|
tagData: {},
|
|
|
config: setting?.postJob?.allocation || false,
|
|
|
- projectName: setting?.system?.projectName,
|
|
|
+ projectName: setting?.system?.projectName
|
|
|
}
|
|
|
},
|
|
|
async mounted() {
|
|
|
@@ -983,7 +985,8 @@ export default {
|
|
|
hasDeviceRole,
|
|
|
typeList,
|
|
|
hasFuZeRenDianHua,
|
|
|
- hasChangJiaLianXiRen
|
|
|
+ hasChangJiaLianXiRen,
|
|
|
+ timeFormat
|
|
|
} = res.device || {}
|
|
|
const { tagData, tagName } = res.deviceTag || {}
|
|
|
if (tagName) {
|
|
|
@@ -1031,6 +1034,9 @@ export default {
|
|
|
if (hasChangJiaLianXiRen) {
|
|
|
this.hasChangJiaLianXiRen = hasChangJiaLianXiRen
|
|
|
}
|
|
|
+ if (timeFormat) {
|
|
|
+ this.timeFormat = timeFormat
|
|
|
+ }
|
|
|
if (tabList) {
|
|
|
console.debug('tabList', tabList)
|
|
|
this.tabList = tabList
|
|
|
@@ -1504,10 +1510,10 @@ export default {
|
|
|
item.weiHuFangShi,
|
|
|
deviceGroupData
|
|
|
)
|
|
|
- if(this.projectName != 'dev4'){
|
|
|
+ if (this.projectName != 'dev4') {
|
|
|
item.shiYongKeShi = this.switchGYSIdToName(item.shiYongKeShi, gysData)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (this.stateList[item.sheBeiZhuangTa]) {
|
|
|
item.sheBeiZhuangTa = this.stateList[item.sheBeiZhuangTa]
|
|
|
}
|
|
|
@@ -1931,10 +1937,10 @@ export default {
|
|
|
if (list.length < 1) {
|
|
|
return
|
|
|
}
|
|
|
- if(this.projectName != 'dev4'){
|
|
|
+ if (this.projectName != 'dev4') {
|
|
|
this.handleSupplierInfo(list, supplierList)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.handlePositionInfo(list, positionList)
|
|
|
this.handlePersonInfo(list, employeeList)
|
|
|
this.handleDeviceGroupInfo(list, deviceGroupList)
|