Browse Source

Merge branch 'dev-fivelayer0725' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into dev-fivelayer0725

master
dai 3 years ago
parent
commit
6d5237202f
  1. 16
      src/views/modules/communityService/measure/info.vue
  2. 7
      src/views/modules/visual/command/cpts/demandInfo.vue
  3. 7
      src/views/modules/visual/command/cpts/eventInfo.vue
  4. 7
      src/views/modules/visual/command/cpts/qsydw.vue
  5. 17
      src/views/modules/visual/command/index.vue

16
src/views/modules/communityService/measure/info.vue

@ -370,6 +370,10 @@ export default {
icResiUserId: { icResiUserId: {
type: String, type: String,
default: '' default: ''
},
selGridId: {
type: String,
default: ''
} }
}, },
@ -469,7 +473,7 @@ export default {
} else { } else {
this.getInfo(); this.getInfo();
} }
this.pageLoading = true; this.pageLoading = true;
@ -799,14 +803,16 @@ export default {
} else { } else {
console.log("获取查询详情成功", res.data); console.log("获取查询详情成功", res.data);
this.demandUserList = res.data; this.demandUserList = res.data;
// debugger
if(this.icResiUserId && this.formType==='add') { if (this.icResiUserId && this.formType === 'add') {
this.demandUserList.forEach((item) => { this.demandUserList.forEach((item) => {
if (item.demandUserId == this.icResiUserId) if (item.demandUserId == this.icResiUserId)
this.selectDemandUser = item.label; this.selectDemandUser = item.label;
}); });
this.form.demandUserId = this.icResiUserId this.form.demandUserId = this.icResiUserId
this.form.gridId = this.selGridId
} }
} }
}) })

7
src/views/modules/visual/command/cpts/demandInfo.vue

@ -16,6 +16,7 @@
:source="'visiual'" :source="'visiual'"
:formType="'add'" :formType="'add'"
:icResiUserId="icResiUserId" :icResiUserId="icResiUserId"
:selGridId="selGridId"
@handleClose="handleClose" @handleClose="handleClose"
@handleOk="handleOk" @handleOk="handleOk"
@dialogOk="handleEditSuccess" /> @dialogOk="handleEditSuccess" />
@ -35,7 +36,11 @@ import demandInfoOrigin from "@/views/modules/communityService/measure/info";
export default { export default {
name: "dialogInfo", name: "dialogInfo",
props: { props: {
icResiUserId: { icResiUserId: {
type: String,
required: 'true'
},
selGridId: {
type: String, type: String,
required: 'true' required: 'true'
}, },

7
src/views/modules/visual/command/cpts/eventInfo.vue

@ -36,7 +36,10 @@ import eventInfo from "@/views/modules/shequzhili/event/cpts/event-info";
export default { export default {
name: "dialogInfo", name: "dialogInfo",
props: { props: {
eventId: {
type: String,
required: 'true'
},
}, },
components: { components: {
@ -49,7 +52,7 @@ export default {
loading: false, loading: false,
pageType: 'dispose', pageType: 'dispose',
eventId: '1552537796854706177', // eventId: '',
eventDetailData: {}, eventDetailData: {},
}; };
}, },

7
src/views/modules/visual/command/cpts/qsydw.vue

@ -76,7 +76,10 @@ import record from "@/views/modules/shequzhili/tuceng/anquan/xuncha/cpts/record"
export default { export default {
name: "dialogInfo", name: "dialogInfo",
props: { props: {
enterpriseId: {
type: String,
required: 'true'
},
}, },
components: { components: {
@ -93,7 +96,7 @@ export default {
eventDetailData: {}, eventDetailData: {},
enterpriseInfo: {}, enterpriseInfo: {},
enterpriseId: '1544585407179968514', // enterpriseId: '',
}; };

17
src/views/modules/visual/command/index.vue

@ -160,6 +160,7 @@
<event-info v-if="pageType==='watch-event'" <event-info v-if="pageType==='watch-event'"
ref="ref_event" ref="ref_event"
:eventId="eventId"
@handleClose="handleClose" /> @handleClose="handleClose" />
<service-info v-if="pageType==='create-service'" <service-info v-if="pageType==='create-service'"
@ -173,6 +174,7 @@
<qsydw v-if="pageType==='watch-xuncha'" <qsydw v-if="pageType==='watch-xuncha'"
ref="ref_xuncha" ref="ref_xuncha"
:enterpriseId="enterpriseId"
@handleClose="handleClose" /> @handleClose="handleClose" />
<!-- <people v-if="pageType==='watch-resi'" <!-- <people v-if="pageType==='watch-resi'"
@ -395,7 +397,10 @@ export default {
searchResult: iniSearchResult(), searchResult: iniSearchResult(),
pageType: '', pageType: '',
icResiUserId:'', icResiUserId: '',
selGridId: '',
eventId: '',
enterpriseId: '',
}; };
}, },
@ -421,21 +426,23 @@ export default {
methods: { methods: {
handleClickDotBtn (type, info) { handleClickDotBtn (type, info) {
// debugger
this.pageType = type this.pageType = type
if (type == "create-service") { if (type == "create-service") {
// //
} else if (type == "watch-resi") { } else if (type == "watch-resi") {
this.toSubAgency('people',info.icResiUserId) this.toSubAgency('people', info.icResiUserId)
this.icResiUserId = info.icResiUserId this.icResiUserId = info.icResiUserId
// //
} else if (type == "watch-event") { } else if (type == "watch-event") {
// //
} else if (type == "create-demand") { } else if (type == "create-demand") {
// //
this.icResiUserId = info.icResiUserId this.icResiUserId = info.icResiUserId
}else if(type=="watch-xuncha"){ this.selGridId = info.gridId
} else if (type == "watch-xuncha") {
this.enterpriseId = info.enterpriseId
} }
}, },

Loading…
Cancel
Save