|
@@ -13,12 +13,8 @@
|
|
|
<button v-if="handling_status==2" class="cu-btn radius bg-orange sm margin-top-sm">待确认</button>
|
|
|
<button v-if="handling_status==3" class="cu-btn radius bg-blue sm margin-top-sm">自动恢复</button>
|
|
|
<button v-if="handling_status==4" class="cu-btn radius bg-gray sm margin-top-sm">过期失效</button>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
<view>
|
|
|
<!-- 基本信息start -->
|
|
|
<view class="basic-info dealDetail">
|
|
@@ -153,34 +149,24 @@
|
|
|
handling_status: 0
|
|
|
}
|
|
|
},
|
|
|
- mounted(){
|
|
|
- document.querySelector('.uni-page-head-hd').style.display = 'none'
|
|
|
- },
|
|
|
onLoad: function(option) {
|
|
|
- this.handling_status = option.handling_status;
|
|
|
+ // this.handling_status = option.handling_status;
|
|
|
this.type = option.type;
|
|
|
this.companyCode = option.companyCode;
|
|
|
- this.processingStatus = option.handling_status;
|
|
|
+ this.processingStatus =this.handling_status;
|
|
|
this.alarmId = option.id;
|
|
|
|
|
|
- if (option.handling_status!=0) {
|
|
|
- uni.setNavigationBarTitle({
|
|
|
- title: '已处理'
|
|
|
- });
|
|
|
- } else {
|
|
|
- uni.setNavigationBarTitle({
|
|
|
- title: '未处理'
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
+
|
|
|
this.getUnProcessDetail({
|
|
|
"companyCode": option.companyCode,
|
|
|
- "processingStatus": option.handling_status,
|
|
|
"alarmId": option.id
|
|
|
})
|
|
|
|
|
|
|
|
|
},
|
|
|
+ mounted(){
|
|
|
+ document.querySelector('.uni-page-head-hd').style.display = 'none'
|
|
|
+ },
|
|
|
methods: {
|
|
|
|
|
|
powerSubmit() {
|
|
@@ -230,15 +216,26 @@
|
|
|
})
|
|
|
console.log(res.data.data[0]);
|
|
|
this.detailMessage = res.data.data[0]
|
|
|
+ this.handling_status=this.detailMessage.handling_status;
|
|
|
+ if (this.handling_status!=0) {
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
+ title: '已处理'
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
+ title: '未处理'
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
- async getVideoDetail(ming = {}) {
|
|
|
- const res = await this.$myRequest({
|
|
|
- url: 'IntegratedAlarm/getVideoAlarmDetails',
|
|
|
- data: ming
|
|
|
- })
|
|
|
- console.log(res.data.data[0]);
|
|
|
- this.detailMessage2 = res.data.data[0]
|
|
|
- },
|
|
|
+ // async getVideoDetail(ming = {}) {
|
|
|
+ // const res = await this.$myRequest({
|
|
|
+ // url: 'IntegratedAlarm/getVideoAlarmDetails',
|
|
|
+ // data: ming
|
|
|
+ // })
|
|
|
+ // console.log(res.data.data[0]);
|
|
|
+ // this.detailMessage2 = res.data.data[0]
|
|
|
+ // },
|
|
|
|
|
|
submit() {
|
|
|
uni.makePhoneCall({
|