0) {
+ if (Array.isArray(this.reportTime) && this.reportTime.length > 0) {
this.searchForm.reportStartTime = this.reportTime[0]
this.searchForm.reportEndTime = this.reportTime[1]
}
- if (this.serviceTime.length > 0) {
+ if (Array.isArray(this.serviceTime) && this.serviceTime.length > 0) {
this.searchForm.wantServiceStartTime = this.serviceTime[0]
- this.searchForm.wantServiceTime = this.serviceTime[1]
+ this.searchForm.wantServiceEndTime = this.serviceTime[1]
}
this.getTableData()
},
@@ -688,8 +689,12 @@ export default {
}
},
- handleServiceChange(val) {
- this.getServiceuserList(val)
+ handleServiceChange(type, val) {
+ if (val === 'social_org') {
+ if (type === 'add') this.getServiceuserList(val, 'add_demand')
+ else this.getServiceuserList(val, 'query_demand')
+ } else this.getServiceuserList(val, '')
+
},
handleGridChange(val) {
this.getDemandUserList()
@@ -969,12 +974,12 @@ export default {
return this.$message.error('网络错误')
})
},
- async getServiceuserList(serviceType) {
- if (!serviceType) return this.$message.error('服务方不能为空')
+ async getServiceuserList(serviceType, query) {
+ if (!serviceType) return false
const params = {
serviceName: '',
serviceType: serviceType,
- queryPurpose: ''
+ queryPurpose: query
}
await this.$http
.post('/heart/userdemand/servicelist', params)
diff --git a/src/views/modules/communityService/ninePlaces/inspect/inspect.vue b/src/views/modules/communityService/ninePlaces/inspect/inspect.vue
index b8849d202..abf64bea0 100644
--- a/src/views/modules/communityService/ninePlaces/inspect/inspect.vue
+++ b/src/views/modules/communityService/ninePlaces/inspect/inspect.vue
@@ -6,7 +6,33 @@
ref="ref_searchform"
:label-width="'100px'">
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
-
@@ -44,42 +64,19 @@
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 新增
-
- 导入
-
- 导出
-
-
-
-
+
新增
-
+ label="场所名称"
+ min-width="180">
-
+ label="场所类型"
+ min-width="180">
-
+ label="分队名称"
+ min-width="180">
-
+ label="检察人员"
+ min-width="180">
-
+ label="首次巡检时间"
+ min-width="150">
-
+ label="隐患明细"
+ min-width="280">
-
+ label="首次检查结果"
+ min-width="180">
-
+ label="拟复查时间"
+ min-width="110">
-
+ label="最新结果"
+ min-width="110">
+
+
+
-
查看
- 修改
删除
+ 复查记录
@@ -216,7 +196,7 @@
@@ -232,12 +212,25 @@
width="850px"
top="5vh"
@closed="diaClose">
-
+
+
+
+
+
+
@@ -245,7 +238,8 @@
+
+
diff --git a/src/views/modules/communityService/ninePlaces/inspect/inspectReview.vue b/src/views/modules/communityService/ninePlaces/inspect/inspectReview.vue
new file mode 100644
index 000000000..7af128683
--- /dev/null
+++ b/src/views/modules/communityService/ninePlaces/inspect/inspectReview.vue
@@ -0,0 +1,439 @@
+
+
+
+
新增
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row.reviewTime}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row.placePatrolTeamName}}
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+ {{scope.row.inspectorsNames}}
+
+
+
+
+
+
+
+
+
+
+ {{scope.row.reviewResult==='0'?'合格':'不合格'}}
+
+
+
+
+
+ 修改
+
+ 删除
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/communityService/ninePlaces/inspect/unitsForm.vue b/src/views/modules/communityService/ninePlaces/inspect/unitsForm.vue
deleted file mode 100644
index 383174ba6..000000000
--- a/src/views/modules/communityService/ninePlaces/inspect/unitsForm.vue
+++ /dev/null
@@ -1,553 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.label}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 经度
-
-
- 纬度
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取 消
- 确 定
-
-
-
-
-
-
-
-
diff --git a/src/views/modules/communityService/ninePlaces/places/places.vue b/src/views/modules/communityService/ninePlaces/places/places.vue
index 0d0dd69fc..46a147352 100644
--- a/src/views/modules/communityService/ninePlaces/places/places.vue
+++ b/src/views/modules/communityService/ninePlaces/places/places.vue
@@ -61,9 +61,9 @@