|
|
@ -118,7 +118,7 @@ |
|
|
|
{ 'm-info-prop-vis': source === 'visiual' }, |
|
|
|
]" > |
|
|
|
<span class="u-info-title-2">建议人身份:</span> |
|
|
|
<span>{{ info.age }}</span> |
|
|
|
<span>{{ info.identityTypeCodeList }}</span> |
|
|
|
</div> |
|
|
|
<!-- <div :class="[ |
|
|
|
'm-info-prop', |
|
|
@ -208,6 +208,7 @@ import foldText from "@/views/components/foldText"; |
|
|
|
|
|
|
|
function iniData() { |
|
|
|
return { |
|
|
|
ideaIdentityList:[], |
|
|
|
user: {}, |
|
|
|
projectPageType: "info", |
|
|
|
info: {}, |
|
|
@ -272,11 +273,21 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getIdeaIdentityType() |
|
|
|
this.user = this.$store.state.user; |
|
|
|
if (this.eventId) { |
|
|
|
this.info = JSON.parse(JSON.stringify(this.eventDetailData)); |
|
|
|
this.agencyId = this.info.agencyId |
|
|
|
} |
|
|
|
console.log(this.info,"asdhasklflasfkl"); |
|
|
|
this.info.identityTypeCodeList.map(item=>{ |
|
|
|
console.log(item,"item1"); |
|
|
|
|
|
|
|
this.ideaIdentityList.map(item1=>{ |
|
|
|
// console.log(it); |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$EventBus.$on('handelInputEventContent', ({ type, value }) => { |
|
|
|
if (type === 'opinion') { |
|
|
|
this.info.transferAdvice = value; |
|
|
@ -288,6 +299,18 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
async getIdeaIdentityType() { |
|
|
|
const url = "/sys/dict/data/dictlist"; |
|
|
|
const params = { |
|
|
|
dictType: "ideaIdentityType", |
|
|
|
}; |
|
|
|
const { data, code, msg } = await requestPost(url, params); |
|
|
|
if (code === 0) { |
|
|
|
this.ideaIdentityList = data || []; |
|
|
|
} else { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|
}, |
|
|
|
onClickDown(data){ |
|
|
|
data.forEach((item) => { |
|
|
|
console.log(item,"奥特玛"); |
|
|
|