Browse Source

改bug

master
dai 3 years ago
parent
commit
6b4c147203
  1. 54
      src/views/modules/visual/command/cpts/serviceInfo.vue
  2. 2
      src/views/modules/visual/command/cpts/sidemenu-left.vue

54
src/views/modules/visual/command/cpts/serviceInfo.vue

@ -7,18 +7,18 @@
<span>发起服务</span> <span>发起服务</span>
</div> </div>
<div class="btn-close" <div class="btn-close" @click="handleClose">
@click="handleClose">
<img src="@/assets/img/shuju/people/close.png" /> <img src="@/assets/img/shuju/people/close.png" />
</div> </div>
<add-form ref="demandEditForm" <add-form
:source="'visiual'" ref="demandEditForm"
:formType="'add'" :source="'visiual'"
@handleClose="handleClose" :formType="'add'"
@handleOk="handleOk" @handleClose="handleClose"
@dialogOk="handleEditSuccess" /> @handleOk="handleOk"
@dialogOk="handleEditSuccess"
/>
</cpt-card> </cpt-card>
</div> </div>
</div> </div>
@ -33,34 +33,31 @@ import addForm from "@/views/modules/communityService/fuwujilu/addForm";
export default { export default {
name: "dialogInfo", name: "dialogInfo",
props: { props: {},
},
components: { components: {
cptCard, cptCard,
addForm addForm,
}, },
data () { data() {
return { return {
loading: false, loading: false,
pageType: 'dispose', pageType: "dispose",
eventId: '1529724450524061698', eventId: "1529724450524061698",
eventDetailData: {}, eventDetailData: {},
}; };
}, },
async mounted () { async mounted() {
this.loading = false this.loading = false;
await this.handleSearch() await this.handleSearch();
this.loading = true this.loading = true;
}, },
methods: { methods: {
async handleSearch () { async handleSearch() {
const url = "/gov/project/icEvent/detail"; const url = "/gov/project/icEvent/detail";
// const url = "http://yapi.elinkservice.cn/mock/245/gov/project/icEvent/detail"; // const url = "http://yapi.elinkservice.cn/mock/245/gov/project/icEvent/detail";
@ -69,7 +66,6 @@ export default {
}); });
if (code === 0) { if (code === 0) {
this.eventDetailData = { ...data }; this.eventDetailData = { ...data };
this.pageType = "dispose"; this.pageType = "dispose";
} else { } else {
@ -77,20 +73,20 @@ export default {
} }
}, },
handleClose () { handleClose() {
this.pageType = ""; this.pageType = "";
this.$emit("handleClose") this.$emit("handleClose");
// this.eventId = "" // this.eventId = ""
}, },
handleOk () { handleOk() {
this.pageType = ""; this.pageType = "";
// this.eventId = "" // this.eventId = ""
this.pageNo = 1 this.pageNo = 1;
this.handleClose();
}, },
handleEditSuccess () { handleEditSuccess() {
this.handleClose(); this.handleClose();
}, },
}, },
}; };

2
src/views/modules/visual/command/cpts/sidemenu-left.vue

@ -156,6 +156,8 @@ export default {
// //
async requestList() { async requestList() {
if (!this.orgId) return;
const url = "/data/aggregator/coverage/analysis/governedTargetCategories"; const url = "/data/aggregator/coverage/analysis/governedTargetCategories";
let params = { let params = {
agencyId: this.orgId, agencyId: this.orgId,

Loading…
Cancel
Save