|
|
|
@ -11,7 +11,7 @@ |
|
|
|
|
</template> --> |
|
|
|
|
</top-title> |
|
|
|
|
</view> |
|
|
|
|
<view class="query-form"> |
|
|
|
|
<view class="query-form" :class="tab==3?'query-form2':''"> |
|
|
|
|
<view class="search-box"> |
|
|
|
|
<u-search placeholder="请输入名称" v-model="search" actionText="" :showAction="false" |
|
|
|
|
@search="searchData" @clear="searchData"></u-search> |
|
|
|
@ -31,6 +31,20 @@ |
|
|
|
|
<text class="number">{{ totalData.InGovernance }}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="type-box" v-show="tab==3"> |
|
|
|
|
<view class="type-item" :class="queryType == 1 ? 'type-active' : ''" @click="queryType=1"> |
|
|
|
|
全部 |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view class="type-item" :class="queryType == 2 ? 'type-active' : ''" @click="queryType=2"> |
|
|
|
|
人工上报 |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view class="type-item" :class="queryType == 3 ? 'type-active' : ''" @click="queryType=3"> |
|
|
|
|
系统下发 |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
@ -95,7 +109,9 @@ |
|
|
|
|
}, |
|
|
|
|
status: '10', |
|
|
|
|
search: '', |
|
|
|
|
tabbarShow: true |
|
|
|
|
tabbarShow: true, |
|
|
|
|
queryType: '1', |
|
|
|
|
pageStatus: '' |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -108,6 +124,8 @@ |
|
|
|
|
// tabFun.tabbar() |
|
|
|
|
this.getData() |
|
|
|
|
let pageStatus = this.$.getData('pageStatus') |
|
|
|
|
this.pageStatus = pageStatus |
|
|
|
|
this.queryType = this.$.getData('pageType') |
|
|
|
|
if (pageStatus == 1) { |
|
|
|
|
this.handleTabClick(1) |
|
|
|
|
this.$.setData('pageStatus', '0') |
|
|
|
@ -205,24 +223,28 @@ |
|
|
|
|
console.log(row) |
|
|
|
|
if (this.tab === 1) { |
|
|
|
|
if (row.pcType == 2) { |
|
|
|
|
this.$.open("/pages/investigation/task" + "?id=" + row.businessId+ '§ionId=' + row.sectionCode + |
|
|
|
|
'&operator=' + row.operator + '&deptId=' + row.handleDept + '&taskName=' + row.name + |
|
|
|
|
'&pcType' + row.pcType+'§ionName='+row.sectionName+'§ionCode='+row.sectionCode); |
|
|
|
|
this.$.open("/pages/investigation/task" + "?id=" + row.businessId + '§ionId=' + row |
|
|
|
|
.sectionCode + |
|
|
|
|
'&operator=' + row.operator + '&deptId=' + row.handleDept + '&taskName=' + row.name + |
|
|
|
|
'&pcType' + row.pcType + '§ionName=' + row.sectionName + '§ionCode=' + row |
|
|
|
|
.sectionCode); |
|
|
|
|
} else { |
|
|
|
|
this.$.open('/pages/map/index?businessId=' + row.businessId + |
|
|
|
|
'&operator=' + row.operator + |
|
|
|
|
'&deptId=' + row.handleDept + |
|
|
|
|
'&pcType=' + row.pcType + |
|
|
|
|
'&type=' + (this.tab == 1 ? 'edit' : 'view')+'§ionName='+row.sectionName+'§ionCode='+row.sectionCode) |
|
|
|
|
'&type=' + (this.tab == 1 ? 'edit' : 'view') + '§ionName=' + row.sectionName + |
|
|
|
|
'§ionCode=' + row.sectionCode) |
|
|
|
|
// this.$.open('/pages/map/index?businessId=' + row.businessId) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
// this.$.open('/pages/investigation/complete?id=' + row.businessId + '&type=' + (this.tab == 1 ? 'edit' : |
|
|
|
|
// 'view')) |
|
|
|
|
this.$.open("/pages/investigation/complete" + "?id=" + row.businessId+ '§ionId=' + row.sectionCode + |
|
|
|
|
'&operator=' + row.operator + '&deptId=' + row.handleDept + '&taskName=' + row.name + |
|
|
|
|
'&pcType' + row.pcType+'§ionName='+row.sectionName+'§ionCode='+row.sectionCode); |
|
|
|
|
this.$.open("/pages/investigation/complete" + "?id=" + row.businessId + '§ionId=' + row |
|
|
|
|
.sectionCode + |
|
|
|
|
'&operator=' + row.operator + '&deptId=' + row.handleDept + '&taskName=' + row.name + |
|
|
|
|
'&pcType' + row.pcType + '§ionName=' + row.sectionName + '§ionCode=' + row.sectionCode); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
@ -362,6 +384,33 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.query-form2 { |
|
|
|
|
height: 146px; |
|
|
|
|
|
|
|
|
|
.type-box { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
width: calc(100% - 100rpx); |
|
|
|
|
padding: 0 50rpx; |
|
|
|
|
height: 108rpx; |
|
|
|
|
.type-item{ |
|
|
|
|
width: 28%; |
|
|
|
|
border-radius: 200rpx; |
|
|
|
|
height: 50rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
line-height: 50rpx; |
|
|
|
|
font-size: 26rpx; |
|
|
|
|
border: #999999 solid 1rpx; |
|
|
|
|
margin-top: 15rpx; |
|
|
|
|
} |
|
|
|
|
.type-active{ |
|
|
|
|
border: #3c6dc3 solid 1rpx; |
|
|
|
|
color:#3c6dc3; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.Box { |
|
|
|
|
padding-top: var(--status-bar-height); |
|
|
|
|
|
|
|
|
|