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