|
|
@ -24,7 +24,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="btn-box"> |
|
|
|
<view class="btn-box"> |
|
|
|
<view @click="handleCheck(1)" class="btn btn1" v-show="type!='view'"> 智能排查 </view> |
|
|
|
<view @click="handleCheck(1)" class="btn btn1" v-show="type!='view'"> 智能排查 </view> |
|
|
|
<view @click="show2 = true" class="btn btn2" v-show="type!='view'"> 人工排查 </view> |
|
|
|
<view @click="handleCheck2" class="btn btn2" v-show="type!='view'"> 人工排查 </view> |
|
|
|
<view @click="handleCheck(2)" class="btn btn8" v-show="type=='view'"> 查看排查详情 </view> |
|
|
|
<view @click="handleCheck(2)" class="btn btn8" v-show="type=='view'"> 查看排查详情 </view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -34,7 +34,7 @@ |
|
|
|
<view class="btn-box"> |
|
|
|
<view class="btn-box"> |
|
|
|
<view @click="onJump(3)" class="btn btn3" v-show="type!='view'"> 更换 </view> |
|
|
|
<view @click="onJump(3)" class="btn btn3" v-show="type!='view'"> 更换 </view> |
|
|
|
<view @click="handleCheck(1)" class="btn btn4" v-show="type!='view'"> 智能排查 </view> |
|
|
|
<view @click="handleCheck(1)" class="btn btn4" v-show="type!='view'"> 智能排查 </view> |
|
|
|
<view @click="show2 = true" class="btn btn5" v-show="type!='view'"> 人工排查 </view> |
|
|
|
<view @click="handleCheck2" class="btn btn5" v-show="type!='view'"> 人工排查 </view> |
|
|
|
<view @click="handleCheck(2)" class="btn btn8" v-show="type=='view'"> 查看排查详情 </view> |
|
|
|
<view @click="handleCheck(2)" class="btn btn8" v-show="type=='view'"> 查看排查详情 </view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -103,7 +103,7 @@ |
|
|
|
<cover-view class="umodal-content"> 新增成功</cover-view> |
|
|
|
<cover-view class="umodal-content"> 新增成功</cover-view> |
|
|
|
<cover-view class="umodal-line1"></cover-view> |
|
|
|
<cover-view class="umodal-line1"></cover-view> |
|
|
|
<cover-view class="umodal-btnbox"> |
|
|
|
<cover-view class="umodal-btnbox"> |
|
|
|
<cover-view class="umodal-btn" @click="show2 = true"> |
|
|
|
<cover-view class="umodal-btn" @click="handleCheck2"> |
|
|
|
人工排查 |
|
|
|
人工排查 |
|
|
|
</cover-view> |
|
|
|
</cover-view> |
|
|
|
<cover-view class="umodal-line2"></cover-view> |
|
|
|
<cover-view class="umodal-line2"></cover-view> |
|
|
@ -176,7 +176,8 @@ |
|
|
|
show: false, |
|
|
|
show: false, |
|
|
|
type: 'edit', |
|
|
|
type: 'edit', |
|
|
|
show2: false, |
|
|
|
show2: false, |
|
|
|
pcType: 0 |
|
|
|
pcType: 0, |
|
|
|
|
|
|
|
pcTypes: 0, |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
onLoad(options) { |
|
|
@ -185,6 +186,7 @@ |
|
|
|
this.businessId = options.businessId; |
|
|
|
this.businessId = options.businessId; |
|
|
|
this.operator = options.operator; |
|
|
|
this.operator = options.operator; |
|
|
|
this.deptId = options.deptId; |
|
|
|
this.deptId = options.deptId; |
|
|
|
|
|
|
|
this.pcType = options.pcType; |
|
|
|
|
|
|
|
|
|
|
|
this.type = options.type; |
|
|
|
this.type = options.type; |
|
|
|
this.pageHeight = uni.getSystemInfoSync().windowHeight; |
|
|
|
this.pageHeight = uni.getSystemInfoSync().windowHeight; |
|
|
@ -194,8 +196,8 @@ |
|
|
|
this.getSystemInfo() |
|
|
|
this.getSystemInfo() |
|
|
|
}, |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
onShow() { |
|
|
|
if (this.pcType == 2) { |
|
|
|
if (this.pcTypes == 2) { |
|
|
|
this.pcType = 0 |
|
|
|
this.pcTypes = 0 |
|
|
|
this.backPage() |
|
|
|
this.backPage() |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -425,22 +427,40 @@ |
|
|
|
// businessId: "000001", |
|
|
|
// businessId: "000001", |
|
|
|
// pointType: '1' |
|
|
|
// pointType: '1' |
|
|
|
// }; |
|
|
|
// }; |
|
|
|
this.$.open( |
|
|
|
|
|
|
|
"/pages/index/detail?taskId=" + |
|
|
|
this.$request |
|
|
|
this.businessId + |
|
|
|
.globalRequest( |
|
|
|
"&id=" + |
|
|
|
"/hiddenDanger/highDanger/HighDangerSaveStatus", |
|
|
|
this.sectionCode + |
|
|
|
{ |
|
|
|
"§ionId=" + |
|
|
|
businessId: this.businessId, |
|
|
|
this.sectionCode + |
|
|
|
pcType: "1", |
|
|
|
"&roadName=" + |
|
|
|
}, |
|
|
|
this.roadName + |
|
|
|
"GET" |
|
|
|
"&userId=" + |
|
|
|
) |
|
|
|
this.operator + |
|
|
|
.then((res) => { |
|
|
|
"&deptId=" + |
|
|
|
console.log(res); |
|
|
|
this.deptId + |
|
|
|
if (res.code === 200) { |
|
|
|
"§ionType=" + |
|
|
|
this.pcType = 1 |
|
|
|
this.pointType |
|
|
|
this.$.open( |
|
|
|
); |
|
|
|
"/pages/index/detail?taskId=" + |
|
|
|
|
|
|
|
this.businessId + |
|
|
|
|
|
|
|
"&id=" + |
|
|
|
|
|
|
|
this.sectionCode + |
|
|
|
|
|
|
|
"§ionId=" + |
|
|
|
|
|
|
|
this.sectionCode + |
|
|
|
|
|
|
|
"&roadName=" + |
|
|
|
|
|
|
|
this.roadName + |
|
|
|
|
|
|
|
"&userId=" + |
|
|
|
|
|
|
|
this.operator + |
|
|
|
|
|
|
|
"&deptId=" + |
|
|
|
|
|
|
|
this.deptId + |
|
|
|
|
|
|
|
"§ionType=" + |
|
|
|
|
|
|
|
this.pointType |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.$.toast(res.message); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
if (v == 2) { |
|
|
|
if (v == 2) { |
|
|
|
if (t) { |
|
|
|
if (t) { |
|
|
@ -456,6 +476,7 @@ |
|
|
|
.then((res) => { |
|
|
|
.then((res) => { |
|
|
|
console.log(res); |
|
|
|
console.log(res); |
|
|
|
if (res.code === 200) { |
|
|
|
if (res.code === 200) { |
|
|
|
|
|
|
|
this.pcTypes = 2 |
|
|
|
this.pcType = 2 |
|
|
|
this.pcType = 2 |
|
|
|
this.show2 = false; |
|
|
|
this.show2 = false; |
|
|
|
this.$.open("/pages/investigation/task" + "?id=" + this.businessId); |
|
|
|
this.$.open("/pages/investigation/task" + "?id=" + this.businessId); |
|
|
@ -472,6 +493,15 @@ |
|
|
|
|
|
|
|
|
|
|
|
// this.$.open(url + "?id=" + 'RX202310210236'); |
|
|
|
// this.$.open(url + "?id=" + 'RX202310210236'); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
handleCheck2() { |
|
|
|
|
|
|
|
if(this.pcType == 1) { |
|
|
|
|
|
|
|
this.show2 = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(this.pcType == 2) { |
|
|
|
|
|
|
|
this.handleCheck(2, true) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
handleSubmit() { |
|
|
|
handleSubmit() { |
|
|
|
let address = ""; |
|
|
|
let address = ""; |
|
|
|
if (this.ftype == 1) { |
|
|
|
if (this.ftype == 1) { |
|
|
|