|
@@ -24,8 +24,8 @@
|
|
|
>一键识别</u-button
|
|
>一键识别</u-button
|
|
|
>
|
|
>
|
|
|
</view>
|
|
</view>
|
|
|
- <u-list :height="666" :scrollTop="topH" v-if="isShow">
|
|
|
|
|
- <u-list-item v-for="(item, index) in indexList" :key="index">
|
|
|
|
|
|
|
+ <view v-if="isShow" class="task-detail-list">
|
|
|
|
|
+ <view v-for="(item, index) in indexList" :key="index">
|
|
|
<u-cell icon="share">
|
|
<u-cell icon="share">
|
|
|
<view slot="title" class="u-slot-title">
|
|
<view slot="title" class="u-slot-title">
|
|
|
<text class="u-cell-text">{{
|
|
<text class="u-cell-text">{{
|
|
@@ -54,8 +54,8 @@
|
|
|
></u-icon>
|
|
></u-icon>
|
|
|
</view>
|
|
</view>
|
|
|
</u-cell>
|
|
</u-cell>
|
|
|
- </u-list-item>
|
|
|
|
|
- </u-list>
|
|
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
<!-- 一键识别List -->
|
|
<!-- 一键识别List -->
|
|
|
<view v-if="sbShow">
|
|
<view v-if="sbShow">
|
|
|
<Recognition
|
|
<Recognition
|
|
@@ -101,8 +101,6 @@ export default {
|
|
|
return {
|
|
return {
|
|
|
saveImg: "",
|
|
saveImg: "",
|
|
|
// imgList: [],
|
|
// imgList: [],
|
|
|
- topH: 0,
|
|
|
|
|
- activeIndex: 0,
|
|
|
|
|
Ids: "",
|
|
Ids: "",
|
|
|
checkNum: "", //巡检次数
|
|
checkNum: "", //巡检次数
|
|
|
classType: "",
|
|
classType: "",
|
|
@@ -194,7 +192,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
getBoradAddress(item, index) {
|
|
getBoradAddress(item, index) {
|
|
|
let that = this;
|
|
let that = this;
|
|
|
- that.activeIndex = index;
|
|
|
|
|
that.isShow = false;
|
|
that.isShow = false;
|
|
|
that.showBtn = false;
|
|
that.showBtn = false;
|
|
|
if (item.checkState == "0") {
|
|
if (item.checkState == "0") {
|
|
@@ -215,7 +212,6 @@ export default {
|
|
|
this.sbShow = false;
|
|
this.sbShow = false;
|
|
|
this.toComponent = "";
|
|
this.toComponent = "";
|
|
|
this.urlData = "";
|
|
this.urlData = "";
|
|
|
- this.topH = 39 * this.activeIndex;
|
|
|
|
|
this.taskDetailsLists();
|
|
this.taskDetailsLists();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -232,229 +228,7 @@ export default {
|
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
if (response.data.code == 200) {
|
|
if (response.data.code == 200) {
|
|
|
console.log(response, "地点列表---");
|
|
console.log(response, "地点列表---");
|
|
|
- // that.indexList = response.data.result.records || [];
|
|
|
|
|
- that.indexList = [
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338227367937",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338189619201",
|
|
|
|
|
- deviceName: "12406胶运顺槽掘进工作面风流",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "1",
|
|
|
|
|
- checkReg: "12406胶运顺槽掘进工作面",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 1,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338294476802",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338248339458",
|
|
|
|
|
- deviceName: "12406胶运顺槽掘进工作面回风流",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "1",
|
|
|
|
|
- checkReg: "12406胶运顺槽掘进工作面",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 2,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338349002753",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338319642626",
|
|
|
|
|
- deviceName: "22煤新建南回风井下部",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "0",
|
|
|
|
|
- checkReg: "22煤系统",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 3,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338420305922",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338390945794",
|
|
|
|
|
- deviceName: "22煤新建南进风井下部",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "0",
|
|
|
|
|
- checkReg: "22煤系统",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 4,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338470637569",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338449666050",
|
|
|
|
|
- deviceName: "22煤北翼辅运顶头",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "0",
|
|
|
|
|
- checkReg: "22煤系统",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 5,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338529357825",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338499997698",
|
|
|
|
|
- deviceName: "22煤北翼集中辅运巷2联",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "0",
|
|
|
|
|
- checkReg: "22煤北翼集中主、辅运巷",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 6,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338571300865",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338550329346",
|
|
|
|
|
- deviceName: "22煤北翼集中辅运巷6联水仓",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "0",
|
|
|
|
|
- checkReg: "22煤北翼集中主、辅运巷",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 7,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338630021122",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338604855298",
|
|
|
|
|
- deviceName: "12404综采工作面进风流",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "0",
|
|
|
|
|
- checkReg: "12404综采工作面",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 8,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338692935682",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338667769858",
|
|
|
|
|
- deviceName: "12404综采工作面风流",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "1",
|
|
|
|
|
- checkReg: "12404综采工作面",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 9,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: "2117091338747461634",
|
|
|
|
|
- taskTime: "2026-11-02",
|
|
|
|
|
- deviceId: "2117091338722295809",
|
|
|
|
|
- deviceName: "12404综采工作面回风隅角",
|
|
|
|
|
- checkNum: "1",
|
|
|
|
|
- taskId: "2117091338147676162",
|
|
|
|
|
- checkState: "0",
|
|
|
|
|
- isSensor: "1",
|
|
|
|
|
- checkReg: "12404综采工作面",
|
|
|
|
|
- checkPerson: null,
|
|
|
|
|
- sysOrgCode: "A02A02",
|
|
|
|
|
- orgCode: null,
|
|
|
|
|
- createBy: "admin",
|
|
|
|
|
- createTime: "2026-11-02 11:08:03",
|
|
|
|
|
- updateBy: null,
|
|
|
|
|
- updateTime: null,
|
|
|
|
|
- orderNum: 10,
|
|
|
|
|
- taskName: "夜班瓦检10.1 (1)",
|
|
|
|
|
- classType: "night",
|
|
|
|
|
- classType_dictText: "晚班",
|
|
|
|
|
- },
|
|
|
|
|
- ];
|
|
|
|
|
|
|
+ that.indexList = response.data.result.records || [];
|
|
|
if (that.indexList.length != 0) {
|
|
if (that.indexList.length != 0) {
|
|
|
that.indexList.forEach((el) => {
|
|
that.indexList.forEach((el) => {
|
|
|
if (uni.getStorageSync(el.deviceId)) {
|
|
if (uni.getStorageSync(el.deviceId)) {
|
|
@@ -482,7 +256,7 @@ export default {
|
|
|
.taskBoardAddress {
|
|
.taskBoardAddress {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
|
|
|
|
+ height: auto;
|
|
|
padding: 0px 10px;
|
|
padding: 0px 10px;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
}
|
|
}
|