dai 3 years ago
parent
commit
2d44eb10d2
  1. BIN
      src/assets/img/shuju/fiveLayer/ep_qt.png
  2. 4
      src/views/modules/shequzhili/event/cpts/event-info.vue
  3. 30
      src/views/modules/shequzhili/event/cpts/process-form-demand.vue
  4. 1
      src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue

BIN
src/assets/img/shuju/fiveLayer/ep_qt.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

4
src/views/modules/shequzhili/event/cpts/event-info.vue

@ -412,8 +412,8 @@ export default {
this.demand = this.$refs.ref_processinfo_add.demand
this.demand.gridId = this.eventInfoData.gridId
//
this.eventInfoData.categoryList = []
this.eventInfoData.categoryList.push(this.demand.categoryId)
// this.eventInfoData.categoryList = []
// this.eventInfoData.categoryList.push(this.demand.categoryId)
console.log('demond', this.demand)
}

30
src/views/modules/shequzhili/event/cpts/process-form-demand.vue

@ -5,7 +5,7 @@
:model="formData"
:rules="dataRule"
label-width="100px">
<el-form-item label="事件分类"
<!-- <el-form-item label="事件分类"
label-width="150px"
prop="categoryId">
<el-cascader class="cell-width-2"
@ -16,7 +16,7 @@
:props="optionProps"
:show-all-levels="false"
@change="handleChangeCate"></el-cascader>
</el-form-item>
</el-form-item> -->
<el-form-item label="服务内容"
label-width="150px"
prop="content">
@ -197,7 +197,7 @@ function iniFmData () {
serviceLocation: '',//
latitude: '',//
longitude: '',//
categoryId: ''
// categoryId: ''
};
}
export default {
@ -236,9 +236,9 @@ export default {
dataRule () {
return {
categoryId: [
{ required: true, message: "请填写事件分类", trigger: "blur" },
],
// categoryId: [
// { required: true, message: "", trigger: "blur" },
// ],
content: [
{ required: true, message: "服务内容不能为空", trigger: "blur" },
],
@ -330,15 +330,15 @@ export default {
this.formData.demandUserMobile = this.eventDetailCopy.mobile
if (this.eventDetailCopy.parentCategoryId && this.eventDetailCopy.categoryId) {
this.selCategoryArray = []
this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId)
this.selCategoryArray.push(this.eventDetailCopy.categoryId)
this.formData.categoryId = this.eventDetailCopy.categoryId
this.selCateObj = {
name: this.eventDetailCopy.categoryName,
id: this.eventDetailCopy.categoryId
}
// this.selCategoryArray = []
// this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId)
// this.selCategoryArray.push(this.eventDetailCopy.categoryId)
// this.formData.categoryId = this.eventDetailCopy.categoryId
// this.selCateObj = {
// name: this.eventDetailCopy.categoryName,
// id: this.eventDetailCopy.categoryId
// }
}
} else {

1
src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue

@ -636,6 +636,7 @@ const vueGis = {
'ep_lg': require('../../../../../assets/img/shuju/fiveLayer/ep_lg.png'),
'sr_xfz': require('../../../../../assets/img/shuju/fiveLayer/sr_xfz.png'),
'pu_jgzsbm': require('../../../../../assets/img/shuju/fiveLayer/pu_jgzsbm.png'),
'ep_qt': require('../../../../../assets/img/shuju/fiveLayer/ep_qt.png'),
'gr_czw': require('../../../../../assets/img/shuju/fiveLayer/gr_czw.png'),
'ep_cycs': require('../../../../../assets/img/shuju/fiveLayer/ep_cycs.png'),

Loading…
Cancel
Save