Browse Source

【grid修改】-王公峰-2020-09-24

migration
wanggongfeng 5 years ago
parent
commit
8e2c9c0c8e
  1. 2
      src/views/modules/analysis/item/report-solved-item-list.vue
  2. 2
      src/views/modules/analysis/item/report-unsolved-item-list.vue
  3. 16
      src/views/modules/events/faild-events-add-or-update.vue
  4. 12
      src/views/modules/events/faild-events.vue
  5. 10
      src/views/modules/events/issue-change-list.vue
  6. 10
      src/views/modules/events/issue-close-list.vue
  7. 10
      src/views/modules/events/issue-process-list.vue
  8. 10
      src/views/modules/events/issue-reject-list.vue
  9. 14
      src/views/modules/events/issue-review-list.vue
  10. 10
      src/views/modules/events/item-close-list.vue
  11. 10
      src/views/modules/events/item-deal-list.vue
  12. 10
      src/views/modules/events/item-end-list.vue

2
src/views/modules/analysis/item/report-solved-item-list.vue

@ -41,7 +41,7 @@
<el-table-column label="序号" type="index" show-overflow-tooltip align="center" width="50"></el-table-column>
<el-table-column prop="itemContent" label="项目内容" min-width=400 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="createdTime" label="转项目时间" width=180 header-align="center" align="center"></el-table-column>
<el-table-column prop="grid" label="网格名称" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="dept" label="部门名称" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="reportDept" label="上报部门" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="reportTime" label="吹哨时间" width=180 header-align="center" align="center"></el-table-column>
<el-table-column prop="lastHandlerDept" label="最新进展处理部门" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>

2
src/views/modules/analysis/item/report-unsolved-item-list.vue

@ -41,7 +41,7 @@
<el-table-column label="序号" type="index" show-overflow-tooltip align="center" width="50"></el-table-column>
<el-table-column prop="itemContent" label="项目内容" min-width=400 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="createdTime" label="转项目时间" width=180 header-align="center" align="center"></el-table-column>
<el-table-column prop="grid" label="网格名称" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="dept" label="部门名称" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="reportDept" label="上报部门" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>
<el-table-column prop="reportTime" label="吹哨时间" width=180 header-align="center" align="center"></el-table-column>
<el-table-column prop="lastHandlerDept" label="最新进展处理部门" width=180 show-overflow-tooltip header-align="center" align="center"></el-table-column>

16
src/views/modules/events/faild-events-add-or-update.vue

@ -37,11 +37,11 @@
<el-form-item label="社区ID" prop="communityId">
<el-input v-model="dataForm.communityId" placeholder="社区ID"></el-input>
</el-form-item>
<el-form-item label="网格" prop="grid">
<el-input v-model="dataForm.grid" placeholder="网格"></el-input>
<el-form-item label="网格" prop="dept">
<el-input v-model="dataForm.dept" placeholder="网格"></el-input>
</el-form-item>
<el-form-item label="网格ID" prop="gridId">
<el-input v-model="dataForm.gridId" placeholder="网格ID"></el-input>
<el-form-item label="网格ID" prop="deptId">
<el-input v-model="dataForm.deptId" placeholder="网格ID"></el-input>
</el-form-item>
<el-form-item label="议题位置地址" prop="issueAddress">
<el-input v-model="dataForm.issueAddress" placeholder="议题位置地址"></el-input>
@ -125,8 +125,8 @@ export default {
streetId: '',
community: '',
communityId: '',
grid: '',
gridId: '',
dept: '',
deptId: '',
issueAddress: '',
issueCategoryId: '',
issueLatitude: '',
@ -187,10 +187,10 @@ export default {
communityId: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
grid: [
dept: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
gridId: [
deptId: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
issueAddress: [

12
src/views/modules/events/faild-events.vue

@ -30,7 +30,7 @@
</el-select>
</el-form-item>
<el-form-item label="网格">
<el-select v-model="dataForm.gridId"
<el-select v-model="dataForm.deptId"
clearable
placeholder="请选择">
<el-option v-for="item in gridOptions"
@ -139,7 +139,7 @@ export default {
endTime: '',
streetId: '',
communityId: '',
gridId: ''
deptId: ''
},
streetOptions: [],
communityOptions: [],
@ -186,11 +186,11 @@ export default {
this.communityOptions = []
this.gridOptions = []
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
return
}
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
this.$http.get(`/sys/dept/sublist/` + this.dataForm.streetId).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -201,10 +201,10 @@ export default {
getGridList () {
if (this.dataForm.communityId === '') {
this.gridOptions = []
this.dataForm.gridId = ''
this.dataForm.deptId = ''
return
}
this.dataForm.gridId = ''
this.dataForm.deptId = ''
this.$http.get(`/sys/dept/sublist/` + this.dataForm.communityId).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

10
src/views/modules/events/issue-change-list.vue

@ -226,7 +226,7 @@
endTime: '',
streetId: '',
communityId: '',
gridId: '',
deptId: '',
state: '4',
issueCode: '',
source: '',
@ -271,22 +271,22 @@
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

10
src/views/modules/events/issue-close-list.vue

@ -228,7 +228,7 @@
endTime: '',
streetId: '',
communityId: '',
gridId: '',
deptId: '',
state: '2',
issueCode: '',
source: '',
@ -273,22 +273,22 @@
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

10
src/views/modules/events/issue-process-list.vue

@ -241,7 +241,7 @@
endTime: '',
streetId: '',
communityId: '',
gridId: '',
deptId: '',
state: '0',
issueCode: '',
source: '',
@ -287,22 +287,22 @@
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

10
src/views/modules/events/issue-reject-list.vue

@ -146,7 +146,7 @@
endTime: '',
streetId: '',
communityId: '',
gridId: '',
deptId: '',
source: '',
eventContent: '',
nickName: ''
@ -190,22 +190,22 @@
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

14
src/views/modules/events/issue-review-list.vue

@ -134,9 +134,9 @@ export default {
endTime: '',
streetId: '',
communityId: '',
gridId: '',
eventContent:'',
nickName:''
deptId: '',
eventContent: '',
nickName: ''
},
ids: [],
options: [],
@ -169,22 +169,22 @@ export default {
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

10
src/views/modules/events/item-close-list.vue

@ -230,7 +230,7 @@
endTime: '',
streetId: '',
communityId: '',
gridId: '',
deptId: '',
itemCode: '',
itemContent: '',
nickName: '',
@ -268,22 +268,22 @@
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

10
src/views/modules/events/item-deal-list.vue

@ -230,7 +230,7 @@
endTime: '',
streetId: '',
communityId: '',
gridId: '',
deptId: '',
itemCode: '',
itemContent: '',
nickName: '',
@ -268,22 +268,22 @@
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

10
src/views/modules/events/item-end-list.vue

@ -235,7 +235,7 @@
endTime: '',
streetId: '',
communityId: '',
gridId: '',
deptId: '',
itemCode: '',
itemContent: '',
nickName: '',
@ -273,22 +273,22 @@
if (val.length === 0) {
this.dataForm.streetId = ''
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 1) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = ''
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 2) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = ''
this.dataForm.deptId = ''
}
if (val.length === 3) {
this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1]
this.dataForm.gridId = this.ids[2]
this.dataForm.deptId = this.ids[2]
}
}
},

Loading…
Cancel
Save