Browse Source

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

shibei_master
ZhaoTongYao 3 years ago
parent
commit
ec87103166
  1. 4
      src/views/modules/shequzhili/event/cpts/event-info.vue
  2. 25
      src/views/modules/visual/communityGovern/shijianchuli/event-info.vue
  3. 2
      src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue

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

@ -205,7 +205,7 @@ import { Loading } from "element-ui"; // 引入Loading服务
import foldText from "@/views/components/foldText"; import foldText from "@/views/components/foldText";
import projectInfoOrigin from "../../xiangmu/cpts/project-info"; import projectInfoOrigin from "../../xiangmu/cpts/project-info";
import demandInfoOrigin from "@/views/modules/communityService/measure/info"; import demandInfoOrigin from "@/views/modules/communityService/measure/info";
import eventInfo from "./event-info1";
import dateFormat from "dai-js/tools/dateFormat"; import dateFormat from "dai-js/tools/dateFormat";
@ -260,7 +260,7 @@ export default {
components: { components: {
foldText, foldText,
eventInfo,
eventAdd, eventAdd,
eventDetail, eventDetail,
processForm, processForm,

25
src/views/modules/visual/communityGovern/shijianchuli/event-info.vue

@ -225,6 +225,14 @@ export default {
type: String, type: String,
default: "", default: "",
}, },
orgId: {
type: String,
default: "",
},
orgType: {
type: String,
default: "",
},
}, },
@ -335,7 +343,7 @@ export default {
// //
this.yanPan.singleTitle = "楼院小组"; this.yanPan.singleTitle = data.categoryName;
this.yanPan.hasEvent = false; this.yanPan.hasEvent = false;
@ -348,22 +356,25 @@ export default {
}, },
// //
async getYanPanList () { async getYanPanList () {
//const url = "/gov/project/icEvent/processAnalysis/categoryEventList"; const url = "/gov/project/icEvent/processAnalysis/categoryEventList";
const url = "http://yapi.elinkservice.cn/mock/245/api/gov/project/icEvent/processAnalysis/categoryEventList"; // const url = "http://yapi.elinkservice.cn/mock/245/api/gov/project/icEvent/processAnalysis/categoryEventList";
let param = { let param = {
categoryPids: this.yanPan.categoryId, categoryPids: this.yanPan.categoryPids,
pageNo: 1, pageNo: 1,
pageSize: 10 pageSize: 10,
orgType: this.orgType,
orgId: this.orgId,
} }
const { data, code, msg } = await requestPost(url, param); const { data, code, msg } = await requestPost(url, param);
this.yanPan.loading = true; this.yanPan.loading = true;
if (code === 0) { if (code === 0) {
let oneData = { let oneData = {
categoryCode: 111, // categoryCode: 111,
categoryName: 111, // categoryName: 111,
showItem: true, showItem: true,
addressList: data.list.map((subItem) => { addressList: data.list.map((subItem) => {
return { return {

2
src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue

@ -118,6 +118,8 @@
<event-info v-if="showProject" <event-info v-if="showProject"
:eventId="eventId" :eventId="eventId"
:orgId="orgId"
:orgType="orgType"
@close="showProject = false" /> @close="showProject = false" />
</cpt-card> </cpt-card>
</template> </template>

Loading…
Cancel
Save